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,410 @@
|
|
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>ClutterBrightnessContrastEffect</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="ch06.html" title="Effects">
|
9
|
+
<link rel="prev" href="ClutterBlurEffect.html" title="ClutterBlurEffect">
|
10
|
+
<link rel="next" href="ClutterColorizeEffect.html" title="ClutterColorizeEffect">
|
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="ClutterBlurEffect.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
|
18
|
+
<td><a accesskey="u" href="ch06.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="ClutterColorizeEffect.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="#ClutterBrightnessContrastEffect.synopsis" class="shortcut">Top</a>
|
25
|
+
|
|
26
|
+
<a href="#ClutterBrightnessContrastEffect.description" class="shortcut">Description</a>
|
27
|
+
|
|
28
|
+
<a href="#ClutterBrightnessContrastEffect.object-hierarchy" class="shortcut">Object Hierarchy</a>
|
29
|
+
|
|
30
|
+
<a href="#ClutterBrightnessContrastEffect.properties" class="shortcut">Properties</a>
|
31
|
+
</td></tr>
|
32
|
+
</table>
|
33
|
+
<div class="refentry">
|
34
|
+
<a name="ClutterBrightnessContrastEffect"></a><div class="titlepage"></div>
|
35
|
+
<div class="refnamediv"><table width="100%"><tr>
|
36
|
+
<td valign="top">
|
37
|
+
<h2><span class="refentrytitle"><a name="ClutterBrightnessContrastEffect.top_of_page"></a>ClutterBrightnessContrastEffect</span></h2>
|
38
|
+
<p>ClutterBrightnessContrastEffect — Increase/decrease brightness and/or contrast of actor.</p>
|
39
|
+
</td>
|
40
|
+
<td valign="top" align="right"></td>
|
41
|
+
</tr></table></div>
|
42
|
+
<div class="refsynopsisdiv">
|
43
|
+
<a name="ClutterBrightnessContrastEffect.synopsis"></a><h2>Synopsis</h2>
|
44
|
+
<pre class="synopsis"> <a class="link" href="ClutterBrightnessContrastEffect.html#ClutterBrightnessContrastEffect-struct" title="ClutterBrightnessContrastEffect">ClutterBrightnessContrastEffect</a>;
|
45
|
+
<a class="link" href="ClutterEffect.html" title="ClutterEffect"><span class="returnvalue">ClutterEffect</span></a> * <a class="link" href="ClutterBrightnessContrastEffect.html#clutter-brightness-contrast-effect-new" title="clutter_brightness_contrast_effect_new ()">clutter_brightness_contrast_effect_new</a>
|
46
|
+
(<em class="parameter"><code><span class="type">void</span></code></em>);
|
47
|
+
<span class="returnvalue">void</span> <a class="link" href="ClutterBrightnessContrastEffect.html#clutter-brightness-contrast-effect-set-brightness" title="clutter_brightness_contrast_effect_set_brightness ()">clutter_brightness_contrast_effect_set_brightness</a>
|
48
|
+
(<em class="parameter"><code><a class="link" href="ClutterBrightnessContrastEffect.html" title="ClutterBrightnessContrastEffect"><span class="type">ClutterBrightnessContrastEffect</span></a> *effect</code></em>,
|
49
|
+
<em class="parameter"><code><span class="type">float</span> brightness</code></em>);
|
50
|
+
<span class="returnvalue">void</span> <a class="link" href="ClutterBrightnessContrastEffect.html#clutter-brightness-contrast-effect-set-brightness-full" title="clutter_brightness_contrast_effect_set_brightness_full ()">clutter_brightness_contrast_effect_set_brightness_full</a>
|
51
|
+
(<em class="parameter"><code><a class="link" href="ClutterBrightnessContrastEffect.html" title="ClutterBrightnessContrastEffect"><span class="type">ClutterBrightnessContrastEffect</span></a> *effect</code></em>,
|
52
|
+
<em class="parameter"><code><span class="type">float</span> red</code></em>,
|
53
|
+
<em class="parameter"><code><span class="type">float</span> green</code></em>,
|
54
|
+
<em class="parameter"><code><span class="type">float</span> blue</code></em>);
|
55
|
+
<span class="returnvalue">void</span> <a class="link" href="ClutterBrightnessContrastEffect.html#clutter-brightness-contrast-effect-get-brightness" title="clutter_brightness_contrast_effect_get_brightness ()">clutter_brightness_contrast_effect_get_brightness</a>
|
56
|
+
(<em class="parameter"><code><a class="link" href="ClutterBrightnessContrastEffect.html" title="ClutterBrightnessContrastEffect"><span class="type">ClutterBrightnessContrastEffect</span></a> *effect</code></em>,
|
57
|
+
<em class="parameter"><code><span class="type">float</span> *red</code></em>,
|
58
|
+
<em class="parameter"><code><span class="type">float</span> *green</code></em>,
|
59
|
+
<em class="parameter"><code><span class="type">float</span> *blue</code></em>);
|
60
|
+
<span class="returnvalue">void</span> <a class="link" href="ClutterBrightnessContrastEffect.html#clutter-brightness-contrast-effect-set-contrast" title="clutter_brightness_contrast_effect_set_contrast ()">clutter_brightness_contrast_effect_set_contrast</a>
|
61
|
+
(<em class="parameter"><code><a class="link" href="ClutterBrightnessContrastEffect.html" title="ClutterBrightnessContrastEffect"><span class="type">ClutterBrightnessContrastEffect</span></a> *effect</code></em>,
|
62
|
+
<em class="parameter"><code><span class="type">float</span> contrast</code></em>);
|
63
|
+
<span class="returnvalue">void</span> <a class="link" href="ClutterBrightnessContrastEffect.html#clutter-brightness-contrast-effect-set-contrast-full" title="clutter_brightness_contrast_effect_set_contrast_full ()">clutter_brightness_contrast_effect_set_contrast_full</a>
|
64
|
+
(<em class="parameter"><code><a class="link" href="ClutterBrightnessContrastEffect.html" title="ClutterBrightnessContrastEffect"><span class="type">ClutterBrightnessContrastEffect</span></a> *effect</code></em>,
|
65
|
+
<em class="parameter"><code><span class="type">float</span> red</code></em>,
|
66
|
+
<em class="parameter"><code><span class="type">float</span> green</code></em>,
|
67
|
+
<em class="parameter"><code><span class="type">float</span> blue</code></em>);
|
68
|
+
<span class="returnvalue">void</span> <a class="link" href="ClutterBrightnessContrastEffect.html#clutter-brightness-contrast-effect-get-contrast" title="clutter_brightness_contrast_effect_get_contrast ()">clutter_brightness_contrast_effect_get_contrast</a>
|
69
|
+
(<em class="parameter"><code><a class="link" href="ClutterBrightnessContrastEffect.html" title="ClutterBrightnessContrastEffect"><span class="type">ClutterBrightnessContrastEffect</span></a> *effect</code></em>,
|
70
|
+
<em class="parameter"><code><span class="type">float</span> *red</code></em>,
|
71
|
+
<em class="parameter"><code><span class="type">float</span> *green</code></em>,
|
72
|
+
<em class="parameter"><code><span class="type">float</span> *blue</code></em>);
|
73
|
+
</pre>
|
74
|
+
</div>
|
75
|
+
<div class="refsect1">
|
76
|
+
<a name="ClutterBrightnessContrastEffect.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
77
|
+
<pre class="synopsis">
|
78
|
+
GObject
|
79
|
+
+----GInitiallyUnowned
|
80
|
+
+----<a class="link" href="ClutterActorMeta.html" title="ClutterActorMeta">ClutterActorMeta</a>
|
81
|
+
+----<a class="link" href="ClutterEffect.html" title="ClutterEffect">ClutterEffect</a>
|
82
|
+
+----<a class="link" href="ClutterOffscreenEffect.html" title="ClutterOffscreenEffect">ClutterOffscreenEffect</a>
|
83
|
+
+----ClutterBrightnessContrastEffect
|
84
|
+
</pre>
|
85
|
+
</div>
|
86
|
+
<div class="refsect1">
|
87
|
+
<a name="ClutterBrightnessContrastEffect.properties"></a><h2>Properties</h2>
|
88
|
+
<pre class="synopsis">
|
89
|
+
"<a class="link" href="ClutterBrightnessContrastEffect.html#ClutterBrightnessContrastEffect--brightness" title='The "brightness" property'>brightness</a>" <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a>* : Read / Write
|
90
|
+
"<a class="link" href="ClutterBrightnessContrastEffect.html#ClutterBrightnessContrastEffect--contrast" title='The "contrast" property'>contrast</a>" <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a>* : Read / Write
|
91
|
+
</pre>
|
92
|
+
</div>
|
93
|
+
<div class="refsect1">
|
94
|
+
<a name="ClutterBrightnessContrastEffect.description"></a><h2>Description</h2>
|
95
|
+
<p>
|
96
|
+
<a class="link" href="ClutterBrightnessContrastEffect.html" title="ClutterBrightnessContrastEffect"><span class="type">ClutterBrightnessContrastEffect</span></a> is a sub-class of <a class="link" href="ClutterEffect.html" title="ClutterEffect"><span class="type">ClutterEffect</span></a> that
|
97
|
+
changes the overall brightness of a <a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a>.
|
98
|
+
</p>
|
99
|
+
<p>
|
100
|
+
<a class="link" href="ClutterBrightnessContrastEffect.html" title="ClutterBrightnessContrastEffect"><span class="type">ClutterBrightnessContrastEffect</span></a> is available since Clutter 1.10
|
101
|
+
</p>
|
102
|
+
</div>
|
103
|
+
<div class="refsect1">
|
104
|
+
<a name="ClutterBrightnessContrastEffect.details"></a><h2>Details</h2>
|
105
|
+
<div class="refsect2">
|
106
|
+
<a name="ClutterBrightnessContrastEffect-struct"></a><h3>ClutterBrightnessContrastEffect</h3>
|
107
|
+
<pre class="programlisting">typedef struct _ClutterBrightnessContrastEffect ClutterBrightnessContrastEffect;</pre>
|
108
|
+
<p>
|
109
|
+
<span class="structname">ClutterBrightnessContrastEffect</span> is an opaque structure
|
110
|
+
whose members cannot be directly accessed
|
111
|
+
</p>
|
112
|
+
<p class="since">Since 1.10</p>
|
113
|
+
</div>
|
114
|
+
<hr>
|
115
|
+
<div class="refsect2">
|
116
|
+
<a name="clutter-brightness-contrast-effect-new"></a><h3>clutter_brightness_contrast_effect_new ()</h3>
|
117
|
+
<pre class="programlisting"><a class="link" href="ClutterEffect.html" title="ClutterEffect"><span class="returnvalue">ClutterEffect</span></a> * clutter_brightness_contrast_effect_new
|
118
|
+
(<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
119
|
+
<p>
|
120
|
+
Creates a new <a class="link" href="ClutterBrightnessContrastEffect.html" title="ClutterBrightnessContrastEffect"><span class="type">ClutterBrightnessContrastEffect</span></a> to be used with
|
121
|
+
<a class="link" href="ClutterActor.html#clutter-actor-add-effect" title="clutter_actor_add_effect ()"><code class="function">clutter_actor_add_effect()</code></a>
|
122
|
+
</p>
|
123
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
124
|
+
<colgroup>
|
125
|
+
<col align="left" valign="top">
|
126
|
+
<col>
|
127
|
+
</colgroup>
|
128
|
+
<tbody><tr>
|
129
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
130
|
+
<td>the newly created
|
131
|
+
<a class="link" href="ClutterBrightnessContrastEffect.html" title="ClutterBrightnessContrastEffect"><span class="type">ClutterBrightnessContrastEffect</span></a> or <code class="literal">NULL</code>. Use <code class="function">g_object_unref()</code> when
|
132
|
+
done. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
133
|
+
</td>
|
134
|
+
</tr></tbody>
|
135
|
+
</table></div>
|
136
|
+
<p class="since">Since 1.10</p>
|
137
|
+
</div>
|
138
|
+
<hr>
|
139
|
+
<div class="refsect2">
|
140
|
+
<a name="clutter-brightness-contrast-effect-set-brightness"></a><h3>clutter_brightness_contrast_effect_set_brightness ()</h3>
|
141
|
+
<pre class="programlisting"><span class="returnvalue">void</span> clutter_brightness_contrast_effect_set_brightness
|
142
|
+
(<em class="parameter"><code><a class="link" href="ClutterBrightnessContrastEffect.html" title="ClutterBrightnessContrastEffect"><span class="type">ClutterBrightnessContrastEffect</span></a> *effect</code></em>,
|
143
|
+
<em class="parameter"><code><span class="type">float</span> brightness</code></em>);</pre>
|
144
|
+
<p>
|
145
|
+
The range of <em class="parameter"><code>brightness</code></em> is [-1.0, 1.0], where 0.0 designates no change;
|
146
|
+
a value below 0.0 indicates a decrease in brightness; and a value
|
147
|
+
above 0.0 indicates an increase of brightness.
|
148
|
+
</p>
|
149
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
150
|
+
<colgroup>
|
151
|
+
<col align="left" valign="top">
|
152
|
+
<col>
|
153
|
+
</colgroup>
|
154
|
+
<tbody>
|
155
|
+
<tr>
|
156
|
+
<td><p><span class="term"><em class="parameter"><code>effect</code></em> :</span></p></td>
|
157
|
+
<td>a <a class="link" href="ClutterBrightnessContrastEffect.html" title="ClutterBrightnessContrastEffect"><span class="type">ClutterBrightnessContrastEffect</span></a>
|
158
|
+
</td>
|
159
|
+
</tr>
|
160
|
+
<tr>
|
161
|
+
<td><p><span class="term"><em class="parameter"><code>brightness</code></em> :</span></p></td>
|
162
|
+
<td>the brightness change for all three components (r, g, b)</td>
|
163
|
+
</tr>
|
164
|
+
</tbody>
|
165
|
+
</table></div>
|
166
|
+
<p class="since">Since 1.10</p>
|
167
|
+
</div>
|
168
|
+
<hr>
|
169
|
+
<div class="refsect2">
|
170
|
+
<a name="clutter-brightness-contrast-effect-set-brightness-full"></a><h3>clutter_brightness_contrast_effect_set_brightness_full ()</h3>
|
171
|
+
<pre class="programlisting"><span class="returnvalue">void</span> clutter_brightness_contrast_effect_set_brightness_full
|
172
|
+
(<em class="parameter"><code><a class="link" href="ClutterBrightnessContrastEffect.html" title="ClutterBrightnessContrastEffect"><span class="type">ClutterBrightnessContrastEffect</span></a> *effect</code></em>,
|
173
|
+
<em class="parameter"><code><span class="type">float</span> red</code></em>,
|
174
|
+
<em class="parameter"><code><span class="type">float</span> green</code></em>,
|
175
|
+
<em class="parameter"><code><span class="type">float</span> blue</code></em>);</pre>
|
176
|
+
<p>
|
177
|
+
The range for each component is [-1.0, 1.0] where 0.0 designates no change,
|
178
|
+
values below 0.0 mean a decrease in brightness, and values above indicate
|
179
|
+
an increase.
|
180
|
+
</p>
|
181
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
182
|
+
<colgroup>
|
183
|
+
<col align="left" valign="top">
|
184
|
+
<col>
|
185
|
+
</colgroup>
|
186
|
+
<tbody>
|
187
|
+
<tr>
|
188
|
+
<td><p><span class="term"><em class="parameter"><code>effect</code></em> :</span></p></td>
|
189
|
+
<td>a <a class="link" href="ClutterBrightnessContrastEffect.html" title="ClutterBrightnessContrastEffect"><span class="type">ClutterBrightnessContrastEffect</span></a>
|
190
|
+
</td>
|
191
|
+
</tr>
|
192
|
+
<tr>
|
193
|
+
<td><p><span class="term"><em class="parameter"><code>red</code></em> :</span></p></td>
|
194
|
+
<td>red component of the change in brightness</td>
|
195
|
+
</tr>
|
196
|
+
<tr>
|
197
|
+
<td><p><span class="term"><em class="parameter"><code>green</code></em> :</span></p></td>
|
198
|
+
<td>green component of the change in brightness</td>
|
199
|
+
</tr>
|
200
|
+
<tr>
|
201
|
+
<td><p><span class="term"><em class="parameter"><code>blue</code></em> :</span></p></td>
|
202
|
+
<td>blue component of the change in brightness</td>
|
203
|
+
</tr>
|
204
|
+
</tbody>
|
205
|
+
</table></div>
|
206
|
+
<p class="since">Since 1.10</p>
|
207
|
+
</div>
|
208
|
+
<hr>
|
209
|
+
<div class="refsect2">
|
210
|
+
<a name="clutter-brightness-contrast-effect-get-brightness"></a><h3>clutter_brightness_contrast_effect_get_brightness ()</h3>
|
211
|
+
<pre class="programlisting"><span class="returnvalue">void</span> clutter_brightness_contrast_effect_get_brightness
|
212
|
+
(<em class="parameter"><code><a class="link" href="ClutterBrightnessContrastEffect.html" title="ClutterBrightnessContrastEffect"><span class="type">ClutterBrightnessContrastEffect</span></a> *effect</code></em>,
|
213
|
+
<em class="parameter"><code><span class="type">float</span> *red</code></em>,
|
214
|
+
<em class="parameter"><code><span class="type">float</span> *green</code></em>,
|
215
|
+
<em class="parameter"><code><span class="type">float</span> *blue</code></em>);</pre>
|
216
|
+
<p>
|
217
|
+
Retrieves the change in brightness used by <em class="parameter"><code>effect</code></em>.
|
218
|
+
</p>
|
219
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
220
|
+
<colgroup>
|
221
|
+
<col align="left" valign="top">
|
222
|
+
<col>
|
223
|
+
</colgroup>
|
224
|
+
<tbody>
|
225
|
+
<tr>
|
226
|
+
<td><p><span class="term"><em class="parameter"><code>effect</code></em> :</span></p></td>
|
227
|
+
<td>a <a class="link" href="ClutterBrightnessContrastEffect.html" title="ClutterBrightnessContrastEffect"><span class="type">ClutterBrightnessContrastEffect</span></a>
|
228
|
+
</td>
|
229
|
+
</tr>
|
230
|
+
<tr>
|
231
|
+
<td><p><span class="term"><em class="parameter"><code>red</code></em> :</span></p></td>
|
232
|
+
<td>return location for red component of the
|
233
|
+
change in brightness. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
234
|
+
</td>
|
235
|
+
</tr>
|
236
|
+
<tr>
|
237
|
+
<td><p><span class="term"><em class="parameter"><code>green</code></em> :</span></p></td>
|
238
|
+
<td>return location for green component of the
|
239
|
+
change in brightness. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
240
|
+
</td>
|
241
|
+
</tr>
|
242
|
+
<tr>
|
243
|
+
<td><p><span class="term"><em class="parameter"><code>blue</code></em> :</span></p></td>
|
244
|
+
<td>return location for blue component of the
|
245
|
+
change in brightness. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
246
|
+
</td>
|
247
|
+
</tr>
|
248
|
+
</tbody>
|
249
|
+
</table></div>
|
250
|
+
<p class="since">Since 1.10</p>
|
251
|
+
</div>
|
252
|
+
<hr>
|
253
|
+
<div class="refsect2">
|
254
|
+
<a name="clutter-brightness-contrast-effect-set-contrast"></a><h3>clutter_brightness_contrast_effect_set_contrast ()</h3>
|
255
|
+
<pre class="programlisting"><span class="returnvalue">void</span> clutter_brightness_contrast_effect_set_contrast
|
256
|
+
(<em class="parameter"><code><a class="link" href="ClutterBrightnessContrastEffect.html" title="ClutterBrightnessContrastEffect"><span class="type">ClutterBrightnessContrastEffect</span></a> *effect</code></em>,
|
257
|
+
<em class="parameter"><code><span class="type">float</span> contrast</code></em>);</pre>
|
258
|
+
<p>
|
259
|
+
The range for <em class="parameter"><code>contrast</code></em> is [-1.0, 1.0], where 0.0 designates no change;
|
260
|
+
a value below 0.0 indicates a decrease in contrast; and a value above
|
261
|
+
0.0 indicates an increase.
|
262
|
+
</p>
|
263
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
264
|
+
<colgroup>
|
265
|
+
<col align="left" valign="top">
|
266
|
+
<col>
|
267
|
+
</colgroup>
|
268
|
+
<tbody>
|
269
|
+
<tr>
|
270
|
+
<td><p><span class="term"><em class="parameter"><code>effect</code></em> :</span></p></td>
|
271
|
+
<td>a <a class="link" href="ClutterBrightnessContrastEffect.html" title="ClutterBrightnessContrastEffect"><span class="type">ClutterBrightnessContrastEffect</span></a>
|
272
|
+
</td>
|
273
|
+
</tr>
|
274
|
+
<tr>
|
275
|
+
<td><p><span class="term"><em class="parameter"><code>contrast</code></em> :</span></p></td>
|
276
|
+
<td>contrast change for all three channels</td>
|
277
|
+
</tr>
|
278
|
+
</tbody>
|
279
|
+
</table></div>
|
280
|
+
<p class="since">Since 1.10</p>
|
281
|
+
</div>
|
282
|
+
<hr>
|
283
|
+
<div class="refsect2">
|
284
|
+
<a name="clutter-brightness-contrast-effect-set-contrast-full"></a><h3>clutter_brightness_contrast_effect_set_contrast_full ()</h3>
|
285
|
+
<pre class="programlisting"><span class="returnvalue">void</span> clutter_brightness_contrast_effect_set_contrast_full
|
286
|
+
(<em class="parameter"><code><a class="link" href="ClutterBrightnessContrastEffect.html" title="ClutterBrightnessContrastEffect"><span class="type">ClutterBrightnessContrastEffect</span></a> *effect</code></em>,
|
287
|
+
<em class="parameter"><code><span class="type">float</span> red</code></em>,
|
288
|
+
<em class="parameter"><code><span class="type">float</span> green</code></em>,
|
289
|
+
<em class="parameter"><code><span class="type">float</span> blue</code></em>);</pre>
|
290
|
+
<p>
|
291
|
+
The range for each component is [-1.0, 1.0] where 0.0 designates no change,
|
292
|
+
values below 0.0 mean a decrease in contrast, and values above indicate
|
293
|
+
an increase.
|
294
|
+
</p>
|
295
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
296
|
+
<colgroup>
|
297
|
+
<col align="left" valign="top">
|
298
|
+
<col>
|
299
|
+
</colgroup>
|
300
|
+
<tbody>
|
301
|
+
<tr>
|
302
|
+
<td><p><span class="term"><em class="parameter"><code>effect</code></em> :</span></p></td>
|
303
|
+
<td>a <a class="link" href="ClutterBrightnessContrastEffect.html" title="ClutterBrightnessContrastEffect"><span class="type">ClutterBrightnessContrastEffect</span></a>
|
304
|
+
</td>
|
305
|
+
</tr>
|
306
|
+
<tr>
|
307
|
+
<td><p><span class="term"><em class="parameter"><code>red</code></em> :</span></p></td>
|
308
|
+
<td>red component of the change in contrast</td>
|
309
|
+
</tr>
|
310
|
+
<tr>
|
311
|
+
<td><p><span class="term"><em class="parameter"><code>green</code></em> :</span></p></td>
|
312
|
+
<td>green component of the change in contrast</td>
|
313
|
+
</tr>
|
314
|
+
<tr>
|
315
|
+
<td><p><span class="term"><em class="parameter"><code>blue</code></em> :</span></p></td>
|
316
|
+
<td>blue component of the change in contrast</td>
|
317
|
+
</tr>
|
318
|
+
</tbody>
|
319
|
+
</table></div>
|
320
|
+
<p class="since">Since 1.10</p>
|
321
|
+
</div>
|
322
|
+
<hr>
|
323
|
+
<div class="refsect2">
|
324
|
+
<a name="clutter-brightness-contrast-effect-get-contrast"></a><h3>clutter_brightness_contrast_effect_get_contrast ()</h3>
|
325
|
+
<pre class="programlisting"><span class="returnvalue">void</span> clutter_brightness_contrast_effect_get_contrast
|
326
|
+
(<em class="parameter"><code><a class="link" href="ClutterBrightnessContrastEffect.html" title="ClutterBrightnessContrastEffect"><span class="type">ClutterBrightnessContrastEffect</span></a> *effect</code></em>,
|
327
|
+
<em class="parameter"><code><span class="type">float</span> *red</code></em>,
|
328
|
+
<em class="parameter"><code><span class="type">float</span> *green</code></em>,
|
329
|
+
<em class="parameter"><code><span class="type">float</span> *blue</code></em>);</pre>
|
330
|
+
<p>
|
331
|
+
Retrieves the contrast value used by <em class="parameter"><code>effect</code></em>.
|
332
|
+
</p>
|
333
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
334
|
+
<colgroup>
|
335
|
+
<col align="left" valign="top">
|
336
|
+
<col>
|
337
|
+
</colgroup>
|
338
|
+
<tbody>
|
339
|
+
<tr>
|
340
|
+
<td><p><span class="term"><em class="parameter"><code>effect</code></em> :</span></p></td>
|
341
|
+
<td>a <a class="link" href="ClutterBrightnessContrastEffect.html" title="ClutterBrightnessContrastEffect"><span class="type">ClutterBrightnessContrastEffect</span></a>
|
342
|
+
</td>
|
343
|
+
</tr>
|
344
|
+
<tr>
|
345
|
+
<td><p><span class="term"><em class="parameter"><code>red</code></em> :</span></p></td>
|
346
|
+
<td>return location for red component of the
|
347
|
+
change in contrast. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
348
|
+
</td>
|
349
|
+
</tr>
|
350
|
+
<tr>
|
351
|
+
<td><p><span class="term"><em class="parameter"><code>green</code></em> :</span></p></td>
|
352
|
+
<td>return location for green component of the
|
353
|
+
change in contrast. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
354
|
+
</td>
|
355
|
+
</tr>
|
356
|
+
<tr>
|
357
|
+
<td><p><span class="term"><em class="parameter"><code>blue</code></em> :</span></p></td>
|
358
|
+
<td>return location for blue component of the
|
359
|
+
change in contrast. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
360
|
+
</td>
|
361
|
+
</tr>
|
362
|
+
</tbody>
|
363
|
+
</table></div>
|
364
|
+
<p class="since">Since 1.10</p>
|
365
|
+
</div>
|
366
|
+
</div>
|
367
|
+
<div class="refsect1">
|
368
|
+
<a name="ClutterBrightnessContrastEffect.property-details"></a><h2>Property Details</h2>
|
369
|
+
<div class="refsect2">
|
370
|
+
<a name="ClutterBrightnessContrastEffect--brightness"></a><h3>The <code class="literal">"brightness"</code> property</h3>
|
371
|
+
<pre class="programlisting"> "brightness" <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a>* : Read / Write</pre>
|
372
|
+
<p>
|
373
|
+
The brightness change to apply to the effect.
|
374
|
+
</p>
|
375
|
+
<p>
|
376
|
+
This property uses a <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a> to represent the changes to each
|
377
|
+
color channel. The range is [ 0, 255 ], with 127 as the value used
|
378
|
+
to indicate no change; values smaller than 127 indicate a decrease
|
379
|
+
in brightness, and values larger than 127 indicate an increase in
|
380
|
+
brightness.
|
381
|
+
</p>
|
382
|
+
<p class="since">Since 1.10</p>
|
383
|
+
</div>
|
384
|
+
<hr>
|
385
|
+
<div class="refsect2">
|
386
|
+
<a name="ClutterBrightnessContrastEffect--contrast"></a><h3>The <code class="literal">"contrast"</code> property</h3>
|
387
|
+
<pre class="programlisting"> "contrast" <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a>* : Read / Write</pre>
|
388
|
+
<p>
|
389
|
+
The contrast change to apply to the effect.
|
390
|
+
</p>
|
391
|
+
<p>
|
392
|
+
This property uses a <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a> to represent the changes to each
|
393
|
+
color channel. The range is [ 0, 255 ], with 127 as the value used
|
394
|
+
to indicate no change; values smaller than 127 indicate a decrease
|
395
|
+
in contrast, and values larger than 127 indicate an increase in
|
396
|
+
contrast.
|
397
|
+
</p>
|
398
|
+
<p class="since">Since 1.10</p>
|
399
|
+
</div>
|
400
|
+
</div>
|
401
|
+
<div class="refsect1">
|
402
|
+
<a name="ClutterBrightnessContrastEffect.see-also"></a><h2>See Also</h2>
|
403
|
+
<a class="link" href="ClutterEffect.html" title="ClutterEffect"><span class="type">ClutterEffect</span></a>, <a class="link" href="ClutterOffscreenEffect.html" title="ClutterOffscreenEffect"><span class="type">ClutterOffscreenEffect</span></a>
|
404
|
+
</div>
|
405
|
+
</div>
|
406
|
+
<div class="footer">
|
407
|
+
<hr>
|
408
|
+
Generated by GTK-Doc V1.18.1</div>
|
409
|
+
</body>
|
410
|
+
</html>
|
@@ -0,0 +1,1018 @@
|
|
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>ClutterCairoTexture</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="deprecated.html" title="Part IX. Deprecated Classes">
|
9
|
+
<link rel="prev" href="ClutterBox.html" title="ClutterBox">
|
10
|
+
<link rel="next" href="ClutterGroup.html" title="ClutterGroup">
|
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="ClutterBox.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
|
18
|
+
<td><a accesskey="u" href="deprecated.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="ClutterGroup.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="#ClutterCairoTexture.synopsis" class="shortcut">Top</a>
|
25
|
+
|
|
26
|
+
<a href="#ClutterCairoTexture.description" class="shortcut">Description</a>
|
27
|
+
|
|
28
|
+
<a href="#ClutterCairoTexture.object-hierarchy" class="shortcut">Object Hierarchy</a>
|
29
|
+
|
|
30
|
+
<a href="#ClutterCairoTexture.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
|
31
|
+
|
|
32
|
+
<a href="#ClutterCairoTexture.properties" class="shortcut">Properties</a>
|
33
|
+
|
|
34
|
+
<a href="#ClutterCairoTexture.signals" class="shortcut">Signals</a>
|
35
|
+
</td></tr>
|
36
|
+
</table>
|
37
|
+
<div class="refentry">
|
38
|
+
<a name="ClutterCairoTexture"></a><div class="titlepage"></div>
|
39
|
+
<div class="refnamediv"><table width="100%"><tr>
|
40
|
+
<td valign="top">
|
41
|
+
<h2><span class="refentrytitle"><a name="ClutterCairoTexture.top_of_page"></a>ClutterCairoTexture</span></h2>
|
42
|
+
<p>ClutterCairoTexture — Texture with Cairo integration</p>
|
43
|
+
</td>
|
44
|
+
<td valign="top" align="right"></td>
|
45
|
+
</tr></table></div>
|
46
|
+
<div class="refsynopsisdiv">
|
47
|
+
<a name="ClutterCairoTexture.synopsis"></a><h2>Synopsis</h2>
|
48
|
+
<pre class="synopsis">struct <a class="link" href="ClutterCairoTexture.html#ClutterCairoTexture-struct" title="struct ClutterCairoTexture">ClutterCairoTexture</a>;
|
49
|
+
struct <a class="link" href="ClutterCairoTexture.html#ClutterCairoTextureClass" title="struct ClutterCairoTextureClass">ClutterCairoTextureClass</a>;
|
50
|
+
<a class="link" href="ClutterActor.html" title="ClutterActor"><span class="returnvalue">ClutterActor</span></a> * <a class="link" href="ClutterCairoTexture.html#clutter-cairo-texture-new" title="clutter_cairo_texture_new ()">clutter_cairo_texture_new</a> (<em class="parameter"><code><span class="type">guint</span> width</code></em>,
|
51
|
+
<em class="parameter"><code><span class="type">guint</span> height</code></em>);
|
52
|
+
<span class="returnvalue">void</span> <a class="link" href="ClutterCairoTexture.html#clutter-cairo-texture-set-surface-size" title="clutter_cairo_texture_set_surface_size ()">clutter_cairo_texture_set_surface_size</a>
|
53
|
+
(<em class="parameter"><code><a class="link" href="ClutterCairoTexture.html" title="ClutterCairoTexture"><span class="type">ClutterCairoTexture</span></a> *self</code></em>,
|
54
|
+
<em class="parameter"><code><span class="type">guint</span> width</code></em>,
|
55
|
+
<em class="parameter"><code><span class="type">guint</span> height</code></em>);
|
56
|
+
<span class="returnvalue">void</span> <a class="link" href="ClutterCairoTexture.html#clutter-cairo-texture-get-surface-size" title="clutter_cairo_texture_get_surface_size ()">clutter_cairo_texture_get_surface_size</a>
|
57
|
+
(<em class="parameter"><code><a class="link" href="ClutterCairoTexture.html" title="ClutterCairoTexture"><span class="type">ClutterCairoTexture</span></a> *self</code></em>,
|
58
|
+
<em class="parameter"><code><span class="type">guint</span> *width</code></em>,
|
59
|
+
<em class="parameter"><code><span class="type">guint</span> *height</code></em>);
|
60
|
+
<span class="returnvalue">void</span> <a class="link" href="ClutterCairoTexture.html#clutter-cairo-texture-set-auto-resize" title="clutter_cairo_texture_set_auto_resize ()">clutter_cairo_texture_set_auto_resize</a>
|
61
|
+
(<em class="parameter"><code><a class="link" href="ClutterCairoTexture.html" title="ClutterCairoTexture"><span class="type">ClutterCairoTexture</span></a> *self</code></em>,
|
62
|
+
<em class="parameter"><code><span class="type">gboolean</span> value</code></em>);
|
63
|
+
<span class="returnvalue">gboolean</span> <a class="link" href="ClutterCairoTexture.html#clutter-cairo-texture-get-auto-resize" title="clutter_cairo_texture_get_auto_resize ()">clutter_cairo_texture_get_auto_resize</a>
|
64
|
+
(<em class="parameter"><code><a class="link" href="ClutterCairoTexture.html" title="ClutterCairoTexture"><span class="type">ClutterCairoTexture</span></a> *self</code></em>);
|
65
|
+
|
66
|
+
<a href="/home/ebassi/gnome/install/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-t"><span class="returnvalue">cairo_t</span></a> * <a class="link" href="ClutterCairoTexture.html#clutter-cairo-texture-create" title="clutter_cairo_texture_create ()">clutter_cairo_texture_create</a> (<em class="parameter"><code><a class="link" href="ClutterCairoTexture.html" title="ClutterCairoTexture"><span class="type">ClutterCairoTexture</span></a> *self</code></em>);
|
67
|
+
<a href="/home/ebassi/gnome/install/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-t"><span class="returnvalue">cairo_t</span></a> * <a class="link" href="ClutterCairoTexture.html#clutter-cairo-texture-create-region" title="clutter_cairo_texture_create_region ()">clutter_cairo_texture_create_region</a> (<em class="parameter"><code><a class="link" href="ClutterCairoTexture.html" title="ClutterCairoTexture"><span class="type">ClutterCairoTexture</span></a> *self</code></em>,
|
68
|
+
<em class="parameter"><code><span class="type">gint</span> x_offset</code></em>,
|
69
|
+
<em class="parameter"><code><span class="type">gint</span> y_offset</code></em>,
|
70
|
+
<em class="parameter"><code><span class="type">gint</span> width</code></em>,
|
71
|
+
<em class="parameter"><code><span class="type">gint</span> height</code></em>);
|
72
|
+
|
73
|
+
<span class="returnvalue">void</span> <a class="link" href="ClutterCairoTexture.html#clutter-cairo-texture-invalidate-rectangle" title="clutter_cairo_texture_invalidate_rectangle ()">clutter_cairo_texture_invalidate_rectangle</a>
|
74
|
+
(<em class="parameter"><code><a class="link" href="ClutterCairoTexture.html" title="ClutterCairoTexture"><span class="type">ClutterCairoTexture</span></a> *self</code></em>,
|
75
|
+
<em class="parameter"><code><a href="/home/ebassi/gnome/install/share/gtk-doc/html/cairo/cairo-Types.html#cairo-rectangle-int-t"><span class="type">cairo_rectangle_int_t</span></a> *rect</code></em>);
|
76
|
+
<span class="returnvalue">void</span> <a class="link" href="ClutterCairoTexture.html#clutter-cairo-texture-invalidate" title="clutter_cairo_texture_invalidate ()">clutter_cairo_texture_invalidate</a> (<em class="parameter"><code><a class="link" href="ClutterCairoTexture.html" title="ClutterCairoTexture"><span class="type">ClutterCairoTexture</span></a> *self</code></em>);
|
77
|
+
<span class="returnvalue">void</span> <a class="link" href="ClutterCairoTexture.html#clutter-cairo-texture-clear" title="clutter_cairo_texture_clear ()">clutter_cairo_texture_clear</a> (<em class="parameter"><code><a class="link" href="ClutterCairoTexture.html" title="ClutterCairoTexture"><span class="type">ClutterCairoTexture</span></a> *self</code></em>);
|
78
|
+
</pre>
|
79
|
+
</div>
|
80
|
+
<div class="refsect1">
|
81
|
+
<a name="ClutterCairoTexture.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
82
|
+
<pre class="synopsis">
|
83
|
+
GObject
|
84
|
+
+----GInitiallyUnowned
|
85
|
+
+----<a class="link" href="ClutterActor.html" title="ClutterActor">ClutterActor</a>
|
86
|
+
+----<a class="link" href="ClutterTexture.html" title="ClutterTexture">ClutterTexture</a>
|
87
|
+
+----ClutterCairoTexture
|
88
|
+
</pre>
|
89
|
+
</div>
|
90
|
+
<div class="refsect1">
|
91
|
+
<a name="ClutterCairoTexture.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
|
92
|
+
<p>
|
93
|
+
ClutterCairoTexture implements
|
94
|
+
<a class="link" href="ClutterContainer.html" title="ClutterContainer">ClutterContainer</a>, <a class="link" href="ClutterScriptable.html" title="ClutterScriptable">ClutterScriptable</a>, <a class="link" href="ClutterAnimatable.html" title="ClutterAnimatable">ClutterAnimatable</a> and AtkImplementorIface.</p>
|
95
|
+
</div>
|
96
|
+
<div class="refsect1">
|
97
|
+
<a name="ClutterCairoTexture.properties"></a><h2>Properties</h2>
|
98
|
+
<pre class="synopsis">
|
99
|
+
"<a class="link" href="ClutterCairoTexture.html#ClutterCairoTexture--auto-resize" title='The "auto-resize" property'>auto-resize</a>" <span class="type">gboolean</span> : Read / Write
|
100
|
+
"<a class="link" href="ClutterCairoTexture.html#ClutterCairoTexture--surface-height" title='The "surface-height" property'>surface-height</a>" <span class="type">guint</span> : Read / Write
|
101
|
+
"<a class="link" href="ClutterCairoTexture.html#ClutterCairoTexture--surface-width" title='The "surface-width" property'>surface-width</a>" <span class="type">guint</span> : Read / Write
|
102
|
+
</pre>
|
103
|
+
</div>
|
104
|
+
<div class="refsect1">
|
105
|
+
<a name="ClutterCairoTexture.signals"></a><h2>Signals</h2>
|
106
|
+
<pre class="synopsis">
|
107
|
+
"<a class="link" href="ClutterCairoTexture.html#ClutterCairoTexture-create-surface" title='The "create-surface" signal'>create-surface</a>" : <code class="literal">No Recursion</code>
|
108
|
+
"<a class="link" href="ClutterCairoTexture.html#ClutterCairoTexture-draw" title='The "draw" signal'>draw</a>" : <code class="literal">No Recursion</code>
|
109
|
+
</pre>
|
110
|
+
</div>
|
111
|
+
<div class="refsect1">
|
112
|
+
<a name="ClutterCairoTexture.description"></a><h2>Description</h2>
|
113
|
+
<p>
|
114
|
+
<a class="link" href="ClutterCairoTexture.html" title="ClutterCairoTexture"><span class="type">ClutterCairoTexture</span></a> is a <a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a> that displays the contents
|
115
|
+
of a Cairo context. The <a class="link" href="ClutterCairoTexture.html" title="ClutterCairoTexture"><span class="type">ClutterCairoTexture</span></a> actor will create a
|
116
|
+
Cairo image surface which will then be uploaded to a GL texture when
|
117
|
+
needed.
|
118
|
+
</p>
|
119
|
+
<p>
|
120
|
+
</p>
|
121
|
+
<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
|
122
|
+
<h3 class="title">Note</h3>
|
123
|
+
<p>Since <a class="link" href="ClutterCairoTexture.html" title="ClutterCairoTexture"><span class="type">ClutterCairoTexture</span></a> uses a Cairo image surface
|
124
|
+
internally all the drawing operations will be performed in
|
125
|
+
software and not using hardware acceleration. This can lead to
|
126
|
+
performance degradation if the contents of the texture change
|
127
|
+
frequently.</p>
|
128
|
+
</div>
|
129
|
+
<p>
|
130
|
+
</p>
|
131
|
+
<p>
|
132
|
+
In order to use a <a class="link" href="ClutterCairoTexture.html" title="ClutterCairoTexture"><span class="type">ClutterCairoTexture</span></a> you should connect to the
|
133
|
+
<a class="link" href="ClutterCairoTexture.html#ClutterCairoTexture-draw" title='The "draw" signal'><span class="type">"draw"</span></a> signal; the signal is emitted each time
|
134
|
+
the <a class="link" href="ClutterCairoTexture.html" title="ClutterCairoTexture"><span class="type">ClutterCairoTexture</span></a> has been told to invalidate its contents,
|
135
|
+
by using <a class="link" href="ClutterCairoTexture.html#clutter-cairo-texture-invalidate-rectangle" title="clutter_cairo_texture_invalidate_rectangle ()"><code class="function">clutter_cairo_texture_invalidate_rectangle()</code></a> or its
|
136
|
+
sister function, <a class="link" href="ClutterCairoTexture.html#clutter-cairo-texture-invalidate" title="clutter_cairo_texture_invalidate ()"><code class="function">clutter_cairo_texture_invalidate()</code></a>.
|
137
|
+
</p>
|
138
|
+
<p>
|
139
|
+
Each callback to the <a class="link" href="ClutterCairoTexture.html#ClutterCairoTexture-draw" title='The "draw" signal'><span class="type">"draw"</span></a> signal will receive
|
140
|
+
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 which can be used for drawing; the Cairo context
|
141
|
+
is owned by the <a class="link" href="ClutterCairoTexture.html" title="ClutterCairoTexture"><span class="type">ClutterCairoTexture</span></a> and should not be destroyed
|
142
|
+
explicitly.
|
143
|
+
</p>
|
144
|
+
<p>
|
145
|
+
</p>
|
146
|
+
<div class="example">
|
147
|
+
<a name="cairo-texture-example"></a><p class="title"><b>Example 24. A simple ClutterCairoTexture canvas</b></p>
|
148
|
+
<div class="example-contents">
|
149
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
150
|
+
<tbody>
|
151
|
+
<tr>
|
152
|
+
<td class="listing_lines" align="right"><pre>1
|
153
|
+
2
|
154
|
+
3
|
155
|
+
4
|
156
|
+
5
|
157
|
+
6
|
158
|
+
7
|
159
|
+
8
|
160
|
+
9
|
161
|
+
10
|
162
|
+
11
|
163
|
+
12
|
164
|
+
13
|
165
|
+
14
|
166
|
+
15
|
167
|
+
16
|
168
|
+
17
|
169
|
+
18
|
170
|
+
19
|
171
|
+
20
|
172
|
+
21
|
173
|
+
22
|
174
|
+
23
|
175
|
+
24
|
176
|
+
25
|
177
|
+
26
|
178
|
+
27
|
179
|
+
28
|
180
|
+
29
|
181
|
+
30
|
182
|
+
31
|
183
|
+
32
|
184
|
+
33
|
185
|
+
34
|
186
|
+
35
|
187
|
+
36
|
188
|
+
37
|
189
|
+
38
|
190
|
+
39
|
191
|
+
40
|
192
|
+
41
|
193
|
+
42
|
194
|
+
43
|
195
|
+
44
|
196
|
+
45
|
197
|
+
46
|
198
|
+
47
|
199
|
+
48
|
200
|
+
49
|
201
|
+
50
|
202
|
+
51
|
203
|
+
52
|
204
|
+
53
|
205
|
+
54
|
206
|
+
55
|
207
|
+
56
|
208
|
+
57
|
209
|
+
58
|
210
|
+
59
|
211
|
+
60
|
212
|
+
61
|
213
|
+
62
|
214
|
+
63
|
215
|
+
64
|
216
|
+
65
|
217
|
+
66
|
218
|
+
67
|
219
|
+
68
|
220
|
+
69
|
221
|
+
70
|
222
|
+
71
|
223
|
+
72
|
224
|
+
73
|
225
|
+
74
|
226
|
+
75
|
227
|
+
76
|
228
|
+
77
|
229
|
+
78
|
230
|
+
79
|
231
|
+
80
|
232
|
+
81
|
233
|
+
82
|
234
|
+
83
|
235
|
+
84
|
236
|
+
85
|
237
|
+
86
|
238
|
+
87
|
239
|
+
88
|
240
|
+
89
|
241
|
+
90
|
242
|
+
91
|
243
|
+
92
|
244
|
+
93
|
245
|
+
94
|
246
|
+
95
|
247
|
+
96
|
248
|
+
97
|
249
|
+
98
|
250
|
+
99
|
251
|
+
100
|
252
|
+
101
|
253
|
+
102
|
254
|
+
103
|
255
|
+
104
|
256
|
+
105
|
257
|
+
106
|
258
|
+
107
|
259
|
+
108
|
260
|
+
109
|
261
|
+
110
|
262
|
+
111
|
263
|
+
112
|
264
|
+
113
|
265
|
+
114
|
266
|
+
115
|
267
|
+
116
|
268
|
+
117
|
269
|
+
118
|
270
|
+
119</pre></td>
|
271
|
+
<td class="listing_code"><pre class="programlisting"><span class="preproc">#include</span><span class="normal"> </span><span class="string"><stdlib.h></span>
|
272
|
+
<span class="preproc">#include</span><span class="normal"> </span><span class="string"><math.h></span>
|
273
|
+
<span class="preproc">#include</span><span class="normal"> </span><span class="string"><cairo.h></span>
|
274
|
+
<span class="preproc">#include</span><span class="normal"> </span><span class="string"><clutter/clutter.h></span>
|
275
|
+
|
276
|
+
<span class="keyword">static</span><span class="normal"> gboolean</span>
|
277
|
+
<span class="function">draw_clock</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">ClutterCairoTexture</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">canvas</span><span class="symbol">,</span>
|
278
|
+
<span class="normal"> </span><span class="usertype">cairo_t</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">cr</span><span class="symbol">)</span>
|
279
|
+
<span class="cbracket">{</span>
|
280
|
+
<span class="normal"> </span><span class="usertype">guint</span><span class="normal"> width</span><span class="symbol">,</span><span class="normal"> height</span><span class="symbol">;</span>
|
281
|
+
<span class="normal"> </span><span class="usertype">GDateTime</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">now</span><span class="symbol">;</span>
|
282
|
+
<span class="normal"> </span><span class="type">float</span><span class="normal"> hours</span><span class="symbol">,</span><span class="normal"> minutes</span><span class="symbol">,</span><span class="normal"> seconds</span><span class="symbol">;</span>
|
283
|
+
|
284
|
+
<span class="normal"> </span><span class="comment">/* get the current time and compute the angles */</span>
|
285
|
+
<span class="normal"> now </span><span class="symbol">=</span><span class="normal"> </span><span class="function">g_date_time_new_now_local</span><span class="normal"> </span><span class="symbol">();</span>
|
286
|
+
<span class="normal"> seconds </span><span class="symbol">=</span><span class="normal"> </span><span class="function">g_date_time_get_second</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">now</span><span class="symbol">)</span><span class="normal"> </span><span class="symbol">*</span><span class="normal"> G_PI </span><span class="symbol">/</span><span class="normal"> </span><span class="number">30</span><span class="symbol">;</span>
|
287
|
+
<span class="normal"> minutes </span><span class="symbol">=</span><span class="normal"> </span><span class="function">g_date_time_get_minute</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">now</span><span class="symbol">)</span><span class="normal"> </span><span class="symbol">*</span><span class="normal"> G_PI </span><span class="symbol">/</span><span class="normal"> </span><span class="number">30</span><span class="symbol">;</span>
|
288
|
+
<span class="normal"> hours </span><span class="symbol">=</span><span class="normal"> </span><span class="function">g_date_time_get_hour</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">now</span><span class="symbol">)</span><span class="normal"> </span><span class="symbol">*</span><span class="normal"> G_PI </span><span class="symbol">/</span><span class="normal"> </span><span class="number">6</span><span class="symbol">;</span>
|
289
|
+
|
290
|
+
<span class="normal"> </span><span class="comment">/* clear the contents of the canvas, to avoid painting</span>
|
291
|
+
<span class="comment"> * over the previous frame</span>
|
292
|
+
<span class="comment"> */</span>
|
293
|
+
<span class="normal"> </span><span class="function"><a href="ClutterCairoTexture.html#clutter-cairo-texture-clear">clutter_cairo_texture_clear</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">canvas</span><span class="symbol">);</span>
|
294
|
+
|
295
|
+
<span class="normal"> </span><span class="comment">/* scale the modelview to the size of the surface */</span>
|
296
|
+
<span class="normal"> </span><span class="function"><a href="ClutterCairoTexture.html#clutter-cairo-texture-get-surface-size">clutter_cairo_texture_get_surface_size</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">canvas</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">width</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">height</span><span class="symbol">);</span>
|
297
|
+
<span class="normal"> </span><span class="function"><a href="/home/ebassi/gnome/install/share/gtk-doc/html/cairo/cairo-Transformations.html#cairo-scale">cairo_scale</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cr</span><span class="symbol">,</span><span class="normal"> width</span><span class="symbol">,</span><span class="normal"> height</span><span class="symbol">);</span>
|
298
|
+
|
299
|
+
<span class="normal"> </span><span class="function"><a href="/home/ebassi/gnome/install/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-set-line-cap">cairo_set_line_cap</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cr</span><span class="symbol">,</span><span class="normal"> <a href="/home/ebassi/gnome/install/share/gtk-doc/html/cairo/cairo-cairo-t.html#CAIRO-LINE-CAP-ROUND:CAPS">CAIRO_LINE_CAP_ROUND</a></span><span class="symbol">);</span>
|
300
|
+
<span class="normal"> </span><span class="function"><a href="/home/ebassi/gnome/install/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-set-line-width">cairo_set_line_width</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cr</span><span class="symbol">,</span><span class="normal"> </span><span class="number">0.1</span><span class="symbol">);</span>
|
301
|
+
|
302
|
+
<span class="normal"> </span><span class="comment">/* the black rail that holds the seconds indicator */</span>
|
303
|
+
<span class="normal"> </span><span class="function">clutter_cairo_set_source_color</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cr</span><span class="symbol">,</span><span class="normal"> CLUTTER_COLOR_Black</span><span class="symbol">);</span>
|
304
|
+
<span class="normal"> </span><span class="function"><a href="/home/ebassi/gnome/install/share/gtk-doc/html/cairo/cairo-Transformations.html#cairo-translate">cairo_translate</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cr</span><span class="symbol">,</span><span class="normal"> </span><span class="number">0.5</span><span class="symbol">,</span><span class="normal"> </span><span class="number">0.5</span><span class="symbol">);</span>
|
305
|
+
<span class="normal"> </span><span class="function"><a href="/home/ebassi/gnome/install/share/gtk-doc/html/cairo/cairo-Paths.html#cairo-arc">cairo_arc</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cr</span><span class="symbol">,</span><span class="normal"> </span><span class="number">0</span><span class="symbol">,</span><span class="normal"> </span><span class="number">0</span><span class="symbol">,</span><span class="normal"> </span><span class="number">0.4</span><span class="symbol">,</span><span class="normal"> </span><span class="number">0</span><span class="symbol">,</span><span class="normal"> G_PI </span><span class="symbol">*</span><span class="normal"> </span><span class="number">2</span><span class="symbol">);</span>
|
306
|
+
<span class="normal"> </span><span class="function"><a href="/home/ebassi/gnome/install/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-stroke">cairo_stroke</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cr</span><span class="symbol">);</span>
|
307
|
+
|
308
|
+
<span class="normal"> </span><span class="comment">/* the seconds indicator */</span>
|
309
|
+
<span class="normal"> </span><span class="function">clutter_cairo_set_source_color</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cr</span><span class="symbol">,</span><span class="normal"> CLUTTER_COLOR_White</span><span class="symbol">);</span>
|
310
|
+
<span class="normal"> </span><span class="function"><a href="/home/ebassi/gnome/install/share/gtk-doc/html/cairo/cairo-Paths.html#cairo-move-to">cairo_move_to</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cr</span><span class="symbol">,</span><span class="normal"> </span><span class="number">0</span><span class="symbol">,</span><span class="normal"> </span><span class="number">0</span><span class="symbol">);</span>
|
311
|
+
<span class="normal"> </span><span class="function"><a href="/home/ebassi/gnome/install/share/gtk-doc/html/cairo/cairo-Paths.html#cairo-arc">cairo_arc</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cr</span><span class="symbol">,</span><span class="normal"> </span><span class="function">sinf</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">seconds</span><span class="symbol">)</span><span class="normal"> </span><span class="symbol">*</span><span class="normal"> </span><span class="number">0.4</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">-</span><span class="normal"> </span><span class="function">cosf</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">seconds</span><span class="symbol">)</span><span class="normal"> </span><span class="symbol">*</span><span class="normal"> </span><span class="number">0.4</span><span class="symbol">,</span><span class="normal"> </span><span class="number">0.05</span><span class="symbol">,</span><span class="normal"> </span><span class="number">0</span><span class="symbol">,</span><span class="normal"> G_PI </span><span class="symbol">*</span><span class="normal"> </span><span class="number">2</span><span class="symbol">);</span>
|
312
|
+
<span class="normal"> </span><span class="function"><a href="/home/ebassi/gnome/install/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-fill">cairo_fill</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cr</span><span class="symbol">);</span>
|
313
|
+
|
314
|
+
<span class="normal"> </span><span class="comment">/* the minutes hand */</span>
|
315
|
+
<span class="normal"> </span><span class="function">clutter_cairo_set_source_color</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cr</span><span class="symbol">,</span><span class="normal"> CLUTTER_COLOR_DarkChameleon</span><span class="symbol">);</span>
|
316
|
+
<span class="normal"> </span><span class="function"><a href="/home/ebassi/gnome/install/share/gtk-doc/html/cairo/cairo-Paths.html#cairo-move-to">cairo_move_to</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cr</span><span class="symbol">,</span><span class="normal"> </span><span class="number">0</span><span class="symbol">,</span><span class="normal"> </span><span class="number">0</span><span class="symbol">);</span>
|
317
|
+
<span class="normal"> </span><span class="function"><a href="/home/ebassi/gnome/install/share/gtk-doc/html/cairo/cairo-Paths.html#cairo-line-to">cairo_line_to</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cr</span><span class="symbol">,</span><span class="normal"> </span><span class="function">sinf</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">minutes</span><span class="symbol">)</span><span class="normal"> </span><span class="symbol">*</span><span class="normal"> </span><span class="number">0.4</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">-</span><span class="function">cosf</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">minutes</span><span class="symbol">)</span><span class="normal"> </span><span class="symbol">*</span><span class="normal"> </span><span class="number">0.4</span><span class="symbol">);</span>
|
318
|
+
<span class="normal"> </span><span class="function"><a href="/home/ebassi/gnome/install/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-stroke">cairo_stroke</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cr</span><span class="symbol">);</span>
|
319
|
+
|
320
|
+
<span class="normal"> </span><span class="comment">/* the hours hand */</span>
|
321
|
+
<span class="normal"> </span><span class="function"><a href="/home/ebassi/gnome/install/share/gtk-doc/html/cairo/cairo-Paths.html#cairo-move-to">cairo_move_to</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cr</span><span class="symbol">,</span><span class="normal"> </span><span class="number">0</span><span class="symbol">,</span><span class="normal"> </span><span class="number">0</span><span class="symbol">);</span>
|
322
|
+
<span class="normal"> </span><span class="function"><a href="/home/ebassi/gnome/install/share/gtk-doc/html/cairo/cairo-Paths.html#cairo-line-to">cairo_line_to</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cr</span><span class="symbol">,</span><span class="normal"> </span><span class="function">sinf</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">hours</span><span class="symbol">)</span><span class="normal"> </span><span class="symbol">*</span><span class="normal"> </span><span class="number">0.2</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">-</span><span class="function">cosf</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">hours</span><span class="symbol">)</span><span class="normal"> </span><span class="symbol">*</span><span class="normal"> </span><span class="number">0.2</span><span class="symbol">);</span>
|
323
|
+
<span class="normal"> </span><span class="function"><a href="/home/ebassi/gnome/install/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-stroke">cairo_stroke</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cr</span><span class="symbol">);</span>
|
324
|
+
|
325
|
+
<span class="normal"> </span><span class="function">g_date_time_unref</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">now</span><span class="symbol">);</span>
|
326
|
+
|
327
|
+
<span class="normal"> </span><span class="comment">/* we're done drawing */</span>
|
328
|
+
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> TRUE</span><span class="symbol">;</span>
|
329
|
+
<span class="cbracket">}</span>
|
330
|
+
|
331
|
+
<span class="keyword">static</span><span class="normal"> gboolean</span>
|
332
|
+
<span class="function">invalidate_clock</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">gpointer</span><span class="normal"> data_</span><span class="symbol">)</span>
|
333
|
+
<span class="cbracket">{</span>
|
334
|
+
<span class="normal"> </span><span class="comment">/* invalidate the contents of the canvas */</span>
|
335
|
+
<span class="normal"> </span><span class="function"><a href="ClutterCairoTexture.html#clutter-cairo-texture-invalidate">clutter_cairo_texture_invalidate</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">data_</span><span class="symbol">);</span>
|
336
|
+
|
337
|
+
<span class="normal"> </span><span class="comment">/* keep the timeout source */</span>
|
338
|
+
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> TRUE</span><span class="symbol">;</span>
|
339
|
+
<span class="cbracket">}</span>
|
340
|
+
|
341
|
+
<span class="normal">G_MODULE_EXPORT </span><span class="type">int</span>
|
342
|
+
<span class="function">test_cairo_clock_main</span><span class="normal"> </span><span class="symbol">(</span><span class="type">int</span><span class="normal"> argc</span><span class="symbol">,</span><span class="normal"> </span><span class="type">char</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">argv</span><span class="symbol">[])</span>
|
343
|
+
<span class="cbracket">{</span>
|
344
|
+
<span class="normal"> </span><span class="usertype">ClutterActor</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">stage</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">canvas</span><span class="symbol">;</span>
|
345
|
+
|
346
|
+
<span class="normal"> </span><span class="comment">/* initialize Clutter */</span>
|
347
|
+
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="function"><a href="clutter-General.html#clutter-init">clutter_init</a></span><span class="normal"> </span><span class="symbol">(&</span><span class="normal">argc</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">argv</span><span class="symbol">)</span><span class="normal"> </span><span class="symbol">!=</span><span class="normal"> <a href="clutter-General.html#CLUTTER-INIT-SUCCESS:CAPS">CLUTTER_INIT_SUCCESS</a></span><span class="symbol">)</span>
|
348
|
+
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> EXIT_FAILURE</span><span class="symbol">;</span>
|
349
|
+
|
350
|
+
<span class="normal"> </span><span class="comment">/* create a resizable stage */</span>
|
351
|
+
<span class="normal"> stage </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="ClutterStage.html#clutter-stage-new">clutter_stage_new</a></span><span class="normal"> </span><span class="symbol">();</span>
|
352
|
+
<span class="normal"> </span><span class="function"><a href="ClutterStage.html#clutter-stage-set-title">clutter_stage_set_title</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">CLUTTER_STAGE</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">stage</span><span class="symbol">),</span><span class="normal"> </span><span class="string">"2D Clock"</span><span class="symbol">);</span>
|
353
|
+
<span class="normal"> </span><span class="function"><a href="ClutterStage.html#clutter-stage-set-user-resizable">clutter_stage_set_user_resizable</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">CLUTTER_STAGE</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">stage</span><span class="symbol">),</span><span class="normal"> TRUE</span><span class="symbol">);</span>
|
354
|
+
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-set-background-color">clutter_actor_set_background_color</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">stage</span><span class="symbol">,</span><span class="normal"> CLUTTER_COLOR_LightSkyBlue</span><span class="symbol">);</span>
|
355
|
+
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-set-size">clutter_actor_set_size</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">stage</span><span class="symbol">,</span><span class="normal"> </span><span class="number">300</span><span class="symbol">,</span><span class="normal"> </span><span class="number">300</span><span class="symbol">);</span>
|
356
|
+
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-show">clutter_actor_show</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">stage</span><span class="symbol">);</span>
|
357
|
+
|
358
|
+
<span class="normal"> </span><span class="comment">/* our 2D canvas, courtesy of Cairo */</span>
|
359
|
+
<span class="normal"> canvas </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="ClutterCairoTexture.html#clutter-cairo-texture-new">clutter_cairo_texture_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="number">300</span><span class="symbol">,</span><span class="normal"> </span><span class="number">300</span><span class="symbol">);</span>
|
360
|
+
<span class="normal"> </span><span class="function"><a href="ClutterContainer.html#clutter-container-add-actor">clutter_container_add_actor</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">CLUTTER_CONTAINER</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">stage</span><span class="symbol">),</span><span class="normal"> canvas</span><span class="symbol">);</span>
|
361
|
+
|
362
|
+
<span class="normal"> </span><span class="comment">/* bind the size of the canvas to that of the stage */</span>
|
363
|
+
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-add-constraint">clutter_actor_add_constraint</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">canvas</span><span class="symbol">,</span><span class="normal"> </span><span class="function"><a href="ClutterBindConstraint.html#clutter-bind-constraint-new">clutter_bind_constraint_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">stage</span><span class="symbol">,</span><span class="normal"> <a href="ClutterBindConstraint.html#CLUTTER-BIND-SIZE:CAPS">CLUTTER_BIND_SIZE</a></span><span class="symbol">,</span><span class="normal"> </span><span class="number">0</span><span class="symbol">));</span>
|
364
|
+
|
365
|
+
<span class="normal"> </span><span class="comment">/* make sure to match allocation to canvas size */</span>
|
366
|
+
<span class="normal"> </span><span class="function"><a href="ClutterCairoTexture.html#clutter-cairo-texture-set-auto-resize">clutter_cairo_texture_set_auto_resize</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">CLUTTER_CAIRO_TEXTURE</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">canvas</span><span class="symbol">),</span><span class="normal"> TRUE</span><span class="symbol">);</span>
|
367
|
+
|
368
|
+
<span class="normal"> </span><span class="comment">/* quit on destroy */</span>
|
369
|
+
<span class="normal"> </span><span class="function">g_signal_connect</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">stage</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"destroy"</span><span class="symbol">,</span><span class="normal"> </span><span class="function">G_CALLBACK</span><span class="normal"> </span><span class="symbol">(</span><span class="normal"><a href="clutter-General.html#clutter-main-quit">clutter_main_quit</a></span><span class="symbol">),</span><span class="normal"> NULL</span><span class="symbol">);</span>
|
370
|
+
|
371
|
+
<span class="normal"> </span><span class="comment">/* connect our drawing code */</span>
|
372
|
+
<span class="normal"> </span><span class="function">g_signal_connect</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">canvas</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"draw"</span><span class="symbol">,</span><span class="normal"> </span><span class="function">G_CALLBACK</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">draw_clock</span><span class="symbol">),</span><span class="normal"> NULL</span><span class="symbol">);</span>
|
373
|
+
|
374
|
+
<span class="normal"> </span><span class="comment">/* invalidate the canvas, so that we can draw before the main loop starts */</span>
|
375
|
+
<span class="normal"> </span><span class="function"><a href="ClutterCairoTexture.html#clutter-cairo-texture-invalidate">clutter_cairo_texture_invalidate</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">CLUTTER_CAIRO_TEXTURE</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">canvas</span><span class="symbol">));</span>
|
376
|
+
|
377
|
+
<span class="normal"> </span><span class="comment">/* set up a timer that invalidates the canvas every second */</span>
|
378
|
+
<span class="normal"> </span><span class="function"><a href="clutter-General.html#clutter-threads-add-timeout">clutter_threads_add_timeout</a></span><span class="normal"> </span><span class="symbol">(</span><span class="number">1000</span><span class="symbol">,</span><span class="normal"> invalidate_clock</span><span class="symbol">,</span><span class="normal"> canvas</span><span class="symbol">);</span>
|
379
|
+
|
380
|
+
<span class="normal"> </span><span class="function"><a href="clutter-General.html#clutter-main">clutter_main</a></span><span class="normal"> </span><span class="symbol">();</span>
|
381
|
+
|
382
|
+
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> EXIT_SUCCESS</span><span class="symbol">;</span>
|
383
|
+
<span class="cbracket">}</span>
|
384
|
+
|
385
|
+
<span class="normal">G_MODULE_EXPORT </span><span class="usertype">const</span><span class="normal"> </span><span class="type">char</span><span class="normal"> </span><span class="symbol">*</span>
|
386
|
+
<span class="function">test_cairo_clock_describe</span><span class="normal"> </span><span class="symbol">(</span><span class="type">void</span><span class="symbol">)</span>
|
387
|
+
<span class="cbracket">{</span>
|
388
|
+
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> </span><span class="string">"Simple 2D canvas using a Cairo texture actor"</span><span class="symbol">;</span>
|
389
|
+
<span class="cbracket">}</span></pre></td>
|
390
|
+
</tr>
|
391
|
+
</tbody>
|
392
|
+
</table>
|
393
|
+
</div>
|
394
|
+
|
395
|
+
</div>
|
396
|
+
<p><br class="example-break">
|
397
|
+
</p>
|
398
|
+
<p>
|
399
|
+
<a class="link" href="ClutterCairoTexture.html" title="ClutterCairoTexture"><span class="type">ClutterCairoTexture</span></a> is available since Clutter 1.0.
|
400
|
+
</p>
|
401
|
+
<p>
|
402
|
+
<a class="link" href="ClutterCairoTexture.html" title="ClutterCairoTexture"><span class="type">ClutterCairoTexture</span></a> is deprecated since Clutter 1.12.
|
403
|
+
</p>
|
404
|
+
</div>
|
405
|
+
<div class="refsect1">
|
406
|
+
<a name="ClutterCairoTexture.details"></a><h2>Details</h2>
|
407
|
+
<div class="refsect2">
|
408
|
+
<a name="ClutterCairoTexture-struct"></a><h3>struct ClutterCairoTexture</h3>
|
409
|
+
<pre class="programlisting">struct ClutterCairoTexture;</pre>
|
410
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
411
|
+
<h3 class="title">Warning</h3>
|
412
|
+
<p><code class="literal">ClutterCairoTexture</code> has been deprecated since version 1.12 and should not be used in newly-written code. Use <a class="link" href="ClutterCanvas.html" title="ClutterCanvas"><span class="type">ClutterCanvas</span></a> instead</p>
|
413
|
+
</div>
|
414
|
+
<p>
|
415
|
+
The <a class="link" href="ClutterCairoTexture.html" title="ClutterCairoTexture"><span class="type">ClutterCairoTexture</span></a> struct contains only private data.
|
416
|
+
</p>
|
417
|
+
<p class="since">Since 1.0</p>
|
418
|
+
</div>
|
419
|
+
<hr>
|
420
|
+
<div class="refsect2">
|
421
|
+
<a name="ClutterCairoTextureClass"></a><h3>struct ClutterCairoTextureClass</h3>
|
422
|
+
<pre class="programlisting">struct ClutterCairoTextureClass {
|
423
|
+
cairo_surface_t *(* create_surface) (ClutterCairoTexture *texture,
|
424
|
+
guint width,
|
425
|
+
guint height);
|
426
|
+
|
427
|
+
gboolean (* draw) (ClutterCairoTexture *texture,
|
428
|
+
cairo_t *cr);
|
429
|
+
};
|
430
|
+
</pre>
|
431
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
432
|
+
<h3 class="title">Warning</h3>
|
433
|
+
<p><code class="literal">ClutterCairoTextureClass</code> has been deprecated since version 1.12 and should not be used in newly-written code. Use <a class="link" href="ClutterCanvas.html" title="ClutterCanvas"><span class="type">ClutterCanvas</span></a> instead</p>
|
434
|
+
</div>
|
435
|
+
<p>
|
436
|
+
The <a class="link" href="ClutterCairoTexture.html#ClutterCairoTextureClass" title="struct ClutterCairoTextureClass"><span class="type">ClutterCairoTextureClass</span></a> struct contains only private data.
|
437
|
+
</p>
|
438
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
439
|
+
<colgroup>
|
440
|
+
<col align="left" valign="top">
|
441
|
+
<col>
|
442
|
+
</colgroup>
|
443
|
+
<tbody>
|
444
|
+
<tr>
|
445
|
+
<td><p><span class="term"><em class="structfield"><code><a name="ClutterCairoTextureClass.create-surface"></a>create_surface</code></em> ()</span></p></td>
|
446
|
+
<td>class handler for the <a class="link" href="ClutterCairoTexture.html#ClutterCairoTexture-create-surface" title='The "create-surface" signal'><span class="type">"create-surface"</span></a>
|
447
|
+
signal</td>
|
448
|
+
</tr>
|
449
|
+
<tr>
|
450
|
+
<td><p><span class="term"><em class="structfield"><code><a name="ClutterCairoTextureClass.draw"></a>draw</code></em> ()</span></p></td>
|
451
|
+
<td>class handler for the <a class="link" href="ClutterCairoTexture.html#ClutterCairoTexture-draw" title='The "draw" signal'><span class="type">"draw"</span></a> signal</td>
|
452
|
+
</tr>
|
453
|
+
</tbody>
|
454
|
+
</table></div>
|
455
|
+
<p class="since">Since 1.0</p>
|
456
|
+
</div>
|
457
|
+
<hr>
|
458
|
+
<div class="refsect2">
|
459
|
+
<a name="clutter-cairo-texture-new"></a><h3>clutter_cairo_texture_new ()</h3>
|
460
|
+
<pre class="programlisting"><a class="link" href="ClutterActor.html" title="ClutterActor"><span class="returnvalue">ClutterActor</span></a> * clutter_cairo_texture_new (<em class="parameter"><code><span class="type">guint</span> width</code></em>,
|
461
|
+
<em class="parameter"><code><span class="type">guint</span> height</code></em>);</pre>
|
462
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
463
|
+
<h3 class="title">Warning</h3>
|
464
|
+
<p><code class="literal">clutter_cairo_texture_new</code> has been deprecated since version 1.12 and should not be used in newly-written code. Use <a class="link" href="ClutterCanvas.html" title="ClutterCanvas"><span class="type">ClutterCanvas</span></a> instead</p>
|
465
|
+
</div>
|
466
|
+
<p>
|
467
|
+
Creates a new <a class="link" href="ClutterCairoTexture.html" title="ClutterCairoTexture"><span class="type">ClutterCairoTexture</span></a> actor, with a surface of <em class="parameter"><code>width</code></em> by
|
468
|
+
<em class="parameter"><code>height</code></em> pixels.
|
469
|
+
</p>
|
470
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
471
|
+
<colgroup>
|
472
|
+
<col align="left" valign="top">
|
473
|
+
<col>
|
474
|
+
</colgroup>
|
475
|
+
<tbody>
|
476
|
+
<tr>
|
477
|
+
<td><p><span class="term"><em class="parameter"><code>width</code></em> :</span></p></td>
|
478
|
+
<td>the width of the surface</td>
|
479
|
+
</tr>
|
480
|
+
<tr>
|
481
|
+
<td><p><span class="term"><em class="parameter"><code>height</code></em> :</span></p></td>
|
482
|
+
<td>the height of the surface</td>
|
483
|
+
</tr>
|
484
|
+
<tr>
|
485
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
486
|
+
<td>the newly created <a class="link" href="ClutterCairoTexture.html" title="ClutterCairoTexture"><span class="type">ClutterCairoTexture</span></a> actor</td>
|
487
|
+
</tr>
|
488
|
+
</tbody>
|
489
|
+
</table></div>
|
490
|
+
<p class="since">Since 1.0</p>
|
491
|
+
</div>
|
492
|
+
<hr>
|
493
|
+
<div class="refsect2">
|
494
|
+
<a name="clutter-cairo-texture-set-surface-size"></a><h3>clutter_cairo_texture_set_surface_size ()</h3>
|
495
|
+
<pre class="programlisting"><span class="returnvalue">void</span> clutter_cairo_texture_set_surface_size
|
496
|
+
(<em class="parameter"><code><a class="link" href="ClutterCairoTexture.html" title="ClutterCairoTexture"><span class="type">ClutterCairoTexture</span></a> *self</code></em>,
|
497
|
+
<em class="parameter"><code><span class="type">guint</span> width</code></em>,
|
498
|
+
<em class="parameter"><code><span class="type">guint</span> height</code></em>);</pre>
|
499
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
500
|
+
<h3 class="title">Warning</h3>
|
501
|
+
<p><code class="literal">clutter_cairo_texture_set_surface_size</code> has been deprecated since version 1.12 and should not be used in newly-written code. Use <a class="link" href="ClutterCanvas.html" title="ClutterCanvas"><span class="type">ClutterCanvas</span></a> instead</p>
|
502
|
+
</div>
|
503
|
+
<p>
|
504
|
+
Resizes the Cairo surface used by <em class="parameter"><code>self</code></em> to <em class="parameter"><code>width</code></em> and <em class="parameter"><code>height</code></em>.
|
505
|
+
</p>
|
506
|
+
<p>
|
507
|
+
This function will not invalidate the contents of the Cairo
|
508
|
+
texture: you will have to explicitly call either
|
509
|
+
<a class="link" href="ClutterCairoTexture.html#clutter-cairo-texture-invalidate-rectangle" title="clutter_cairo_texture_invalidate_rectangle ()"><code class="function">clutter_cairo_texture_invalidate_rectangle()</code></a> or
|
510
|
+
<a class="link" href="ClutterCairoTexture.html#clutter-cairo-texture-invalidate" title="clutter_cairo_texture_invalidate ()"><code class="function">clutter_cairo_texture_invalidate()</code></a>.
|
511
|
+
</p>
|
512
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
513
|
+
<colgroup>
|
514
|
+
<col align="left" valign="top">
|
515
|
+
<col>
|
516
|
+
</colgroup>
|
517
|
+
<tbody>
|
518
|
+
<tr>
|
519
|
+
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
|
520
|
+
<td>a <a class="link" href="ClutterCairoTexture.html" title="ClutterCairoTexture"><span class="type">ClutterCairoTexture</span></a>
|
521
|
+
</td>
|
522
|
+
</tr>
|
523
|
+
<tr>
|
524
|
+
<td><p><span class="term"><em class="parameter"><code>width</code></em> :</span></p></td>
|
525
|
+
<td>the new width of the surface</td>
|
526
|
+
</tr>
|
527
|
+
<tr>
|
528
|
+
<td><p><span class="term"><em class="parameter"><code>height</code></em> :</span></p></td>
|
529
|
+
<td>the new height of the surface</td>
|
530
|
+
</tr>
|
531
|
+
</tbody>
|
532
|
+
</table></div>
|
533
|
+
<p class="since">Since 1.0</p>
|
534
|
+
</div>
|
535
|
+
<hr>
|
536
|
+
<div class="refsect2">
|
537
|
+
<a name="clutter-cairo-texture-get-surface-size"></a><h3>clutter_cairo_texture_get_surface_size ()</h3>
|
538
|
+
<pre class="programlisting"><span class="returnvalue">void</span> clutter_cairo_texture_get_surface_size
|
539
|
+
(<em class="parameter"><code><a class="link" href="ClutterCairoTexture.html" title="ClutterCairoTexture"><span class="type">ClutterCairoTexture</span></a> *self</code></em>,
|
540
|
+
<em class="parameter"><code><span class="type">guint</span> *width</code></em>,
|
541
|
+
<em class="parameter"><code><span class="type">guint</span> *height</code></em>);</pre>
|
542
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
543
|
+
<h3 class="title">Warning</h3>
|
544
|
+
<p><code class="literal">clutter_cairo_texture_get_surface_size</code> has been deprecated since version 1.12 and should not be used in newly-written code. Use <a class="link" href="ClutterCanvas.html" title="ClutterCanvas"><span class="type">ClutterCanvas</span></a> instead</p>
|
545
|
+
</div>
|
546
|
+
<p>
|
547
|
+
Retrieves the surface width and height for <em class="parameter"><code>self</code></em>.
|
548
|
+
</p>
|
549
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
550
|
+
<colgroup>
|
551
|
+
<col align="left" valign="top">
|
552
|
+
<col>
|
553
|
+
</colgroup>
|
554
|
+
<tbody>
|
555
|
+
<tr>
|
556
|
+
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
|
557
|
+
<td>a <a class="link" href="ClutterCairoTexture.html" title="ClutterCairoTexture"><span class="type">ClutterCairoTexture</span></a>
|
558
|
+
</td>
|
559
|
+
</tr>
|
560
|
+
<tr>
|
561
|
+
<td><p><span class="term"><em class="parameter"><code>width</code></em> :</span></p></td>
|
562
|
+
<td>return location for the surface width, or <code class="literal">NULL</code>. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span>
|
563
|
+
</td>
|
564
|
+
</tr>
|
565
|
+
<tr>
|
566
|
+
<td><p><span class="term"><em class="parameter"><code>height</code></em> :</span></p></td>
|
567
|
+
<td>return location for the surface height, or <code class="literal">NULL</code>. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span>
|
568
|
+
</td>
|
569
|
+
</tr>
|
570
|
+
</tbody>
|
571
|
+
</table></div>
|
572
|
+
<p class="since">Since 1.0</p>
|
573
|
+
</div>
|
574
|
+
<hr>
|
575
|
+
<div class="refsect2">
|
576
|
+
<a name="clutter-cairo-texture-set-auto-resize"></a><h3>clutter_cairo_texture_set_auto_resize ()</h3>
|
577
|
+
<pre class="programlisting"><span class="returnvalue">void</span> clutter_cairo_texture_set_auto_resize
|
578
|
+
(<em class="parameter"><code><a class="link" href="ClutterCairoTexture.html" title="ClutterCairoTexture"><span class="type">ClutterCairoTexture</span></a> *self</code></em>,
|
579
|
+
<em class="parameter"><code><span class="type">gboolean</span> value</code></em>);</pre>
|
580
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
581
|
+
<h3 class="title">Warning</h3>
|
582
|
+
<p><code class="literal">clutter_cairo_texture_set_auto_resize</code> has been deprecated since version 1.12 and should not be used in newly-written code. Use <a class="link" href="ClutterCanvas.html" title="ClutterCanvas"><span class="type">ClutterCanvas</span></a> instead</p>
|
583
|
+
</div>
|
584
|
+
<p>
|
585
|
+
Sets whether the <a class="link" href="ClutterCairoTexture.html" title="ClutterCairoTexture"><span class="type">ClutterCairoTexture</span></a> should ensure that the
|
586
|
+
backing Cairo surface used matches the allocation assigned to
|
587
|
+
the actor. If the allocation changes, the contents of the
|
588
|
+
<a class="link" href="ClutterCairoTexture.html" title="ClutterCairoTexture"><span class="type">ClutterCairoTexture</span></a> will also be invalidated automatically.
|
589
|
+
</p>
|
590
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
591
|
+
<colgroup>
|
592
|
+
<col align="left" valign="top">
|
593
|
+
<col>
|
594
|
+
</colgroup>
|
595
|
+
<tbody>
|
596
|
+
<tr>
|
597
|
+
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
|
598
|
+
<td>a <a class="link" href="ClutterCairoTexture.html" title="ClutterCairoTexture"><span class="type">ClutterCairoTexture</span></a>
|
599
|
+
</td>
|
600
|
+
</tr>
|
601
|
+
<tr>
|
602
|
+
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
603
|
+
<td>
|
604
|
+
<code class="literal">TRUE</code> if the <a class="link" href="ClutterCairoTexture.html" title="ClutterCairoTexture"><span class="type">ClutterCairoTexture</span></a> should bind the surface
|
605
|
+
size to the allocation</td>
|
606
|
+
</tr>
|
607
|
+
</tbody>
|
608
|
+
</table></div>
|
609
|
+
<p class="since">Since 1.8</p>
|
610
|
+
</div>
|
611
|
+
<hr>
|
612
|
+
<div class="refsect2">
|
613
|
+
<a name="clutter-cairo-texture-get-auto-resize"></a><h3>clutter_cairo_texture_get_auto_resize ()</h3>
|
614
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> clutter_cairo_texture_get_auto_resize
|
615
|
+
(<em class="parameter"><code><a class="link" href="ClutterCairoTexture.html" title="ClutterCairoTexture"><span class="type">ClutterCairoTexture</span></a> *self</code></em>);</pre>
|
616
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
617
|
+
<h3 class="title">Warning</h3>
|
618
|
+
<p><code class="literal">clutter_cairo_texture_get_auto_resize</code> has been deprecated since version 1.12 and should not be used in newly-written code. Use <a class="link" href="ClutterCanvas.html" title="ClutterCanvas"><span class="type">ClutterCanvas</span></a> instead</p>
|
619
|
+
</div>
|
620
|
+
<p>
|
621
|
+
Retrieves the value set using <a class="link" href="ClutterCairoTexture.html#clutter-cairo-texture-set-auto-resize" title="clutter_cairo_texture_set_auto_resize ()"><code class="function">clutter_cairo_texture_set_auto_resize()</code></a>.
|
622
|
+
</p>
|
623
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
624
|
+
<colgroup>
|
625
|
+
<col align="left" valign="top">
|
626
|
+
<col>
|
627
|
+
</colgroup>
|
628
|
+
<tbody>
|
629
|
+
<tr>
|
630
|
+
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
|
631
|
+
<td>a <a class="link" href="ClutterCairoTexture.html" title="ClutterCairoTexture"><span class="type">ClutterCairoTexture</span></a>
|
632
|
+
</td>
|
633
|
+
</tr>
|
634
|
+
<tr>
|
635
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
636
|
+
<td>
|
637
|
+
<code class="literal">TRUE</code> if the <a class="link" href="ClutterCairoTexture.html" title="ClutterCairoTexture"><span class="type">ClutterCairoTexture</span></a> should track the
|
638
|
+
allocation, and <code class="literal">FALSE</code> otherwise</td>
|
639
|
+
</tr>
|
640
|
+
</tbody>
|
641
|
+
</table></div>
|
642
|
+
<p class="since">Since 1.8</p>
|
643
|
+
</div>
|
644
|
+
<hr>
|
645
|
+
<div class="refsect2">
|
646
|
+
<a name="clutter-cairo-texture-create"></a><h3>clutter_cairo_texture_create ()</h3>
|
647
|
+
<pre class="programlisting"><a href="/home/ebassi/gnome/install/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-t"><span class="returnvalue">cairo_t</span></a> * clutter_cairo_texture_create (<em class="parameter"><code><a class="link" href="ClutterCairoTexture.html" title="ClutterCairoTexture"><span class="type">ClutterCairoTexture</span></a> *self</code></em>);</pre>
|
648
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
649
|
+
<h3 class="title">Warning</h3>
|
650
|
+
<p><code class="literal">clutter_cairo_texture_create</code> has been deprecated since version 1.8 and should not be used in newly-written code. Use the <a class="link" href="ClutterCairoTexture.html#ClutterCairoTexture-draw" title='The "draw" signal'><span class="type">"draw"</span></a> signal and
|
651
|
+
the <a class="link" href="ClutterCairoTexture.html#clutter-cairo-texture-invalidate" title="clutter_cairo_texture_invalidate ()"><code class="function">clutter_cairo_texture_invalidate()</code></a> function to obtain a
|
652
|
+
Cairo context for 2D drawing.</p>
|
653
|
+
</div>
|
654
|
+
<p>
|
655
|
+
Creates a new Cairo context for the <em class="parameter"><code>cairo</code></em> texture. It is
|
656
|
+
similar to using <a class="link" href="ClutterCairoTexture.html#clutter-cairo-texture-create-region" title="clutter_cairo_texture_create_region ()"><code class="function">clutter_cairo_texture_create_region()</code></a> with <em class="parameter"><code>x_offset</code></em>
|
657
|
+
and <em class="parameter"><code>y_offset</code></em> of 0, <em class="parameter"><code>width</code></em> equal to the <em class="parameter"><code>cairo</code></em> texture surface width
|
658
|
+
and <em class="parameter"><code>height</code></em> equal to the <em class="parameter"><code>cairo</code></em> texture surface height.
|
659
|
+
</p>
|
660
|
+
<p>
|
661
|
+
</p>
|
662
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
663
|
+
<h3 class="title">Warning</h3>
|
664
|
+
<p>Do not call this function within the paint virtual
|
665
|
+
function or from a callback to the <a class="link" href="ClutterActor.html#ClutterActor-paint" title='The "paint" signal'><span class="type">"paint"</span></a>
|
666
|
+
signal.</p>
|
667
|
+
</div>
|
668
|
+
<p>
|
669
|
+
</p>
|
670
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
671
|
+
<colgroup>
|
672
|
+
<col align="left" valign="top">
|
673
|
+
<col>
|
674
|
+
</colgroup>
|
675
|
+
<tbody>
|
676
|
+
<tr>
|
677
|
+
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
|
678
|
+
<td>a <a class="link" href="ClutterCairoTexture.html" title="ClutterCairoTexture"><span class="type">ClutterCairoTexture</span></a>
|
679
|
+
</td>
|
680
|
+
</tr>
|
681
|
+
<tr>
|
682
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
683
|
+
<td>a newly created Cairo context. Use <a href="/home/ebassi/gnome/install/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-destroy"><code class="function">cairo_destroy()</code></a>
|
684
|
+
to upload the contents of the context when done drawing</td>
|
685
|
+
</tr>
|
686
|
+
</tbody>
|
687
|
+
</table></div>
|
688
|
+
<p class="since">Since 1.0</p>
|
689
|
+
</div>
|
690
|
+
<hr>
|
691
|
+
<div class="refsect2">
|
692
|
+
<a name="clutter-cairo-texture-create-region"></a><h3>clutter_cairo_texture_create_region ()</h3>
|
693
|
+
<pre class="programlisting"><a href="/home/ebassi/gnome/install/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-t"><span class="returnvalue">cairo_t</span></a> * clutter_cairo_texture_create_region (<em class="parameter"><code><a class="link" href="ClutterCairoTexture.html" title="ClutterCairoTexture"><span class="type">ClutterCairoTexture</span></a> *self</code></em>,
|
694
|
+
<em class="parameter"><code><span class="type">gint</span> x_offset</code></em>,
|
695
|
+
<em class="parameter"><code><span class="type">gint</span> y_offset</code></em>,
|
696
|
+
<em class="parameter"><code><span class="type">gint</span> width</code></em>,
|
697
|
+
<em class="parameter"><code><span class="type">gint</span> height</code></em>);</pre>
|
698
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
699
|
+
<h3 class="title">Warning</h3>
|
700
|
+
<p><code class="literal">clutter_cairo_texture_create_region</code> has been deprecated since version 1.8 and should not be used in newly-written code. Use the <a class="link" href="ClutterCairoTexture.html#ClutterCairoTexture-draw" title='The "draw" signal'><span class="type">"draw"</span></a> signal and
|
701
|
+
<a class="link" href="ClutterCairoTexture.html#clutter-cairo-texture-invalidate-rectangle" title="clutter_cairo_texture_invalidate_rectangle ()"><code class="function">clutter_cairo_texture_invalidate_rectangle()</code></a> to obtain a
|
702
|
+
clipped Cairo context for 2D drawing.</p>
|
703
|
+
</div>
|
704
|
+
<p>
|
705
|
+
Creates a new Cairo context that will updat the region defined
|
706
|
+
by <em class="parameter"><code>x_offset</code></em>, <em class="parameter"><code>y_offset</code></em>, <em class="parameter"><code>width</code></em> and <em class="parameter"><code>height</code></em>.
|
707
|
+
</p>
|
708
|
+
<p>
|
709
|
+
</p>
|
710
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
711
|
+
<h3 class="title">Warning</h3>
|
712
|
+
<p>Do not call this function within the paint virtual
|
713
|
+
function or from a callback to the <a class="link" href="ClutterActor.html#ClutterActor-paint" title='The "paint" signal'><span class="type">"paint"</span></a>
|
714
|
+
signal.</p>
|
715
|
+
</div>
|
716
|
+
<p>
|
717
|
+
</p>
|
718
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
719
|
+
<colgroup>
|
720
|
+
<col align="left" valign="top">
|
721
|
+
<col>
|
722
|
+
</colgroup>
|
723
|
+
<tbody>
|
724
|
+
<tr>
|
725
|
+
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
|
726
|
+
<td>a <a class="link" href="ClutterCairoTexture.html" title="ClutterCairoTexture"><span class="type">ClutterCairoTexture</span></a>
|
727
|
+
</td>
|
728
|
+
</tr>
|
729
|
+
<tr>
|
730
|
+
<td><p><span class="term"><em class="parameter"><code>x_offset</code></em> :</span></p></td>
|
731
|
+
<td>offset of the region on the X axis</td>
|
732
|
+
</tr>
|
733
|
+
<tr>
|
734
|
+
<td><p><span class="term"><em class="parameter"><code>y_offset</code></em> :</span></p></td>
|
735
|
+
<td>offset of the region on the Y axis</td>
|
736
|
+
</tr>
|
737
|
+
<tr>
|
738
|
+
<td><p><span class="term"><em class="parameter"><code>width</code></em> :</span></p></td>
|
739
|
+
<td>width of the region, or -1 for the full surface width</td>
|
740
|
+
</tr>
|
741
|
+
<tr>
|
742
|
+
<td><p><span class="term"><em class="parameter"><code>height</code></em> :</span></p></td>
|
743
|
+
<td>height of the region, or -1 for the full surface height</td>
|
744
|
+
</tr>
|
745
|
+
<tr>
|
746
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
747
|
+
<td>a newly created Cairo context. Use <a href="/home/ebassi/gnome/install/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-destroy"><code class="function">cairo_destroy()</code></a>
|
748
|
+
to upload the contents of the context when done drawing</td>
|
749
|
+
</tr>
|
750
|
+
</tbody>
|
751
|
+
</table></div>
|
752
|
+
<p class="since">Since 1.0</p>
|
753
|
+
</div>
|
754
|
+
<hr>
|
755
|
+
<div class="refsect2">
|
756
|
+
<a name="clutter-cairo-texture-invalidate-rectangle"></a><h3>clutter_cairo_texture_invalidate_rectangle ()</h3>
|
757
|
+
<pre class="programlisting"><span class="returnvalue">void</span> clutter_cairo_texture_invalidate_rectangle
|
758
|
+
(<em class="parameter"><code><a class="link" href="ClutterCairoTexture.html" title="ClutterCairoTexture"><span class="type">ClutterCairoTexture</span></a> *self</code></em>,
|
759
|
+
<em class="parameter"><code><a href="/home/ebassi/gnome/install/share/gtk-doc/html/cairo/cairo-Types.html#cairo-rectangle-int-t"><span class="type">cairo_rectangle_int_t</span></a> *rect</code></em>);</pre>
|
760
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
761
|
+
<h3 class="title">Warning</h3>
|
762
|
+
<p><code class="literal">clutter_cairo_texture_invalidate_rectangle</code> has been deprecated since version 1.12 and should not be used in newly-written code. Use <a class="link" href="ClutterCanvas.html" title="ClutterCanvas"><span class="type">ClutterCanvas</span></a> instead</p>
|
763
|
+
</div>
|
764
|
+
<p>
|
765
|
+
Invalidates a rectangular region of a <a class="link" href="ClutterCairoTexture.html" title="ClutterCairoTexture"><span class="type">ClutterCairoTexture</span></a>.
|
766
|
+
</p>
|
767
|
+
<p>
|
768
|
+
The invalidation will cause the <a class="link" href="ClutterCairoTexture.html#ClutterCairoTexture-draw" title='The "draw" signal'><span class="type">"draw"</span></a> signal
|
769
|
+
to be emitted.
|
770
|
+
</p>
|
771
|
+
<p>
|
772
|
+
See also: <a class="link" href="ClutterCairoTexture.html#clutter-cairo-texture-invalidate" title="clutter_cairo_texture_invalidate ()"><code class="function">clutter_cairo_texture_invalidate()</code></a>
|
773
|
+
</p>
|
774
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
775
|
+
<colgroup>
|
776
|
+
<col align="left" valign="top">
|
777
|
+
<col>
|
778
|
+
</colgroup>
|
779
|
+
<tbody>
|
780
|
+
<tr>
|
781
|
+
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
|
782
|
+
<td>a <a class="link" href="ClutterCairoTexture.html" title="ClutterCairoTexture"><span class="type">ClutterCairoTexture</span></a>
|
783
|
+
</td>
|
784
|
+
</tr>
|
785
|
+
<tr>
|
786
|
+
<td><p><span class="term"><em class="parameter"><code>rect</code></em> :</span></p></td>
|
787
|
+
<td>a rectangle with the area to invalida,
|
788
|
+
or <code class="literal">NULL</code> to perform an unbounded invalidation. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
789
|
+
</td>
|
790
|
+
</tr>
|
791
|
+
</tbody>
|
792
|
+
</table></div>
|
793
|
+
<p class="since">Since 1.8</p>
|
794
|
+
</div>
|
795
|
+
<hr>
|
796
|
+
<div class="refsect2">
|
797
|
+
<a name="clutter-cairo-texture-invalidate"></a><h3>clutter_cairo_texture_invalidate ()</h3>
|
798
|
+
<pre class="programlisting"><span class="returnvalue">void</span> clutter_cairo_texture_invalidate (<em class="parameter"><code><a class="link" href="ClutterCairoTexture.html" title="ClutterCairoTexture"><span class="type">ClutterCairoTexture</span></a> *self</code></em>);</pre>
|
799
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
800
|
+
<h3 class="title">Warning</h3>
|
801
|
+
<p><code class="literal">clutter_cairo_texture_invalidate</code> has been deprecated since version 1.12 and should not be used in newly-written code. Use <a class="link" href="ClutterCanvas.html" title="ClutterCanvas"><span class="type">ClutterCanvas</span></a> instead</p>
|
802
|
+
</div>
|
803
|
+
<p>
|
804
|
+
Invalidates the whole surface of a <a class="link" href="ClutterCairoTexture.html" title="ClutterCairoTexture"><span class="type">ClutterCairoTexture</span></a>.
|
805
|
+
</p>
|
806
|
+
<p>
|
807
|
+
This function will cause the <a class="link" href="ClutterCairoTexture.html#ClutterCairoTexture-draw" title='The "draw" signal'><span class="type">"draw"</span></a> signal
|
808
|
+
to be emitted.
|
809
|
+
</p>
|
810
|
+
<p>
|
811
|
+
See also: <a class="link" href="ClutterCairoTexture.html#clutter-cairo-texture-invalidate-rectangle" title="clutter_cairo_texture_invalidate_rectangle ()"><code class="function">clutter_cairo_texture_invalidate_rectangle()</code></a>
|
812
|
+
</p>
|
813
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
814
|
+
<colgroup>
|
815
|
+
<col align="left" valign="top">
|
816
|
+
<col>
|
817
|
+
</colgroup>
|
818
|
+
<tbody><tr>
|
819
|
+
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
|
820
|
+
<td>a <a class="link" href="ClutterCairoTexture.html" title="ClutterCairoTexture"><span class="type">ClutterCairoTexture</span></a>
|
821
|
+
</td>
|
822
|
+
</tr></tbody>
|
823
|
+
</table></div>
|
824
|
+
<p class="since">Since 1.8</p>
|
825
|
+
</div>
|
826
|
+
<hr>
|
827
|
+
<div class="refsect2">
|
828
|
+
<a name="clutter-cairo-texture-clear"></a><h3>clutter_cairo_texture_clear ()</h3>
|
829
|
+
<pre class="programlisting"><span class="returnvalue">void</span> clutter_cairo_texture_clear (<em class="parameter"><code><a class="link" href="ClutterCairoTexture.html" title="ClutterCairoTexture"><span class="type">ClutterCairoTexture</span></a> *self</code></em>);</pre>
|
830
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
831
|
+
<h3 class="title">Warning</h3>
|
832
|
+
<p><code class="literal">clutter_cairo_texture_clear</code> has been deprecated since version 1.12 and should not be used in newly-written code. Use <a class="link" href="ClutterCanvas.html" title="ClutterCanvas"><span class="type">ClutterCanvas</span></a> instead</p>
|
833
|
+
</div>
|
834
|
+
<p>
|
835
|
+
Clears <em class="parameter"><code>self</code></em>'s internal drawing surface, so that the next upload
|
836
|
+
will replace the previous contents of the <a class="link" href="ClutterCairoTexture.html" title="ClutterCairoTexture"><span class="type">ClutterCairoTexture</span></a>
|
837
|
+
rather than adding to it.
|
838
|
+
</p>
|
839
|
+
<p>
|
840
|
+
Calling this function from within a <a class="link" href="ClutterCairoTexture.html#ClutterCairoTexture-draw" title='The "draw" signal'><span class="type">"draw"</span></a>
|
841
|
+
signal handler will clear the invalidated area.
|
842
|
+
</p>
|
843
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
844
|
+
<colgroup>
|
845
|
+
<col align="left" valign="top">
|
846
|
+
<col>
|
847
|
+
</colgroup>
|
848
|
+
<tbody><tr>
|
849
|
+
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
|
850
|
+
<td>a <a class="link" href="ClutterCairoTexture.html" title="ClutterCairoTexture"><span class="type">ClutterCairoTexture</span></a>
|
851
|
+
</td>
|
852
|
+
</tr></tbody>
|
853
|
+
</table></div>
|
854
|
+
<p class="since">Since 1.0</p>
|
855
|
+
</div>
|
856
|
+
</div>
|
857
|
+
<div class="refsect1">
|
858
|
+
<a name="ClutterCairoTexture.property-details"></a><h2>Property Details</h2>
|
859
|
+
<div class="refsect2">
|
860
|
+
<a name="ClutterCairoTexture--auto-resize"></a><h3>The <code class="literal">"auto-resize"</code> property</h3>
|
861
|
+
<pre class="programlisting"> "auto-resize" <span class="type">gboolean</span> : Read / Write</pre>
|
862
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
863
|
+
<h3 class="title">Warning</h3>
|
864
|
+
<p><code class="literal">ClutterCairoTexture:auto-resize</code> is deprecated and should not be used in newly-written code. 1.12</p>
|
865
|
+
</div>
|
866
|
+
<p>
|
867
|
+
Controls whether the <a class="link" href="ClutterCairoTexture.html" title="ClutterCairoTexture"><span class="type">ClutterCairoTexture</span></a> should automatically
|
868
|
+
resize the Cairo surface whenever the actor's allocation changes.
|
869
|
+
If :auto-resize is set to <code class="literal">TRUE</code> the surface contents will also
|
870
|
+
be invalidated automatically.
|
871
|
+
</p>
|
872
|
+
<p>Default value: FALSE</p>
|
873
|
+
<p class="since">Since 1.8</p>
|
874
|
+
</div>
|
875
|
+
<hr>
|
876
|
+
<div class="refsect2">
|
877
|
+
<a name="ClutterCairoTexture--surface-height"></a><h3>The <code class="literal">"surface-height"</code> property</h3>
|
878
|
+
<pre class="programlisting"> "surface-height" <span class="type">guint</span> : Read / Write</pre>
|
879
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
880
|
+
<h3 class="title">Warning</h3>
|
881
|
+
<p><code class="literal">ClutterCairoTexture:surface-height</code> is deprecated and should not be used in newly-written code. 1.12</p>
|
882
|
+
</div>
|
883
|
+
<p>
|
884
|
+
The height of the Cairo surface used by the <a class="link" href="ClutterCairoTexture.html" title="ClutterCairoTexture"><span class="type">ClutterCairoTexture</span></a>
|
885
|
+
actor, in pixels.
|
886
|
+
</p>
|
887
|
+
<p>Default value: 0</p>
|
888
|
+
<p class="since">Since 1.0</p>
|
889
|
+
</div>
|
890
|
+
<hr>
|
891
|
+
<div class="refsect2">
|
892
|
+
<a name="ClutterCairoTexture--surface-width"></a><h3>The <code class="literal">"surface-width"</code> property</h3>
|
893
|
+
<pre class="programlisting"> "surface-width" <span class="type">guint</span> : Read / Write</pre>
|
894
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
895
|
+
<h3 class="title">Warning</h3>
|
896
|
+
<p><code class="literal">ClutterCairoTexture:surface-width</code> is deprecated and should not be used in newly-written code. 1.12</p>
|
897
|
+
</div>
|
898
|
+
<p>
|
899
|
+
The width of the Cairo surface used by the <a class="link" href="ClutterCairoTexture.html" title="ClutterCairoTexture"><span class="type">ClutterCairoTexture</span></a>
|
900
|
+
actor, in pixels.
|
901
|
+
</p>
|
902
|
+
<p>Default value: 0</p>
|
903
|
+
<p class="since">Since 1.0</p>
|
904
|
+
</div>
|
905
|
+
</div>
|
906
|
+
<div class="refsect1">
|
907
|
+
<a name="ClutterCairoTexture.signal-details"></a><h2>Signal Details</h2>
|
908
|
+
<div class="refsect2">
|
909
|
+
<a name="ClutterCairoTexture-create-surface"></a><h3>The <code class="literal">"create-surface"</code> signal</h3>
|
910
|
+
<pre class="programlisting"><span class="returnvalue">CairoSurface</span>* user_function (<a class="link" href="ClutterCairoTexture.html" title="ClutterCairoTexture"><span class="type">ClutterCairoTexture</span></a> *texture,
|
911
|
+
<span class="type">guint</span> width,
|
912
|
+
<span class="type">guint</span> height,
|
913
|
+
<span class="type">gpointer</span> user_data) : <code class="literal">No Recursion</code></pre>
|
914
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
915
|
+
<h3 class="title">Warning</h3>
|
916
|
+
<p><code class="literal">ClutterCairoTexture::create-surface</code> is deprecated and should not be used in newly-written code. 1.12</p>
|
917
|
+
</div>
|
918
|
+
<p>
|
919
|
+
The ::create-surface signal is emitted when a <a class="link" href="ClutterCairoTexture.html" title="ClutterCairoTexture"><span class="type">ClutterCairoTexture</span></a>
|
920
|
+
news its surface (re)created, which happens either when the Cairo
|
921
|
+
context is created with <a class="link" href="ClutterCairoTexture.html#clutter-cairo-texture-create" title="clutter_cairo_texture_create ()"><code class="function">clutter_cairo_texture_create()</code></a> or
|
922
|
+
<a class="link" href="ClutterCairoTexture.html#clutter-cairo-texture-create-region" title="clutter_cairo_texture_create_region ()"><code class="function">clutter_cairo_texture_create_region()</code></a>, or when the surface is resized
|
923
|
+
through <a class="link" href="ClutterCairoTexture.html#clutter-cairo-texture-set-surface-size" title="clutter_cairo_texture_set_surface_size ()"><code class="function">clutter_cairo_texture_set_surface_size()</code></a>.
|
924
|
+
</p>
|
925
|
+
<p>
|
926
|
+
The first signal handler that returns a non-<code class="literal">NULL</code>, valid surface will
|
927
|
+
stop any further signal emission, and the returned surface will be
|
928
|
+
the one used.
|
929
|
+
</p>
|
930
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
931
|
+
<colgroup>
|
932
|
+
<col align="left" valign="top">
|
933
|
+
<col>
|
934
|
+
</colgroup>
|
935
|
+
<tbody>
|
936
|
+
<tr>
|
937
|
+
<td><p><span class="term"><em class="parameter"><code>texture</code></em> :</span></p></td>
|
938
|
+
<td>the <a class="link" href="ClutterCairoTexture.html" title="ClutterCairoTexture"><span class="type">ClutterCairoTexture</span></a> that emitted the signal</td>
|
939
|
+
</tr>
|
940
|
+
<tr>
|
941
|
+
<td><p><span class="term"><em class="parameter"><code>width</code></em> :</span></p></td>
|
942
|
+
<td>the width of the surface to create</td>
|
943
|
+
</tr>
|
944
|
+
<tr>
|
945
|
+
<td><p><span class="term"><em class="parameter"><code>height</code></em> :</span></p></td>
|
946
|
+
<td>the height of the surface to create</td>
|
947
|
+
</tr>
|
948
|
+
<tr>
|
949
|
+
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
950
|
+
<td>user data set when the signal handler was connected.</td>
|
951
|
+
</tr>
|
952
|
+
<tr>
|
953
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
954
|
+
<td>the newly created <a href="/home/ebassi/gnome/install/share/gtk-doc/html/cairo/cairo-cairo-surface-t.html#cairo-surface-t"><span class="type">cairo_surface_t</span></a> for the texture</td>
|
955
|
+
</tr>
|
956
|
+
</tbody>
|
957
|
+
</table></div>
|
958
|
+
<p class="since">Since 1.6</p>
|
959
|
+
</div>
|
960
|
+
<hr>
|
961
|
+
<div class="refsect2">
|
962
|
+
<a name="ClutterCairoTexture-draw"></a><h3>The <code class="literal">"draw"</code> signal</h3>
|
963
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> user_function (<a class="link" href="ClutterCairoTexture.html" title="ClutterCairoTexture"><span class="type">ClutterCairoTexture</span></a> *texture,
|
964
|
+
<span class="type">CairoContext</span> *cr,
|
965
|
+
<span class="type">gpointer</span> user_data) : <code class="literal">No Recursion</code></pre>
|
966
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
967
|
+
<h3 class="title">Warning</h3>
|
968
|
+
<p><code class="literal">ClutterCairoTexture::draw</code> is deprecated and should not be used in newly-written code. 1.12</p>
|
969
|
+
</div>
|
970
|
+
<p>
|
971
|
+
The ::draw signal is emitted each time a <a class="link" href="ClutterCairoTexture.html" title="ClutterCairoTexture"><span class="type">ClutterCairoTexture</span></a> has
|
972
|
+
been invalidated.
|
973
|
+
</p>
|
974
|
+
<p>
|
975
|
+
The passed Cairo context passed will be clipped to the invalidated
|
976
|
+
area.
|
977
|
+
</p>
|
978
|
+
<p>
|
979
|
+
It is safe to connect multiple callbacks to this signals; the state
|
980
|
+
of the Cairo context passed to each callback is automatically saved
|
981
|
+
and restored, so it's not necessary to call <a href="/home/ebassi/gnome/install/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-save"><code class="function">cairo_save()</code></a> and
|
982
|
+
<a href="/home/ebassi/gnome/install/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-restore"><code class="function">cairo_restore()</code></a>.
|
983
|
+
</p>
|
984
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
985
|
+
<colgroup>
|
986
|
+
<col align="left" valign="top">
|
987
|
+
<col>
|
988
|
+
</colgroup>
|
989
|
+
<tbody>
|
990
|
+
<tr>
|
991
|
+
<td><p><span class="term"><em class="parameter"><code>texture</code></em> :</span></p></td>
|
992
|
+
<td>the <a class="link" href="ClutterCairoTexture.html" title="ClutterCairoTexture"><span class="type">ClutterCairoTexture</span></a> that emitted the signal</td>
|
993
|
+
</tr>
|
994
|
+
<tr>
|
995
|
+
<td><p><span class="term"><em class="parameter"><code>cr</code></em> :</span></p></td>
|
996
|
+
<td>the Cairo context to use to draw</td>
|
997
|
+
</tr>
|
998
|
+
<tr>
|
999
|
+
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
1000
|
+
<td>user data set when the signal handler was connected.</td>
|
1001
|
+
</tr>
|
1002
|
+
<tr>
|
1003
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1004
|
+
<td>
|
1005
|
+
<code class="literal">TRUE</code> if the signal emission should stop, and <code class="literal">FALSE</code>
|
1006
|
+
to continue</td>
|
1007
|
+
</tr>
|
1008
|
+
</tbody>
|
1009
|
+
</table></div>
|
1010
|
+
<p class="since">Since 1.8</p>
|
1011
|
+
</div>
|
1012
|
+
</div>
|
1013
|
+
</div>
|
1014
|
+
<div class="footer">
|
1015
|
+
<hr>
|
1016
|
+
Generated by GTK-Doc V1.18.1</div>
|
1017
|
+
</body>
|
1018
|
+
</html>
|