clutter 2.0.0-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +129 -0
- data/lib/clutter.rb +145 -0
- data/lib/clutter/actor-iter.rb +33 -0
- data/lib/clutter/actor.rb +34 -0
- data/lib/clutter/animatable.rb +26 -0
- data/lib/clutter/cairo.rb +24 -0
- data/lib/clutter/color.rb +55 -0
- data/lib/clutter/event.rb +21 -0
- data/lib/clutter/point.rb +25 -0
- data/lib/clutter/text.rb +23 -0
- data/lib/clutter/threads.rb +38 -0
- data/sample/basic-actor.rb +125 -0
- data/sample/bin-layout.rb +215 -0
- data/sample/box-layout.rb +196 -0
- data/sample/canvas.rb +117 -0
- data/sample/constraints.rb +81 -0
- data/sample/drag-action.rb +177 -0
- data/sample/drop-action.rb +198 -0
- data/sample/easing-modes.rb +145 -0
- data/sample/flow-layout.rb +121 -0
- data/sample/grid-layout.rb +239 -0
- data/sample/image-content.rb +88 -0
- data/sample/pan-action.rb +100 -0
- data/sample/redhand.png +0 -0
- data/sample/rounded-rectangle.rb +90 -0
- data/sample/scroll-actor.rb +105 -0
- data/test/clutter-test-utils.rb +21 -0
- data/test/run-test.rb +50 -0
- data/vendor/local/bin/libclutter-1.0-0.dll +0 -0
- data/vendor/local/bin/libcogl-12.dll +0 -0
- data/vendor/local/bin/libcogl-pango-12.dll +0 -0
- data/vendor/local/bin/libglut-0.dll +0 -0
- data/vendor/local/bin/libjson-glib-1.0-0.dll +0 -0
- data/vendor/local/include/GL/freeglut.h +22 -0
- data/vendor/local/include/GL/freeglut_ext.h +239 -0
- data/vendor/local/include/GL/freeglut_std.h +636 -0
- data/vendor/local/include/GL/glut.h +21 -0
- data/vendor/local/include/clutter-1.0/cally/cally-actor.h +155 -0
- data/vendor/local/include/clutter-1.0/cally/cally-clone.h +82 -0
- data/vendor/local/include/clutter-1.0/cally/cally-factory.h +117 -0
- data/vendor/local/include/clutter-1.0/cally/cally-group.h +85 -0
- data/vendor/local/include/clutter-1.0/cally/cally-main.h +39 -0
- data/vendor/local/include/clutter-1.0/cally/cally-rectangle.h +82 -0
- data/vendor/local/include/clutter-1.0/cally/cally-root.h +82 -0
- data/vendor/local/include/clutter-1.0/cally/cally-stage.h +82 -0
- data/vendor/local/include/clutter-1.0/cally/cally-text.h +82 -0
- data/vendor/local/include/clutter-1.0/cally/cally-texture.h +82 -0
- data/vendor/local/include/clutter-1.0/cally/cally-util.h +80 -0
- data/vendor/local/include/clutter-1.0/cally/cally.h +40 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-action.h +103 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-actor-meta.h +113 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-actor.h +735 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-align-constraint.h +69 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-animatable.h +116 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-backend.h +74 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-bin-layout.h +84 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-bind-constraint.h +69 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-binding-pool.h +122 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-blur-effect.h +57 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-box-layout.h +159 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-brightness-contrast-effect.h +80 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-cairo.h +59 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-canvas.h +100 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-child-meta.h +120 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-click-action.h +114 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-clone.h +90 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-cogl-compat.h +52 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-color-static.h +79 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-color.h +175 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-colorize-effect.h +63 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-config.h +19 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-constraint.h +108 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-container.h +184 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-content.h +103 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-deform-effect.h +111 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-deprecated.h +43 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-desaturate-effect.h +61 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-device-manager.h +104 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-drag-action.h +142 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-drop-action.h +113 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-effect.h +120 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-enum-types.h +183 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-enums.h +1362 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-event.h +509 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-feature.h +40 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-fixed-layout.h +80 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-flow-layout.h +110 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-gesture-action.h +154 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-grid-layout.h +161 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-group.h +95 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-image.h +141 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-input-device.h +118 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-interval.h +141 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-keyframe-transition.h +120 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-keysyms.h +2304 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-layout-manager.h +215 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-layout-meta.h +101 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-list-model.h +88 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-macros.h +279 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-main.h +148 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-marshal.h +273 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-model.h +381 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-offscreen-effect.h +112 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-page-turn-effect.h +72 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-paint-node.h +102 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-paint-nodes.h +150 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-pan-action.h +147 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-path-constraint.h +66 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-path.h +155 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-property-transition.h +91 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-rotate-action.h +100 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-script.h +204 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-scriptable.h +107 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-scroll-actor.h +97 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-settings.h +25 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-shader-effect.h +114 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-shader-types.h +95 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-snap-constraint.h +73 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-stage-manager.h +81 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-stage.h +215 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-swipe-action.h +107 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-table-layout.h +157 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-tap-action.h +102 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-text-buffer.h +172 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-text.h +237 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-texture.h +128 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-timeline.h +201 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-transition-group.h +91 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-transition.h +132 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-types.h +715 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-units.h +166 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-version.h +302 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-zoom-action.h +114 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter.h +118 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-actor.h +161 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-alpha.h +144 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-animatable.h +47 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-animation.h +206 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-animator.h +186 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-backend.h +64 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-behaviour-depth.h +101 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-behaviour-ellipse.h +159 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-behaviour-opacity.h +115 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-behaviour-path.h +135 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-behaviour-rotate.h +119 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-behaviour-scale.h +107 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-behaviour.h +170 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-bin-layout.h +56 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-box.h +143 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-cairo-texture.h +139 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-container.h +93 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-fixed.h +97 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-frame-source.h +49 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-group.h +62 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-input-device.h +41 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-keysyms.h +2306 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-main.h +96 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-media.h +121 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-rectangle.h +117 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-score.h +144 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-shader.h +182 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-stage-manager.h +42 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-stage.h +102 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-state.h +187 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-texture.h +138 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-timeline.h +41 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-timeout-pool.h +69 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-util.h +40 -0
- data/vendor/local/include/clutter-1.0/clutter/win32/clutter-win32.h +58 -0
- data/vendor/local/include/cogl/cogl-pango/cogl-pango.h +245 -0
- data/vendor/local/include/cogl/cogl/cogl-attribute-buffer.h +131 -0
- data/vendor/local/include/cogl/cogl/cogl-attribute.h +532 -0
- data/vendor/local/include/cogl/cogl/cogl-bitmap.h +314 -0
- data/vendor/local/include/cogl/cogl/cogl-buffer.h +309 -0
- data/vendor/local/include/cogl/cogl/cogl-clip-state.h +50 -0
- data/vendor/local/include/cogl/cogl/cogl-clutter.h +47 -0
- data/vendor/local/include/cogl/cogl/cogl-color.h +543 -0
- data/vendor/local/include/cogl/cogl/cogl-context.h +350 -0
- data/vendor/local/include/cogl/cogl/cogl-defines.h +50 -0
- data/vendor/local/include/cogl/cogl/cogl-deprecated.h +36 -0
- data/vendor/local/include/cogl/cogl/cogl-depth-state.h +264 -0
- data/vendor/local/include/cogl/cogl/cogl-display.h +192 -0
- data/vendor/local/include/cogl/cogl/cogl-enum-types.h +100 -0
- data/vendor/local/include/cogl/cogl/cogl-error.h +176 -0
- data/vendor/local/include/cogl/cogl/cogl-euler.h +251 -0
- data/vendor/local/include/cogl/cogl/cogl-fixed.h +804 -0
- data/vendor/local/include/cogl/cogl/cogl-frame-info.h +129 -0
- data/vendor/local/include/cogl/cogl/cogl-framebuffer.h +1829 -0
- data/vendor/local/include/cogl/cogl/cogl-gles2-types.h +474 -0
- data/vendor/local/include/cogl/cogl/cogl-gles2.h +374 -0
- data/vendor/local/include/cogl/cogl/cogl-glib-source.h +59 -0
- data/vendor/local/include/cogl/cogl/cogl-index-buffer.h +85 -0
- data/vendor/local/include/cogl/cogl/cogl-indices.h +145 -0
- data/vendor/local/include/cogl/cogl/cogl-material-compat.h +1276 -0
- data/vendor/local/include/cogl/cogl/cogl-matrix-stack.h +620 -0
- data/vendor/local/include/cogl/cogl/cogl-matrix.h +798 -0
- data/vendor/local/include/cogl/cogl/cogl-meta-texture.h +181 -0
- data/vendor/local/include/cogl/cogl/cogl-object.h +219 -0
- data/vendor/local/include/cogl/cogl/cogl-offscreen.h +117 -0
- data/vendor/local/include/cogl/cogl/cogl-onscreen-template.h +106 -0
- data/vendor/local/include/cogl/cogl/cogl-onscreen.h +741 -0
- data/vendor/local/include/cogl/cogl/cogl-output.h +242 -0
- data/vendor/local/include/cogl/cogl/cogl-pango.h +33 -0
- data/vendor/local/include/cogl/cogl/cogl-path-functions.h +430 -0
- data/vendor/local/include/cogl/cogl/cogl-path.h +102 -0
- data/vendor/local/include/cogl/cogl/cogl-pipeline-layer-state.h +613 -0
- data/vendor/local/include/cogl/cogl/cogl-pipeline-state.h +924 -0
- data/vendor/local/include/cogl/cogl/cogl-pipeline.h +173 -0
- data/vendor/local/include/cogl/cogl/cogl-pixel-buffer.h +114 -0
- data/vendor/local/include/cogl/cogl/cogl-poll.h +174 -0
- data/vendor/local/include/cogl/cogl/cogl-primitive-texture.h +98 -0
- data/vendor/local/include/cogl/cogl/cogl-primitive.h +866 -0
- data/vendor/local/include/cogl/cogl/cogl-primitives.h +190 -0
- data/vendor/local/include/cogl/cogl/cogl-quaternion.h +545 -0
- data/vendor/local/include/cogl/cogl/cogl-renderer.h +423 -0
- data/vendor/local/include/cogl/cogl/cogl-shader.h +654 -0
- data/vendor/local/include/cogl/cogl/cogl-snippet.h +786 -0
- data/vendor/local/include/cogl/cogl/cogl-sub-texture.h +122 -0
- data/vendor/local/include/cogl/cogl/cogl-swap-chain.h +51 -0
- data/vendor/local/include/cogl/cogl/cogl-texture-2d-gl.h +73 -0
- data/vendor/local/include/cogl/cogl/cogl-texture-2d-sliced.h +130 -0
- data/vendor/local/include/cogl/cogl/cogl-texture-2d.h +191 -0
- data/vendor/local/include/cogl/cogl/cogl-texture-3d.h +187 -0
- data/vendor/local/include/cogl/cogl/cogl-texture-rectangle.h +204 -0
- data/vendor/local/include/cogl/cogl/cogl-texture.h +611 -0
- data/vendor/local/include/cogl/cogl/cogl-types.h +912 -0
- data/vendor/local/include/cogl/cogl/cogl-vector.h +351 -0
- data/vendor/local/include/cogl/cogl/cogl-version.h +185 -0
- data/vendor/local/include/cogl/cogl/cogl-vertex-buffer.h +409 -0
- data/vendor/local/include/cogl/cogl/cogl-win32-renderer.h +99 -0
- data/vendor/local/include/cogl/cogl/cogl.h +151 -0
- data/vendor/local/include/cogl/cogl/cogl1-context.h +1169 -0
- data/vendor/local/include/cogl/cogl/cogl2-compatibility.h +55 -0
- data/vendor/local/include/cogl/cogl/cogl2-experimental.h +31 -0
- data/vendor/local/include/cogl/cogl/cogl2-path.h +506 -0
- data/vendor/local/include/cogl/cogl/gl-prototypes/cogl-core-functions.h +191 -0
- data/vendor/local/include/cogl/cogl/gl-prototypes/cogl-gles2-functions.h +36 -0
- data/vendor/local/include/cogl/cogl/gl-prototypes/cogl-glsl-functions.h +279 -0
- data/vendor/local/include/cogl/cogl/gl-prototypes/cogl-in-gles-core-functions.h +141 -0
- data/vendor/local/include/cogl/cogl/gl-prototypes/cogl-in-gles2-core-functions.h +179 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-builder.h +106 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-enum-types.h +36 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-generator.h +107 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-glib.h +46 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-gobject.h +182 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-gvariant.h +46 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-parser.h +173 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-path.h +97 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-reader.h +150 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-types.h +334 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-version.h +100 -0
- data/vendor/local/lib/girepository-1.0/Cally-1.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/Clutter-1.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/Cogl-1.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/CoglPango-1.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/Json-1.0.typelib +0 -0
- data/vendor/local/lib/libclutter-1.0.dll.a +0 -0
- data/vendor/local/lib/libclutter-1.0.la +41 -0
- data/vendor/local/lib/libcogl-pango.dll.a +0 -0
- data/vendor/local/lib/libcogl-pango.la +41 -0
- data/vendor/local/lib/libcogl.dll.a +0 -0
- data/vendor/local/lib/libcogl.la +41 -0
- data/vendor/local/lib/libglut.a +0 -0
- data/vendor/local/lib/libglut.dll.a +0 -0
- data/vendor/local/lib/libglut.la +41 -0
- data/vendor/local/lib/libjson-glib-1.0.dll.a +0 -0
- data/vendor/local/lib/libjson-glib-1.0.la +41 -0
- data/vendor/local/lib/pkgconfig/cally-1.0.pc +13 -0
- data/vendor/local/lib/pkgconfig/clutter-1.0.pc +24 -0
- data/vendor/local/lib/pkgconfig/clutter-win32-1.0.pc +24 -0
- data/vendor/local/lib/pkgconfig/cogl-1.0.pc +13 -0
- data/vendor/local/lib/pkgconfig/cogl-2.0-experimental.pc +13 -0
- data/vendor/local/lib/pkgconfig/cogl-gl-1.0.pc +13 -0
- data/vendor/local/lib/pkgconfig/cogl-pango-1.0.pc +13 -0
- data/vendor/local/lib/pkgconfig/cogl-pango-2.0-experimental.pc +13 -0
- data/vendor/local/lib/pkgconfig/json-glib-1.0.pc +11 -0
- data/vendor/local/share/cogl/examples-data/crate.jpg +0 -0
- data/vendor/local/share/gir-1.0/Cally-1.0.gir +679 -0
- data/vendor/local/share/gir-1.0/Clutter-1.0.gir +67473 -0
- data/vendor/local/share/gir-1.0/Cogl-1.0.gir +8383 -0
- data/vendor/local/share/gir-1.0/CoglPango-1.0.gir +306 -0
- data/vendor/local/share/gir-1.0/Json-1.0.gir +4333 -0
- data/vendor/local/share/gtk-doc/html/cally/CallyActor.html +415 -0
- data/vendor/local/share/gtk-doc/html/cally/CallyClone.html +136 -0
- data/vendor/local/share/gtk-doc/html/cally/CallyGroup.html +139 -0
- data/vendor/local/share/gtk-doc/html/cally/CallyRectangle.html +135 -0
- data/vendor/local/share/gtk-doc/html/cally/CallyRoot.html +123 -0
- data/vendor/local/share/gtk-doc/html/cally/CallyStage.html +140 -0
- data/vendor/local/share/gtk-doc/html/cally/CallyText.html +133 -0
- data/vendor/local/share/gtk-doc/html/cally/CallyTexture.html +135 -0
- data/vendor/local/share/gtk-doc/html/cally/CallyUtil.html +100 -0
- data/vendor/local/share/gtk-doc/html/cally/cally-General-API.html +167 -0
- data/vendor/local/share/gtk-doc/html/cally/cally.devhelp2 +73 -0
- data/vendor/local/share/gtk-doc/html/cally/callyannotationglossary.html +43 -0
- data/vendor/local/share/gtk-doc/html/cally/callybase.html +71 -0
- data/vendor/local/share/gtk-doc/html/cally/callyobjecthierarchy.html +45 -0
- data/vendor/local/share/gtk-doc/html/cally/callyobjectindex.html +64 -0
- data/vendor/local/share/gtk-doc/html/cally/callyobjects.html +39 -0
- data/vendor/local/share/gtk-doc/html/cally/ch01.html +53 -0
- data/vendor/local/share/gtk-doc/html/cally/ch02.html +41 -0
- data/vendor/local/share/gtk-doc/html/cally/clutter-overview.html +96 -0
- data/vendor/local/share/gtk-doc/html/cally/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/cally/index.html +103 -0
- data/vendor/local/share/gtk-doc/html/cally/index.sgml +103 -0
- data/vendor/local/share/gtk-doc/html/cally/ix01.html +198 -0
- data/vendor/local/share/gtk-doc/html/cally/ix02.html +31 -0
- data/vendor/local/share/gtk-doc/html/cally/ix03.html +190 -0
- data/vendor/local/share/gtk-doc/html/cally/ix04.html +42 -0
- data/vendor/local/share/gtk-doc/html/cally/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/cally/license.html +58 -0
- data/vendor/local/share/gtk-doc/html/cally/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/cally/style.css +266 -0
- data/vendor/local/share/gtk-doc/html/cally/up.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterAction.html +110 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterActor.html +13714 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterActorMeta.html +322 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterAlignConstraint.html +404 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterAlpha.html +747 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterAnimatable.html +432 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterAnimator.html +1218 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBackend.html +684 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviour.html +697 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourDepth.html +278 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourEllipse.html +844 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourOpacity.html +283 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourPath.html +450 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourRotate.html +608 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourScale.html +432 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBinLayout.html +1056 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBindConstraint.html +780 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBlurEffect.html +109 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBox.html +657 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBoxLayout.html +1232 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBrightnessContrastEffect.html +410 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterCairoTexture.html +1018 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterCanvas.html +469 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterChildMeta.html +253 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterClickAction.html +587 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterClone.html +219 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterColorizeEffect.html +193 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterConstraint.html +336 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterContainer.html +1346 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterContent.html +309 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterDeformEffect.html +353 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterDesaturateEffect.html +200 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterDeviceManager.html +408 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterDragAction.html +1224 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterDropAction.html +965 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterEffect.html +386 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterFixedLayout.html +115 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterFlowLayout.html +1016 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterGestureAction.html +867 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterGridLayout.html +808 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterGroup.html +231 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterImage.html +674 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterInputDevice.html +1488 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterKeyframeTransition.html +525 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterLayoutManager.html +1376 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterLayoutMeta.html +161 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterListModel.html +211 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterMedia.html +900 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterModel.html +1715 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterModelIter.html +644 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterOffscreenEffect.html +350 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPageTurnEffect.html +333 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPaintNode.html +534 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPanAction.html +785 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPath.html +1327 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPathConstraint.html +321 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPropertyTransition.html +216 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterRectangle.html +369 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterRotateAction.html +183 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterScore.html +881 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterScript.html +1365 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterScriptable.html +311 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterScrollActor.html +731 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterSettings.html +301 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterShaderEffect.html +595 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterSnapConstraint.html +421 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterStage.html +2252 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterState.html +1558 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterSwipeAction.html +280 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTableLayout.html +1146 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTapAction.html +192 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterText.html +3058 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTextBuffer.html +736 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTexture.html +1829 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTimeline.html +2441 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTransition.html +574 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTransitionGroup.html +227 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterZoomAction.html +400 -0
- data/vendor/local/share/gtk-doc/html/clutter/actor-box.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/actor-example.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/animator-key-frames.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/annotation-glossary.html +111 -0
- data/vendor/local/share/gtk-doc/html/clutter/bin-layout.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/box-layout.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/building-clutter.html +275 -0
- data/vendor/local/share/gtk-doc/html/clutter/ch01.html +65 -0
- data/vendor/local/share/gtk-doc/html/clutter/ch02.html +47 -0
- data/vendor/local/share/gtk-doc/html/clutter/ch03.html +51 -0
- data/vendor/local/share/gtk-doc/html/clutter/ch04.html +59 -0
- data/vendor/local/share/gtk-doc/html/clutter/ch05.html +44 -0
- data/vendor/local/share/gtk-doc/html/clutter/ch06.html +57 -0
- data/vendor/local/share/gtk-doc/html/clutter/ch07.html +38 -0
- data/vendor/local/share/gtk-doc/html/clutter/ch08.html +38 -0
- data/vendor/local/share/gtk-doc/html/clutter/ch09.html +53 -0
- data/vendor/local/share/gtk-doc/html/clutter/ch10.html +78 -0
- data/vendor/local/share/gtk-doc/html/clutter/ch11.html +38 -0
- data/vendor/local/share/gtk-doc/html/clutter/ch12.html +41 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Base-geometric-types.html +3471 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-ClutterGLXTexturePixmap.html +225 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-ClutterWaylandSurface.html +314 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-ClutterX11TexturePixmap.html +361 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Colors.html +1363 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-EGL-Specific-Support.html +129 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Events.html +2653 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Features.html +200 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-GDK-Specific-Support.html +249 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-General.html +2550 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Implicit-Animations.html +2571 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Intel-CE3100-CE4100-Specific-Support.html +181 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Key-Bindings.html +890 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Paint-Nodes.html +351 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Shaders.html +1004 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Stage-Manager.html +341 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Unit-conversion.html +843 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Utilities.html +549 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Value-intervals.html +1023 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Versioning-Macros.html +525 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Wayland-compositor-specific-support.html +83 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Win32-Specific-Support.html +201 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-X11-Specific-Support.html +806 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-overview.html +77 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter.devhelp2 +2715 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutteranimation.html +65 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutterbackends.html +71 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutterbase.html +202 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutterglossary.html +37 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutterobjecthierarchy.html +118 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutterobjectindex.html +184 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutterobjects.html +37 -0
- data/vendor/local/share/gtk-doc/html/clutter/cluttertools.html +105 -0
- data/vendor/local/share/gtk-doc/html/clutter/constraints-example.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/deprecated.html +86 -0
- data/vendor/local/share/gtk-doc/html/clutter/easing-modes.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/event-flow.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/flow-layout.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/go01.html +114 -0
- data/vendor/local/share/gtk-doc/html/clutter/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/index.html +451 -0
- data/vendor/local/share/gtk-doc/html/clutter/index.sgml +3272 -0
- data/vendor/local/share/gtk-doc/html/clutter/iterating-paths.html +56 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix01.html +8815 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix02.html +1961 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix03.html +454 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix04.html +583 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix05.html +957 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix06.html +642 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix07.html +1530 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix08.html +820 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix09.html +1005 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix10.html +369 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix11.html +366 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix12.html +1078 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix13.html +984 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix14.html +99 -0
- data/vendor/local/share/gtk-doc/html/clutter/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/license.html +58 -0
- data/vendor/local/share/gtk-doc/html/clutter/migrating-ClutterAnimation.html +223 -0
- data/vendor/local/share/gtk-doc/html/clutter/migrating-ClutterBehaviour.html +197 -0
- data/vendor/local/share/gtk-doc/html/clutter/migrating-ClutterEffect.html +154 -0
- data/vendor/local/share/gtk-doc/html/clutter/migrating-ClutterPath.html +156 -0
- data/vendor/local/share/gtk-doc/html/clutter/migration.html +49 -0
- data/vendor/local/share/gtk-doc/html/clutter/offscreen-redirect.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/path-alpha-func.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/pt09.html +31 -0
- data/vendor/local/share/gtk-doc/html/clutter/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/running-clutter.html +373 -0
- data/vendor/local/share/gtk-doc/html/clutter/style.css +266 -0
- data/vendor/local/share/gtk-doc/html/clutter/table-layout.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/up.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/using-cairo.html +36 -0
- data/vendor/local/share/gtk-doc/html/json-glib/JsonBuilder.html +513 -0
- data/vendor/local/share/gtk-doc/html/json-glib/JsonGenerator.html +492 -0
- data/vendor/local/share/gtk-doc/html/json-glib/JsonParser.html +871 -0
- data/vendor/local/share/gtk-doc/html/json-glib/JsonPath.html +464 -0
- data/vendor/local/share/gtk-doc/html/json-glib/JsonReader.html +898 -0
- data/vendor/local/share/gtk-doc/html/json-glib/annotation-glossary.html +87 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ch01.html +41 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ch02.html +41 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ch03.html +38 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ch04.html +38 -0
- data/vendor/local/share/gtk-doc/html/json-glib/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/json-glib/index.html +125 -0
- data/vendor/local/share/gtk-doc/html/json-glib/index.sgml +308 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ix01.html +926 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ix02.html +54 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ix03.html +61 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ix04.html +54 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ix05.html +186 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ix06.html +121 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ix07.html +161 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ix08.html +137 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-advanced.html +47 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-base.html +61 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-Boxed-Types-Serialization.html +382 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-GObject-Serialization.html +310 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-Array.html +850 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-GVariant-Integration.html +272 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-Node.html +942 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-Object.html +993 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-Serializable-Interface.html +476 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-Versioning-information.html +148 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib.devhelp2 +281 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib.html +38 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-streams.html +63 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-tools.html +39 -0
- data/vendor/local/share/gtk-doc/html/json-glib/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/json-glib/license.html +58 -0
- data/vendor/local/share/gtk-doc/html/json-glib/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/json-glib/style.css +266 -0
- data/vendor/local/share/gtk-doc/html/json-glib/up.png +0 -0
- data/vendor/local/share/license/clutter/COPYING +502 -0
- data/vendor/local/share/license/cogl/COPYING +502 -0
- data/vendor/local/share/license/freeglut/AUTHORS +39 -0
- data/vendor/local/share/license/freeglut/COPYING +27 -0
- data/vendor/local/share/license/json-glib/COPYING +504 -0
- data/vendor/local/share/locale/an/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/ar/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ar/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/as/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/as/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/ast/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ast/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/az_IR/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/be/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/be/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/bg/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/bg/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/ca/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ca/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/da/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/da/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/en_CA/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/en_GB/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/en_GB/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/eo/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/eo/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/eu/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/fa/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/fa/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/fi/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/he/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/he/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/hi/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/hi/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/km/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/km/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/kn/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/kn/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/ko/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/lv/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/lv/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/mk/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ml/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ml/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/nl/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/nl/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/or/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/or/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/pa/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/pa/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/pa/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/ps/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/pt/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/pt/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/ro/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/sk/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/sk/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/sr@latin/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/sr@latin/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/ta/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ta/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/te/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/te/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/tg/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/th/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/tr/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/tr/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/tr/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/ug/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ug/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/uk/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/uk/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/ur/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/vi/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/vi/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/yi/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/zh_HK/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/zh_HK/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/cogl.mo +0 -0
- metadata +747 -0
@@ -0,0 +1,469 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
+
<title>ClutterCanvas</title>
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.77.1">
|
7
|
+
<link rel="home" href="index.html" title="Clutter Reference Manual">
|
8
|
+
<link rel="up" href="ch07.html" title="Content">
|
9
|
+
<link rel="prev" href="ch07.html" title="Content">
|
10
|
+
<link rel="next" href="ClutterImage.html" title="ClutterImage">
|
11
|
+
<meta name="generator" content="GTK-Doc V1.18.1 (XML mode)">
|
12
|
+
<link rel="stylesheet" href="style.css" type="text/css">
|
13
|
+
</head>
|
14
|
+
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
15
|
+
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
|
16
|
+
<tr valign="middle">
|
17
|
+
<td><a accesskey="p" href="ch07.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
|
18
|
+
<td><a accesskey="u" href="ch07.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
|
19
|
+
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
|
20
|
+
<th width="100%" align="center">Clutter Reference Manual</th>
|
21
|
+
<td><a accesskey="n" href="ClutterImage.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
|
22
|
+
</tr>
|
23
|
+
<tr><td colspan="5" class="shortcuts">
|
24
|
+
<a href="#ClutterCanvas.synopsis" class="shortcut">Top</a>
|
25
|
+
|
|
26
|
+
<a href="#ClutterCanvas.description" class="shortcut">Description</a>
|
27
|
+
|
|
28
|
+
<a href="#ClutterCanvas.object-hierarchy" class="shortcut">Object Hierarchy</a>
|
29
|
+
|
|
30
|
+
<a href="#ClutterCanvas.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
|
31
|
+
|
|
32
|
+
<a href="#ClutterCanvas.properties" class="shortcut">Properties</a>
|
33
|
+
|
|
34
|
+
<a href="#ClutterCanvas.signals" class="shortcut">Signals</a>
|
35
|
+
</td></tr>
|
36
|
+
</table>
|
37
|
+
<div class="refentry">
|
38
|
+
<a name="ClutterCanvas"></a><div class="titlepage"></div>
|
39
|
+
<div class="refnamediv"><table width="100%"><tr>
|
40
|
+
<td valign="top">
|
41
|
+
<h2><span class="refentrytitle"><a name="ClutterCanvas.top_of_page"></a>ClutterCanvas</span></h2>
|
42
|
+
<p>ClutterCanvas — Content for 2D painting</p>
|
43
|
+
</td>
|
44
|
+
<td valign="top" align="right"></td>
|
45
|
+
</tr></table></div>
|
46
|
+
<div class="refsynopsisdiv">
|
47
|
+
<a name="ClutterCanvas.synopsis"></a><h2>Synopsis</h2>
|
48
|
+
<pre class="synopsis">struct <a class="link" href="ClutterCanvas.html#ClutterCanvas-struct" title="struct ClutterCanvas">ClutterCanvas</a>;
|
49
|
+
struct <a class="link" href="ClutterCanvas.html#ClutterCanvasClass" title="struct ClutterCanvasClass">ClutterCanvasClass</a>;
|
50
|
+
<a class="link" href="ClutterContent.html" title="ClutterContent"><span class="returnvalue">ClutterContent</span></a> * <a class="link" href="ClutterCanvas.html#clutter-canvas-new" title="clutter_canvas_new ()">clutter_canvas_new</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
51
|
+
<span class="returnvalue">void</span> <a class="link" href="ClutterCanvas.html#clutter-canvas-set-size" title="clutter_canvas_set_size ()">clutter_canvas_set_size</a> (<em class="parameter"><code><a class="link" href="ClutterCanvas.html" title="ClutterCanvas"><span class="type">ClutterCanvas</span></a> *canvas</code></em>,
|
52
|
+
<em class="parameter"><code><span class="type">int</span> width</code></em>,
|
53
|
+
<em class="parameter"><code><span class="type">int</span> height</code></em>);
|
54
|
+
</pre>
|
55
|
+
</div>
|
56
|
+
<div class="refsect1">
|
57
|
+
<a name="ClutterCanvas.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
58
|
+
<pre class="synopsis">
|
59
|
+
GObject
|
60
|
+
+----ClutterCanvas
|
61
|
+
</pre>
|
62
|
+
</div>
|
63
|
+
<div class="refsect1">
|
64
|
+
<a name="ClutterCanvas.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
|
65
|
+
<p>
|
66
|
+
ClutterCanvas implements
|
67
|
+
<a class="link" href="ClutterContent.html" title="ClutterContent">ClutterContent</a>.</p>
|
68
|
+
</div>
|
69
|
+
<div class="refsect1">
|
70
|
+
<a name="ClutterCanvas.properties"></a><h2>Properties</h2>
|
71
|
+
<pre class="synopsis">
|
72
|
+
"<a class="link" href="ClutterCanvas.html#ClutterCanvas--height" title='The "height" property'>height</a>" <span class="type">gint</span> : Read / Write
|
73
|
+
"<a class="link" href="ClutterCanvas.html#ClutterCanvas--width" title='The "width" property'>width</a>" <span class="type">gint</span> : Read / Write
|
74
|
+
</pre>
|
75
|
+
</div>
|
76
|
+
<div class="refsect1">
|
77
|
+
<a name="ClutterCanvas.signals"></a><h2>Signals</h2>
|
78
|
+
<pre class="synopsis">
|
79
|
+
"<a class="link" href="ClutterCanvas.html#ClutterCanvas-draw" title='The "draw" signal'>draw</a>" : <code class="literal">No Recursion</code>
|
80
|
+
</pre>
|
81
|
+
</div>
|
82
|
+
<div class="refsect1">
|
83
|
+
<a name="ClutterCanvas.description"></a><h2>Description</h2>
|
84
|
+
<p>
|
85
|
+
The <a class="link" href="ClutterCanvas.html" title="ClutterCanvas"><span class="type">ClutterCanvas</span></a> class is a <a class="link" href="ClutterContent.html" title="ClutterContent"><span class="type">ClutterContent</span></a> implementation that allows
|
86
|
+
drawing using the Cairo API on a 2D surface.
|
87
|
+
</p>
|
88
|
+
<p>
|
89
|
+
In order to draw on a <a class="link" href="ClutterCanvas.html" title="ClutterCanvas"><span class="type">ClutterCanvas</span></a>, you should connect a handler to the
|
90
|
+
<a class="link" href="ClutterCanvas.html#ClutterCanvas-draw" title='The "draw" signal'><span class="type">"draw"</span></a> signal; the signal will receive a <a href="/home/ebassi/gnome/install/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-t"><span class="type">cairo_t</span></a> context
|
91
|
+
that can be used to draw. <a class="link" href="ClutterCanvas.html" title="ClutterCanvas"><span class="type">ClutterCanvas</span></a> will emit the <a class="link" href="ClutterCanvas.html#ClutterCanvas-draw" title='The "draw" signal'><span class="type">"draw"</span></a>
|
92
|
+
signal when invalidated using <a class="link" href="ClutterContent.html#clutter-content-invalidate" title="clutter_content_invalidate ()"><code class="function">clutter_content_invalidate()</code></a>.
|
93
|
+
</p>
|
94
|
+
<p>
|
95
|
+
</p>
|
96
|
+
<div class="informalexample">
|
97
|
+
<a name="canvas-example"></a><pre class="programlisting">
|
98
|
+
#include <stdlib.h>
|
99
|
+
#include <math.h>
|
100
|
+
#include <cairo.h>
|
101
|
+
#include <clutter/clutter.h>
|
102
|
+
|
103
|
+
static gboolean
|
104
|
+
draw_clock (ClutterCanvas *canvas,
|
105
|
+
cairo_t *cr,
|
106
|
+
int width,
|
107
|
+
int height)
|
108
|
+
{
|
109
|
+
GDateTime *now;
|
110
|
+
float hours, minutes, seconds;
|
111
|
+
ClutterColor color;
|
112
|
+
|
113
|
+
/* get the current time and compute the angles */
|
114
|
+
now = g_date_time_new_now_local ();
|
115
|
+
seconds = g_date_time_get_second (now) * G_PI / 30;
|
116
|
+
minutes = g_date_time_get_minute (now) * G_PI / 30;
|
117
|
+
hours = g_date_time_get_hour (now) * G_PI / 6;
|
118
|
+
|
119
|
+
cairo_save (cr);
|
120
|
+
|
121
|
+
/* clear the contents of the canvas, to avoid painting
|
122
|
+
* over the previous frame
|
123
|
+
*/
|
124
|
+
cairo_set_operator (cr, CAIRO_OPERATOR_CLEAR);
|
125
|
+
cairo_paint (cr);
|
126
|
+
|
127
|
+
cairo_restore (cr);
|
128
|
+
|
129
|
+
cairo_set_operator (cr, CAIRO_OPERATOR_OVER);
|
130
|
+
|
131
|
+
/* scale the modelview to the size of the surface */
|
132
|
+
cairo_scale (cr, width, height);
|
133
|
+
|
134
|
+
cairo_set_line_cap (cr, CAIRO_LINE_CAP_ROUND);
|
135
|
+
cairo_set_line_width (cr, 0.1);
|
136
|
+
|
137
|
+
/* the black rail that holds the seconds indicator */
|
138
|
+
clutter_cairo_set_source_color (cr, CLUTTER_COLOR_Black);
|
139
|
+
cairo_translate (cr, 0.5, 0.5);
|
140
|
+
cairo_arc (cr, 0, 0, 0.4, 0, G_PI * 2);
|
141
|
+
cairo_stroke (cr);
|
142
|
+
|
143
|
+
/* the seconds indicator */
|
144
|
+
color = *CLUTTER_COLOR_White;
|
145
|
+
color.alpha = 128;
|
146
|
+
clutter_cairo_set_source_color (cr, &color);
|
147
|
+
cairo_move_to (cr, 0, 0);
|
148
|
+
cairo_arc (cr, sinf (seconds) * 0.4, - cosf (seconds) * 0.4, 0.05, 0, G_PI * 2);
|
149
|
+
cairo_fill (cr);
|
150
|
+
|
151
|
+
/* the minutes hand */
|
152
|
+
color = *CLUTTER_COLOR_DarkChameleon;
|
153
|
+
color.alpha = 196;
|
154
|
+
clutter_cairo_set_source_color (cr, &color);
|
155
|
+
cairo_move_to (cr, 0, 0);
|
156
|
+
cairo_line_to (cr, sinf (minutes) * 0.4, -cosf (minutes) * 0.4);
|
157
|
+
cairo_stroke (cr);
|
158
|
+
|
159
|
+
/* the hours hand */
|
160
|
+
cairo_move_to (cr, 0, 0);
|
161
|
+
cairo_line_to (cr, sinf (hours) * 0.2, -cosf (hours) * 0.2);
|
162
|
+
cairo_stroke (cr);
|
163
|
+
|
164
|
+
g_date_time_unref (now);
|
165
|
+
|
166
|
+
/* we're done drawing */
|
167
|
+
return TRUE;
|
168
|
+
}
|
169
|
+
|
170
|
+
static gboolean
|
171
|
+
invalidate_clock (gpointer data_)
|
172
|
+
{
|
173
|
+
/* invalidate the contents of the canvas */
|
174
|
+
clutter_content_invalidate (data_);
|
175
|
+
|
176
|
+
/* keep the timeout source */
|
177
|
+
return G_SOURCE_CONTINUE;
|
178
|
+
}
|
179
|
+
|
180
|
+
static guint idle_resize_id;
|
181
|
+
|
182
|
+
static gboolean
|
183
|
+
idle_resize (gpointer data)
|
184
|
+
{
|
185
|
+
ClutterActor *actor = data;
|
186
|
+
float width, height;
|
187
|
+
|
188
|
+
/* match the canvas size to the actor's */
|
189
|
+
clutter_actor_get_size (actor, &width, &height);
|
190
|
+
clutter_canvas_set_size (CLUTTER_CANVAS (clutter_actor_get_content (actor)),
|
191
|
+
ceilf (width),
|
192
|
+
ceilf (height));
|
193
|
+
|
194
|
+
/* unset the guard */
|
195
|
+
idle_resize_id = 0;
|
196
|
+
|
197
|
+
/* remove the timeout */
|
198
|
+
return G_SOURCE_REMOVE;
|
199
|
+
}
|
200
|
+
|
201
|
+
static void
|
202
|
+
on_actor_resize (ClutterActor *actor,
|
203
|
+
const ClutterActorBox *allocation,
|
204
|
+
ClutterAllocationFlags flags,
|
205
|
+
gpointer user_data)
|
206
|
+
{
|
207
|
+
/* throttle multiple actor allocations to one canvas resize; we use a guard
|
208
|
+
* variable to avoid queueing multiple resize operations
|
209
|
+
*/
|
210
|
+
if (idle_resize_id == 0)
|
211
|
+
idle_resize_id = clutter_threads_add_timeout (1000, idle_resize, actor);
|
212
|
+
}
|
213
|
+
|
214
|
+
int
|
215
|
+
main (int argc, char *argv[])
|
216
|
+
{
|
217
|
+
ClutterActor *stage, *actor;
|
218
|
+
ClutterContent *canvas;
|
219
|
+
|
220
|
+
/* initialize Clutter */
|
221
|
+
if (clutter_init (&argc, &argv) != CLUTTER_INIT_SUCCESS)
|
222
|
+
return EXIT_FAILURE;
|
223
|
+
|
224
|
+
/* create a resizable stage */
|
225
|
+
stage = clutter_stage_new ();
|
226
|
+
clutter_stage_set_title (CLUTTER_STAGE (stage), "2D Clock");
|
227
|
+
clutter_stage_set_user_resizable (CLUTTER_STAGE (stage), TRUE);
|
228
|
+
clutter_actor_set_background_color (stage, CLUTTER_COLOR_LightSkyBlue);
|
229
|
+
clutter_actor_set_size (stage, 300, 300);
|
230
|
+
clutter_actor_show (stage);
|
231
|
+
|
232
|
+
/* our 2D canvas, courtesy of Cairo */
|
233
|
+
canvas = clutter_canvas_new ();
|
234
|
+
clutter_canvas_set_size (CLUTTER_CANVAS (canvas), 300, 300);
|
235
|
+
|
236
|
+
actor = clutter_actor_new ();
|
237
|
+
clutter_actor_set_content (actor, canvas);
|
238
|
+
clutter_actor_set_content_scaling_filters (actor,
|
239
|
+
CLUTTER_SCALING_FILTER_TRILINEAR,
|
240
|
+
CLUTTER_SCALING_FILTER_LINEAR);
|
241
|
+
clutter_actor_add_child (stage, actor);
|
242
|
+
|
243
|
+
/* the actor now owns the canvas */
|
244
|
+
g_object_unref (canvas);
|
245
|
+
|
246
|
+
/* bind the size of the actor to that of the stage */
|
247
|
+
clutter_actor_add_constraint (actor, clutter_bind_constraint_new (stage, CLUTTER_BIND_SIZE, 0));
|
248
|
+
|
249
|
+
/* resize the canvas whenever the actor changes size */
|
250
|
+
g_signal_connect (actor, "allocation-changed", G_CALLBACK (on_actor_resize), NULL);
|
251
|
+
|
252
|
+
/* quit on destroy */
|
253
|
+
g_signal_connect (stage, "destroy", G_CALLBACK (clutter_main_quit), NULL);
|
254
|
+
|
255
|
+
/* connect our drawing code */
|
256
|
+
g_signal_connect (canvas, "draw", G_CALLBACK (draw_clock), NULL);
|
257
|
+
|
258
|
+
/* invalidate the canvas, so that we can draw before the main loop starts */
|
259
|
+
clutter_content_invalidate (canvas);
|
260
|
+
|
261
|
+
/* set up a timer that invalidates the canvas every second */
|
262
|
+
clutter_threads_add_timeout (1000, invalidate_clock, canvas);
|
263
|
+
|
264
|
+
clutter_main ();
|
265
|
+
|
266
|
+
return EXIT_SUCCESS;
|
267
|
+
}
|
268
|
+
|
269
|
+
</pre>
|
270
|
+
</div>
|
271
|
+
<p>
|
272
|
+
</p>
|
273
|
+
<p>
|
274
|
+
<a class="link" href="ClutterCanvas.html" title="ClutterCanvas"><span class="type">ClutterCanvas</span></a> is available since Clutter 1.10.
|
275
|
+
</p>
|
276
|
+
</div>
|
277
|
+
<div class="refsect1">
|
278
|
+
<a name="ClutterCanvas.details"></a><h2>Details</h2>
|
279
|
+
<div class="refsect2">
|
280
|
+
<a name="ClutterCanvas-struct"></a><h3>struct ClutterCanvas</h3>
|
281
|
+
<pre class="programlisting">struct ClutterCanvas;</pre>
|
282
|
+
<p>
|
283
|
+
The <span class="structname">ClutterCanvas</span> structure contains
|
284
|
+
private data and should only be accessed using the provided
|
285
|
+
API.
|
286
|
+
</p>
|
287
|
+
<p class="since">Since 1.10</p>
|
288
|
+
</div>
|
289
|
+
<hr>
|
290
|
+
<div class="refsect2">
|
291
|
+
<a name="ClutterCanvasClass"></a><h3>struct ClutterCanvasClass</h3>
|
292
|
+
<pre class="programlisting">struct ClutterCanvasClass {
|
293
|
+
gboolean (* draw) (ClutterCanvas *canvas,
|
294
|
+
cairo_t *cr,
|
295
|
+
int width,
|
296
|
+
int height);
|
297
|
+
};
|
298
|
+
</pre>
|
299
|
+
<p>
|
300
|
+
The <span class="structname">ClutterCanvasClass</span> structure contains
|
301
|
+
private data.
|
302
|
+
</p>
|
303
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
304
|
+
<colgroup>
|
305
|
+
<col align="left" valign="top">
|
306
|
+
<col>
|
307
|
+
</colgroup>
|
308
|
+
<tbody><tr>
|
309
|
+
<td><p><span class="term"><em class="structfield"><code><a name="ClutterCanvasClass.draw"></a>draw</code></em> ()</span></p></td>
|
310
|
+
<td>class handler for the <a class="link" href="ClutterCanvas.html#ClutterCanvas-draw" title='The "draw" signal'><span class="type">"draw"</span></a> signal</td>
|
311
|
+
</tr></tbody>
|
312
|
+
</table></div>
|
313
|
+
<p class="since">Since 1.10</p>
|
314
|
+
</div>
|
315
|
+
<hr>
|
316
|
+
<div class="refsect2">
|
317
|
+
<a name="clutter-canvas-new"></a><h3>clutter_canvas_new ()</h3>
|
318
|
+
<pre class="programlisting"><a class="link" href="ClutterContent.html" title="ClutterContent"><span class="returnvalue">ClutterContent</span></a> * clutter_canvas_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
319
|
+
<p>
|
320
|
+
Creates a new instance of <a class="link" href="ClutterCanvas.html" title="ClutterCanvas"><span class="type">ClutterCanvas</span></a>.
|
321
|
+
</p>
|
322
|
+
<p>
|
323
|
+
You should call <a class="link" href="ClutterCanvas.html#clutter-canvas-set-size" title="clutter_canvas_set_size ()"><code class="function">clutter_canvas_set_size()</code></a> to set the size of the canvas.
|
324
|
+
</p>
|
325
|
+
<p>
|
326
|
+
You should call <a class="link" href="ClutterContent.html#clutter-content-invalidate" title="clutter_content_invalidate ()"><code class="function">clutter_content_invalidate()</code></a> every time you wish to
|
327
|
+
draw the contents of the canvas.
|
328
|
+
</p>
|
329
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
330
|
+
<colgroup>
|
331
|
+
<col align="left" valign="top">
|
332
|
+
<col>
|
333
|
+
</colgroup>
|
334
|
+
<tbody><tr>
|
335
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
336
|
+
<td>The newly allocated instance of
|
337
|
+
<a class="link" href="ClutterCanvas.html" title="ClutterCanvas"><span class="type">ClutterCanvas</span></a>. Use <code class="function">g_object_unref()</code> when done. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
338
|
+
</td>
|
339
|
+
</tr></tbody>
|
340
|
+
</table></div>
|
341
|
+
<p class="since">Since 1.10</p>
|
342
|
+
</div>
|
343
|
+
<hr>
|
344
|
+
<div class="refsect2">
|
345
|
+
<a name="clutter-canvas-set-size"></a><h3>clutter_canvas_set_size ()</h3>
|
346
|
+
<pre class="programlisting"><span class="returnvalue">void</span> clutter_canvas_set_size (<em class="parameter"><code><a class="link" href="ClutterCanvas.html" title="ClutterCanvas"><span class="type">ClutterCanvas</span></a> *canvas</code></em>,
|
347
|
+
<em class="parameter"><code><span class="type">int</span> width</code></em>,
|
348
|
+
<em class="parameter"><code><span class="type">int</span> height</code></em>);</pre>
|
349
|
+
<p>
|
350
|
+
Sets the size of the <em class="parameter"><code>canvas</code></em>.
|
351
|
+
</p>
|
352
|
+
<p>
|
353
|
+
This function will cause the <em class="parameter"><code>canvas</code></em> to be invalidated.
|
354
|
+
</p>
|
355
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
356
|
+
<colgroup>
|
357
|
+
<col align="left" valign="top">
|
358
|
+
<col>
|
359
|
+
</colgroup>
|
360
|
+
<tbody>
|
361
|
+
<tr>
|
362
|
+
<td><p><span class="term"><em class="parameter"><code>canvas</code></em> :</span></p></td>
|
363
|
+
<td>a <a class="link" href="ClutterCanvas.html" title="ClutterCanvas"><span class="type">ClutterCanvas</span></a>
|
364
|
+
</td>
|
365
|
+
</tr>
|
366
|
+
<tr>
|
367
|
+
<td><p><span class="term"><em class="parameter"><code>width</code></em> :</span></p></td>
|
368
|
+
<td>the width of the canvas, in pixels</td>
|
369
|
+
</tr>
|
370
|
+
<tr>
|
371
|
+
<td><p><span class="term"><em class="parameter"><code>height</code></em> :</span></p></td>
|
372
|
+
<td>the height of the canvas, in pixels</td>
|
373
|
+
</tr>
|
374
|
+
</tbody>
|
375
|
+
</table></div>
|
376
|
+
<p class="since">Since 1.10</p>
|
377
|
+
</div>
|
378
|
+
</div>
|
379
|
+
<div class="refsect1">
|
380
|
+
<a name="ClutterCanvas.property-details"></a><h2>Property Details</h2>
|
381
|
+
<div class="refsect2">
|
382
|
+
<a name="ClutterCanvas--height"></a><h3>The <code class="literal">"height"</code> property</h3>
|
383
|
+
<pre class="programlisting"> "height" <span class="type">gint</span> : Read / Write</pre>
|
384
|
+
<p>
|
385
|
+
The height of the canvas.
|
386
|
+
</p>
|
387
|
+
<p>Allowed values: >= G_MAXULONG</p>
|
388
|
+
<p>Default value: -1</p>
|
389
|
+
<p class="since">Since 1.10</p>
|
390
|
+
</div>
|
391
|
+
<hr>
|
392
|
+
<div class="refsect2">
|
393
|
+
<a name="ClutterCanvas--width"></a><h3>The <code class="literal">"width"</code> property</h3>
|
394
|
+
<pre class="programlisting"> "width" <span class="type">gint</span> : Read / Write</pre>
|
395
|
+
<p>
|
396
|
+
The width of the canvas.
|
397
|
+
</p>
|
398
|
+
<p>Allowed values: >= G_MAXULONG</p>
|
399
|
+
<p>Default value: -1</p>
|
400
|
+
<p class="since">Since 1.10</p>
|
401
|
+
</div>
|
402
|
+
</div>
|
403
|
+
<div class="refsect1">
|
404
|
+
<a name="ClutterCanvas.signal-details"></a><h2>Signal Details</h2>
|
405
|
+
<div class="refsect2">
|
406
|
+
<a name="ClutterCanvas-draw"></a><h3>The <code class="literal">"draw"</code> signal</h3>
|
407
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> user_function (<a class="link" href="ClutterCanvas.html" title="ClutterCanvas"><span class="type">ClutterCanvas</span></a> *canvas,
|
408
|
+
<span class="type">CairoContext</span> *cr,
|
409
|
+
<span class="type">gint</span> width,
|
410
|
+
<span class="type">gint</span> height,
|
411
|
+
<span class="type">gpointer</span> user_data) : <code class="literal">No Recursion</code></pre>
|
412
|
+
<p>
|
413
|
+
The <a class="link" href="ClutterCanvas.html#ClutterCanvas-draw" title='The "draw" signal'><span class="type">"draw"</span></a> signal is emitted each time a canvas is
|
414
|
+
invalidated.
|
415
|
+
</p>
|
416
|
+
<p>
|
417
|
+
It is safe to connect multiple handlers to this signal: each
|
418
|
+
handler invocation will be automatically protected by <a href="/home/ebassi/gnome/install/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-save"><code class="function">cairo_save()</code></a>
|
419
|
+
and <a href="/home/ebassi/gnome/install/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-restore"><code class="function">cairo_restore()</code></a> pairs.
|
420
|
+
</p>
|
421
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
422
|
+
<colgroup>
|
423
|
+
<col align="left" valign="top">
|
424
|
+
<col>
|
425
|
+
</colgroup>
|
426
|
+
<tbody>
|
427
|
+
<tr>
|
428
|
+
<td><p><span class="term"><em class="parameter"><code>canvas</code></em> :</span></p></td>
|
429
|
+
<td>the <a class="link" href="ClutterCanvas.html" title="ClutterCanvas"><span class="type">ClutterCanvas</span></a> that emitted the signal</td>
|
430
|
+
</tr>
|
431
|
+
<tr>
|
432
|
+
<td><p><span class="term"><em class="parameter"><code>cr</code></em> :</span></p></td>
|
433
|
+
<td>the Cairo context used to draw</td>
|
434
|
+
</tr>
|
435
|
+
<tr>
|
436
|
+
<td><p><span class="term"><em class="parameter"><code>width</code></em> :</span></p></td>
|
437
|
+
<td>the width of the <em class="parameter"><code>canvas</code></em>
|
438
|
+
</td>
|
439
|
+
</tr>
|
440
|
+
<tr>
|
441
|
+
<td><p><span class="term"><em class="parameter"><code>height</code></em> :</span></p></td>
|
442
|
+
<td>the height of the <em class="parameter"><code>canvas</code></em>
|
443
|
+
</td>
|
444
|
+
</tr>
|
445
|
+
<tr>
|
446
|
+
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
447
|
+
<td>user data set when the signal handler was connected.</td>
|
448
|
+
</tr>
|
449
|
+
<tr>
|
450
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
451
|
+
<td>
|
452
|
+
<code class="literal">TRUE</code> if the signal emission should stop, and
|
453
|
+
<code class="literal">FALSE</code> otherwise</td>
|
454
|
+
</tr>
|
455
|
+
</tbody>
|
456
|
+
</table></div>
|
457
|
+
<p class="since">Since 1.10</p>
|
458
|
+
</div>
|
459
|
+
</div>
|
460
|
+
<div class="refsect1">
|
461
|
+
<a name="ClutterCanvas.see-also"></a><h2>See Also</h2>
|
462
|
+
<a class="link" href="ClutterContent.html" title="ClutterContent"><span class="type">ClutterContent</span></a>
|
463
|
+
</div>
|
464
|
+
</div>
|
465
|
+
<div class="footer">
|
466
|
+
<hr>
|
467
|
+
Generated by GTK-Doc V1.18.1</div>
|
468
|
+
</body>
|
469
|
+
</html>
|