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,19 +8,16 @@
|
|
8
8
|
<link rel="up" href="deprecated.html" title="Part IX. Deprecated Classes">
|
9
9
|
<link rel="prev" href="ClutterCairoTexture.html" title="ClutterCairoTexture">
|
10
10
|
<link rel="next" href="ClutterRectangle.html" title="ClutterRectangle">
|
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="#ClutterGroup.
|
20
|
-
|
21
|
-
<a href="#ClutterGroup.object-hierarchy" class="shortcut">Object Hierarchy</a>
|
22
|
-
|
|
23
|
-
<a href="#ClutterGroup.implemented-interfaces" class="shortcut">Implemented Interfaces</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="#ClutterGroup.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span>
|
19
|
+
<a href="#ClutterGroup.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_interfaces"> <span class="dim">|</span>
|
20
|
+
<a href="#ClutterGroup.implemented-interfaces" class="shortcut">Implemented Interfaces</a></span>
|
24
21
|
</td>
|
25
22
|
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
26
23
|
<td><a accesskey="u" href="deprecated.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
@@ -34,27 +31,77 @@
|
|
34
31
|
<h2><span class="refentrytitle"><a name="ClutterGroup.top_of_page"></a>ClutterGroup</span></h2>
|
35
32
|
<p>ClutterGroup — A fixed layout container</p>
|
36
33
|
</td>
|
37
|
-
<td valign="top" align="right"></td>
|
34
|
+
<td class="gallery_image" valign="top" align="right"></td>
|
38
35
|
</tr></table></div>
|
39
|
-
<div class="
|
40
|
-
<a name="ClutterGroup.
|
41
|
-
<
|
42
|
-
|
43
|
-
<
|
44
|
-
<
|
45
|
-
|
46
|
-
<
|
47
|
-
|
48
|
-
|
36
|
+
<div class="refsect1">
|
37
|
+
<a name="ClutterGroup.functions"></a><h2>Functions</h2>
|
38
|
+
<div class="informaltable"><table width="100%" border="0">
|
39
|
+
<colgroup>
|
40
|
+
<col width="150px" class="functions_return">
|
41
|
+
<col class="functions_name">
|
42
|
+
</colgroup>
|
43
|
+
<tbody>
|
44
|
+
<tr>
|
45
|
+
<td class="function_type">
|
46
|
+
<a class="link" href="ClutterActor.html" title="ClutterActor"><span class="returnvalue">ClutterActor</span></a> *
|
47
|
+
</td>
|
48
|
+
<td class="function_name">
|
49
|
+
<a class="link" href="ClutterGroup.html#clutter-group-new" title="clutter_group_new ()">clutter_group_new</a> <span class="c_punctuation">()</span>
|
50
|
+
</td>
|
51
|
+
</tr>
|
52
|
+
<tr>
|
53
|
+
<td class="function_type">
|
54
|
+
<span class="returnvalue">void</span>
|
55
|
+
</td>
|
56
|
+
<td class="function_name">
|
57
|
+
<a class="link" href="ClutterGroup.html#clutter-group-remove-all" title="clutter_group_remove_all ()">clutter_group_remove_all</a> <span class="c_punctuation">()</span>
|
58
|
+
</td>
|
59
|
+
</tr>
|
60
|
+
<tr>
|
61
|
+
<td class="function_type">
|
62
|
+
<span class="returnvalue">gint</span>
|
63
|
+
</td>
|
64
|
+
<td class="function_name">
|
65
|
+
<a class="link" href="ClutterGroup.html#clutter-group-get-n-children" title="clutter_group_get_n_children ()">clutter_group_get_n_children</a> <span class="c_punctuation">()</span>
|
66
|
+
</td>
|
67
|
+
</tr>
|
68
|
+
<tr>
|
69
|
+
<td class="function_type">
|
70
|
+
<a class="link" href="ClutterActor.html" title="ClutterActor"><span class="returnvalue">ClutterActor</span></a> *
|
71
|
+
</td>
|
72
|
+
<td class="function_name">
|
73
|
+
<a class="link" href="ClutterGroup.html#clutter-group-get-nth-child" title="clutter_group_get_nth_child ()">clutter_group_get_nth_child</a> <span class="c_punctuation">()</span>
|
74
|
+
</td>
|
75
|
+
</tr>
|
76
|
+
</tbody>
|
77
|
+
</table></div>
|
78
|
+
</div>
|
79
|
+
<div class="refsect1">
|
80
|
+
<a name="ClutterGroup.other"></a><h2>Types and Values</h2>
|
81
|
+
<div class="informaltable"><table width="100%" border="0">
|
82
|
+
<colgroup>
|
83
|
+
<col width="150px" class="name">
|
84
|
+
<col class="description">
|
85
|
+
</colgroup>
|
86
|
+
<tbody>
|
87
|
+
<tr>
|
88
|
+
<td class="datatype_keyword">struct</td>
|
89
|
+
<td class="function_name"><a class="link" href="ClutterGroup.html#ClutterGroup-struct" title="struct ClutterGroup">ClutterGroup</a></td>
|
90
|
+
</tr>
|
91
|
+
<tr>
|
92
|
+
<td class="datatype_keyword">struct</td>
|
93
|
+
<td class="function_name"><a class="link" href="ClutterGroup.html#ClutterGroupClass" title="struct ClutterGroupClass">ClutterGroupClass</a></td>
|
94
|
+
</tr>
|
95
|
+
</tbody>
|
96
|
+
</table></div>
|
49
97
|
</div>
|
50
98
|
<div class="refsect1">
|
51
99
|
<a name="ClutterGroup.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
52
|
-
<pre class="
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
+----<a class="link" href="ClutterStage.html" title="ClutterStage">ClutterStage</a>
|
100
|
+
<pre class="screen"> GObject
|
101
|
+
<span class="lineart">╰──</span> GInitiallyUnowned
|
102
|
+
<span class="lineart">╰──</span> <a class="link" href="ClutterActor.html" title="ClutterActor">ClutterActor</a>
|
103
|
+
<span class="lineart">╰──</span> ClutterGroup
|
104
|
+
<span class="lineart">╰──</span> <a class="link" href="ClutterStage.html" title="ClutterStage">ClutterStage</a>
|
58
105
|
</pre>
|
59
106
|
</div>
|
60
107
|
<div class="refsect1">
|
@@ -65,164 +112,161 @@ ClutterGroup implements
|
|
65
112
|
</div>
|
66
113
|
<div class="refsect1">
|
67
114
|
<a name="ClutterGroup.description"></a><h2>Description</h2>
|
68
|
-
<p>
|
69
|
-
A <a class="link" href="ClutterGroup.html" title="ClutterGroup"><span class="type">ClutterGroup</span></a> is an Actor which contains multiple child actors positioned
|
115
|
+
<p>A <a class="link" href="ClutterGroup.html" title="ClutterGroup"><span class="type">ClutterGroup</span></a> is an Actor which contains multiple child actors positioned
|
70
116
|
relative to the <a class="link" href="ClutterGroup.html" title="ClutterGroup"><span class="type">ClutterGroup</span></a> position. Other operations such as scaling,
|
71
|
-
rotating and clipping of the group will apply to the child actors
|
72
|
-
|
73
|
-
<p>
|
74
|
-
A <a class="link" href="ClutterGroup.html" title="ClutterGroup"><span class="type">ClutterGroup</span></a>'s size is defined by the size and position of its children;
|
117
|
+
rotating and clipping of the group will apply to the child actors.</p>
|
118
|
+
<p>A <a class="link" href="ClutterGroup.html" title="ClutterGroup"><span class="type">ClutterGroup</span></a>'s size is defined by the size and position of its children;
|
75
119
|
it will be the smallest non-negative size that covers the right and bottom
|
76
|
-
edges of all of its children
|
77
|
-
|
78
|
-
<
|
79
|
-
Setting the size on a Group using <a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a> methods like
|
80
|
-
<a class="link" href="ClutterActor.html#clutter-actor-set-size" title="clutter_actor_set_size ()"><code class="function">clutter_actor_set_size()</code></a> will override the natural size of the Group,
|
120
|
+
edges of all of its children.</p>
|
121
|
+
<p>Setting the size on a Group using <a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a> methods like
|
122
|
+
<a class="link" href="ClutterActor.html#clutter-actor-set-size" title="clutter_actor_set_size ()"><code class="function">clutter_actor_set_size()</code></a> will override the natural size of the Group,
|
81
123
|
however this will not affect the size of the children and they may still
|
82
124
|
be painted outside of the allocation of the group. One way to constrain
|
83
125
|
the visible area of a <a class="link" href="ClutterGroup.html" title="ClutterGroup"><span class="type">ClutterGroup</span></a> to a specified allocation is to
|
84
126
|
explicitly set the size of the <a class="link" href="ClutterGroup.html" title="ClutterGroup"><span class="type">ClutterGroup</span></a> and then use the
|
85
|
-
<a class="link" href="ClutterActor.html#ClutterActor--clip-to-allocation" title=
|
86
|
-
</p>
|
127
|
+
<a class="link" href="ClutterActor.html#ClutterActor--clip-to-allocation" title="The “clip-to-allocation” property"><span class="type">“clip-to-allocation”</span></a> property.</p>
|
87
128
|
</div>
|
88
129
|
<div class="refsect1">
|
89
|
-
<a name="ClutterGroup.
|
130
|
+
<a name="ClutterGroup.functions_details"></a><h2>Functions</h2>
|
90
131
|
<div class="refsect2">
|
91
|
-
<a name="
|
92
|
-
<pre class="programlisting"
|
93
|
-
<
|
94
|
-
|
95
|
-
and should be
|
96
|
-
</p>
|
97
|
-
|
132
|
+
<a name="clutter-group-new"></a><h3>clutter_group_new ()</h3>
|
133
|
+
<pre class="programlisting"><a class="link" href="ClutterActor.html" title="ClutterActor"><span class="returnvalue">ClutterActor</span></a> *
|
134
|
+
clutter_group_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
135
|
+
<div class="warning">
|
136
|
+
<p><code class="literal">clutter_group_new</code> has been deprecated since version 1.10 and should not be used in newly-written code.</p>
|
137
|
+
<p>Use <a class="link" href="ClutterActor.html#clutter-actor-new" title="clutter_actor_new ()"><code class="function">clutter_actor_new()</code></a> instead.</p>
|
138
|
+
</div>
|
139
|
+
<p>Create a new <a class="link" href="ClutterGroup.html" title="ClutterGroup"><span class="type">ClutterGroup</span></a>.</p>
|
140
|
+
<div class="refsect3">
|
141
|
+
<a name="id-1.10.14.8.2.6"></a><h4>Returns</h4>
|
142
|
+
<p> the newly created <a class="link" href="ClutterGroup.html" title="ClutterGroup"><span class="type">ClutterGroup</span></a> actor</p>
|
143
|
+
<p></p>
|
98
144
|
</div>
|
99
|
-
<hr>
|
100
|
-
<div class="refsect2">
|
101
|
-
<a name="ClutterGroupClass"></a><h3>struct ClutterGroupClass</h3>
|
102
|
-
<pre class="programlisting">struct ClutterGroupClass {
|
103
|
-
};
|
104
|
-
</pre>
|
105
|
-
<p>
|
106
|
-
The <a class="link" href="ClutterGroup.html#ClutterGroupClass" title="struct ClutterGroupClass"><span class="type">ClutterGroupClass</span></a> structure contains only private data
|
107
|
-
</p>
|
108
|
-
<p class="since">Since 0.1</p>
|
109
145
|
</div>
|
110
146
|
<hr>
|
111
147
|
<div class="refsect2">
|
112
|
-
<a name="clutter-group-
|
113
|
-
<pre class="programlisting"><
|
148
|
+
<a name="clutter-group-remove-all"></a><h3>clutter_group_remove_all ()</h3>
|
149
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
150
|
+
clutter_group_remove_all (<em class="parameter"><code><a class="link" href="ClutterGroup.html" title="ClutterGroup"><span class="type">ClutterGroup</span></a> *self</code></em>);</pre>
|
114
151
|
<div class="warning">
|
115
|
-
<
|
116
|
-
<p
|
152
|
+
<p><code class="literal">clutter_group_remove_all</code> has been deprecated since version 1.10 and should not be used in newly-written code.</p>
|
153
|
+
<p>Use <a class="link" href="ClutterActor.html#clutter-actor-remove-all-children" title="clutter_actor_remove_all_children ()"><code class="function">clutter_actor_remove_all_children()</code></a> instead.</p>
|
117
154
|
</div>
|
118
|
-
<p>
|
119
|
-
|
120
|
-
</
|
121
|
-
<div class="
|
155
|
+
<p>Removes all children actors from the <a class="link" href="ClutterGroup.html" title="ClutterGroup"><span class="type">ClutterGroup</span></a>.</p>
|
156
|
+
<div class="refsect3">
|
157
|
+
<a name="id-1.10.14.8.3.6"></a><h4>Parameters</h4>
|
158
|
+
<div class="informaltable"><table width="100%" border="0">
|
122
159
|
<colgroup>
|
123
|
-
<col
|
124
|
-
<col>
|
160
|
+
<col width="150px" class="parameters_name">
|
161
|
+
<col class="parameters_description">
|
162
|
+
<col width="200px" class="parameters_annotations">
|
125
163
|
</colgroup>
|
126
164
|
<tbody><tr>
|
127
|
-
<td
|
128
|
-
<td>
|
165
|
+
<td class="parameter_name"><p>self</p></td>
|
166
|
+
<td class="parameter_description"><p>A <a class="link" href="ClutterGroup.html" title="ClutterGroup"><span class="type">ClutterGroup</span></a></p></td>
|
167
|
+
<td class="parameter_annotations"> </td>
|
129
168
|
</tr></tbody>
|
130
169
|
</table></div>
|
131
170
|
</div>
|
171
|
+
</div>
|
132
172
|
<hr>
|
133
173
|
<div class="refsect2">
|
134
|
-
<a name="clutter-group-
|
135
|
-
<pre class="programlisting"><span class="returnvalue">
|
174
|
+
<a name="clutter-group-get-n-children"></a><h3>clutter_group_get_n_children ()</h3>
|
175
|
+
<pre class="programlisting"><span class="returnvalue">gint</span>
|
176
|
+
clutter_group_get_n_children (<em class="parameter"><code><a class="link" href="ClutterGroup.html" title="ClutterGroup"><span class="type">ClutterGroup</span></a> *self</code></em>);</pre>
|
136
177
|
<div class="warning">
|
137
|
-
<
|
138
|
-
<p
|
178
|
+
<p><code class="literal">clutter_group_get_n_children</code> has been deprecated since version 1.10 and should not be used in newly-written code.</p>
|
179
|
+
<p>Use <a class="link" href="ClutterActor.html#clutter-actor-get-n-children" title="clutter_actor_get_n_children ()"><code class="function">clutter_actor_get_n_children()</code></a> instead.</p>
|
139
180
|
</div>
|
140
|
-
<p>
|
141
|
-
|
142
|
-
</
|
143
|
-
<div class="
|
181
|
+
<p>Gets the number of actors held in the group.</p>
|
182
|
+
<div class="refsect3">
|
183
|
+
<a name="id-1.10.14.8.4.7"></a><h4>Parameters</h4>
|
184
|
+
<div class="informaltable"><table width="100%" border="0">
|
144
185
|
<colgroup>
|
145
|
-
<col
|
146
|
-
<col>
|
186
|
+
<col width="150px" class="parameters_name">
|
187
|
+
<col class="parameters_description">
|
188
|
+
<col width="200px" class="parameters_annotations">
|
147
189
|
</colgroup>
|
148
190
|
<tbody><tr>
|
149
|
-
<td
|
150
|
-
<td>A <a class="link" href="ClutterGroup.html" title="ClutterGroup"><span class="type">ClutterGroup</span></a>
|
151
|
-
</td>
|
191
|
+
<td class="parameter_name"><p>self</p></td>
|
192
|
+
<td class="parameter_description"><p>A <a class="link" href="ClutterGroup.html" title="ClutterGroup"><span class="type">ClutterGroup</span></a></p></td>
|
193
|
+
<td class="parameter_annotations"> </td>
|
152
194
|
</tr></tbody>
|
153
195
|
</table></div>
|
154
196
|
</div>
|
155
|
-
<
|
156
|
-
<
|
157
|
-
<
|
158
|
-
<
|
159
|
-
<div class="warning">
|
160
|
-
<h3 class="title">Warning</h3>
|
161
|
-
<p><code class="literal">clutter_group_get_n_children</code> has been deprecated since version 1.10 and should not be used in newly-written code. Use <a class="link" href="ClutterActor.html#clutter-actor-get-n-children" title="clutter_actor_get_n_children ()"><code class="function">clutter_actor_get_n_children()</code></a> instead.</p>
|
197
|
+
<div class="refsect3">
|
198
|
+
<a name="id-1.10.14.8.4.8"></a><h4>Returns</h4>
|
199
|
+
<p> The number of child actors held in the group.</p>
|
200
|
+
<p></p>
|
162
201
|
</div>
|
163
|
-
<p>
|
164
|
-
Gets the number of actors held in the group.
|
165
|
-
</p>
|
166
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
167
|
-
<colgroup>
|
168
|
-
<col align="left" valign="top">
|
169
|
-
<col>
|
170
|
-
</colgroup>
|
171
|
-
<tbody>
|
172
|
-
<tr>
|
173
|
-
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
|
174
|
-
<td>A <a class="link" href="ClutterGroup.html" title="ClutterGroup"><span class="type">ClutterGroup</span></a>
|
175
|
-
</td>
|
176
|
-
</tr>
|
177
|
-
<tr>
|
178
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
179
|
-
<td>The number of child actors held in the group.</td>
|
180
|
-
</tr>
|
181
|
-
</tbody>
|
182
|
-
</table></div>
|
183
202
|
<p class="since">Since 0.2</p>
|
184
203
|
</div>
|
185
204
|
<hr>
|
186
205
|
<div class="refsect2">
|
187
|
-
<a name="clutter-group-get-nth-child"></a><h3>clutter_group_get_nth_child
|
188
|
-
<pre class="programlisting"><a class="link" href="ClutterActor.html" title="ClutterActor"><span class="returnvalue">ClutterActor</span></a>
|
189
|
-
|
206
|
+
<a name="clutter-group-get-nth-child"></a><h3>clutter_group_get_nth_child ()</h3>
|
207
|
+
<pre class="programlisting"><a class="link" href="ClutterActor.html" title="ClutterActor"><span class="returnvalue">ClutterActor</span></a> *
|
208
|
+
clutter_group_get_nth_child (<em class="parameter"><code><a class="link" href="ClutterGroup.html" title="ClutterGroup"><span class="type">ClutterGroup</span></a> *self</code></em>,
|
209
|
+
<em class="parameter"><code><span class="type">gint</span> index_</code></em>);</pre>
|
190
210
|
<div class="warning">
|
191
|
-
<
|
192
|
-
<p
|
211
|
+
<p><code class="literal">clutter_group_get_nth_child</code> has been deprecated since version 1.10 and should not be used in newly-written code.</p>
|
212
|
+
<p>Use <a class="link" href="ClutterActor.html#clutter-actor-get-child-at-index" title="clutter_actor_get_child_at_index ()"><code class="function">clutter_actor_get_child_at_index()</code></a> instead.</p>
|
193
213
|
</div>
|
194
|
-
<p>
|
195
|
-
|
196
|
-
|
197
|
-
<
|
214
|
+
<p>Gets a groups child held at <em class="parameter"><code>index_</code></em>
|
215
|
+
in stack.</p>
|
216
|
+
<div class="refsect3">
|
217
|
+
<a name="id-1.10.14.8.5.7"></a><h4>Parameters</h4>
|
218
|
+
<div class="informaltable"><table width="100%" border="0">
|
198
219
|
<colgroup>
|
199
|
-
<col
|
200
|
-
<col>
|
220
|
+
<col width="150px" class="parameters_name">
|
221
|
+
<col class="parameters_description">
|
222
|
+
<col width="200px" class="parameters_annotations">
|
201
223
|
</colgroup>
|
202
224
|
<tbody>
|
203
225
|
<tr>
|
204
|
-
<td
|
205
|
-
<td>A <a class="link" href="ClutterGroup.html" title="ClutterGroup"><span class="type">ClutterGroup</span></a>
|
206
|
-
</td>
|
207
|
-
</tr>
|
208
|
-
<tr>
|
209
|
-
<td><p><span class="term"><em class="parameter"><code>index_</code></em> :</span></p></td>
|
210
|
-
<td>the position of the requested actor.</td>
|
226
|
+
<td class="parameter_name"><p>self</p></td>
|
227
|
+
<td class="parameter_description"><p>A <a class="link" href="ClutterGroup.html" title="ClutterGroup"><span class="type">ClutterGroup</span></a></p></td>
|
228
|
+
<td class="parameter_annotations"> </td>
|
211
229
|
</tr>
|
212
230
|
<tr>
|
213
|
-
<td
|
214
|
-
<td>
|
215
|
-
<
|
216
|
-
</td>
|
231
|
+
<td class="parameter_name"><p>index_</p></td>
|
232
|
+
<td class="parameter_description"><p>the position of the requested actor.</p></td>
|
233
|
+
<td class="parameter_annotations"> </td>
|
217
234
|
</tr>
|
218
235
|
</tbody>
|
219
236
|
</table></div>
|
237
|
+
</div>
|
238
|
+
<div class="refsect3">
|
239
|
+
<a name="id-1.10.14.8.5.8"></a><h4>Returns</h4>
|
240
|
+
<p> A Clutter actor, or <code class="literal">NULL</code> if
|
241
|
+
<em class="parameter"><code>index_</code></em>
|
242
|
+
is invalid. </p>
|
243
|
+
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
244
|
+
</div>
|
220
245
|
<p class="since">Since 0.2</p>
|
221
246
|
</div>
|
222
247
|
</div>
|
248
|
+
<div class="refsect1">
|
249
|
+
<a name="ClutterGroup.other_details"></a><h2>Types and Values</h2>
|
250
|
+
<div class="refsect2">
|
251
|
+
<a name="ClutterGroup-struct"></a><h3>struct ClutterGroup</h3>
|
252
|
+
<pre class="programlisting">struct ClutterGroup;</pre>
|
253
|
+
<p>The <a class="link" href="ClutterGroup.html" title="ClutterGroup"><span class="type">ClutterGroup</span></a> structure contains only private data
|
254
|
+
and should be accessed using the provided API</p>
|
255
|
+
<p class="since">Since 0.1</p>
|
256
|
+
</div>
|
257
|
+
<hr>
|
258
|
+
<div class="refsect2">
|
259
|
+
<a name="ClutterGroupClass"></a><h3>struct ClutterGroupClass</h3>
|
260
|
+
<pre class="programlisting">struct ClutterGroupClass {
|
261
|
+
};
|
262
|
+
</pre>
|
263
|
+
<p>The <a class="link" href="ClutterGroup.html#ClutterGroupClass" title="struct ClutterGroupClass"><span class="type">ClutterGroupClass</span></a> structure contains only private data</p>
|
264
|
+
<p class="since">Since 0.1</p>
|
265
|
+
</div>
|
266
|
+
</div>
|
223
267
|
</div>
|
224
268
|
<div class="footer">
|
225
269
|
<hr>
|
226
|
-
Generated by GTK-Doc V1.
|
270
|
+
Generated by GTK-Doc V1.20.1</div>
|
227
271
|
</body>
|
228
272
|
</html>
|
@@ -8,19 +8,16 @@
|
|
8
8
|
<link rel="up" href="ch07.html" title="Content">
|
9
9
|
<link rel="prev" href="ClutterCanvas.html" title="ClutterCanvas">
|
10
10
|
<link rel="next" href="ch08.html" title="Paint Objects">
|
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="#ClutterImage.
|
20
|
-
|
21
|
-
<a href="#ClutterImage.object-hierarchy" class="shortcut">Object Hierarchy</a>
|
22
|
-
|
|
23
|
-
<a href="#ClutterImage.implemented-interfaces" class="shortcut">Implemented Interfaces</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="#ClutterImage.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span>
|
19
|
+
<a href="#ClutterImage.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_interfaces"> <span class="dim">|</span>
|
20
|
+
<a href="#ClutterImage.implemented-interfaces" class="shortcut">Implemented Interfaces</a></span>
|
24
21
|
</td>
|
25
22
|
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
26
23
|
<td><a accesskey="u" href="ch07.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
@@ -34,43 +31,90 @@
|
|
34
31
|
<h2><span class="refentrytitle"><a name="ClutterImage.top_of_page"></a>ClutterImage</span></h2>
|
35
32
|
<p>ClutterImage — Image data content</p>
|
36
33
|
</td>
|
37
|
-
<td valign="top" align="right"></td>
|
34
|
+
<td class="gallery_image" valign="top" align="right"></td>
|
38
35
|
</tr></table></div>
|
39
|
-
<div class="
|
40
|
-
<a name="ClutterImage.
|
41
|
-
<
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
<
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
<
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
<
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
36
|
+
<div class="refsect1">
|
37
|
+
<a name="ClutterImage.functions"></a><h2>Functions</h2>
|
38
|
+
<div class="informaltable"><table width="100%" border="0">
|
39
|
+
<colgroup>
|
40
|
+
<col width="150px" class="functions_return">
|
41
|
+
<col class="functions_name">
|
42
|
+
</colgroup>
|
43
|
+
<tbody>
|
44
|
+
<tr>
|
45
|
+
<td class="define_keyword">#define</td>
|
46
|
+
<td class="function_name"><a class="link" href="ClutterImage.html#CLUTTER-IMAGE-ERROR:CAPS" title="CLUTTER_IMAGE_ERROR">CLUTTER_IMAGE_ERROR</a></td>
|
47
|
+
</tr>
|
48
|
+
<tr>
|
49
|
+
<td class="function_type">
|
50
|
+
<a class="link" href="ClutterContent.html" title="ClutterContent"><span class="returnvalue">ClutterContent</span></a> *
|
51
|
+
</td>
|
52
|
+
<td class="function_name">
|
53
|
+
<a class="link" href="ClutterImage.html#clutter-image-new" title="clutter_image_new ()">clutter_image_new</a> <span class="c_punctuation">()</span>
|
54
|
+
</td>
|
55
|
+
</tr>
|
56
|
+
<tr>
|
57
|
+
<td class="function_type">
|
58
|
+
<span class="returnvalue">gboolean</span>
|
59
|
+
</td>
|
60
|
+
<td class="function_name">
|
61
|
+
<a class="link" href="ClutterImage.html#clutter-image-set-data" title="clutter_image_set_data ()">clutter_image_set_data</a> <span class="c_punctuation">()</span>
|
62
|
+
</td>
|
63
|
+
</tr>
|
64
|
+
<tr>
|
65
|
+
<td class="function_type">
|
66
|
+
<span class="returnvalue">gboolean</span>
|
67
|
+
</td>
|
68
|
+
<td class="function_name">
|
69
|
+
<a class="link" href="ClutterImage.html#clutter-image-set-bytes" title="clutter_image_set_bytes ()">clutter_image_set_bytes</a> <span class="c_punctuation">()</span>
|
70
|
+
</td>
|
71
|
+
</tr>
|
72
|
+
<tr>
|
73
|
+
<td class="function_type">
|
74
|
+
<span class="returnvalue">gboolean</span>
|
75
|
+
</td>
|
76
|
+
<td class="function_name">
|
77
|
+
<a class="link" href="ClutterImage.html#clutter-image-set-area" title="clutter_image_set_area ()">clutter_image_set_area</a> <span class="c_punctuation">()</span>
|
78
|
+
</td>
|
79
|
+
</tr>
|
80
|
+
<tr>
|
81
|
+
<td class="function_type">
|
82
|
+
<span class="returnvalue">CoglTexture</span> *
|
83
|
+
</td>
|
84
|
+
<td class="function_name">
|
85
|
+
<a class="link" href="ClutterImage.html#clutter-image-get-texture" title="clutter_image_get_texture ()">clutter_image_get_texture</a> <span class="c_punctuation">()</span>
|
86
|
+
</td>
|
87
|
+
</tr>
|
88
|
+
</tbody>
|
89
|
+
</table></div>
|
90
|
+
</div>
|
91
|
+
<div class="refsect1">
|
92
|
+
<a name="ClutterImage.other"></a><h2>Types and Values</h2>
|
93
|
+
<div class="informaltable"><table width="100%" border="0">
|
94
|
+
<colgroup>
|
95
|
+
<col width="150px" class="name">
|
96
|
+
<col class="description">
|
97
|
+
</colgroup>
|
98
|
+
<tbody>
|
99
|
+
<tr>
|
100
|
+
<td class="datatype_keyword">struct</td>
|
101
|
+
<td class="function_name"><a class="link" href="ClutterImage.html#ClutterImage-struct" title="struct ClutterImage">ClutterImage</a></td>
|
102
|
+
</tr>
|
103
|
+
<tr>
|
104
|
+
<td class="datatype_keyword">struct</td>
|
105
|
+
<td class="function_name"><a class="link" href="ClutterImage.html#ClutterImageClass" title="struct ClutterImageClass">ClutterImageClass</a></td>
|
106
|
+
</tr>
|
107
|
+
<tr>
|
108
|
+
<td class="datatype_keyword">enum</td>
|
109
|
+
<td class="function_name"><a class="link" href="ClutterImage.html#ClutterImageError" title="enum ClutterImageError">ClutterImageError</a></td>
|
110
|
+
</tr>
|
111
|
+
</tbody>
|
112
|
+
</table></div>
|
68
113
|
</div>
|
69
114
|
<div class="refsect1">
|
70
115
|
<a name="ClutterImage.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
71
|
-
<pre class="
|
72
|
-
|
73
|
-
+----ClutterImage
|
116
|
+
<pre class="screen"> GObject
|
117
|
+
<span class="lineart">╰──</span> ClutterImage
|
74
118
|
</pre>
|
75
119
|
</div>
|
76
120
|
<div class="refsect1">
|
@@ -81,12 +125,57 @@ ClutterImage implements
|
|
81
125
|
</div>
|
82
126
|
<div class="refsect1">
|
83
127
|
<a name="ClutterImage.description"></a><h2>Description</h2>
|
84
|
-
<p>
|
85
|
-
|
86
|
-
image
|
87
|
-
</p>
|
88
|
-
<p>
|
89
|
-
</
|
128
|
+
<p><a class="link" href="ClutterImage.html" title="ClutterImage"><span class="type">ClutterImage</span></a> is a <a class="link" href="ClutterContent.html" title="ClutterContent"><span class="type">ClutterContent</span></a> implementation that displays
|
129
|
+
image data inside a <a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a>.</p>
|
130
|
+
<p>See <a class="ulink" href="https://git.gnome.org/browse/clutter/tree/examples/image-content.c?h=clutter-1.18" target="_top">image.c</a>
|
131
|
+
for an example of how to use <a class="link" href="ClutterImage.html" title="ClutterImage"><span class="type">ClutterImage</span></a>.</p>
|
132
|
+
<p><a class="link" href="ClutterImage.html" title="ClutterImage"><span class="type">ClutterImage</span></a> is available since Clutter 1.10.</p>
|
133
|
+
</div>
|
134
|
+
<div class="refsect1">
|
135
|
+
<a name="ClutterImage.functions_details"></a><h2>Functions</h2>
|
136
|
+
<div class="refsect2">
|
137
|
+
<a name="CLUTTER-IMAGE-ERROR:CAPS"></a><h3>CLUTTER_IMAGE_ERROR</h3>
|
138
|
+
<pre class="programlisting">#define CLUTTER_IMAGE_ERROR (clutter_image_error_quark ())
|
139
|
+
</pre>
|
140
|
+
<p>Error domain for the <a class="link" href="ClutterImage.html#ClutterImageError" title="enum ClutterImageError"><span class="type">ClutterImageError</span></a> enumeration.</p>
|
141
|
+
<p class="since">Since 1.10</p>
|
142
|
+
</div>
|
143
|
+
<hr>
|
144
|
+
<div class="refsect2">
|
145
|
+
<a name="clutter-image-new"></a><h3>clutter_image_new ()</h3>
|
146
|
+
<pre class="programlisting"><a class="link" href="ClutterContent.html" title="ClutterContent"><span class="returnvalue">ClutterContent</span></a> *
|
147
|
+
clutter_image_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
148
|
+
<p>Creates a new <a class="link" href="ClutterImage.html" title="ClutterImage"><span class="type">ClutterImage</span></a> instance.</p>
|
149
|
+
<div class="refsect3">
|
150
|
+
<a name="id-1.5.8.3.8.3.5"></a><h4>Returns</h4>
|
151
|
+
<p> the newly created <a class="link" href="ClutterImage.html" title="ClutterImage"><span class="type">ClutterImage</span></a> instance.
|
152
|
+
Use <code class="function">g_object_unref()</code> when done. </p>
|
153
|
+
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
154
|
+
</div>
|
155
|
+
<p class="since">Since 1.10</p>
|
156
|
+
</div>
|
157
|
+
<hr>
|
158
|
+
<div class="refsect2">
|
159
|
+
<a name="clutter-image-set-data"></a><h3>clutter_image_set_data ()</h3>
|
160
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
161
|
+
clutter_image_set_data (<em class="parameter"><code><a class="link" href="ClutterImage.html" title="ClutterImage"><span class="type">ClutterImage</span></a> *image</code></em>,
|
162
|
+
<em class="parameter"><code>const <span class="type">guint8</span> *data</code></em>,
|
163
|
+
<em class="parameter"><code><span class="type">CoglPixelFormat</span> pixel_format</code></em>,
|
164
|
+
<em class="parameter"><code><span class="type">guint</span> width</code></em>,
|
165
|
+
<em class="parameter"><code><span class="type">guint</span> height</code></em>,
|
166
|
+
<em class="parameter"><code><span class="type">guint</span> row_stride</code></em>,
|
167
|
+
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
|
168
|
+
<p>Sets the image data to be displayed by <em class="parameter"><code>image</code></em>
|
169
|
+
.</p>
|
170
|
+
<p>If the image data was successfully loaded, the <em class="parameter"><code>image</code></em>
|
171
|
+
will be invalidated.</p>
|
172
|
+
<p>In case of error, the <em class="parameter"><code>error</code></em>
|
173
|
+
value will be set, and this function will
|
174
|
+
return <code class="literal">FALSE</code>.</p>
|
175
|
+
<p>The image data is copied in texture memory.</p>
|
176
|
+
<p>The image data is expected to be a linear array of RGBA or RGB pixel data;
|
177
|
+
how to retrieve that data is left to platform specific image loaders. For
|
178
|
+
instance, if you use the GdkPixbuf library:</p>
|
90
179
|
<div class="informalexample">
|
91
180
|
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
92
181
|
<tbody>
|
@@ -105,555 +194,334 @@ image data.
|
|
105
194
|
12
|
106
195
|
13
|
107
196
|
14
|
108
|
-
15
|
109
|
-
|
110
|
-
17
|
111
|
-
18
|
112
|
-
19
|
113
|
-
20
|
114
|
-
21
|
115
|
-
22
|
116
|
-
23
|
117
|
-
24
|
118
|
-
25
|
119
|
-
26
|
120
|
-
27
|
121
|
-
28
|
122
|
-
29
|
123
|
-
30
|
124
|
-
31
|
125
|
-
32
|
126
|
-
33
|
127
|
-
34
|
128
|
-
35
|
129
|
-
36
|
130
|
-
37
|
131
|
-
38
|
132
|
-
39
|
133
|
-
40
|
134
|
-
41
|
135
|
-
42
|
136
|
-
43
|
137
|
-
44
|
138
|
-
45
|
139
|
-
46
|
140
|
-
47
|
141
|
-
48
|
142
|
-
49
|
143
|
-
50
|
144
|
-
51
|
145
|
-
52
|
146
|
-
53
|
147
|
-
54
|
148
|
-
55
|
149
|
-
56
|
150
|
-
57
|
151
|
-
58
|
152
|
-
59
|
153
|
-
60
|
154
|
-
61
|
155
|
-
62
|
156
|
-
63
|
157
|
-
64
|
158
|
-
65
|
159
|
-
66
|
160
|
-
67
|
161
|
-
68
|
162
|
-
69
|
163
|
-
70
|
164
|
-
71
|
165
|
-
72
|
166
|
-
73
|
167
|
-
74
|
168
|
-
75
|
169
|
-
76
|
170
|
-
77
|
171
|
-
78
|
172
|
-
79
|
173
|
-
80
|
174
|
-
81
|
175
|
-
82
|
176
|
-
83
|
177
|
-
84
|
178
|
-
85
|
179
|
-
86
|
180
|
-
87
|
181
|
-
88
|
182
|
-
89
|
183
|
-
90
|
184
|
-
91
|
185
|
-
92
|
186
|
-
93
|
187
|
-
94
|
188
|
-
95
|
189
|
-
96
|
190
|
-
97
|
191
|
-
98
|
192
|
-
99
|
193
|
-
100
|
194
|
-
101
|
195
|
-
102
|
196
|
-
103
|
197
|
-
104
|
198
|
-
105
|
199
|
-
106
|
200
|
-
107
|
201
|
-
108
|
202
|
-
109
|
203
|
-
110</pre></td>
|
204
|
-
<td class="listing_code"><pre class="programlisting"><span class="preproc">#include</span><span class="normal"> </span><span class="string"><stdlib.h></span>
|
205
|
-
<span class="preproc">#include</span><span class="normal"> </span><span class="string"><gdk-pixbuf/gdk-pixbuf.h></span>
|
206
|
-
<span class="preproc">#include</span><span class="normal"> </span><span class="string"><clutter/clutter.h></span>
|
207
|
-
|
208
|
-
<span class="keyword">static</span><span class="normal"> </span><span class="keyword">const</span><span class="normal"> </span><span class="keyword">struct</span><span class="normal"> </span><span class="cbracket">{</span>
|
209
|
-
<span class="normal"> </span><span class="usertype">ClutterContentGravity</span><span class="normal"> gravity</span><span class="symbol">;</span>
|
210
|
-
<span class="normal"> </span><span class="keyword">const</span><span class="normal"> </span><span class="type">char</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">name</span><span class="symbol">;</span>
|
211
|
-
<span class="cbracket">}</span><span class="normal"> gravities</span><span class="symbol">[]</span><span class="normal"> </span><span class="symbol">=</span><span class="normal"> </span><span class="cbracket">{</span>
|
212
|
-
<span class="normal"> </span><span class="cbracket">{</span><span class="normal"> <a href="ClutterActor.html#CLUTTER-CONTENT-GRAVITY-TOP-LEFT:CAPS">CLUTTER_CONTENT_GRAVITY_TOP_LEFT</a></span><span class="symbol">,</span><span class="normal"> </span><span class="string">"Top Left"</span><span class="normal"> </span><span class="cbracket">}</span><span class="symbol">,</span>
|
213
|
-
<span class="normal"> </span><span class="cbracket">{</span><span class="normal"> <a href="ClutterActor.html#CLUTTER-CONTENT-GRAVITY-TOP:CAPS">CLUTTER_CONTENT_GRAVITY_TOP</a></span><span class="symbol">,</span><span class="normal"> </span><span class="string">"Top"</span><span class="normal"> </span><span class="cbracket">}</span><span class="symbol">,</span>
|
214
|
-
<span class="normal"> </span><span class="cbracket">{</span><span class="normal"> <a href="ClutterActor.html#CLUTTER-CONTENT-GRAVITY-TOP-RIGHT:CAPS">CLUTTER_CONTENT_GRAVITY_TOP_RIGHT</a></span><span class="symbol">,</span><span class="normal"> </span><span class="string">"Top Right"</span><span class="normal"> </span><span class="cbracket">}</span><span class="symbol">,</span>
|
215
|
-
|
216
|
-
<span class="normal"> </span><span class="cbracket">{</span><span class="normal"> <a href="ClutterActor.html#CLUTTER-CONTENT-GRAVITY-LEFT:CAPS">CLUTTER_CONTENT_GRAVITY_LEFT</a></span><span class="symbol">,</span><span class="normal"> </span><span class="string">"Left"</span><span class="normal"> </span><span class="cbracket">}</span><span class="symbol">,</span>
|
217
|
-
<span class="normal"> </span><span class="cbracket">{</span><span class="normal"> <a href="ClutterActor.html#CLUTTER-CONTENT-GRAVITY-CENTER:CAPS">CLUTTER_CONTENT_GRAVITY_CENTER</a></span><span class="symbol">,</span><span class="normal"> </span><span class="string">"Center"</span><span class="normal"> </span><span class="cbracket">}</span><span class="symbol">,</span>
|
218
|
-
<span class="normal"> </span><span class="cbracket">{</span><span class="normal"> <a href="ClutterActor.html#CLUTTER-CONTENT-GRAVITY-RIGHT:CAPS">CLUTTER_CONTENT_GRAVITY_RIGHT</a></span><span class="symbol">,</span><span class="normal"> </span><span class="string">"Right"</span><span class="normal"> </span><span class="cbracket">}</span><span class="symbol">,</span>
|
219
|
-
|
220
|
-
<span class="normal"> </span><span class="cbracket">{</span><span class="normal"> <a href="ClutterActor.html#CLUTTER-CONTENT-GRAVITY-BOTTOM-LEFT:CAPS">CLUTTER_CONTENT_GRAVITY_BOTTOM_LEFT</a></span><span class="symbol">,</span><span class="normal"> </span><span class="string">"Bottom Left"</span><span class="normal"> </span><span class="cbracket">}</span><span class="symbol">,</span>
|
221
|
-
<span class="normal"> </span><span class="cbracket">{</span><span class="normal"> <a href="ClutterActor.html#CLUTTER-CONTENT-GRAVITY-BOTTOM:CAPS">CLUTTER_CONTENT_GRAVITY_BOTTOM</a></span><span class="symbol">,</span><span class="normal"> </span><span class="string">"Bottom"</span><span class="normal"> </span><span class="cbracket">}</span><span class="symbol">,</span>
|
222
|
-
<span class="normal"> </span><span class="cbracket">{</span><span class="normal"> <a href="ClutterActor.html#CLUTTER-CONTENT-GRAVITY-BOTTOM-RIGHT:CAPS">CLUTTER_CONTENT_GRAVITY_BOTTOM_RIGHT</a></span><span class="symbol">,</span><span class="normal"> </span><span class="string">"Bottom Right"</span><span class="normal"> </span><span class="cbracket">}</span><span class="symbol">,</span>
|
223
|
-
|
224
|
-
<span class="normal"> </span><span class="cbracket">{</span><span class="normal"> <a href="ClutterActor.html#CLUTTER-CONTENT-GRAVITY-RESIZE-FILL:CAPS">CLUTTER_CONTENT_GRAVITY_RESIZE_FILL</a></span><span class="symbol">,</span><span class="normal"> </span><span class="string">"Resize Fill"</span><span class="normal"> </span><span class="cbracket">}</span><span class="symbol">,</span>
|
225
|
-
<span class="normal"> </span><span class="cbracket">{</span><span class="normal"> <a href="ClutterActor.html#CLUTTER-CONTENT-GRAVITY-RESIZE-ASPECT:CAPS">CLUTTER_CONTENT_GRAVITY_RESIZE_ASPECT</a></span><span class="symbol">,</span><span class="normal"> </span><span class="string">"Resize Aspect"</span><span class="normal"> </span><span class="cbracket">}</span><span class="symbol">,</span>
|
226
|
-
<span class="cbracket">}</span><span class="symbol">;</span>
|
227
|
-
|
228
|
-
<span class="keyword">static</span><span class="normal"> </span><span class="type">int</span><span class="normal"> n_gravities </span><span class="symbol">=</span><span class="normal"> </span><span class="function">G_N_ELEMENTS</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">gravities</span><span class="symbol">);</span>
|
229
|
-
<span class="keyword">static</span><span class="normal"> </span><span class="type">int</span><span class="normal"> cur_gravity </span><span class="symbol">=</span><span class="normal"> </span><span class="number">0</span><span class="symbol">;</span>
|
230
|
-
|
231
|
-
<span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
|
232
|
-
<span class="function">on_tap</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">ClutterTapAction</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">action</span><span class="symbol">,</span>
|
233
|
-
<span class="normal"> </span><span class="usertype">ClutterActor</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">actor</span><span class="symbol">,</span>
|
234
|
-
<span class="normal"> </span><span class="usertype">ClutterText</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">label</span><span class="symbol">)</span>
|
235
|
-
<span class="cbracket">{</span>
|
236
|
-
<span class="normal"> </span><span class="usertype">gchar</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">str</span><span class="symbol">;</span>
|
237
|
-
|
238
|
-
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-save-easing-state">clutter_actor_save_easing_state</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">actor</span><span class="symbol">);</span>
|
239
|
-
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-set-content-gravity">clutter_actor_set_content_gravity</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">actor</span><span class="symbol">,</span><span class="normal"> gravities</span><span class="symbol">[</span><span class="normal">cur_gravity</span><span class="symbol">].</span><span class="normal">gravity</span><span class="symbol">);</span>
|
240
|
-
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-restore-easing-state">clutter_actor_restore_easing_state</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">actor</span><span class="symbol">);</span>
|
197
|
+
15</pre></td>
|
198
|
+
<td class="listing_code"><pre class="programlisting"><span class="usertype">ClutterContent</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">image </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="ClutterImage.html#clutter-image-new">clutter_image_new</a></span><span class="normal"> </span><span class="symbol">();</span>
|
241
199
|
|
242
|
-
<span class="
|
243
|
-
<span class="normal"> </span><span class="function"><a href="ClutterText.html#clutter-text-set-text">clutter_text_set_text</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">label</span><span class="symbol">,</span><span class="normal"> str</span><span class="symbol">);</span>
|
244
|
-
<span class="normal"> </span><span class="function">g_free</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">str</span><span class="symbol">);</span>
|
200
|
+
<span class="usertype">GdkPixbuf</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">pixbuf </span><span class="symbol">=</span><span class="normal"> </span><span class="function">gdk_pixbuf_new_from_file</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">filename</span><span class="symbol">,</span><span class="normal"> NULL</span><span class="symbol">);</span>
|
245
201
|
|
246
|
-
<span class="normal">
|
202
|
+
<span class="function"><a href="ClutterImage.html#clutter-image-set-data">clutter_image_set_data</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">CLUTTER_IMAGE</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">image</span><span class="symbol">),</span>
|
203
|
+
<span class="normal"> </span><span class="function">gdk_pixbuf_get_pixels</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">pixbuf</span><span class="symbol">),</span>
|
204
|
+
<span class="normal"> </span><span class="function">gdk_pixbuf_has_alpha</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">pixbuf</span><span class="symbol">)</span>
|
205
|
+
<span class="normal"> </span><span class="symbol">?</span><span class="normal"> COGL_PIXEL_FORMAT_RGBA_8888</span>
|
206
|
+
<span class="normal"> </span><span class="symbol">:</span><span class="normal"> COGL_PIXEL_FORMAT_RGB_888</span><span class="symbol">,</span>
|
207
|
+
<span class="normal"> </span><span class="function">gdk_pixbuf_get_width</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">pixbuf</span><span class="symbol">),</span>
|
208
|
+
<span class="normal"> </span><span class="function">gdk_pixbuf_get_height</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">pixbuf</span><span class="symbol">),</span>
|
209
|
+
<span class="normal"> </span><span class="function">gdk_pixbuf_get_rowstride</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">pixbuf</span><span class="symbol">),</span>
|
210
|
+
<span class="normal"> </span><span class="symbol">&</span><span class="normal">error</span><span class="symbol">);</span>
|
247
211
|
|
248
|
-
<span class="
|
249
|
-
<span class="normal"> cur_gravity </span><span class="symbol">=</span><span class="normal"> </span><span class="number">0</span><span class="symbol">;</span>
|
250
|
-
<span class="cbracket">}</span>
|
251
|
-
|
252
|
-
<span class="type">int</span>
|
253
|
-
<span class="function">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>
|
254
|
-
<span class="cbracket">{</span>
|
255
|
-
<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">text</span><span class="symbol">;</span>
|
256
|
-
<span class="normal"> </span><span class="usertype">ClutterContent</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">image</span><span class="symbol">;</span>
|
257
|
-
<span class="normal"> </span><span class="usertype">ClutterAction</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">action</span><span class="symbol">;</span>
|
258
|
-
<span class="normal"> </span><span class="usertype">GdkPixbuf</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">pixbuf</span><span class="symbol">;</span>
|
259
|
-
<span class="normal"> </span><span class="usertype">gchar</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">str</span><span class="symbol">;</span>
|
260
|
-
|
261
|
-
<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>
|
262
|
-
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> EXIT_FAILURE</span><span class="symbol">;</span>
|
263
|
-
|
264
|
-
<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>
|
265
|
-
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-set-name">clutter_actor_set_name</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="string">"Stage"</span><span class="symbol">);</span>
|
266
|
-
<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">"Content Box"</span><span class="symbol">);</span>
|
267
|
-
<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>
|
268
|
-
<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>
|
269
|
-
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-set-margin-top">clutter_actor_set_margin_top</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">12</span><span class="symbol">);</span>
|
270
|
-
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-set-margin-right">clutter_actor_set_margin_right</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">12</span><span class="symbol">);</span>
|
271
|
-
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-set-margin-bottom">clutter_actor_set_margin_bottom</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">12</span><span class="symbol">);</span>
|
272
|
-
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-set-margin-left">clutter_actor_set_margin_left</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">12</span><span class="symbol">);</span>
|
273
|
-
<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>
|
274
|
-
|
275
|
-
<span class="normal"> pixbuf </span><span class="symbol">=</span><span class="normal"> </span><span class="function">gdk_pixbuf_new_from_file</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">TESTS_DATADIR</span><span class="normal"> G_DIR_SEPARATOR_S </span><span class="string">"redhand.png"</span><span class="symbol">,</span><span class="normal"> NULL</span><span class="symbol">);</span>
|
276
|
-
<span class="normal"> image </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="ClutterImage.html#clutter-image-new">clutter_image_new</a></span><span class="normal"> </span><span class="symbol">();</span>
|
277
|
-
<span class="normal"> </span><span class="function"><a href="ClutterImage.html#clutter-image-set-data">clutter_image_set_data</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">CLUTTER_IMAGE</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">image</span><span class="symbol">),</span>
|
278
|
-
<span class="normal"> </span><span class="function">gdk_pixbuf_get_pixels</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">pixbuf</span><span class="symbol">),</span>
|
279
|
-
<span class="normal"> </span><span class="function">gdk_pixbuf_get_has_alpha</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">pixbuf</span><span class="symbol">)</span>
|
280
|
-
<span class="normal"> </span><span class="symbol">?</span><span class="normal"> COGL_PIXEL_FORMAT_RGBA_8888</span>
|
281
|
-
<span class="normal"> </span><span class="symbol">:</span><span class="normal"> COGL_PIXEL_FORMAT_RGB_888</span><span class="symbol">,</span>
|
282
|
-
<span class="normal"> </span><span class="function">gdk_pixbuf_get_width</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">pixbuf</span><span class="symbol">),</span>
|
283
|
-
<span class="normal"> </span><span class="function">gdk_pixbuf_get_height</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">pixbuf</span><span class="symbol">),</span>
|
284
|
-
<span class="normal"> </span><span class="function">gdk_pixbuf_get_rowstride</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">pixbuf</span><span class="symbol">),</span>
|
285
|
-
<span class="normal"> NULL</span><span class="symbol">);</span>
|
286
|
-
<span class="normal"> </span><span class="function">g_object_unref</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">pixbuf</span><span class="symbol">);</span>
|
287
|
-
|
288
|
-
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-set-content-scaling-filters">clutter_actor_set_content_scaling_filters</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">stage</span><span class="symbol">,</span>
|
289
|
-
<span class="normal"> <a href="ClutterActor.html#CLUTTER-SCALING-FILTER-TRILINEAR:CAPS">CLUTTER_SCALING_FILTER_TRILINEAR</a></span><span class="symbol">,</span>
|
290
|
-
<span class="normal"> <a href="ClutterActor.html#CLUTTER-SCALING-FILTER-LINEAR:CAPS">CLUTTER_SCALING_FILTER_LINEAR</a></span><span class="symbol">);</span>
|
291
|
-
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-set-content-gravity">clutter_actor_set_content_gravity</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">stage</span><span class="symbol">,</span><span class="normal"> gravities</span><span class="symbol">[</span><span class="normal">n_gravities </span><span class="symbol">-</span><span class="normal"> </span><span class="number">1</span><span class="symbol">].</span><span class="normal">gravity</span><span class="symbol">);</span>
|
292
|
-
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-set-content">clutter_actor_set_content</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">stage</span><span class="symbol">,</span><span class="normal"> image</span><span class="symbol">);</span>
|
293
|
-
<span class="normal"> </span><span class="function">g_object_unref</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">image</span><span class="symbol">);</span>
|
294
|
-
|
295
|
-
<span class="normal"> str </span><span class="symbol">=</span><span class="normal"> </span><span class="function">g_strconcat</span><span class="normal"> </span><span class="symbol">(</span><span class="string">"Content gravity: "</span><span class="symbol">,</span>
|
296
|
-
<span class="normal"> gravities</span><span class="symbol">[</span><span class="normal">n_gravities </span><span class="symbol">-</span><span class="normal"> </span><span class="number">1</span><span class="symbol">].</span><span class="normal">name</span><span class="symbol">,</span>
|
297
|
-
<span class="normal"> NULL</span><span class="symbol">);</span>
|
298
|
-
|
299
|
-
<span class="normal"> text </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="ClutterText.html#clutter-text-new">clutter_text_new</a></span><span class="normal"> </span><span class="symbol">();</span>
|
300
|
-
<span class="normal"> </span><span class="function"><a href="ClutterText.html#clutter-text-set-text">clutter_text_set_text</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">CLUTTER_TEXT</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">text</span><span class="symbol">),</span><span class="normal"> str</span><span class="symbol">);</span>
|
301
|
-
<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">text</span><span class="symbol">,</span><span class="normal"> </span><span class="function"><a href="ClutterAlignConstraint.html#clutter-align-constraint-new">clutter_align_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="ClutterAlignConstraint.html#CLUTTER-ALIGN-BOTH:CAPS">CLUTTER_ALIGN_BOTH</a></span><span class="symbol">,</span><span class="normal"> </span><span class="number">0.5</span><span class="symbol">));</span>
|
302
|
-
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-add-child">clutter_actor_add_child</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">stage</span><span class="symbol">,</span><span class="normal"> text</span><span class="symbol">);</span>
|
303
|
-
|
304
|
-
<span class="normal"> </span><span class="function">g_free</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">str</span><span class="symbol">);</span>
|
305
|
-
|
306
|
-
<span class="normal"> action </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="ClutterTapAction.html#clutter-tap-action-new">clutter_tap_action_new</a></span><span class="normal"> </span><span class="symbol">();</span>
|
307
|
-
<span class="normal"> </span><span class="function">g_signal_connect</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">action</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"tap"</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">on_tap</span><span class="symbol">),</span><span class="normal"> text</span><span class="symbol">);</span>
|
308
|
-
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-add-action">clutter_actor_add_action</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">stage</span><span class="symbol">,</span><span class="normal"> action</span><span class="symbol">);</span>
|
309
|
-
|
310
|
-
<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>
|
311
|
-
|
312
|
-
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> EXIT_SUCCESS</span><span class="symbol">;</span>
|
313
|
-
<span class="cbracket">}</span></pre></td>
|
212
|
+
<span class="function">g_object_unref</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">pixbuf</span><span class="symbol">);</span></pre></td>
|
314
213
|
</tr>
|
315
214
|
</tbody>
|
316
215
|
</table>
|
317
216
|
</div>
|
318
217
|
|
319
|
-
<p>
|
320
|
-
|
321
|
-
<
|
322
|
-
<
|
323
|
-
</p>
|
324
|
-
</div>
|
325
|
-
<div class="refsect1">
|
326
|
-
<a name="ClutterImage.details"></a><h2>Details</h2>
|
327
|
-
<div class="refsect2">
|
328
|
-
<a name="ClutterImage-struct"></a><h3>struct ClutterImage</h3>
|
329
|
-
<pre class="programlisting">struct ClutterImage;</pre>
|
330
|
-
<p>
|
331
|
-
The <span class="structname">ClutterImage</span> structure contains
|
332
|
-
private data and should only be accessed using the provided
|
333
|
-
API.
|
334
|
-
</p>
|
335
|
-
<p class="since">Since 1.10</p>
|
336
|
-
</div>
|
337
|
-
<hr>
|
338
|
-
<div class="refsect2">
|
339
|
-
<a name="ClutterImageClass"></a><h3>struct ClutterImageClass</h3>
|
340
|
-
<pre class="programlisting">struct ClutterImageClass {
|
341
|
-
};
|
342
|
-
</pre>
|
343
|
-
<p>
|
344
|
-
The <span class="structname">ClutterImageClass</span> structure contains
|
345
|
-
private data.
|
346
|
-
</p>
|
347
|
-
<p class="since">Since 1.10</p>
|
348
|
-
</div>
|
349
|
-
<hr>
|
350
|
-
<div class="refsect2">
|
351
|
-
<a name="CLUTTER-IMAGE-ERROR:CAPS"></a><h3>CLUTTER_IMAGE_ERROR</h3>
|
352
|
-
<pre class="programlisting">#define CLUTTER_IMAGE_ERROR (clutter_image_error_quark ())
|
353
|
-
</pre>
|
354
|
-
<p>
|
355
|
-
Error domain for the <a class="link" href="ClutterImage.html#ClutterImageError" title="enum ClutterImageError"><span class="type">ClutterImageError</span></a> enumeration.
|
356
|
-
</p>
|
357
|
-
<p class="since">Since 1.10</p>
|
358
|
-
</div>
|
359
|
-
<hr>
|
360
|
-
<div class="refsect2">
|
361
|
-
<a name="ClutterImageError"></a><h3>enum ClutterImageError</h3>
|
362
|
-
<pre class="programlisting">typedef enum {
|
363
|
-
CLUTTER_IMAGE_ERROR_INVALID_DATA
|
364
|
-
} ClutterImageError;
|
365
|
-
</pre>
|
366
|
-
<p>
|
367
|
-
Error enumeration for <a class="link" href="ClutterImage.html" title="ClutterImage"><span class="type">ClutterImage</span></a>.
|
368
|
-
</p>
|
369
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
218
|
+
<p></p>
|
219
|
+
<div class="refsect3">
|
220
|
+
<a name="id-1.5.8.3.8.4.11"></a><h4>Parameters</h4>
|
221
|
+
<div class="informaltable"><table width="100%" border="0">
|
370
222
|
<colgroup>
|
371
|
-
<col
|
372
|
-
<col>
|
373
|
-
|
374
|
-
<tbody><tr>
|
375
|
-
<td><p><a name="CLUTTER-IMAGE-ERROR-INVALID-DATA:CAPS"></a><span class="term"><code class="literal">CLUTTER_IMAGE_ERROR_INVALID_DATA</code></span></p></td>
|
376
|
-
<td>Invalid data passed to the
|
377
|
-
<a class="link" href="ClutterImage.html#clutter-image-set-data" title="clutter_image_set_data ()"><code class="function">clutter_image_set_data()</code></a> function.
|
378
|
-
</td>
|
379
|
-
</tr></tbody>
|
380
|
-
</table></div>
|
381
|
-
<p class="since">Since 1.10</p>
|
382
|
-
</div>
|
383
|
-
<hr>
|
384
|
-
<div class="refsect2">
|
385
|
-
<a name="clutter-image-new"></a><h3>clutter_image_new ()</h3>
|
386
|
-
<pre class="programlisting"><a class="link" href="ClutterContent.html" title="ClutterContent"><span class="returnvalue">ClutterContent</span></a> * clutter_image_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
387
|
-
<p>
|
388
|
-
Creates a new <a class="link" href="ClutterImage.html" title="ClutterImage"><span class="type">ClutterImage</span></a> instance.
|
389
|
-
</p>
|
390
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
391
|
-
<colgroup>
|
392
|
-
<col align="left" valign="top">
|
393
|
-
<col>
|
394
|
-
</colgroup>
|
395
|
-
<tbody><tr>
|
396
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
397
|
-
<td>the newly created <a class="link" href="ClutterImage.html" title="ClutterImage"><span class="type">ClutterImage</span></a> instance.
|
398
|
-
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>
|
399
|
-
</td>
|
400
|
-
</tr></tbody>
|
401
|
-
</table></div>
|
402
|
-
<p class="since">Since 1.10</p>
|
403
|
-
</div>
|
404
|
-
<hr>
|
405
|
-
<div class="refsect2">
|
406
|
-
<a name="clutter-image-set-data"></a><h3>clutter_image_set_data ()</h3>
|
407
|
-
<pre class="programlisting"><span class="returnvalue">gboolean</span> clutter_image_set_data (<em class="parameter"><code><a class="link" href="ClutterImage.html" title="ClutterImage"><span class="type">ClutterImage</span></a> *image</code></em>,
|
408
|
-
<em class="parameter"><code>const <span class="type">guint8</span> *data</code></em>,
|
409
|
-
<em class="parameter"><code><span class="type">CoglPixelFormat</span> pixel_format</code></em>,
|
410
|
-
<em class="parameter"><code><span class="type">guint</span> width</code></em>,
|
411
|
-
<em class="parameter"><code><span class="type">guint</span> height</code></em>,
|
412
|
-
<em class="parameter"><code><span class="type">guint</span> row_stride</code></em>,
|
413
|
-
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
|
414
|
-
<p>
|
415
|
-
Sets the image data to be displayed by <em class="parameter"><code>image</code></em>.
|
416
|
-
</p>
|
417
|
-
<p>
|
418
|
-
If the image data was successfully loaded, the <em class="parameter"><code>image</code></em> will be invalidated.
|
419
|
-
</p>
|
420
|
-
<p>
|
421
|
-
In case of error, the <em class="parameter"><code>error</code></em> value will be set, and this function will
|
422
|
-
return <code class="literal">FALSE</code>.
|
423
|
-
</p>
|
424
|
-
<p>
|
425
|
-
The image data is copied in texture memory.
|
426
|
-
</p>
|
427
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
428
|
-
<colgroup>
|
429
|
-
<col align="left" valign="top">
|
430
|
-
<col>
|
223
|
+
<col width="150px" class="parameters_name">
|
224
|
+
<col class="parameters_description">
|
225
|
+
<col width="200px" class="parameters_annotations">
|
431
226
|
</colgroup>
|
432
227
|
<tbody>
|
433
228
|
<tr>
|
434
|
-
<td
|
435
|
-
<td>a <a class="link" href="ClutterImage.html" title="ClutterImage"><span class="type">ClutterImage</span></a>
|
436
|
-
</td>
|
229
|
+
<td class="parameter_name"><p>image</p></td>
|
230
|
+
<td class="parameter_description"><p>a <a class="link" href="ClutterImage.html" title="ClutterImage"><span class="type">ClutterImage</span></a></p></td>
|
231
|
+
<td class="parameter_annotations"> </td>
|
437
232
|
</tr>
|
438
233
|
<tr>
|
439
|
-
<td
|
440
|
-
<td>the image data, as an array of bytes.
|
441
|
-
</td>
|
234
|
+
<td class="parameter_name"><p>data</p></td>
|
235
|
+
<td class="parameter_description"><p> the image data, as an array of bytes. </p></td>
|
236
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym>]</span></td>
|
442
237
|
</tr>
|
443
238
|
<tr>
|
444
|
-
<td
|
445
|
-
<td>the Cogl pixel format of the image data</td>
|
239
|
+
<td class="parameter_name"><p>pixel_format</p></td>
|
240
|
+
<td class="parameter_description"><p>the Cogl pixel format of the image data</p></td>
|
241
|
+
<td class="parameter_annotations"> </td>
|
446
242
|
</tr>
|
447
243
|
<tr>
|
448
|
-
<td
|
449
|
-
<td>the width of the image data</td>
|
244
|
+
<td class="parameter_name"><p>width</p></td>
|
245
|
+
<td class="parameter_description"><p>the width of the image data</p></td>
|
246
|
+
<td class="parameter_annotations"> </td>
|
450
247
|
</tr>
|
451
248
|
<tr>
|
452
|
-
<td
|
453
|
-
<td>the height of the image data</td>
|
249
|
+
<td class="parameter_name"><p>height</p></td>
|
250
|
+
<td class="parameter_description"><p>the height of the image data</p></td>
|
251
|
+
<td class="parameter_annotations"> </td>
|
454
252
|
</tr>
|
455
253
|
<tr>
|
456
|
-
<td
|
457
|
-
<td>the length of each row inside <em class="parameter"><code>data</code></em>
|
458
|
-
</td>
|
254
|
+
<td class="parameter_name"><p>row_stride</p></td>
|
255
|
+
<td class="parameter_description"><p>the length of each row inside <em class="parameter"><code>data</code></em>
|
256
|
+
</p></td>
|
257
|
+
<td class="parameter_annotations"> </td>
|
459
258
|
</tr>
|
460
259
|
<tr>
|
461
|
-
<td
|
462
|
-
<td>return location for a <span class="type">GError</span>, or <code class="literal">NULL</code>
|
463
|
-
</td>
|
464
|
-
</tr>
|
465
|
-
<tr>
|
466
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
467
|
-
<td>
|
468
|
-
<code class="literal">TRUE</code> if the image data was successfully loaded,
|
469
|
-
and <code class="literal">FALSE</code> otherwise.</td>
|
260
|
+
<td class="parameter_name"><p>error</p></td>
|
261
|
+
<td class="parameter_description"><p>return location for a <span class="type">GError</span>, or <code class="literal">NULL</code></p></td>
|
262
|
+
<td class="parameter_annotations"> </td>
|
470
263
|
</tr>
|
471
264
|
</tbody>
|
472
265
|
</table></div>
|
266
|
+
</div>
|
267
|
+
<div class="refsect3">
|
268
|
+
<a name="id-1.5.8.3.8.4.12"></a><h4>Returns</h4>
|
269
|
+
<p> <code class="literal">TRUE</code> if the image data was successfully loaded,
|
270
|
+
and <code class="literal">FALSE</code> otherwise.</p>
|
271
|
+
<p></p>
|
272
|
+
</div>
|
473
273
|
<p class="since">Since 1.10</p>
|
474
274
|
</div>
|
475
275
|
<hr>
|
476
276
|
<div class="refsect2">
|
477
|
-
<a name="clutter-image-set-bytes"></a><h3>clutter_image_set_bytes
|
478
|
-
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
479
|
-
|
480
|
-
|
481
|
-
|
482
|
-
|
483
|
-
|
484
|
-
|
485
|
-
<
|
486
|
-
Sets the image data stored inside a <span class="type">GBytes</span> to be displayed by <em class="parameter"><code>image</code></em
|
487
|
-
|
488
|
-
<p>
|
489
|
-
|
490
|
-
|
491
|
-
|
492
|
-
|
493
|
-
|
494
|
-
</
|
495
|
-
|
496
|
-
|
497
|
-
|
498
|
-
|
499
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
277
|
+
<a name="clutter-image-set-bytes"></a><h3>clutter_image_set_bytes ()</h3>
|
278
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
279
|
+
clutter_image_set_bytes (<em class="parameter"><code><a class="link" href="ClutterImage.html" title="ClutterImage"><span class="type">ClutterImage</span></a> *image</code></em>,
|
280
|
+
<em class="parameter"><code><span class="type">GBytes</span> *data</code></em>,
|
281
|
+
<em class="parameter"><code><span class="type">CoglPixelFormat</span> pixel_format</code></em>,
|
282
|
+
<em class="parameter"><code><span class="type">guint</span> width</code></em>,
|
283
|
+
<em class="parameter"><code><span class="type">guint</span> height</code></em>,
|
284
|
+
<em class="parameter"><code><span class="type">guint</span> row_stride</code></em>,
|
285
|
+
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
|
286
|
+
<p>Sets the image data stored inside a <span class="type">GBytes</span> to be displayed by <em class="parameter"><code>image</code></em>
|
287
|
+
.</p>
|
288
|
+
<p>If the image data was successfully loaded, the <em class="parameter"><code>image</code></em>
|
289
|
+
will be invalidated.</p>
|
290
|
+
<p>In case of error, the <em class="parameter"><code>error</code></em>
|
291
|
+
value will be set, and this function will
|
292
|
+
return <code class="literal">FALSE</code>.</p>
|
293
|
+
<p>The image data contained inside the <span class="type">GBytes</span> is copied in texture memory,
|
294
|
+
and no additional reference is acquired on the <em class="parameter"><code>data</code></em>
|
295
|
+
.</p>
|
296
|
+
<div class="refsect3">
|
297
|
+
<a name="id-1.5.8.3.8.5.8"></a><h4>Parameters</h4>
|
298
|
+
<div class="informaltable"><table width="100%" border="0">
|
500
299
|
<colgroup>
|
501
|
-
<col
|
502
|
-
<col>
|
300
|
+
<col width="150px" class="parameters_name">
|
301
|
+
<col class="parameters_description">
|
302
|
+
<col width="200px" class="parameters_annotations">
|
503
303
|
</colgroup>
|
504
304
|
<tbody>
|
505
305
|
<tr>
|
506
|
-
<td
|
507
|
-
<td>a <a class="link" href="ClutterImage.html" title="ClutterImage"><span class="type">ClutterImage</span></a>
|
508
|
-
</td>
|
306
|
+
<td class="parameter_name"><p>image</p></td>
|
307
|
+
<td class="parameter_description"><p>a <a class="link" href="ClutterImage.html" title="ClutterImage"><span class="type">ClutterImage</span></a></p></td>
|
308
|
+
<td class="parameter_annotations"> </td>
|
509
309
|
</tr>
|
510
310
|
<tr>
|
511
|
-
<td
|
512
|
-
<td>the image data, as a <span class="type">GBytes</span>
|
513
|
-
</td>
|
311
|
+
<td class="parameter_name"><p>data</p></td>
|
312
|
+
<td class="parameter_description"><p>the image data, as a <span class="type">GBytes</span></p></td>
|
313
|
+
<td class="parameter_annotations"> </td>
|
514
314
|
</tr>
|
515
315
|
<tr>
|
516
|
-
<td
|
517
|
-
<td>the Cogl pixel format of the image data</td>
|
316
|
+
<td class="parameter_name"><p>pixel_format</p></td>
|
317
|
+
<td class="parameter_description"><p>the Cogl pixel format of the image data</p></td>
|
318
|
+
<td class="parameter_annotations"> </td>
|
518
319
|
</tr>
|
519
320
|
<tr>
|
520
|
-
<td
|
521
|
-
<td>the width of the image data</td>
|
321
|
+
<td class="parameter_name"><p>width</p></td>
|
322
|
+
<td class="parameter_description"><p>the width of the image data</p></td>
|
323
|
+
<td class="parameter_annotations"> </td>
|
522
324
|
</tr>
|
523
325
|
<tr>
|
524
|
-
<td
|
525
|
-
<td>the height of the image data</td>
|
326
|
+
<td class="parameter_name"><p>height</p></td>
|
327
|
+
<td class="parameter_description"><p>the height of the image data</p></td>
|
328
|
+
<td class="parameter_annotations"> </td>
|
526
329
|
</tr>
|
527
330
|
<tr>
|
528
|
-
<td
|
529
|
-
<td>the length of each row inside <em class="parameter"><code>data</code></em>
|
530
|
-
</td>
|
331
|
+
<td class="parameter_name"><p>row_stride</p></td>
|
332
|
+
<td class="parameter_description"><p>the length of each row inside <em class="parameter"><code>data</code></em>
|
333
|
+
</p></td>
|
334
|
+
<td class="parameter_annotations"> </td>
|
531
335
|
</tr>
|
532
336
|
<tr>
|
533
|
-
<td
|
534
|
-
<td>return location for a <span class="type">GError</span>, or <code class="literal">NULL</code>
|
535
|
-
</td>
|
536
|
-
</tr>
|
537
|
-
<tr>
|
538
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
539
|
-
<td>
|
540
|
-
<code class="literal">TRUE</code> if the image data was successfully loaded,
|
541
|
-
and <code class="literal">FALSE</code> otherwise.</td>
|
337
|
+
<td class="parameter_name"><p>error</p></td>
|
338
|
+
<td class="parameter_description"><p>return location for a <span class="type">GError</span>, or <code class="literal">NULL</code></p></td>
|
339
|
+
<td class="parameter_annotations"> </td>
|
542
340
|
</tr>
|
543
341
|
</tbody>
|
544
342
|
</table></div>
|
343
|
+
</div>
|
344
|
+
<div class="refsect3">
|
345
|
+
<a name="id-1.5.8.3.8.5.9"></a><h4>Returns</h4>
|
346
|
+
<p> <code class="literal">TRUE</code> if the image data was successfully loaded,
|
347
|
+
and <code class="literal">FALSE</code> otherwise.</p>
|
348
|
+
<p></p>
|
349
|
+
</div>
|
545
350
|
<p class="since">Since 1.12</p>
|
546
351
|
</div>
|
547
352
|
<hr>
|
548
353
|
<div class="refsect2">
|
549
|
-
<a name="clutter-image-set-area"></a><h3>clutter_image_set_area
|
550
|
-
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
551
|
-
|
552
|
-
|
553
|
-
|
554
|
-
|
555
|
-
|
556
|
-
<
|
557
|
-
Sets the image data to be display by <em class="parameter"><code>image</code></em
|
558
|
-
|
559
|
-
|
560
|
-
|
561
|
-
If the <em class="parameter"><code>image</code></em>
|
354
|
+
<a name="clutter-image-set-area"></a><h3>clutter_image_set_area ()</h3>
|
355
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
356
|
+
clutter_image_set_area (<em class="parameter"><code><a class="link" href="ClutterImage.html" title="ClutterImage"><span class="type">ClutterImage</span></a> *image</code></em>,
|
357
|
+
<em class="parameter"><code>const <span class="type">guint8</span> *data</code></em>,
|
358
|
+
<em class="parameter"><code><span class="type">CoglPixelFormat</span> pixel_format</code></em>,
|
359
|
+
<em class="parameter"><code>const <span class="type">cairo_rectangle_int_t</span> *rect</code></em>,
|
360
|
+
<em class="parameter"><code><span class="type">guint</span> row_stride</code></em>,
|
361
|
+
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
|
362
|
+
<p>Sets the image data to be display by <em class="parameter"><code>image</code></em>
|
363
|
+
, using <em class="parameter"><code>rect</code></em>
|
364
|
+
to indicate
|
365
|
+
the position and size of the image data to be set.</p>
|
366
|
+
<p>If the <em class="parameter"><code>image</code></em>
|
367
|
+
does not have any image data set when this function is
|
562
368
|
called, a new texture will be created with the size of the width and
|
563
369
|
height of the rectangle, i.e. calling this function on a newly created
|
564
|
-
<a class="link" href="ClutterImage.html" title="ClutterImage"><span class="type">ClutterImage</span></a> will be the equivalent of calling <a class="link" href="ClutterImage.html#clutter-image-set-data" title="clutter_image_set_data
|
565
|
-
|
566
|
-
|
567
|
-
|
568
|
-
|
569
|
-
<p>
|
570
|
-
|
571
|
-
|
572
|
-
</
|
573
|
-
<
|
574
|
-
The image data is copied in texture memory.
|
575
|
-
</p>
|
576
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
370
|
+
<a class="link" href="ClutterImage.html" title="ClutterImage"><span class="type">ClutterImage</span></a> will be the equivalent of calling <a class="link" href="ClutterImage.html#clutter-image-set-data" title="clutter_image_set_data ()"><code class="function">clutter_image_set_data()</code></a>.</p>
|
371
|
+
<p>If the image data was successfully loaded, the <em class="parameter"><code>image</code></em>
|
372
|
+
will be invalidated.</p>
|
373
|
+
<p>In case of error, the <em class="parameter"><code>error</code></em>
|
374
|
+
value will be set, and this function will
|
375
|
+
return <code class="literal">FALSE</code>.</p>
|
376
|
+
<p>The image data is copied in texture memory.</p>
|
377
|
+
<div class="refsect3">
|
378
|
+
<a name="id-1.5.8.3.8.6.9"></a><h4>Parameters</h4>
|
379
|
+
<div class="informaltable"><table width="100%" border="0">
|
577
380
|
<colgroup>
|
578
|
-
<col
|
579
|
-
<col>
|
381
|
+
<col width="150px" class="parameters_name">
|
382
|
+
<col class="parameters_description">
|
383
|
+
<col width="200px" class="parameters_annotations">
|
580
384
|
</colgroup>
|
581
385
|
<tbody>
|
582
386
|
<tr>
|
583
|
-
<td
|
584
|
-
<td>a <a class="link" href="ClutterImage.html" title="ClutterImage"><span class="type">ClutterImage</span></a>
|
585
|
-
</td>
|
387
|
+
<td class="parameter_name"><p>image</p></td>
|
388
|
+
<td class="parameter_description"><p>a <a class="link" href="ClutterImage.html" title="ClutterImage"><span class="type">ClutterImage</span></a></p></td>
|
389
|
+
<td class="parameter_annotations"> </td>
|
586
390
|
</tr>
|
587
391
|
<tr>
|
588
|
-
<td
|
589
|
-
<td>the image data, as an array of bytes.
|
590
|
-
</td>
|
392
|
+
<td class="parameter_name"><p>data</p></td>
|
393
|
+
<td class="parameter_description"><p> the image data, as an array of bytes. </p></td>
|
394
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym>]</span></td>
|
591
395
|
</tr>
|
592
396
|
<tr>
|
593
|
-
<td
|
594
|
-
<td>the Cogl pixel format of the image data</td>
|
397
|
+
<td class="parameter_name"><p>pixel_format</p></td>
|
398
|
+
<td class="parameter_description"><p>the Cogl pixel format of the image data</p></td>
|
399
|
+
<td class="parameter_annotations"> </td>
|
595
400
|
</tr>
|
596
401
|
<tr>
|
597
|
-
<td
|
598
|
-
<td>a rectangle indicating the area that should be set</td>
|
402
|
+
<td class="parameter_name"><p>rect</p></td>
|
403
|
+
<td class="parameter_description"><p>a rectangle indicating the area that should be set</p></td>
|
404
|
+
<td class="parameter_annotations"> </td>
|
599
405
|
</tr>
|
600
406
|
<tr>
|
601
|
-
<td
|
602
|
-
<td>the length of each row inside <em class="parameter"><code>data</code></em>
|
603
|
-
</td>
|
407
|
+
<td class="parameter_name"><p>row_stride</p></td>
|
408
|
+
<td class="parameter_description"><p>the length of each row inside <em class="parameter"><code>data</code></em>
|
409
|
+
</p></td>
|
410
|
+
<td class="parameter_annotations"> </td>
|
604
411
|
</tr>
|
605
412
|
<tr>
|
606
|
-
<td
|
607
|
-
<td>return location for a <span class="type">GError</span>, or <code class="literal">NULL</code>
|
608
|
-
</td>
|
609
|
-
</tr>
|
610
|
-
<tr>
|
611
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
612
|
-
<td>
|
613
|
-
<code class="literal">TRUE</code> if the image data was successfully loaded,
|
614
|
-
and <code class="literal">FALSE</code> otherwise.</td>
|
413
|
+
<td class="parameter_name"><p>error</p></td>
|
414
|
+
<td class="parameter_description"><p>return location for a <span class="type">GError</span>, or <code class="literal">NULL</code></p></td>
|
415
|
+
<td class="parameter_annotations"> </td>
|
615
416
|
</tr>
|
616
417
|
</tbody>
|
617
418
|
</table></div>
|
419
|
+
</div>
|
420
|
+
<div class="refsect3">
|
421
|
+
<a name="id-1.5.8.3.8.6.10"></a><h4>Returns</h4>
|
422
|
+
<p> <code class="literal">TRUE</code> if the image data was successfully loaded,
|
423
|
+
and <code class="literal">FALSE</code> otherwise.</p>
|
424
|
+
<p></p>
|
425
|
+
</div>
|
618
426
|
<p class="since">Since 1.10</p>
|
619
427
|
</div>
|
620
428
|
<hr>
|
621
429
|
<div class="refsect2">
|
622
|
-
<a name="clutter-image-get-texture"></a><h3>clutter_image_get_texture
|
623
|
-
<pre class="programlisting"><span class="returnvalue">CoglTexture</span>
|
624
|
-
<
|
625
|
-
Retrieves a pointer to the Cogl texture used by <em class="parameter"><code>image</code></em
|
626
|
-
|
627
|
-
<p>
|
628
|
-
|
629
|
-
|
630
|
-
in order to update the actors using <em class="parameter"><code>image</code></em>
|
631
|
-
|
632
|
-
<div class="
|
430
|
+
<a name="clutter-image-get-texture"></a><h3>clutter_image_get_texture ()</h3>
|
431
|
+
<pre class="programlisting"><span class="returnvalue">CoglTexture</span> *
|
432
|
+
clutter_image_get_texture (<em class="parameter"><code><a class="link" href="ClutterImage.html" title="ClutterImage"><span class="type">ClutterImage</span></a> *image</code></em>);</pre>
|
433
|
+
<p>Retrieves a pointer to the Cogl texture used by <em class="parameter"><code>image</code></em>
|
434
|
+
.</p>
|
435
|
+
<p>If you change the contents of the returned Cogl texture you will need
|
436
|
+
to manually invalidate the <em class="parameter"><code>image</code></em>
|
437
|
+
with <a class="link" href="ClutterContent.html#clutter-content-invalidate" title="clutter_content_invalidate ()"><code class="function">clutter_content_invalidate()</code></a>
|
438
|
+
in order to update the actors using <em class="parameter"><code>image</code></em>
|
439
|
+
as their content.</p>
|
440
|
+
<div class="refsect3">
|
441
|
+
<a name="id-1.5.8.3.8.7.6"></a><h4>Parameters</h4>
|
442
|
+
<div class="informaltable"><table width="100%" border="0">
|
633
443
|
<colgroup>
|
634
|
-
<col
|
635
|
-
<col>
|
444
|
+
<col width="150px" class="parameters_name">
|
445
|
+
<col class="parameters_description">
|
446
|
+
<col width="200px" class="parameters_annotations">
|
636
447
|
</colgroup>
|
637
|
-
<tbody>
|
638
|
-
<
|
639
|
-
<td><p
|
640
|
-
<td
|
641
|
-
</
|
642
|
-
</
|
643
|
-
|
644
|
-
<
|
645
|
-
<
|
448
|
+
<tbody><tr>
|
449
|
+
<td class="parameter_name"><p>image</p></td>
|
450
|
+
<td class="parameter_description"><p>a <a class="link" href="ClutterImage.html" title="ClutterImage"><span class="type">ClutterImage</span></a></p></td>
|
451
|
+
<td class="parameter_annotations"> </td>
|
452
|
+
</tr></tbody>
|
453
|
+
</table></div>
|
454
|
+
</div>
|
455
|
+
<div class="refsect3">
|
456
|
+
<a name="id-1.5.8.3.8.7.7"></a><h4>Returns</h4>
|
457
|
+
<p> a pointer to the Cogl texture, or <code class="literal">NULL</code>. </p>
|
458
|
+
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
459
|
+
</div>
|
460
|
+
<p class="since">Since 1.10</p>
|
461
|
+
<p class="stability">Stability Level: <acronym title="Unstable interfaces are experimental or transitional. They are typically used to
|
462
|
+
give outside developers early access to new or rapidly changing technology, or
|
463
|
+
to provide an interim solution to a problem where a more general solution is
|
464
|
+
anticipated. No claims are made about either source or binary compatibility from
|
465
|
+
one minor release to the next.
|
466
|
+
|
467
|
+
The Unstable interface level is a warning that these interfaces are subject to
|
468
|
+
change without warning and should not be used in unbundled products.
|
469
|
+
|
470
|
+
Given such caveats, customer impact need not be a factor when considering
|
471
|
+
incompatible changes to an Unstable interface in a major or minor release.
|
472
|
+
Nonetheless, when such changes are introduced, the changes should still be
|
473
|
+
mentioned in the release notes for the affected release.
|
474
|
+
"><span class="acronym">Unstable</span></acronym></p>
|
475
|
+
</div>
|
476
|
+
</div>
|
477
|
+
<div class="refsect1">
|
478
|
+
<a name="ClutterImage.other_details"></a><h2>Types and Values</h2>
|
479
|
+
<div class="refsect2">
|
480
|
+
<a name="ClutterImage-struct"></a><h3>struct ClutterImage</h3>
|
481
|
+
<pre class="programlisting">struct ClutterImage;</pre>
|
482
|
+
<p>The <a class="link" href="ClutterImage.html" title="ClutterImage"><span class="type">ClutterImage</span></a> structure contains
|
483
|
+
private data and should only be accessed using the provided
|
484
|
+
API.</p>
|
485
|
+
<p class="since">Since 1.10</p>
|
486
|
+
</div>
|
487
|
+
<hr>
|
488
|
+
<div class="refsect2">
|
489
|
+
<a name="ClutterImageClass"></a><h3>struct ClutterImageClass</h3>
|
490
|
+
<pre class="programlisting">struct ClutterImageClass {
|
491
|
+
};
|
492
|
+
</pre>
|
493
|
+
<p>The <a class="link" href="ClutterImage.html#ClutterImageClass" title="struct ClutterImageClass"><span class="type">ClutterImageClass</span></a> structure contains
|
494
|
+
private data.</p>
|
495
|
+
<p class="since">Since 1.10</p>
|
496
|
+
</div>
|
497
|
+
<hr>
|
498
|
+
<div class="refsect2">
|
499
|
+
<a name="ClutterImageError"></a><h3>enum ClutterImageError</h3>
|
500
|
+
<p>Error enumeration for <a class="link" href="ClutterImage.html" title="ClutterImage"><span class="type">ClutterImage</span></a>.</p>
|
501
|
+
<div class="refsect3">
|
502
|
+
<a name="id-1.5.8.3.9.4.4"></a><h4>Members</h4>
|
503
|
+
<div class="informaltable"><table width="100%" border="0">
|
504
|
+
<colgroup>
|
505
|
+
<col width="300px" class="enum_members_name">
|
506
|
+
<col class="enum_members_description">
|
507
|
+
<col width="200px" class="enum_members_annotations">
|
508
|
+
</colgroup>
|
509
|
+
<tbody><tr>
|
510
|
+
<td class="enum_member_name"><p><a name="CLUTTER-IMAGE-ERROR-INVALID-DATA:CAPS"></a>CLUTTER_IMAGE_ERROR_INVALID_DATA</p></td>
|
511
|
+
<td class="enum_member_description">
|
512
|
+
<p>Invalid data passed to the
|
513
|
+
<a class="link" href="ClutterImage.html#clutter-image-set-data" title="clutter_image_set_data ()"><code class="function">clutter_image_set_data()</code></a> function.</p>
|
646
514
|
</td>
|
647
|
-
</
|
648
|
-
</tbody>
|
515
|
+
<td class="enum_member_annotations"> </td>
|
516
|
+
</tr></tbody>
|
649
517
|
</table></div>
|
518
|
+
</div>
|
650
519
|
<p class="since">Since 1.10</p>
|
651
|
-
<p class="stability">Stability Level: Unstable</p>
|
652
520
|
</div>
|
653
521
|
</div>
|
654
522
|
</div>
|
655
523
|
<div class="footer">
|
656
524
|
<hr>
|
657
|
-
Generated by GTK-Doc V1.
|
525
|
+
Generated by GTK-Doc V1.20.1</div>
|
658
526
|
</body>
|
659
527
|
</html>
|