clutter 2.2.0-x86-mingw32 → 2.2.1-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +14 -5
- data/lib/clutter.rb +1 -2
- data/vendor/local/bin/json-glib-format.exe +0 -0
- data/vendor/local/bin/json-glib-validate.exe +0 -0
- data/vendor/local/bin/libclutter-1.0-0.dll +0 -0
- data/vendor/local/bin/{libcogl-15.dll → libcogl-20.dll} +0 -0
- data/vendor/local/bin/libcogl-pango-20.dll +0 -0
- data/vendor/local/bin/libcogl-path-20.dll +0 -0
- data/vendor/local/bin/libjson-glib-1.0-0.dll +0 -0
- data/vendor/local/include/clutter-1.0/cally/cally-actor.h +9 -4
- data/vendor/local/include/clutter-1.0/cally/cally-clone.h +6 -4
- data/vendor/local/include/clutter-1.0/cally/cally-group.h +5 -3
- data/vendor/local/include/clutter-1.0/cally/cally-main.h +7 -2
- data/vendor/local/include/clutter-1.0/cally/cally-rectangle.h +5 -3
- data/vendor/local/include/clutter-1.0/cally/cally-root.h +6 -4
- data/vendor/local/include/clutter-1.0/cally/cally-stage.h +5 -3
- data/vendor/local/include/clutter-1.0/cally/cally-text.h +6 -4
- data/vendor/local/include/clutter-1.0/cally/cally-texture.h +6 -4
- data/vendor/local/include/clutter-1.0/cally/cally-util.h +7 -3
- data/vendor/local/include/clutter-1.0/clutter/clutter-action.h +13 -5
- data/vendor/local/include/clutter-1.0/clutter/clutter-actor-meta.h +8 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-actor.h +90 -1
- data/vendor/local/include/clutter-1.0/clutter/clutter-align-constraint.h +9 -1
- data/vendor/local/include/clutter-1.0/clutter/clutter-animatable.h +5 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-backend.h +15 -9
- data/vendor/local/include/clutter-1.0/clutter/clutter-bin-layout.h +4 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-bind-constraint.h +9 -1
- data/vendor/local/include/clutter-1.0/clutter/clutter-binding-pool.h +13 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-blur-effect.h +3 -1
- data/vendor/local/include/clutter-1.0/clutter/clutter-box-layout.h +9 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-brightness-contrast-effect.h +9 -1
- data/vendor/local/include/clutter-1.0/clutter/clutter-cairo.h +2 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-canvas.h +7 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-child-meta.h +10 -8
- data/vendor/local/include/clutter-1.0/clutter/clutter-click-action.h +8 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-clone.h +8 -4
- data/vendor/local/include/clutter-1.0/clutter/clutter-color.h +32 -7
- data/vendor/local/include/clutter-1.0/clutter/clutter-colorize-effect.h +5 -1
- data/vendor/local/include/clutter-1.0/clutter/clutter-constraint.h +14 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-container.h +49 -37
- data/vendor/local/include/clutter-1.0/clutter/clutter-content.h +2 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-deform-effect.h +19 -13
- data/vendor/local/include/clutter-1.0/clutter/clutter-deprecated.h +1 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-desaturate-effect.h +5 -1
- data/vendor/local/include/clutter-1.0/clutter/clutter-device-manager.h +6 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-drag-action.h +12 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-drop-action.h +4 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-effect.h +11 -1
- data/vendor/local/include/clutter-1.0/clutter/clutter-enum-types.h +62 -55
- data/vendor/local/include/clutter-1.0/clutter/clutter-enums.h +23 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-event.h +74 -8
- data/vendor/local/include/clutter-1.0/clutter/clutter-feature.h +2 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-fixed-layout.h +2 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-flow-layout.h +14 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-gesture-action.h +27 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-group.h +1 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-image.h +2 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-input-device.h +20 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-interval.h +18 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-layout-manager.h +13 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-layout-meta.h +2 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-list-model.h +3 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-macros.h +67 -33
- data/vendor/local/include/clutter-1.0/clutter/clutter-main.h +36 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-model.h +42 -1
- data/vendor/local/include/clutter-1.0/clutter/clutter-offscreen-effect.h +4 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-page-turn-effect.h +9 -1
- data/vendor/local/include/clutter-1.0/clutter/clutter-paint-nodes.h +5 -5
- data/vendor/local/include/clutter-1.0/clutter/clutter-pan-action.h +2 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-path-constraint.h +7 -1
- data/vendor/local/include/clutter-1.0/clutter/clutter-path.h +26 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-property-transition.h +2 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-rotate-action.h +2 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-script.h +16 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-scriptable.h +5 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-scroll-actor.h +2 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-settings.h +2 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-shader-effect.h +9 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-shader-types.h +10 -1
- data/vendor/local/include/clutter-1.0/clutter/clutter-snap-constraint.h +9 -1
- data/vendor/local/include/clutter-1.0/clutter/clutter-stage-manager.h +5 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-stage.h +35 -9
- data/vendor/local/include/clutter-1.0/clutter/clutter-swipe-action.h +4 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-tap-action.h +2 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-test-utils.h +164 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-text-buffer.h +2 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-text.h +67 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-texture.h +2 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-timeline.h +25 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-transition-group.h +2 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-transition.h +2 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-types.h +60 -6
- data/vendor/local/include/clutter-1.0/clutter/clutter-units.h +18 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-version.h +37 -20
- data/vendor/local/include/clutter-1.0/clutter/clutter-zoom-action.h +2 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter.h +2 -3
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-fixed.h +1 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-state.h +3 -3
- data/vendor/local/include/clutter-1.0/clutter/{clutter-table-layout.h → deprecated/clutter-table-layout.h} +15 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-timeout-pool.h +1 -1
- data/vendor/local/include/clutter-1.0/clutter/win32/clutter-win32.h +5 -0
- data/vendor/local/include/cogl/cogl-pango/cogl-pango.h +33 -14
- data/vendor/local/include/cogl/cogl-path/cogl-path-types.h +18 -14
- data/vendor/local/include/cogl/cogl-path/cogl-path.h +22 -12
- data/vendor/local/include/cogl/cogl-path/cogl1-path-functions.h +20 -13
- data/vendor/local/include/cogl/cogl-path/cogl2-path-functions.h +35 -13
- data/vendor/local/include/cogl/cogl/cogl-atlas-texture.h +81 -53
- data/vendor/local/include/cogl/cogl/cogl-attribute-buffer.h +31 -11
- data/vendor/local/include/cogl/cogl/cogl-attribute.h +31 -11
- data/vendor/local/include/cogl/cogl/cogl-auto-texture.h +221 -0
- data/vendor/local/include/cogl/cogl/cogl-bitmap.h +31 -11
- data/vendor/local/include/cogl/cogl/cogl-buffer.h +26 -13
- data/vendor/local/include/cogl/cogl/cogl-clip-state.h +244 -15
- data/vendor/local/include/cogl/cogl/cogl-clutter.h +18 -13
- data/vendor/local/include/cogl/cogl/cogl-color.h +31 -11
- data/vendor/local/include/cogl/cogl/cogl-context.h +41 -14
- data/vendor/local/include/cogl/cogl/cogl-defines.h +20 -13
- data/vendor/local/include/cogl/cogl/cogl-deprecated.h +18 -11
- data/vendor/local/include/cogl/cogl/cogl-depth-state.h +20 -14
- data/vendor/local/include/cogl/cogl/cogl-display.h +33 -14
- data/vendor/local/include/cogl/cogl/cogl-enum-types.h +9 -6
- data/vendor/local/include/cogl/cogl/cogl-error.h +20 -15
- data/vendor/local/include/cogl/cogl/cogl-euler.h +31 -13
- data/vendor/local/include/cogl/cogl/cogl-fence.h +20 -13
- data/vendor/local/include/cogl/cogl/cogl-fixed.h +20 -13
- data/vendor/local/include/cogl/cogl/cogl-frame-info.h +31 -12
- data/vendor/local/include/cogl/cogl/cogl-framebuffer-deprecated.h +264 -0
- data/vendor/local/include/cogl/cogl/cogl-framebuffer.h +70 -29
- data/vendor/local/include/cogl/cogl/cogl-gles2.h +64 -18
- data/vendor/local/include/cogl/cogl/cogl-glib-source.h +18 -11
- data/vendor/local/include/cogl/cogl/cogl-index-buffer.h +31 -11
- data/vendor/local/include/cogl/cogl/cogl-indices.h +31 -11
- data/vendor/local/include/cogl/cogl/cogl-macros.h +33 -13
- data/vendor/local/include/cogl/cogl/cogl-material-compat.h +20 -13
- data/vendor/local/include/cogl/cogl/cogl-matrix-stack.h +37 -12
- data/vendor/local/include/cogl/cogl/cogl-matrix.h +34 -15
- data/vendor/local/include/cogl/cogl/cogl-meta-texture.h +25 -12
- data/vendor/local/include/cogl/cogl/cogl-object.h +40 -12
- data/vendor/local/include/cogl/cogl/cogl-offscreen.h +31 -11
- data/vendor/local/include/cogl/cogl/cogl-onscreen-template.h +31 -12
- data/vendor/local/include/cogl/cogl/cogl-onscreen.h +63 -12
- data/vendor/local/include/cogl/cogl/cogl-output.h +31 -12
- data/vendor/local/include/cogl/cogl/cogl-pango.h +18 -11
- data/vendor/local/include/cogl/cogl/cogl-pipeline-layer-state.h +20 -13
- data/vendor/local/include/cogl/cogl/cogl-pipeline-state.h +20 -13
- data/vendor/local/include/cogl/cogl/cogl-pipeline.h +31 -11
- data/vendor/local/include/cogl/cogl/cogl-pixel-buffer.h +31 -11
- data/vendor/local/include/cogl/cogl/cogl-poll.h +20 -14
- data/vendor/local/include/cogl/cogl/cogl-primitive-texture.h +25 -12
- data/vendor/local/include/cogl/cogl/cogl-primitive.h +32 -13
- data/vendor/local/include/cogl/cogl/cogl-primitives.h +20 -13
- data/vendor/local/include/cogl/cogl/cogl-quaternion.h +34 -15
- data/vendor/local/include/cogl/cogl/cogl-renderer.h +33 -15
- data/vendor/local/include/cogl/cogl/cogl-shader.h +20 -13
- data/vendor/local/include/cogl/cogl/cogl-snippet.h +27 -12
- data/vendor/local/include/cogl/cogl/cogl-sub-texture.h +29 -15
- data/vendor/local/include/cogl/cogl/cogl-swap-chain.h +33 -13
- data/vendor/local/include/cogl/cogl/cogl-texture-2d-gl.h +29 -24
- data/vendor/local/include/cogl/cogl/cogl-texture-2d-sliced.h +54 -49
- data/vendor/local/include/cogl/cogl/cogl-texture-2d.h +81 -65
- data/vendor/local/include/cogl/cogl/cogl-texture-3d.h +71 -54
- data/vendor/local/include/cogl/cogl/cogl-texture-deprecated.h +105 -0
- data/vendor/local/include/cogl/cogl/cogl-texture-rectangle.h +61 -48
- data/vendor/local/include/cogl/cogl/cogl-texture.h +157 -241
- data/vendor/local/include/cogl/cogl/cogl-type-casts.h +53 -0
- data/vendor/local/include/cogl/cogl/cogl-types.h +23 -11
- data/vendor/local/include/cogl/cogl/cogl-vector.h +20 -15
- data/vendor/local/include/cogl/cogl/cogl-version.h +28 -12
- data/vendor/local/include/cogl/cogl/cogl-vertex-buffer.h +20 -13
- data/vendor/local/include/cogl/cogl/cogl-win32-renderer.h +18 -13
- data/vendor/local/include/cogl/cogl/cogl.h +61 -22
- data/vendor/local/include/cogl/cogl/cogl1-context.h +20 -434
- data/vendor/local/include/cogl/cogl/cogl2-experimental.h +18 -12
- data/vendor/local/include/cogl/cogl/deprecated/cogl-auto-texture.h +221 -0
- data/vendor/local/include/cogl/cogl/deprecated/cogl-clip-state.h +266 -0
- data/vendor/local/include/cogl/cogl/deprecated/cogl-clutter.h +54 -0
- data/vendor/local/include/cogl/cogl/deprecated/cogl-fixed.h +811 -0
- data/vendor/local/include/cogl/cogl/deprecated/cogl-framebuffer-deprecated.h +264 -0
- data/vendor/local/include/cogl/cogl/deprecated/cogl-material-compat.h +1391 -0
- data/vendor/local/include/cogl/cogl/deprecated/cogl-shader.h +704 -0
- data/vendor/local/include/cogl/cogl/deprecated/cogl-texture-deprecated.h +105 -0
- data/vendor/local/include/cogl/cogl/deprecated/cogl-type-casts.h +53 -0
- data/vendor/local/include/cogl/cogl/deprecated/cogl-vertex-buffer.h +451 -0
- data/vendor/local/include/cogl/cogl/gl-prototypes/cogl-core-functions.h +18 -11
- data/vendor/local/include/cogl/cogl/gl-prototypes/cogl-gles2-functions.h +18 -11
- data/vendor/local/include/cogl/cogl/gl-prototypes/cogl-glsl-functions.h +18 -11
- data/vendor/local/include/cogl/cogl/gl-prototypes/cogl-in-gles-core-functions.h +18 -11
- data/vendor/local/include/cogl/cogl/gl-prototypes/cogl-in-gles2-core-functions.h +18 -11
- data/vendor/local/include/json-glib-1.0/json-glib/json-builder.h +21 -7
- data/vendor/local/include/json-glib-1.0/json-glib/json-enum-types.h +8 -3
- data/vendor/local/include/json-glib-1.0/json-glib/json-generator.h +16 -3
- data/vendor/local/include/json-glib-1.0/json-glib/json-glib.h +1 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-gobject.h +23 -5
- data/vendor/local/include/json-glib-1.0/json-glib/json-gvariant.h +9 -2
- data/vendor/local/include/json-glib-1.0/json-glib/json-parser.h +17 -4
- data/vendor/local/include/json-glib-1.0/json-glib/json-path.h +13 -8
- data/vendor/local/include/json-glib-1.0/json-glib/json-reader.h +28 -7
- data/vendor/local/include/json-glib-1.0/json-glib/json-types.h +97 -12
- data/vendor/local/include/json-glib-1.0/json-glib/json-version-macros.h +135 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-version.h +14 -12
- 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/Cogl-2.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/CoglPango-1.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/CoglPango-2.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 +4 -4
- data/vendor/local/lib/libcogl-pango.dll.a +0 -0
- data/vendor/local/lib/libcogl-pango.la +5 -5
- data/vendor/local/lib/libcogl-path.dll.a +0 -0
- data/vendor/local/lib/libcogl-path.la +41 -0
- data/vendor/local/lib/libcogl.dll.a +0 -0
- data/vendor/local/lib/libcogl.la +5 -5
- data/vendor/local/lib/libjson-glib-1.0.dll.a +0 -0
- data/vendor/local/lib/libjson-glib-1.0.la +3 -3
- data/vendor/local/lib/pkgconfig/cally-1.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/clutter-1.0.pc +2 -2
- data/vendor/local/lib/pkgconfig/clutter-win32-1.0.pc +2 -2
- data/vendor/local/lib/pkgconfig/cogl-1.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/cogl-gl-1.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/cogl-pango-1.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/cogl-pango-2.0-experimental.pc +3 -3
- data/vendor/local/lib/pkgconfig/cogl-path-1.0.pc +13 -0
- data/vendor/local/lib/pkgconfig/cogl-path-2.0-experimental.pc +13 -0
- data/vendor/local/lib/pkgconfig/json-glib-1.0.pc +1 -1
- data/vendor/local/share/gir-1.0/Cally-1.0.gir +4 -2
- data/vendor/local/share/gir-1.0/Clutter-1.0.gir +4527 -1814
- data/vendor/local/share/gir-1.0/Cogl-1.0.gir +1194 -1881
- data/vendor/local/share/gir-1.0/Cogl-2.0.gir +20369 -0
- data/vendor/local/share/gir-1.0/CoglPango-1.0.gir +9 -5
- data/vendor/local/share/gir-1.0/CoglPango-2.0.gir +331 -0
- data/vendor/local/share/gir-1.0/Json-1.0.gir +363 -163
- data/vendor/local/share/gtk-doc/html/cally/CallyActor.html +356 -259
- data/vendor/local/share/gtk-doc/html/cally/CallyClone.html +91 -69
- data/vendor/local/share/gtk-doc/html/cally/CallyGroup.html +89 -71
- data/vendor/local/share/gtk-doc/html/cally/CallyRectangle.html +90 -68
- data/vendor/local/share/gtk-doc/html/cally/CallyRoot.html +72 -59
- data/vendor/local/share/gtk-doc/html/cally/CallyStage.html +92 -70
- data/vendor/local/share/gtk-doc/html/cally/CallyText.html +90 -66
- data/vendor/local/share/gtk-doc/html/cally/CallyTexture.html +90 -68
- data/vendor/local/share/gtk-doc/html/cally/CallyUtil.html +42 -37
- data/vendor/local/share/gtk-doc/html/cally/cally-General-API.html +109 -86
- data/vendor/local/share/gtk-doc/html/cally/cally.devhelp2 +16 -16
- data/vendor/local/share/gtk-doc/html/cally/callyannotationglossary.html +4 -4
- data/vendor/local/share/gtk-doc/html/cally/callybase.html +4 -4
- data/vendor/local/share/gtk-doc/html/cally/callyobjecthierarchy.html +16 -16
- data/vendor/local/share/gtk-doc/html/cally/callyobjectindex.html +4 -4
- data/vendor/local/share/gtk-doc/html/cally/callyobjects.html +4 -4
- data/vendor/local/share/gtk-doc/html/cally/ch01.html +4 -4
- data/vendor/local/share/gtk-doc/html/cally/ch02.html +4 -4
- data/vendor/local/share/gtk-doc/html/cally/clutter-overview.html +4 -4
- data/vendor/local/share/gtk-doc/html/cally/index.html +3 -3
- data/vendor/local/share/gtk-doc/html/cally/index.sgml +47 -29
- data/vendor/local/share/gtk-doc/html/cally/ix01.html +27 -29
- data/vendor/local/share/gtk-doc/html/cally/ix02.html +4 -4
- data/vendor/local/share/gtk-doc/html/cally/ix03.html +25 -27
- data/vendor/local/share/gtk-doc/html/cally/ix04.html +6 -6
- data/vendor/local/share/gtk-doc/html/cally/license.html +4 -4
- data/vendor/local/share/gtk-doc/html/cally/style.css +260 -105
- data/vendor/local/share/gtk-doc/html/clutter/ClutterAction.html +47 -45
- data/vendor/local/share/gtk-doc/html/clutter/ClutterActor.html +11634 -9660
- data/vendor/local/share/gtk-doc/html/clutter/ClutterActorMeta.html +283 -206
- data/vendor/local/share/gtk-doc/html/clutter/ClutterAlignConstraint.html +335 -242
- data/vendor/local/share/gtk-doc/html/clutter/ClutterAlpha.html +595 -523
- data/vendor/local/share/gtk-doc/html/clutter/ClutterAnimatable.html +341 -273
- data/vendor/local/share/gtk-doc/html/clutter/ClutterAnimator.html +995 -804
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBackend.html +583 -432
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviour.html +565 -457
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourDepth.html +207 -169
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourEllipse.html +718 -518
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourOpacity.html +211 -172
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourPath.html +338 -283
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourRotate.html +506 -367
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourScale.html +322 -275
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBinLayout.html +329 -901
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBindConstraint.html +374 -553
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBlurEffect.html +65 -55
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBox.html +491 -419
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBoxLayout.html +1032 -790
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBrightnessContrastEffect.html +316 -243
- data/vendor/local/share/gtk-doc/html/clutter/ClutterCairoTexture.html +613 -755
- data/vendor/local/share/gtk-doc/html/clutter/ClutterCanvas.html +367 -373
- data/vendor/local/share/gtk-doc/html/clutter/ClutterChildMeta.html +181 -144
- data/vendor/local/share/gtk-doc/html/clutter/ClutterClickAction.html +399 -316
- data/vendor/local/share/gtk-doc/html/clutter/ClutterClone.html +177 -135
- data/vendor/local/share/gtk-doc/html/clutter/ClutterColorizeEffect.html +154 -105
- data/vendor/local/share/gtk-doc/html/clutter/ClutterConstraint.html +137 -262
- data/vendor/local/share/gtk-doc/html/clutter/ClutterContainer.html +1119 -851
- data/vendor/local/share/gtk-doc/html/clutter/ClutterContent.html +238 -177
- data/vendor/local/share/gtk-doc/html/clutter/ClutterDeformEffect.html +293 -225
- data/vendor/local/share/gtk-doc/html/clutter/ClutterDesaturateEffect.html +159 -114
- data/vendor/local/share/gtk-doc/html/clutter/ClutterDeviceManager.html +330 -243
- data/vendor/local/share/gtk-doc/html/clutter/ClutterDragAction.html +772 -873
- data/vendor/local/share/gtk-doc/html/clutter/ClutterDropAction.html +304 -766
- data/vendor/local/share/gtk-doc/html/clutter/ClutterEffect.html +353 -267
- data/vendor/local/share/gtk-doc/html/clutter/ClutterFixedLayout.html +70 -57
- data/vendor/local/share/gtk-doc/html/clutter/ClutterFlowLayout.html +646 -825
- data/vendor/local/share/gtk-doc/html/clutter/ClutterGestureAction.html +991 -555
- data/vendor/local/share/gtk-doc/html/clutter/ClutterGridLayout.html +725 -510
- data/vendor/local/share/gtk-doc/html/clutter/ClutterGroup.html +177 -133
- data/vendor/local/share/gtk-doc/html/clutter/ClutterImage.html +380 -512
- data/vendor/local/share/gtk-doc/html/clutter/ClutterInputDevice.html +1252 -962
- data/vendor/local/share/gtk-doc/html/clutter/ClutterKeyframeTransition.html +414 -320
- data/vendor/local/share/gtk-doc/html/clutter/ClutterLayoutManager.html +830 -923
- data/vendor/local/share/gtk-doc/html/clutter/ClutterLayoutMeta.html +118 -87
- data/vendor/local/share/gtk-doc/html/clutter/ClutterListModel.html +144 -130
- data/vendor/local/share/gtk-doc/html/clutter/ClutterMedia.html +742 -586
- data/vendor/local/share/gtk-doc/html/clutter/ClutterModel.html +1398 -1058
- data/vendor/local/share/gtk-doc/html/clutter/ClutterModelIter.html +563 -425
- data/vendor/local/share/gtk-doc/html/clutter/ClutterOffscreenEffect.html +322 -265
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPageTurnEffect.html +292 -194
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPaintNode.html +473 -333
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPanAction.html +653 -489
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPath.html +1107 -855
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPathConstraint.html +277 -188
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPropertyTransition.html +178 -130
- data/vendor/local/share/gtk-doc/html/clutter/ClutterRectangle.html +334 -216
- data/vendor/local/share/gtk-doc/html/clutter/ClutterRotateAction.html +131 -95
- data/vendor/local/share/gtk-doc/html/clutter/ClutterScore.html +709 -569
- data/vendor/local/share/gtk-doc/html/clutter/ClutterScript.html +958 -899
- data/vendor/local/share/gtk-doc/html/clutter/ClutterScriptable.html +242 -186
- data/vendor/local/share/gtk-doc/html/clutter/ClutterScrollActor.html +263 -606
- data/vendor/local/share/gtk-doc/html/clutter/ClutterSettings.html +243 -165
- data/vendor/local/share/gtk-doc/html/clutter/ClutterShaderEffect.html +469 -368
- data/vendor/local/share/gtk-doc/html/clutter/ClutterSnapConstraint.html +353 -245
- data/vendor/local/share/gtk-doc/html/clutter/ClutterStage.html +1967 -1513
- data/vendor/local/share/gtk-doc/html/clutter/ClutterState.html +1273 -1005
- data/vendor/local/share/gtk-doc/html/clutter/ClutterSwipeAction.html +200 -144
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTableLayout.html +995 -745
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTapAction.html +123 -93
- data/vendor/local/share/gtk-doc/html/clutter/ClutterText.html +2742 -1997
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTextBuffer.html +647 -474
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTexture.html +1482 -1223
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTimeline.html +2161 -1735
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTransition.html +496 -383
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTransitionGroup.html +175 -135
- data/vendor/local/share/gtk-doc/html/clutter/ClutterZoomAction.html +313 -236
- data/vendor/local/share/gtk-doc/html/clutter/annotation-glossary.html +29 -13
- data/vendor/local/share/gtk-doc/html/clutter/building-clutter.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/ch01.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/ch02.html +4 -7
- data/vendor/local/share/gtk-doc/html/clutter/ch03.html +4 -8
- data/vendor/local/share/gtk-doc/html/clutter/ch04.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/ch05.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/ch06.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/ch07.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/ch08.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/ch09.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/ch10.html +5 -5
- data/vendor/local/share/gtk-doc/html/clutter/ch11.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/ch12.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Base-geometric-types.html +3059 -2295
- data/vendor/local/share/gtk-doc/html/clutter/clutter-ClutterGLXTexturePixmap.html +181 -137
- data/vendor/local/share/gtk-doc/html/clutter/clutter-ClutterWaylandSurface.html +340 -197
- data/vendor/local/share/gtk-doc/html/clutter/clutter-ClutterX11TexturePixmap.html +306 -222
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Colors.html +1272 -988
- data/vendor/local/share/gtk-doc/html/clutter/clutter-EGL-Specific-Support.html +154 -69
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Events.html +2714 -1972
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Features.html +151 -116
- data/vendor/local/share/gtk-doc/html/clutter/clutter-GDK-Specific-Support.html +205 -154
- data/vendor/local/share/gtk-doc/html/clutter/clutter-General.html +1455 -1890
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Implicit-Animations.html +1449 -1804
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Intel-CE3100-CE4100-Specific-Support.html +134 -112
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Key-Bindings.html +625 -520
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Paint-Nodes.html +302 -239
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Shaders.html +872 -637
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Stage-Manager.html +293 -213
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Unit-conversion.html +674 -508
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Utilities.html +454 -339
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Value-intervals.html +816 -623
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Versioning-Macros.html +346 -302
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Wayland-compositor-specific-support.html +60 -34
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Wayland-specific-support.html +200 -170
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Win32-Specific-Support.html +162 -119
- data/vendor/local/share/gtk-doc/html/clutter/clutter-X11-Specific-Support.html +678 -565
- data/vendor/local/share/gtk-doc/html/clutter/clutter-overview.html +5 -5
- data/vendor/local/share/gtk-doc/html/clutter/clutter.devhelp2 +1937 -2272
- data/vendor/local/share/gtk-doc/html/clutter/clutteranimation.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/clutterbackends.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/clutterbase.html +4 -11
- data/vendor/local/share/gtk-doc/html/clutter/clutterglossary.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/clutterobjecthierarchy.html +87 -87
- data/vendor/local/share/gtk-doc/html/clutter/clutterobjectindex.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/clutterobjects.html +6 -6
- data/vendor/local/share/gtk-doc/html/clutter/cluttertools.html +5 -5
- data/vendor/local/share/gtk-doc/html/clutter/deprecated.html +11 -4
- data/vendor/local/share/gtk-doc/html/clutter/go01.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/index.html +11 -11
- data/vendor/local/share/gtk-doc/html/clutter/index.sgml +842 -978
- data/vendor/local/share/gtk-doc/html/clutter/iterating-paths.html +7 -7
- data/vendor/local/share/gtk-doc/html/clutter/ix01.html +2005 -1923
- data/vendor/local/share/gtk-doc/html/clutter/ix02.html +663 -470
- data/vendor/local/share/gtk-doc/html/clutter/ix03.html +83 -85
- data/vendor/local/share/gtk-doc/html/clutter/ix04.html +122 -124
- data/vendor/local/share/gtk-doc/html/clutter/ix05.html +217 -219
- data/vendor/local/share/gtk-doc/html/clutter/ix06.html +148 -150
- data/vendor/local/share/gtk-doc/html/clutter/ix07.html +349 -351
- data/vendor/local/share/gtk-doc/html/clutter/ix08.html +177 -179
- data/vendor/local/share/gtk-doc/html/clutter/ix09.html +214 -216
- data/vendor/local/share/gtk-doc/html/clutter/ix10.html +83 -85
- data/vendor/local/share/gtk-doc/html/clutter/ix11.html +80 -82
- data/vendor/local/share/gtk-doc/html/clutter/ix12.html +219 -221
- data/vendor/local/share/gtk-doc/html/clutter/ix13.html +212 -214
- data/vendor/local/share/gtk-doc/html/clutter/ix14.html +22 -32
- data/vendor/local/share/gtk-doc/html/clutter/license.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/migrating-ClutterAnimation.html +16 -16
- data/vendor/local/share/gtk-doc/html/clutter/migrating-ClutterBehaviour.html +15 -15
- data/vendor/local/share/gtk-doc/html/clutter/migrating-ClutterEffect.html +17 -17
- data/vendor/local/share/gtk-doc/html/clutter/migrating-ClutterPath.html +11 -12
- data/vendor/local/share/gtk-doc/html/clutter/migration.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/pt09.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/running-clutter.html +9 -4
- data/vendor/local/share/gtk-doc/html/clutter/style.css +260 -105
- data/vendor/local/share/gtk-doc/html/clutter/using-cairo.html +6 -6
- data/vendor/local/share/gtk-doc/html/json-glib/JsonBuilder.html +513 -392
- data/vendor/local/share/gtk-doc/html/json-glib/JsonGenerator.html +479 -347
- data/vendor/local/share/gtk-doc/html/json-glib/JsonParser.html +804 -600
- data/vendor/local/share/gtk-doc/html/json-glib/JsonPath.html +395 -362
- data/vendor/local/share/gtk-doc/html/json-glib/JsonReader.html +788 -609
- data/vendor/local/share/gtk-doc/html/json-glib/annotation-glossary.html +32 -43
- data/vendor/local/share/gtk-doc/html/json-glib/ch01.html +9 -9
- data/vendor/local/share/gtk-doc/html/json-glib/ch02.html +9 -9
- data/vendor/local/share/gtk-doc/html/json-glib/ch03.html +9 -9
- data/vendor/local/share/gtk-doc/html/json-glib/ch05.html +40 -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 +15 -6
- data/vendor/local/share/gtk-doc/html/json-glib/index.sgml +82 -73
- data/vendor/local/share/gtk-doc/html/json-glib/ix01.html +230 -227
- data/vendor/local/share/gtk-doc/html/json-glib/ix02.html +17 -22
- data/vendor/local/share/gtk-doc/html/json-glib/ix03.html +20 -25
- data/vendor/local/share/gtk-doc/html/json-glib/ix04.html +17 -22
- data/vendor/local/share/gtk-doc/html/json-glib/ix05.html +50 -55
- data/vendor/local/share/gtk-doc/html/json-glib/ix06.html +30 -35
- data/vendor/local/share/gtk-doc/html/json-glib/ix07.html +39 -44
- data/vendor/local/share/gtk-doc/html/json-glib/ix08.html +35 -40
- data/vendor/local/share/gtk-doc/html/json-glib/json-advanced.html +12 -9
- data/vendor/local/share/gtk-doc/html/json-glib/json-base.html +9 -9
- data/vendor/local/share/gtk-doc/html/json-glib/json-format-tool.html +84 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-Boxed-Types-Serialization.html +306 -221
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-GObject-Serialization.html +261 -204
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-Array.html +843 -583
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-GVariant-Integration.html +223 -199
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-Node.html +1327 -912
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-Object.html +986 -694
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-Serializable-Interface.html +386 -301
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-Versioning-information.html +151 -87
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib.devhelp2 +204 -218
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib.html +9 -9
- data/vendor/local/share/gtk-doc/html/json-glib/json-streams.html +9 -9
- data/vendor/local/share/gtk-doc/html/json-glib/json-tools.html +19 -13
- data/vendor/local/share/gtk-doc/html/json-glib/json-validate-tool.html +72 -0
- data/vendor/local/share/gtk-doc/html/json-glib/left-insensitive.png +0 -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 +9 -9
- data/vendor/local/share/gtk-doc/html/json-glib/right-insensitive.png +0 -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 +314 -104
- data/vendor/local/share/gtk-doc/html/json-glib/tools.html +38 -0
- data/vendor/local/share/gtk-doc/html/json-glib/up-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/json-glib/up.png +0 -0
- data/vendor/local/share/license/cogl/COPYING +107 -502
- data/vendor/local/share/locale/an/LC_MESSAGES/clutter-1.0.mo +0 -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/as/LC_MESSAGES/json-glib-1.0.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/bg/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/bn_IN/LC_MESSAGES/json-glib-1.0.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/LC_MESSAGES/json-glib-1.0.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/ca@valencia/LC_MESSAGES/json-glib-1.0.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/da/LC_MESSAGES/json-glib-1.0.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/en_GB/LC_MESSAGES/json-glib-1.0.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/eo/LC_MESSAGES/json-glib-1.0.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/et/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/eu/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/eu/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/eu/LC_MESSAGES/json-glib-1.0.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/fr/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/fur/LC_MESSAGES/json-glib-1.0.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/he/LC_MESSAGES/json-glib-1.0.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/hi/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/json-glib-1.0.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/ja/LC_MESSAGES/json-glib-1.0.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/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ko/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/ko/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/ky/LC_MESSAGES/json-glib-1.0.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/lt/LC_MESSAGES/json-glib-1.0.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/lv/LC_MESSAGES/json-glib-1.0.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/ml/LC_MESSAGES/json-glib-1.0.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/or/LC_MESSAGES/json-glib-1.0.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/LC_MESSAGES/json-glib-1.0.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/sk/LC_MESSAGES/json-glib-1.0.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/LC_MESSAGES/json-glib-1.0.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/sr@latin/LC_MESSAGES/json-glib-1.0.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/te/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/tg/LC_MESSAGES/json-glib-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/ug/LC_MESSAGES/json-glib-1.0.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/uk/LC_MESSAGES/json-glib-1.0.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_CN/LC_MESSAGES/json-glib-1.0.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_HK/LC_MESSAGES/json-glib-1.0.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
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/man/man1/json-glib-format.1 +60 -0
- data/vendor/local/share/man/man1/json-glib-validate.1 +56 -0
- metadata +66 -27
- data/vendor/local/bin/libcogl-pango-15.dll +0 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ch04.html +0 -38
@@ -8,23 +8,18 @@
|
|
8
8
|
<link rel="up" href="ch07.html" title="Content">
|
9
9
|
<link rel="prev" href="ch07.html" title="Content">
|
10
10
|
<link rel="next" href="ClutterImage.html" title="ClutterImage">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.20.1 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
</head>
|
14
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="
|
16
|
-
<td width="100%" align="left">
|
17
|
-
<a href="#" class="shortcut">Top</a>
|
18
|
-
|
19
|
-
<a href="#ClutterCanvas.
|
20
|
-
|
21
|
-
<a href="#ClutterCanvas.
|
22
|
-
|
23
|
-
<a href="#ClutterCanvas.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
|
24
|
-
|
|
25
|
-
<a href="#ClutterCanvas.properties" class="shortcut">Properties</a>
|
26
|
-
|
|
27
|
-
<a href="#ClutterCanvas.signals" class="shortcut">Signals</a>
|
15
|
+
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
|
16
|
+
<td width="100%" align="left" class="shortcuts">
|
17
|
+
<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
|
18
|
+
<a href="#ClutterCanvas.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span>
|
19
|
+
<a href="#ClutterCanvas.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_interfaces"> <span class="dim">|</span>
|
20
|
+
<a href="#ClutterCanvas.implemented-interfaces" class="shortcut">Implemented Interfaces</a></span><span id="nav_properties"> <span class="dim">|</span>
|
21
|
+
<a href="#ClutterCanvas.properties" class="shortcut">Properties</a></span><span id="nav_signals"> <span class="dim">|</span>
|
22
|
+
<a href="#ClutterCanvas.signals" class="shortcut">Signals</a></span>
|
28
23
|
</td>
|
29
24
|
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
30
25
|
<td><a accesskey="u" href="ch07.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
@@ -38,325 +33,175 @@
|
|
38
33
|
<h2><span class="refentrytitle"><a name="ClutterCanvas.top_of_page"></a>ClutterCanvas</span></h2>
|
39
34
|
<p>ClutterCanvas — Content for 2D painting</p>
|
40
35
|
</td>
|
41
|
-
<td valign="top" align="right"></td>
|
36
|
+
<td class="gallery_image" valign="top" align="right"></td>
|
42
37
|
</tr></table></div>
|
43
|
-
<div class="
|
44
|
-
<a name="ClutterCanvas.
|
45
|
-
<
|
46
|
-
|
47
|
-
<
|
48
|
-
<
|
49
|
-
|
50
|
-
|
51
|
-
|
38
|
+
<div class="refsect1">
|
39
|
+
<a name="ClutterCanvas.functions"></a><h2>Functions</h2>
|
40
|
+
<div class="informaltable"><table width="100%" border="0">
|
41
|
+
<colgroup>
|
42
|
+
<col width="150px" class="functions_return">
|
43
|
+
<col class="functions_name">
|
44
|
+
</colgroup>
|
45
|
+
<tbody>
|
46
|
+
<tr>
|
47
|
+
<td class="function_type">
|
48
|
+
<a class="link" href="ClutterContent.html" title="ClutterContent"><span class="returnvalue">ClutterContent</span></a> *
|
49
|
+
</td>
|
50
|
+
<td class="function_name">
|
51
|
+
<a class="link" href="ClutterCanvas.html#clutter-canvas-new" title="clutter_canvas_new ()">clutter_canvas_new</a> <span class="c_punctuation">()</span>
|
52
|
+
</td>
|
53
|
+
</tr>
|
54
|
+
<tr>
|
55
|
+
<td class="function_type">
|
56
|
+
<span class="returnvalue">gboolean</span>
|
57
|
+
</td>
|
58
|
+
<td class="function_name">
|
59
|
+
<a class="link" href="ClutterCanvas.html#clutter-canvas-set-size" title="clutter_canvas_set_size ()">clutter_canvas_set_size</a> <span class="c_punctuation">()</span>
|
60
|
+
</td>
|
61
|
+
</tr>
|
62
|
+
<tr>
|
63
|
+
<td class="function_type">
|
64
|
+
<span class="returnvalue">void</span>
|
65
|
+
</td>
|
66
|
+
<td class="function_name">
|
67
|
+
<a class="link" href="ClutterCanvas.html#clutter-canvas-set-scale-factor" title="clutter_canvas_set_scale_factor ()">clutter_canvas_set_scale_factor</a> <span class="c_punctuation">()</span>
|
68
|
+
</td>
|
69
|
+
</tr>
|
70
|
+
<tr>
|
71
|
+
<td class="function_type">
|
72
|
+
<span class="returnvalue">int</span>
|
73
|
+
</td>
|
74
|
+
<td class="function_name">
|
75
|
+
<a class="link" href="ClutterCanvas.html#clutter-canvas-get-scale-factor" title="clutter_canvas_get_scale_factor ()">clutter_canvas_get_scale_factor</a> <span class="c_punctuation">()</span>
|
76
|
+
</td>
|
77
|
+
</tr>
|
78
|
+
</tbody>
|
79
|
+
</table></div>
|
52
80
|
</div>
|
53
81
|
<div class="refsect1">
|
54
|
-
<a name="ClutterCanvas.
|
55
|
-
<
|
56
|
-
|
57
|
-
|
58
|
-
|
82
|
+
<a name="ClutterCanvas.properties"></a><h2>Properties</h2>
|
83
|
+
<div class="informaltable"><table border="0">
|
84
|
+
<colgroup>
|
85
|
+
<col width="150px" class="properties_type">
|
86
|
+
<col width="300px" class="properties_name">
|
87
|
+
<col width="200px" class="properties_flags">
|
88
|
+
</colgroup>
|
89
|
+
<tbody>
|
90
|
+
<tr>
|
91
|
+
<td class="property_type"><span class="type">gint</span></td>
|
92
|
+
<td class="property_name"><a class="link" href="ClutterCanvas.html#ClutterCanvas--height" title="The “height” property">height</a></td>
|
93
|
+
<td class="property_flags">Read / Write</td>
|
94
|
+
</tr>
|
95
|
+
<tr>
|
96
|
+
<td class="property_type"><span class="type">gint</span></td>
|
97
|
+
<td class="property_name"><a class="link" href="ClutterCanvas.html#ClutterCanvas--scale-factor" title="The “scale-factor” property">scale-factor</a></td>
|
98
|
+
<td class="property_flags">Read / Write</td>
|
99
|
+
</tr>
|
100
|
+
<tr>
|
101
|
+
<td class="property_type"><span class="type">gboolean</span></td>
|
102
|
+
<td class="property_name"><a class="link" href="ClutterCanvas.html#ClutterCanvas--scale-factor-set" title="The “scale-factor-set” property">scale-factor-set</a></td>
|
103
|
+
<td class="property_flags">Read</td>
|
104
|
+
</tr>
|
105
|
+
<tr>
|
106
|
+
<td class="property_type"><span class="type">gint</span></td>
|
107
|
+
<td class="property_name"><a class="link" href="ClutterCanvas.html#ClutterCanvas--width" title="The “width” property">width</a></td>
|
108
|
+
<td class="property_flags">Read / Write</td>
|
109
|
+
</tr>
|
110
|
+
</tbody>
|
111
|
+
</table></div>
|
59
112
|
</div>
|
60
113
|
<div class="refsect1">
|
61
|
-
<a name="ClutterCanvas.
|
62
|
-
<
|
63
|
-
|
64
|
-
|
114
|
+
<a name="ClutterCanvas.signals"></a><h2>Signals</h2>
|
115
|
+
<div class="informaltable"><table border="0">
|
116
|
+
<colgroup>
|
117
|
+
<col width="150px" class="signals_return">
|
118
|
+
<col width="300px" class="signals_name">
|
119
|
+
<col width="200px" class="signals_flags">
|
120
|
+
</colgroup>
|
121
|
+
<tbody><tr>
|
122
|
+
<td class="signal_type"><span class="returnvalue">gboolean</span></td>
|
123
|
+
<td class="signal_name"><a class="link" href="ClutterCanvas.html#ClutterCanvas-draw" title="The “draw” signal">draw</a></td>
|
124
|
+
<td class="signal_flags">No Recursion</td>
|
125
|
+
</tr></tbody>
|
126
|
+
</table></div>
|
65
127
|
</div>
|
66
128
|
<div class="refsect1">
|
67
|
-
<a name="ClutterCanvas.
|
68
|
-
<
|
69
|
-
|
70
|
-
|
71
|
-
|
129
|
+
<a name="ClutterCanvas.other"></a><h2>Types and Values</h2>
|
130
|
+
<div class="informaltable"><table width="100%" border="0">
|
131
|
+
<colgroup>
|
132
|
+
<col width="150px" class="name">
|
133
|
+
<col class="description">
|
134
|
+
</colgroup>
|
135
|
+
<tbody>
|
136
|
+
<tr>
|
137
|
+
<td class="datatype_keyword">struct</td>
|
138
|
+
<td class="function_name"><a class="link" href="ClutterCanvas.html#ClutterCanvas-struct" title="struct ClutterCanvas">ClutterCanvas</a></td>
|
139
|
+
</tr>
|
140
|
+
<tr>
|
141
|
+
<td class="datatype_keyword">struct</td>
|
142
|
+
<td class="function_name"><a class="link" href="ClutterCanvas.html#ClutterCanvasClass" title="struct ClutterCanvasClass">ClutterCanvasClass</a></td>
|
143
|
+
</tr>
|
144
|
+
</tbody>
|
145
|
+
</table></div>
|
72
146
|
</div>
|
73
147
|
<div class="refsect1">
|
74
|
-
<a name="ClutterCanvas.
|
75
|
-
<pre class="
|
76
|
-
|
148
|
+
<a name="ClutterCanvas.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
149
|
+
<pre class="screen"> GObject
|
150
|
+
<span class="lineart">╰──</span> ClutterCanvas
|
77
151
|
</pre>
|
78
152
|
</div>
|
79
153
|
<div class="refsect1">
|
80
|
-
<a name="ClutterCanvas.
|
81
|
-
<p>
|
82
|
-
The <a class="link" href="ClutterCanvas.html" title="ClutterCanvas"><span class="type">ClutterCanvas</span></a> class is a <a class="link" href="ClutterContent.html" title="ClutterContent"><span class="type">ClutterContent</span></a> implementation that allows
|
83
|
-
drawing using the Cairo API on a 2D surface.
|
84
|
-
</p>
|
85
|
-
<p>
|
86
|
-
In order to draw on a <a class="link" href="ClutterCanvas.html" title="ClutterCanvas"><span class="type">ClutterCanvas</span></a>, you should connect a handler to the
|
87
|
-
<a class="link" href="ClutterCanvas.html#ClutterCanvas-draw" title='The "draw" signal'><span class="type">"draw"</span></a> signal; the signal will receive a <a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-t"><span class="type">cairo_t</span></a> context
|
88
|
-
that can be used to draw. <a class="link" href="ClutterCanvas.html" title="ClutterCanvas"><span class="type">ClutterCanvas</span></a> will emit the <a class="link" href="ClutterCanvas.html#ClutterCanvas-draw" title='The "draw" signal'><span class="type">"draw"</span></a>
|
89
|
-
signal when invalidated using <a class="link" href="ClutterContent.html#clutter-content-invalidate" title="clutter_content_invalidate ()"><code class="function">clutter_content_invalidate()</code></a>.
|
90
|
-
</p>
|
91
|
-
<p>
|
92
|
-
</p>
|
93
|
-
<div class="informalexample">
|
94
|
-
<a name="canvas-example"></a><pre class="programlisting">
|
95
|
-
#include <stdlib.h>
|
96
|
-
#include <math.h>
|
97
|
-
#include <cairo.h>
|
98
|
-
#include <clutter/clutter.h>
|
99
|
-
|
100
|
-
static gboolean
|
101
|
-
draw_clock (ClutterCanvas *canvas,
|
102
|
-
cairo_t *cr,
|
103
|
-
int width,
|
104
|
-
int height)
|
105
|
-
{
|
106
|
-
GDateTime *now;
|
107
|
-
float hours, minutes, seconds;
|
108
|
-
ClutterColor color;
|
109
|
-
|
110
|
-
/* get the current time and compute the angles */
|
111
|
-
now = g_date_time_new_now_local ();
|
112
|
-
seconds = g_date_time_get_second (now) * G_PI / 30;
|
113
|
-
minutes = g_date_time_get_minute (now) * G_PI / 30;
|
114
|
-
hours = g_date_time_get_hour (now) * G_PI / 6;
|
115
|
-
|
116
|
-
cairo_save (cr);
|
117
|
-
|
118
|
-
/* clear the contents of the canvas, to avoid painting
|
119
|
-
* over the previous frame
|
120
|
-
*/
|
121
|
-
cairo_set_operator (cr, CAIRO_OPERATOR_CLEAR);
|
122
|
-
cairo_paint (cr);
|
123
|
-
|
124
|
-
cairo_restore (cr);
|
125
|
-
|
126
|
-
cairo_set_operator (cr, CAIRO_OPERATOR_OVER);
|
127
|
-
|
128
|
-
/* scale the modelview to the size of the surface */
|
129
|
-
cairo_scale (cr, width, height);
|
130
|
-
|
131
|
-
cairo_set_line_cap (cr, CAIRO_LINE_CAP_ROUND);
|
132
|
-
cairo_set_line_width (cr, 0.1);
|
133
|
-
|
134
|
-
/* the black rail that holds the seconds indicator */
|
135
|
-
clutter_cairo_set_source_color (cr, CLUTTER_COLOR_Black);
|
136
|
-
cairo_translate (cr, 0.5, 0.5);
|
137
|
-
cairo_arc (cr, 0, 0, 0.4, 0, G_PI * 2);
|
138
|
-
cairo_stroke (cr);
|
139
|
-
|
140
|
-
/* the seconds indicator */
|
141
|
-
color = *CLUTTER_COLOR_White;
|
142
|
-
color.alpha = 128;
|
143
|
-
clutter_cairo_set_source_color (cr, &color);
|
144
|
-
cairo_move_to (cr, 0, 0);
|
145
|
-
cairo_arc (cr, sinf (seconds) * 0.4, - cosf (seconds) * 0.4, 0.05, 0, G_PI * 2);
|
146
|
-
cairo_fill (cr);
|
147
|
-
|
148
|
-
/* the minutes hand */
|
149
|
-
color = *CLUTTER_COLOR_DarkChameleon;
|
150
|
-
color.alpha = 196;
|
151
|
-
clutter_cairo_set_source_color (cr, &color);
|
152
|
-
cairo_move_to (cr, 0, 0);
|
153
|
-
cairo_line_to (cr, sinf (minutes) * 0.4, -cosf (minutes) * 0.4);
|
154
|
-
cairo_stroke (cr);
|
155
|
-
|
156
|
-
/* the hours hand */
|
157
|
-
cairo_move_to (cr, 0, 0);
|
158
|
-
cairo_line_to (cr, sinf (hours) * 0.2, -cosf (hours) * 0.2);
|
159
|
-
cairo_stroke (cr);
|
160
|
-
|
161
|
-
g_date_time_unref (now);
|
162
|
-
|
163
|
-
/* we're done drawing */
|
164
|
-
return TRUE;
|
165
|
-
}
|
166
|
-
|
167
|
-
static gboolean
|
168
|
-
invalidate_clock (gpointer data_)
|
169
|
-
{
|
170
|
-
/* invalidate the contents of the canvas */
|
171
|
-
clutter_content_invalidate (data_);
|
172
|
-
|
173
|
-
/* keep the timeout source */
|
174
|
-
return G_SOURCE_CONTINUE;
|
175
|
-
}
|
176
|
-
|
177
|
-
static guint idle_resize_id;
|
178
|
-
|
179
|
-
static gboolean
|
180
|
-
idle_resize (gpointer data)
|
181
|
-
{
|
182
|
-
ClutterActor *actor = data;
|
183
|
-
float width, height;
|
184
|
-
|
185
|
-
/* match the canvas size to the actor's */
|
186
|
-
clutter_actor_get_size (actor, &width, &height);
|
187
|
-
clutter_canvas_set_size (CLUTTER_CANVAS (clutter_actor_get_content (actor)),
|
188
|
-
ceilf (width),
|
189
|
-
ceilf (height));
|
190
|
-
|
191
|
-
/* unset the guard */
|
192
|
-
idle_resize_id = 0;
|
193
|
-
|
194
|
-
/* remove the timeout */
|
195
|
-
return G_SOURCE_REMOVE;
|
196
|
-
}
|
197
|
-
|
198
|
-
static void
|
199
|
-
on_actor_resize (ClutterActor *actor,
|
200
|
-
const ClutterActorBox *allocation,
|
201
|
-
ClutterAllocationFlags flags,
|
202
|
-
gpointer user_data)
|
203
|
-
{
|
204
|
-
/* throttle multiple actor allocations to one canvas resize; we use a guard
|
205
|
-
* variable to avoid queueing multiple resize operations
|
206
|
-
*/
|
207
|
-
if (idle_resize_id == 0)
|
208
|
-
idle_resize_id = clutter_threads_add_timeout (1000, idle_resize, actor);
|
209
|
-
}
|
210
|
-
|
211
|
-
int
|
212
|
-
main (int argc, char *argv[])
|
213
|
-
{
|
214
|
-
ClutterActor *stage, *actor;
|
215
|
-
ClutterContent *canvas;
|
216
|
-
|
217
|
-
/* initialize Clutter */
|
218
|
-
if (clutter_init (&argc, &argv) != CLUTTER_INIT_SUCCESS)
|
219
|
-
return EXIT_FAILURE;
|
220
|
-
|
221
|
-
/* create a resizable stage */
|
222
|
-
stage = clutter_stage_new ();
|
223
|
-
clutter_stage_set_title (CLUTTER_STAGE (stage), "2D Clock");
|
224
|
-
clutter_stage_set_user_resizable (CLUTTER_STAGE (stage), TRUE);
|
225
|
-
clutter_actor_set_background_color (stage, CLUTTER_COLOR_LightSkyBlue);
|
226
|
-
clutter_actor_set_size (stage, 300, 300);
|
227
|
-
clutter_actor_show (stage);
|
228
|
-
|
229
|
-
/* our 2D canvas, courtesy of Cairo */
|
230
|
-
canvas = clutter_canvas_new ();
|
231
|
-
clutter_canvas_set_size (CLUTTER_CANVAS (canvas), 300, 300);
|
232
|
-
|
233
|
-
actor = clutter_actor_new ();
|
234
|
-
clutter_actor_set_content (actor, canvas);
|
235
|
-
clutter_actor_set_content_scaling_filters (actor,
|
236
|
-
CLUTTER_SCALING_FILTER_TRILINEAR,
|
237
|
-
CLUTTER_SCALING_FILTER_LINEAR);
|
238
|
-
clutter_actor_add_child (stage, actor);
|
239
|
-
|
240
|
-
/* the actor now owns the canvas */
|
241
|
-
g_object_unref (canvas);
|
242
|
-
|
243
|
-
/* bind the size of the actor to that of the stage */
|
244
|
-
clutter_actor_add_constraint (actor, clutter_bind_constraint_new (stage, CLUTTER_BIND_SIZE, 0));
|
245
|
-
|
246
|
-
/* resize the canvas whenever the actor changes size */
|
247
|
-
g_signal_connect (actor, "allocation-changed", G_CALLBACK (on_actor_resize), NULL);
|
248
|
-
|
249
|
-
/* quit on destroy */
|
250
|
-
g_signal_connect (stage, "destroy", G_CALLBACK (clutter_main_quit), NULL);
|
251
|
-
|
252
|
-
/* connect our drawing code */
|
253
|
-
g_signal_connect (canvas, "draw", G_CALLBACK (draw_clock), NULL);
|
254
|
-
|
255
|
-
/* invalidate the canvas, so that we can draw before the main loop starts */
|
256
|
-
clutter_content_invalidate (canvas);
|
257
|
-
|
258
|
-
/* set up a timer that invalidates the canvas every second */
|
259
|
-
clutter_threads_add_timeout (1000, invalidate_clock, canvas);
|
260
|
-
|
261
|
-
clutter_main ();
|
262
|
-
|
263
|
-
return EXIT_SUCCESS;
|
264
|
-
}
|
265
|
-
|
266
|
-
</pre>
|
267
|
-
</div>
|
268
|
-
<p>
|
269
|
-
</p>
|
154
|
+
<a name="ClutterCanvas.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
|
270
155
|
<p>
|
271
|
-
|
272
|
-
</p>
|
156
|
+
ClutterCanvas implements
|
157
|
+
<a class="link" href="ClutterContent.html" title="ClutterContent">ClutterContent</a>.</p>
|
273
158
|
</div>
|
274
159
|
<div class="refsect1">
|
275
|
-
<a name="ClutterCanvas.
|
276
|
-
<
|
277
|
-
|
278
|
-
<
|
279
|
-
<
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
</p>
|
284
|
-
<p class="
|
160
|
+
<a name="ClutterCanvas.description"></a><h2>Description</h2>
|
161
|
+
<p>The <a class="link" href="ClutterCanvas.html" title="ClutterCanvas"><span class="type">ClutterCanvas</span></a> class is a <a class="link" href="ClutterContent.html" title="ClutterContent"><span class="type">ClutterContent</span></a> implementation that allows
|
162
|
+
drawing using the Cairo API on a 2D surface.</p>
|
163
|
+
<p>In order to draw on a <a class="link" href="ClutterCanvas.html" title="ClutterCanvas"><span class="type">ClutterCanvas</span></a>, you should connect a handler to the
|
164
|
+
<a class="link" href="ClutterCanvas.html#ClutterCanvas-draw" title="The “draw” signal"><span class="type">“draw”</span></a> signal; the signal will receive a <span class="type">cairo_t</span> context
|
165
|
+
that can be used to draw. <a class="link" href="ClutterCanvas.html" title="ClutterCanvas"><span class="type">ClutterCanvas</span></a> will emit the <a class="link" href="ClutterCanvas.html#ClutterCanvas-draw" title="The “draw” signal"><span class="type">“draw”</span></a>
|
166
|
+
signal when invalidated using <a class="link" href="ClutterContent.html#clutter-content-invalidate" title="clutter_content_invalidate ()"><code class="function">clutter_content_invalidate()</code></a>.</p>
|
167
|
+
<p>See <a class="ulink" href="https://git.gnome.org/browse/clutter/tree/examples/canvas.c?h=clutter-1.18" target="_top">canvas.c</a>
|
168
|
+
for an example of how to use <a class="link" href="ClutterCanvas.html" title="ClutterCanvas"><span class="type">ClutterCanvas</span></a>.</p>
|
169
|
+
<p><a class="link" href="ClutterCanvas.html" title="ClutterCanvas"><span class="type">ClutterCanvas</span></a> is available since Clutter 1.10.</p>
|
285
170
|
</div>
|
286
|
-
<
|
171
|
+
<div class="refsect1">
|
172
|
+
<a name="ClutterCanvas.functions_details"></a><h2>Functions</h2>
|
287
173
|
<div class="refsect2">
|
288
|
-
<a name="
|
289
|
-
<pre class="programlisting"
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
<
|
297
|
-
The
|
298
|
-
|
299
|
-
</p>
|
300
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
301
|
-
<colgroup>
|
302
|
-
<col align="left" valign="top">
|
303
|
-
<col>
|
304
|
-
</colgroup>
|
305
|
-
<tbody><tr>
|
306
|
-
<td><p><span class="term"><em class="structfield"><code><a name="ClutterCanvasClass.draw"></a>draw</code></em> ()</span></p></td>
|
307
|
-
<td>class handler for the <a class="link" href="ClutterCanvas.html#ClutterCanvas-draw" title='The "draw" signal'><span class="type">"draw"</span></a> signal</td>
|
308
|
-
</tr></tbody>
|
309
|
-
</table></div>
|
310
|
-
<p class="since">Since 1.10</p>
|
174
|
+
<a name="clutter-canvas-new"></a><h3>clutter_canvas_new ()</h3>
|
175
|
+
<pre class="programlisting"><a class="link" href="ClutterContent.html" title="ClutterContent"><span class="returnvalue">ClutterContent</span></a> *
|
176
|
+
clutter_canvas_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
177
|
+
<p>Creates a new instance of <a class="link" href="ClutterCanvas.html" title="ClutterCanvas"><span class="type">ClutterCanvas</span></a>.</p>
|
178
|
+
<p>You should call <a class="link" href="ClutterCanvas.html#clutter-canvas-set-size" title="clutter_canvas_set_size ()"><code class="function">clutter_canvas_set_size()</code></a> to set the size of the canvas.</p>
|
179
|
+
<p>You should call <a class="link" href="ClutterContent.html#clutter-content-invalidate" title="clutter_content_invalidate ()"><code class="function">clutter_content_invalidate()</code></a> every time you wish to
|
180
|
+
draw the contents of the canvas.</p>
|
181
|
+
<div class="refsect3">
|
182
|
+
<a name="id-1.5.8.2.10.2.7"></a><h4>Returns</h4>
|
183
|
+
<p> The newly allocated instance of
|
184
|
+
<a class="link" href="ClutterCanvas.html" title="ClutterCanvas"><span class="type">ClutterCanvas</span></a>. Use <code class="function">g_object_unref()</code> when done. </p>
|
185
|
+
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
311
186
|
</div>
|
312
|
-
<hr>
|
313
|
-
<div class="refsect2">
|
314
|
-
<a name="clutter-canvas-new"></a><h3>clutter_canvas_new ()</h3>
|
315
|
-
<pre class="programlisting"><a class="link" href="ClutterContent.html" title="ClutterContent"><span class="returnvalue">ClutterContent</span></a> * clutter_canvas_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
316
|
-
<p>
|
317
|
-
Creates a new instance of <a class="link" href="ClutterCanvas.html" title="ClutterCanvas"><span class="type">ClutterCanvas</span></a>.
|
318
|
-
</p>
|
319
|
-
<p>
|
320
|
-
You should call <a class="link" href="ClutterCanvas.html#clutter-canvas-set-size" title="clutter_canvas_set_size ()"><code class="function">clutter_canvas_set_size()</code></a> to set the size of the canvas.
|
321
|
-
</p>
|
322
|
-
<p>
|
323
|
-
You should call <a class="link" href="ClutterContent.html#clutter-content-invalidate" title="clutter_content_invalidate ()"><code class="function">clutter_content_invalidate()</code></a> every time you wish to
|
324
|
-
draw the contents of the canvas.
|
325
|
-
</p>
|
326
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
327
|
-
<colgroup>
|
328
|
-
<col align="left" valign="top">
|
329
|
-
<col>
|
330
|
-
</colgroup>
|
331
|
-
<tbody><tr>
|
332
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
333
|
-
<td>The newly allocated instance of
|
334
|
-
<a class="link" href="ClutterCanvas.html" title="ClutterCanvas"><span class="type">ClutterCanvas</span></a>. Use <code class="function">g_object_unref()</code> when done. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
335
|
-
</td>
|
336
|
-
</tr></tbody>
|
337
|
-
</table></div>
|
338
187
|
<p class="since">Since 1.10</p>
|
339
188
|
</div>
|
340
189
|
<hr>
|
341
190
|
<div class="refsect2">
|
342
|
-
<a name="clutter-canvas-set-size"></a><h3>clutter_canvas_set_size
|
343
|
-
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
344
|
-
|
345
|
-
|
346
|
-
<
|
347
|
-
Sets the size of the <em class="parameter"><code>canvas</code></em
|
348
|
-
|
349
|
-
<p>
|
350
|
-
|
351
|
-
if the size of the canvas surface has changed
|
352
|
-
|
353
|
-
|
354
|
-
If you want to invalidate the contents of the <em class="parameter"><code>canvas</code></em> when setting
|
191
|
+
<a name="clutter-canvas-set-size"></a><h3>clutter_canvas_set_size ()</h3>
|
192
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
193
|
+
clutter_canvas_set_size (<em class="parameter"><code><a class="link" href="ClutterCanvas.html" title="ClutterCanvas"><span class="type">ClutterCanvas</span></a> *canvas</code></em>,
|
194
|
+
<em class="parameter"><code><span class="type">int</span> width</code></em>,
|
195
|
+
<em class="parameter"><code><span class="type">int</span> height</code></em>);</pre>
|
196
|
+
<p>Sets the size of the <em class="parameter"><code>canvas</code></em>
|
197
|
+
, and invalidates the content.</p>
|
198
|
+
<p>This function will cause the <em class="parameter"><code>canvas</code></em>
|
199
|
+
to be invalidated only
|
200
|
+
if the size of the canvas surface has changed.</p>
|
201
|
+
<p>If you want to invalidate the contents of the <em class="parameter"><code>canvas</code></em>
|
202
|
+
when setting
|
355
203
|
the size, you can use the return value of the function to conditionally
|
356
|
-
call <a class="link" href="ClutterContent.html#clutter-content-invalidate" title="clutter_content_invalidate
|
357
|
-
</p>
|
358
|
-
<p>
|
359
|
-
</p>
|
204
|
+
call <a class="link" href="ClutterContent.html#clutter-content-invalidate" title="clutter_content_invalidate ()"><code class="function">clutter_content_invalidate()</code></a>:</p>
|
360
205
|
<div class="informalexample">
|
361
206
|
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
362
207
|
<tbody>
|
@@ -370,56 +215,198 @@ call <a class="link" href="ClutterContent.html#clutter-content-invalidate" title
|
|
370
215
|
</table>
|
371
216
|
</div>
|
372
217
|
|
373
|
-
<p>
|
374
|
-
|
375
|
-
<
|
218
|
+
<p></p>
|
219
|
+
<div class="refsect3">
|
220
|
+
<a name="id-1.5.8.2.10.3.9"></a><h4>Parameters</h4>
|
221
|
+
<div class="informaltable"><table width="100%" border="0">
|
376
222
|
<colgroup>
|
377
|
-
<col
|
378
|
-
<col>
|
223
|
+
<col width="150px" class="parameters_name">
|
224
|
+
<col class="parameters_description">
|
225
|
+
<col width="200px" class="parameters_annotations">
|
379
226
|
</colgroup>
|
380
227
|
<tbody>
|
381
228
|
<tr>
|
382
|
-
<td
|
383
|
-
<td>a <a class="link" href="ClutterCanvas.html" title="ClutterCanvas"><span class="type">ClutterCanvas</span></a>
|
384
|
-
</td>
|
229
|
+
<td class="parameter_name"><p>canvas</p></td>
|
230
|
+
<td class="parameter_description"><p>a <a class="link" href="ClutterCanvas.html" title="ClutterCanvas"><span class="type">ClutterCanvas</span></a></p></td>
|
231
|
+
<td class="parameter_annotations"> </td>
|
232
|
+
</tr>
|
233
|
+
<tr>
|
234
|
+
<td class="parameter_name"><p>width</p></td>
|
235
|
+
<td class="parameter_description"><p>the width of the canvas, in pixels</p></td>
|
236
|
+
<td class="parameter_annotations"> </td>
|
385
237
|
</tr>
|
386
238
|
<tr>
|
387
|
-
<td
|
388
|
-
<td>the
|
239
|
+
<td class="parameter_name"><p>height</p></td>
|
240
|
+
<td class="parameter_description"><p>the height of the canvas, in pixels</p></td>
|
241
|
+
<td class="parameter_annotations"> </td>
|
389
242
|
</tr>
|
243
|
+
</tbody>
|
244
|
+
</table></div>
|
245
|
+
</div>
|
246
|
+
<div class="refsect3">
|
247
|
+
<a name="id-1.5.8.2.10.3.10"></a><h4>Returns</h4>
|
248
|
+
<p> this function returns <code class="literal">TRUE</code> if the size change
|
249
|
+
caused a content invalidation, and <code class="literal">FALSE</code> otherwise</p>
|
250
|
+
<p></p>
|
251
|
+
</div>
|
252
|
+
<p class="since">Since 1.10</p>
|
253
|
+
</div>
|
254
|
+
<hr>
|
255
|
+
<div class="refsect2">
|
256
|
+
<a name="clutter-canvas-set-scale-factor"></a><h3>clutter_canvas_set_scale_factor ()</h3>
|
257
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
258
|
+
clutter_canvas_set_scale_factor (<em class="parameter"><code><a class="link" href="ClutterCanvas.html" title="ClutterCanvas"><span class="type">ClutterCanvas</span></a> *canvas</code></em>,
|
259
|
+
<em class="parameter"><code><span class="type">int</span> scale</code></em>);</pre>
|
260
|
+
<p>Sets the scaling factor for the Cairo surface used by <em class="parameter"><code>canvas</code></em>
|
261
|
+
.</p>
|
262
|
+
<p>This function should rarely be used.</p>
|
263
|
+
<p>The default scaling factor of a <a class="link" href="ClutterCanvas.html" title="ClutterCanvas"><span class="type">ClutterCanvas</span></a> content uses the
|
264
|
+
<a class="link" href="ClutterSettings.html#ClutterSettings--window-scaling-factor" title="The “window-scaling-factor” property"><span class="type">“window-scaling-factor”</span></a> property, which is set by
|
265
|
+
the windowing system. By using this function it is possible to
|
266
|
+
override that setting.</p>
|
267
|
+
<p>Changing the scale factor will invalidate the <em class="parameter"><code>canvas</code></em>
|
268
|
+
.</p>
|
269
|
+
<div class="refsect3">
|
270
|
+
<a name="id-1.5.8.2.10.4.8"></a><h4>Parameters</h4>
|
271
|
+
<div class="informaltable"><table width="100%" border="0">
|
272
|
+
<colgroup>
|
273
|
+
<col width="150px" class="parameters_name">
|
274
|
+
<col class="parameters_description">
|
275
|
+
<col width="200px" class="parameters_annotations">
|
276
|
+
</colgroup>
|
277
|
+
<tbody>
|
390
278
|
<tr>
|
391
|
-
<td
|
392
|
-
<td>
|
279
|
+
<td class="parameter_name"><p>canvas</p></td>
|
280
|
+
<td class="parameter_description"><p>a <a class="link" href="ClutterCanvas.html" title="ClutterCanvas"><span class="type">ClutterCanvas</span></a></p></td>
|
281
|
+
<td class="parameter_annotations"> </td>
|
393
282
|
</tr>
|
394
283
|
<tr>
|
395
|
-
<td
|
396
|
-
<td
|
397
|
-
|
284
|
+
<td class="parameter_name"><p>scale</p></td>
|
285
|
+
<td class="parameter_description"><p>the scale factor, or -1 for the default</p></td>
|
286
|
+
<td class="parameter_annotations"> </td>
|
398
287
|
</tr>
|
399
288
|
</tbody>
|
400
289
|
</table></div>
|
290
|
+
</div>
|
291
|
+
<p class="since">Since 1.18</p>
|
292
|
+
</div>
|
293
|
+
<hr>
|
294
|
+
<div class="refsect2">
|
295
|
+
<a name="clutter-canvas-get-scale-factor"></a><h3>clutter_canvas_get_scale_factor ()</h3>
|
296
|
+
<pre class="programlisting"><span class="returnvalue">int</span>
|
297
|
+
clutter_canvas_get_scale_factor (<em class="parameter"><code><a class="link" href="ClutterCanvas.html" title="ClutterCanvas"><span class="type">ClutterCanvas</span></a> *canvas</code></em>);</pre>
|
298
|
+
<p>Retrieves the scaling factor of <em class="parameter"><code>canvas</code></em>
|
299
|
+
, as set using
|
300
|
+
<a class="link" href="ClutterCanvas.html#clutter-canvas-set-scale-factor" title="clutter_canvas_set_scale_factor ()"><code class="function">clutter_canvas_set_scale_factor()</code></a>.</p>
|
301
|
+
<div class="refsect3">
|
302
|
+
<a name="id-1.5.8.2.10.5.5"></a><h4>Parameters</h4>
|
303
|
+
<div class="informaltable"><table width="100%" border="0">
|
304
|
+
<colgroup>
|
305
|
+
<col width="150px" class="parameters_name">
|
306
|
+
<col class="parameters_description">
|
307
|
+
<col width="200px" class="parameters_annotations">
|
308
|
+
</colgroup>
|
309
|
+
<tbody><tr>
|
310
|
+
<td class="parameter_name"><p>canvas</p></td>
|
311
|
+
<td class="parameter_description"><p>a <a class="link" href="ClutterCanvas.html" title="ClutterCanvas"><span class="type">ClutterCanvas</span></a></p></td>
|
312
|
+
<td class="parameter_annotations"> </td>
|
313
|
+
</tr></tbody>
|
314
|
+
</table></div>
|
315
|
+
</div>
|
316
|
+
<div class="refsect3">
|
317
|
+
<a name="id-1.5.8.2.10.5.6"></a><h4>Returns</h4>
|
318
|
+
<p> the scaling factor, or -1 if the <em class="parameter"><code>canvas</code></em>
|
319
|
+
uses the default from <a class="link" href="ClutterSettings.html" title="ClutterSettings"><span class="type">ClutterSettings</span></a></p>
|
320
|
+
<p></p>
|
321
|
+
</div>
|
322
|
+
<p class="since">Since 1.18</p>
|
323
|
+
</div>
|
324
|
+
</div>
|
325
|
+
<div class="refsect1">
|
326
|
+
<a name="ClutterCanvas.other_details"></a><h2>Types and Values</h2>
|
327
|
+
<div class="refsect2">
|
328
|
+
<a name="ClutterCanvas-struct"></a><h3>struct ClutterCanvas</h3>
|
329
|
+
<pre class="programlisting">struct ClutterCanvas;</pre>
|
330
|
+
<p>The <a class="link" href="ClutterCanvas.html" title="ClutterCanvas"><span class="type">ClutterCanvas</span></a> structure contains
|
331
|
+
private data and should only be accessed using the provided
|
332
|
+
API.</p>
|
333
|
+
<p class="since">Since 1.10</p>
|
334
|
+
</div>
|
335
|
+
<hr>
|
336
|
+
<div class="refsect2">
|
337
|
+
<a name="ClutterCanvasClass"></a><h3>struct ClutterCanvasClass</h3>
|
338
|
+
<pre class="programlisting">struct ClutterCanvasClass {
|
339
|
+
gboolean (* draw) (ClutterCanvas *canvas,
|
340
|
+
cairo_t *cr,
|
341
|
+
int width,
|
342
|
+
int height);
|
343
|
+
};
|
344
|
+
</pre>
|
345
|
+
<p>The <a class="link" href="ClutterCanvas.html#ClutterCanvasClass" title="struct ClutterCanvasClass"><span class="type">ClutterCanvasClass</span></a> structure contains
|
346
|
+
private data.</p>
|
347
|
+
<div class="refsect3">
|
348
|
+
<a name="id-1.5.8.2.11.3.5"></a><h4>Members</h4>
|
349
|
+
<div class="informaltable"><table width="100%" border="0">
|
350
|
+
<colgroup>
|
351
|
+
<col width="300px" class="struct_members_name">
|
352
|
+
<col class="struct_members_description">
|
353
|
+
<col width="200px" class="struct_members_annotations">
|
354
|
+
</colgroup>
|
355
|
+
<tbody><tr>
|
356
|
+
<td class="struct_member_name"><p><em class="structfield"><code><a name="ClutterCanvasClass.draw"></a>draw</code></em> ()</p></td>
|
357
|
+
<td class="struct_member_description"><p>class handler for the <a class="link" href="ClutterCanvas.html#ClutterCanvas-draw" title="The “draw” signal"><span class="type">“draw”</span></a> signal</p></td>
|
358
|
+
<td class="struct_member_annotations"> </td>
|
359
|
+
</tr></tbody>
|
360
|
+
</table></div>
|
361
|
+
</div>
|
401
362
|
<p class="since">Since 1.10</p>
|
402
363
|
</div>
|
403
364
|
</div>
|
404
365
|
<div class="refsect1">
|
405
366
|
<a name="ClutterCanvas.property-details"></a><h2>Property Details</h2>
|
406
367
|
<div class="refsect2">
|
407
|
-
<a name="ClutterCanvas--height"></a><h3>The <code class="literal"
|
408
|
-
<pre class="programlisting">
|
409
|
-
<p>
|
410
|
-
|
411
|
-
</p>
|
368
|
+
<a name="ClutterCanvas--height"></a><h3>The <code class="literal">“height”</code> property</h3>
|
369
|
+
<pre class="programlisting"> “height” <span class="type">gint</span></pre>
|
370
|
+
<p>The height of the canvas.</p>
|
371
|
+
<p>Flags: Read / Write</p>
|
412
372
|
<p>Allowed values: >= -1</p>
|
413
373
|
<p>Default value: -1</p>
|
414
374
|
<p class="since">Since 1.10</p>
|
415
375
|
</div>
|
416
376
|
<hr>
|
417
377
|
<div class="refsect2">
|
418
|
-
<a name="ClutterCanvas--
|
419
|
-
<pre class="programlisting">
|
420
|
-
<p>
|
421
|
-
|
422
|
-
|
378
|
+
<a name="ClutterCanvas--scale-factor"></a><h3>The <code class="literal">“scale-factor”</code> property</h3>
|
379
|
+
<pre class="programlisting"> “scale-factor” <span class="type">gint</span></pre>
|
380
|
+
<p>The scaling factor to be applied to the Cairo surface used for
|
381
|
+
drawing.</p>
|
382
|
+
<p>If <a class="link" href="ClutterCanvas.html#ClutterCanvas--scale-factor" title="The “scale-factor” property"><span class="type">“scale-factor”</span></a> is set to a negative value, the
|
383
|
+
value of the <a class="link" href="ClutterSettings.html#ClutterSettings--window-scaling-factor" title="The “window-scaling-factor” property"><span class="type">“window-scaling-factor”</span></a> property is
|
384
|
+
used instead.</p>
|
385
|
+
<p>Use <a class="link" href="ClutterCanvas.html#ClutterCanvas--scale-factor-set" title="The “scale-factor-set” property"><span class="type">“scale-factor-set”</span></a> to check if the scale factor
|
386
|
+
is set.</p>
|
387
|
+
<p>Flags: Read / Write</p>
|
388
|
+
<p>Allowed values: [-1,1000]</p>
|
389
|
+
<p>Default value: -1</p>
|
390
|
+
<p class="since">Since 1.18</p>
|
391
|
+
</div>
|
392
|
+
<hr>
|
393
|
+
<div class="refsect2">
|
394
|
+
<a name="ClutterCanvas--scale-factor-set"></a><h3>The <code class="literal">“scale-factor-set”</code> property</h3>
|
395
|
+
<pre class="programlisting"> “scale-factor-set” <span class="type">gboolean</span></pre>
|
396
|
+
<p>Whether the <a class="link" href="ClutterCanvas.html#ClutterCanvas--scale-factor" title="The “scale-factor” property"><span class="type">“scale-factor”</span></a> property is set.</p>
|
397
|
+
<p>If the <a class="link" href="ClutterCanvas.html#ClutterCanvas--scale-factor-set" title="The “scale-factor-set” property"><span class="type">“scale-factor-set”</span></a> property is <code class="literal">FALSE</code>
|
398
|
+
then <a class="link" href="ClutterCanvas.html" title="ClutterCanvas"><span class="type">ClutterCanvas</span></a> will use the <a class="link" href="ClutterSettings.html#ClutterSettings--window-scaling-factor" title="The “window-scaling-factor” property"><span class="type">“window-scaling-factor”</span></a>
|
399
|
+
property.</p>
|
400
|
+
<p>Flags: Read</p>
|
401
|
+
<p>Default value: FALSE</p>
|
402
|
+
<p class="since">Since 1.18</p>
|
403
|
+
</div>
|
404
|
+
<hr>
|
405
|
+
<div class="refsect2">
|
406
|
+
<a name="ClutterCanvas--width"></a><h3>The <code class="literal">“width”</code> property</h3>
|
407
|
+
<pre class="programlisting"> “width” <span class="type">gint</span></pre>
|
408
|
+
<p>The width of the canvas.</p>
|
409
|
+
<p>Flags: Read / Write</p>
|
423
410
|
<p>Allowed values: >= -1</p>
|
424
411
|
<p>Default value: -1</p>
|
425
412
|
<p class="since">Since 1.10</p>
|
@@ -428,67 +415,74 @@ The width of the canvas.
|
|
428
415
|
<div class="refsect1">
|
429
416
|
<a name="ClutterCanvas.signal-details"></a><h2>Signal Details</h2>
|
430
417
|
<div class="refsect2">
|
431
|
-
<a name="ClutterCanvas-draw"></a><h3>The <code class="literal"
|
432
|
-
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
433
|
-
|
434
|
-
|
435
|
-
|
436
|
-
|
437
|
-
<
|
438
|
-
The <a class="link" href="ClutterCanvas.html#ClutterCanvas-draw" title=
|
439
|
-
invalidated
|
440
|
-
|
441
|
-
<
|
442
|
-
|
443
|
-
|
444
|
-
|
445
|
-
|
446
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
418
|
+
<a name="ClutterCanvas-draw"></a><h3>The <code class="literal">“draw”</code> signal</h3>
|
419
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
420
|
+
user_function (<a class="link" href="ClutterCanvas.html" title="ClutterCanvas"><span class="type">ClutterCanvas</span></a> *canvas,
|
421
|
+
<span class="type">CairoContext</span> *cr,
|
422
|
+
<span class="type">gint</span> width,
|
423
|
+
<span class="type">gint</span> height,
|
424
|
+
<span class="type">gpointer</span> user_data)</pre>
|
425
|
+
<p>The <a class="link" href="ClutterCanvas.html#ClutterCanvas-draw" title="The “draw” signal"><span class="type">“draw”</span></a> signal is emitted each time a canvas is
|
426
|
+
invalidated.</p>
|
427
|
+
<p>It is safe to connect multiple handlers to this signal: each
|
428
|
+
handler invocation will be automatically protected by <code class="function">cairo_save()</code>
|
429
|
+
and <code class="function">cairo_restore()</code> pairs.</p>
|
430
|
+
<div class="refsect3">
|
431
|
+
<a name="id-1.5.8.2.13.2.6"></a><h4>Parameters</h4>
|
432
|
+
<div class="informaltable"><table width="100%" border="0">
|
447
433
|
<colgroup>
|
448
|
-
<col
|
449
|
-
<col>
|
434
|
+
<col width="150px" class="parameters_name">
|
435
|
+
<col class="parameters_description">
|
436
|
+
<col width="200px" class="parameters_annotations">
|
450
437
|
</colgroup>
|
451
438
|
<tbody>
|
452
439
|
<tr>
|
453
|
-
<td
|
454
|
-
<td>the <a class="link" href="ClutterCanvas.html" title="ClutterCanvas"><span class="type">ClutterCanvas</span></a> that emitted the signal</td>
|
440
|
+
<td class="parameter_name"><p>canvas</p></td>
|
441
|
+
<td class="parameter_description"><p>the <a class="link" href="ClutterCanvas.html" title="ClutterCanvas"><span class="type">ClutterCanvas</span></a> that emitted the signal</p></td>
|
442
|
+
<td class="parameter_annotations"> </td>
|
455
443
|
</tr>
|
456
444
|
<tr>
|
457
|
-
<td
|
458
|
-
<td>the Cairo context used to draw</td>
|
445
|
+
<td class="parameter_name"><p>cr</p></td>
|
446
|
+
<td class="parameter_description"><p>the Cairo context used to draw</p></td>
|
447
|
+
<td class="parameter_annotations"> </td>
|
459
448
|
</tr>
|
460
449
|
<tr>
|
461
|
-
<td
|
462
|
-
<td>the width of the <em class="parameter"><code>canvas</code></em>
|
463
|
-
</td>
|
464
|
-
</
|
465
|
-
<tr>
|
466
|
-
<td><p><span class="term"><em class="parameter"><code>height</code></em> :</span></p></td>
|
467
|
-
<td>the height of the <em class="parameter"><code>canvas</code></em>
|
468
|
-
</td>
|
450
|
+
<td class="parameter_name"><p>width</p></td>
|
451
|
+
<td class="parameter_description"><p>the width of the <em class="parameter"><code>canvas</code></em>
|
452
|
+
</p></td>
|
453
|
+
<td class="parameter_annotations"> </td>
|
469
454
|
</tr>
|
470
455
|
<tr>
|
471
|
-
<td
|
472
|
-
<td>
|
456
|
+
<td class="parameter_name"><p>height</p></td>
|
457
|
+
<td class="parameter_description"><p>the height of the <em class="parameter"><code>canvas</code></em>
|
458
|
+
</p></td>
|
459
|
+
<td class="parameter_annotations"> </td>
|
473
460
|
</tr>
|
474
461
|
<tr>
|
475
|
-
<td
|
476
|
-
<td>
|
477
|
-
<
|
478
|
-
<code class="literal">FALSE</code> otherwise</td>
|
462
|
+
<td class="parameter_name"><p>user_data</p></td>
|
463
|
+
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
|
464
|
+
<td class="parameter_annotations"> </td>
|
479
465
|
</tr>
|
480
466
|
</tbody>
|
481
467
|
</table></div>
|
468
|
+
</div>
|
469
|
+
<div class="refsect3">
|
470
|
+
<a name="id-1.5.8.2.13.2.7"></a><h4>Returns</h4>
|
471
|
+
<p> <code class="literal">TRUE</code> if the signal emission should stop, and
|
472
|
+
<code class="literal">FALSE</code> otherwise</p>
|
473
|
+
<p></p>
|
474
|
+
</div>
|
475
|
+
<p>Flags: No Recursion</p>
|
482
476
|
<p class="since">Since 1.10</p>
|
483
477
|
</div>
|
484
478
|
</div>
|
485
479
|
<div class="refsect1">
|
486
480
|
<a name="ClutterCanvas.see-also"></a><h2>See Also</h2>
|
487
|
-
<a class="link" href="ClutterContent.html" title="ClutterContent"><span class="type">ClutterContent</span></a>
|
481
|
+
<p><a class="link" href="ClutterContent.html" title="ClutterContent"><span class="type">ClutterContent</span></a></p>
|
488
482
|
</div>
|
489
483
|
</div>
|
490
484
|
<div class="footer">
|
491
485
|
<hr>
|
492
|
-
Generated by GTK-Doc V1.
|
486
|
+
Generated by GTK-Doc V1.20.1</div>
|
493
487
|
</body>
|
494
488
|
</html>
|