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
@@ -5,31 +5,26 @@
|
|
5
5
|
<title>Clutter Reference Manual: ClutterTexture</title>
|
6
6
|
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
|
7
7
|
<link rel="home" href="index.html" title="Clutter Reference Manual">
|
8
|
-
<link rel="up" href="
|
9
|
-
<link rel="prev" href="
|
10
|
-
<link rel="next" href="
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
8
|
+
<link rel="up" href="deprecated.html" title="Part IX. Deprecated Classes">
|
9
|
+
<link rel="prev" href="ClutterTableLayout.html" title="ClutterTableLayout">
|
10
|
+
<link rel="next" href="clutterobjects.html" title="Part X. Clutter Actors and Objects">
|
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="#ClutterTexture.
|
20
|
-
|
21
|
-
<a href="#ClutterTexture.
|
22
|
-
|
23
|
-
<a href="#ClutterTexture.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
|
24
|
-
|
|
25
|
-
<a href="#ClutterTexture.properties" class="shortcut">Properties</a>
|
26
|
-
|
|
27
|
-
<a href="#ClutterTexture.signals" class="shortcut">Signals</a>
|
15
|
+
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
|
16
|
+
<td width="100%" align="left" class="shortcuts">
|
17
|
+
<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
|
18
|
+
<a href="#ClutterTexture.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span>
|
19
|
+
<a href="#ClutterTexture.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_interfaces"> <span class="dim">|</span>
|
20
|
+
<a href="#ClutterTexture.implemented-interfaces" class="shortcut">Implemented Interfaces</a></span><span id="nav_properties"> <span class="dim">|</span>
|
21
|
+
<a href="#ClutterTexture.properties" class="shortcut">Properties</a></span><span id="nav_signals"> <span class="dim">|</span>
|
22
|
+
<a href="#ClutterTexture.signals" class="shortcut">Signals</a></span>
|
28
23
|
</td>
|
29
24
|
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
30
|
-
<td><a accesskey="u" href="
|
31
|
-
<td><a accesskey="p" href="
|
32
|
-
<td><a accesskey="n" href="
|
25
|
+
<td><a accesskey="u" href="deprecated.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
26
|
+
<td><a accesskey="p" href="ClutterTableLayout.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
27
|
+
<td><a accesskey="n" href="clutterobjects.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
|
33
28
|
</tr></table>
|
34
29
|
<div class="refentry">
|
35
30
|
<a name="ClutterTexture"></a><div class="titlepage"></div>
|
@@ -38,439 +33,553 @@
|
|
38
33
|
<h2><span class="refentrytitle"><a name="ClutterTexture.top_of_page"></a>ClutterTexture</span></h2>
|
39
34
|
<p>ClutterTexture — An actor for displaying and manipulating images.</p>
|
40
35
|
</td>
|
41
|
-
<td valign="top" align="right"></td>
|
36
|
+
<td class="gallery_image" valign="top" align="right"></td>
|
42
37
|
</tr></table></div>
|
43
|
-
<div class="refsynopsisdiv">
|
44
|
-
<a name="ClutterTexture.synopsis"></a><h2>Synopsis</h2>
|
45
|
-
<pre class="synopsis">struct <a class="link" href="ClutterTexture.html#ClutterTexture-struct" title="struct ClutterTexture">ClutterTexture</a>;
|
46
|
-
struct <a class="link" href="ClutterTexture.html#ClutterTextureClass" title="struct ClutterTextureClass">ClutterTextureClass</a>;
|
47
|
-
enum <a class="link" href="ClutterTexture.html#ClutterTextureFlags" title="enum ClutterTextureFlags">ClutterTextureFlags</a>;
|
48
|
-
enum <a class="link" href="ClutterTexture.html#ClutterTextureQuality" title="enum ClutterTextureQuality">ClutterTextureQuality</a>;
|
49
|
-
<a class="link" href="ClutterActor.html" title="ClutterActor"><span class="returnvalue">ClutterActor</span></a> * <a class="link" href="ClutterTexture.html#clutter-texture-new" title="clutter_texture_new ()">clutter_texture_new</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
50
|
-
<a class="link" href="ClutterActor.html" title="ClutterActor"><span class="returnvalue">ClutterActor</span></a> * <a class="link" href="ClutterTexture.html#clutter-texture-new-from-file" title="clutter_texture_new_from_file ()">clutter_texture_new_from_file</a> (<em class="parameter"><code>const <span class="type">gchar</span> *filename</code></em>,
|
51
|
-
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);
|
52
|
-
<a class="link" href="ClutterActor.html" title="ClutterActor"><span class="returnvalue">ClutterActor</span></a> * <a class="link" href="ClutterTexture.html#clutter-texture-new-from-actor" title="clutter_texture_new_from_actor ()">clutter_texture_new_from_actor</a> (<em class="parameter"><code><a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a> *actor</code></em>);
|
53
|
-
|
54
|
-
#define <a class="link" href="ClutterTexture.html#CLUTTER-TEXTURE-ERROR:CAPS" title="CLUTTER_TEXTURE_ERROR">CLUTTER_TEXTURE_ERROR</a>
|
55
|
-
enum <a class="link" href="ClutterTexture.html#ClutterTextureError" title="enum ClutterTextureError">ClutterTextureError</a>;
|
56
|
-
<span class="returnvalue">gboolean</span> <a class="link" href="ClutterTexture.html#clutter-texture-set-from-file" title="clutter_texture_set_from_file ()">clutter_texture_set_from_file</a> (<em class="parameter"><code><a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a> *texture</code></em>,
|
57
|
-
<em class="parameter"><code>const <span class="type">gchar</span> *filename</code></em>,
|
58
|
-
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);
|
59
|
-
<span class="returnvalue">gboolean</span> <a class="link" href="ClutterTexture.html#clutter-texture-set-from-rgb-data" title="clutter_texture_set_from_rgb_data ()">clutter_texture_set_from_rgb_data</a> (<em class="parameter"><code><a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a> *texture</code></em>,
|
60
|
-
<em class="parameter"><code>const <span class="type">guchar</span> *data</code></em>,
|
61
|
-
<em class="parameter"><code><span class="type">gboolean</span> has_alpha</code></em>,
|
62
|
-
<em class="parameter"><code><span class="type">gint</span> width</code></em>,
|
63
|
-
<em class="parameter"><code><span class="type">gint</span> height</code></em>,
|
64
|
-
<em class="parameter"><code><span class="type">gint</span> rowstride</code></em>,
|
65
|
-
<em class="parameter"><code><span class="type">gint</span> bpp</code></em>,
|
66
|
-
<em class="parameter"><code><a class="link" href="ClutterTexture.html#ClutterTextureFlags" title="enum ClutterTextureFlags"><span class="type">ClutterTextureFlags</span></a> flags</code></em>,
|
67
|
-
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);
|
68
|
-
<span class="returnvalue">gboolean</span> <a class="link" href="ClutterTexture.html#clutter-texture-set-from-yuv-data" title="clutter_texture_set_from_yuv_data ()">clutter_texture_set_from_yuv_data</a> (<em class="parameter"><code><a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a> *texture</code></em>,
|
69
|
-
<em class="parameter"><code>const <span class="type">guchar</span> *data</code></em>,
|
70
|
-
<em class="parameter"><code><span class="type">gint</span> width</code></em>,
|
71
|
-
<em class="parameter"><code><span class="type">gint</span> height</code></em>,
|
72
|
-
<em class="parameter"><code><a class="link" href="ClutterTexture.html#ClutterTextureFlags" title="enum ClutterTextureFlags"><span class="type">ClutterTextureFlags</span></a> flags</code></em>,
|
73
|
-
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);
|
74
|
-
<span class="returnvalue">gboolean</span> <a class="link" href="ClutterTexture.html#clutter-texture-set-area-from-rgb-data" title="clutter_texture_set_area_from_rgb_data ()">clutter_texture_set_area_from_rgb_data</a>
|
75
|
-
(<em class="parameter"><code><a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a> *texture</code></em>,
|
76
|
-
<em class="parameter"><code>const <span class="type">guchar</span> *data</code></em>,
|
77
|
-
<em class="parameter"><code><span class="type">gboolean</span> has_alpha</code></em>,
|
78
|
-
<em class="parameter"><code><span class="type">gint</span> x</code></em>,
|
79
|
-
<em class="parameter"><code><span class="type">gint</span> y</code></em>,
|
80
|
-
<em class="parameter"><code><span class="type">gint</span> width</code></em>,
|
81
|
-
<em class="parameter"><code><span class="type">gint</span> height</code></em>,
|
82
|
-
<em class="parameter"><code><span class="type">gint</span> rowstride</code></em>,
|
83
|
-
<em class="parameter"><code><span class="type">gint</span> bpp</code></em>,
|
84
|
-
<em class="parameter"><code><a class="link" href="ClutterTexture.html#ClutterTextureFlags" title="enum ClutterTextureFlags"><span class="type">ClutterTextureFlags</span></a> flags</code></em>,
|
85
|
-
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);
|
86
|
-
|
87
|
-
<span class="returnvalue">void</span> <a class="link" href="ClutterTexture.html#clutter-texture-get-base-size" title="clutter_texture_get_base_size ()">clutter_texture_get_base_size</a> (<em class="parameter"><code><a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a> *texture</code></em>,
|
88
|
-
<em class="parameter"><code><span class="type">gint</span> *width</code></em>,
|
89
|
-
<em class="parameter"><code><span class="type">gint</span> *height</code></em>);
|
90
|
-
<span class="returnvalue">CoglPixelFormat</span> <a class="link" href="ClutterTexture.html#clutter-texture-get-pixel-format" title="clutter_texture_get_pixel_format ()">clutter_texture_get_pixel_format</a> (<em class="parameter"><code><a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a> *texture</code></em>);
|
91
|
-
<span class="returnvalue">gint</span> <a class="link" href="ClutterTexture.html#clutter-texture-get-max-tile-waste" title="clutter_texture_get_max_tile_waste ()">clutter_texture_get_max_tile_waste</a> (<em class="parameter"><code><a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a> *texture</code></em>);
|
92
|
-
|
93
|
-
<a class="link" href="ClutterTexture.html#ClutterTextureQuality" title="enum ClutterTextureQuality"><span class="returnvalue">ClutterTextureQuality</span></a> <a class="link" href="ClutterTexture.html#clutter-texture-get-filter-quality" title="clutter_texture_get_filter_quality ()">clutter_texture_get_filter_quality</a>
|
94
|
-
(<em class="parameter"><code><a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a> *texture</code></em>);
|
95
|
-
<span class="returnvalue">void</span> <a class="link" href="ClutterTexture.html#clutter-texture-set-filter-quality" title="clutter_texture_set_filter_quality ()">clutter_texture_set_filter_quality</a> (<em class="parameter"><code><a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a> *texture</code></em>,
|
96
|
-
<em class="parameter"><code><a class="link" href="ClutterTexture.html#ClutterTextureQuality" title="enum ClutterTextureQuality"><span class="type">ClutterTextureQuality</span></a> filter_quality</code></em>);
|
97
|
-
<span class="returnvalue">CoglHandle</span> <a class="link" href="ClutterTexture.html#clutter-texture-get-cogl-texture" title="clutter_texture_get_cogl_texture ()">clutter_texture_get_cogl_texture</a> (<em class="parameter"><code><a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a> *texture</code></em>);
|
98
|
-
<span class="returnvalue">void</span> <a class="link" href="ClutterTexture.html#clutter-texture-set-cogl-texture" title="clutter_texture_set_cogl_texture ()">clutter_texture_set_cogl_texture</a> (<em class="parameter"><code><a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a> *texture</code></em>,
|
99
|
-
<em class="parameter"><code><span class="type">CoglHandle</span> cogl_tex</code></em>);
|
100
|
-
<span class="returnvalue">CoglHandle</span> <a class="link" href="ClutterTexture.html#clutter-texture-get-cogl-material" title="clutter_texture_get_cogl_material ()">clutter_texture_get_cogl_material</a> (<em class="parameter"><code><a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a> *texture</code></em>);
|
101
|
-
<span class="returnvalue">void</span> <a class="link" href="ClutterTexture.html#clutter-texture-set-cogl-material" title="clutter_texture_set_cogl_material ()">clutter_texture_set_cogl_material</a> (<em class="parameter"><code><a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a> *texture</code></em>,
|
102
|
-
<em class="parameter"><code><span class="type">CoglHandle</span> cogl_material</code></em>);
|
103
|
-
<span class="returnvalue">gboolean</span> <a class="link" href="ClutterTexture.html#clutter-texture-get-sync-size" title="clutter_texture_get_sync_size ()">clutter_texture_get_sync_size</a> (<em class="parameter"><code><a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a> *texture</code></em>);
|
104
|
-
<span class="returnvalue">void</span> <a class="link" href="ClutterTexture.html#clutter-texture-set-sync-size" title="clutter_texture_set_sync_size ()">clutter_texture_set_sync_size</a> (<em class="parameter"><code><a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a> *texture</code></em>,
|
105
|
-
<em class="parameter"><code><span class="type">gboolean</span> sync_size</code></em>);
|
106
|
-
<span class="returnvalue">void</span> <a class="link" href="ClutterTexture.html#clutter-texture-get-repeat" title="clutter_texture_get_repeat ()">clutter_texture_get_repeat</a> (<em class="parameter"><code><a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a> *texture</code></em>,
|
107
|
-
<em class="parameter"><code><span class="type">gboolean</span> *repeat_x</code></em>,
|
108
|
-
<em class="parameter"><code><span class="type">gboolean</span> *repeat_y</code></em>);
|
109
|
-
<span class="returnvalue">void</span> <a class="link" href="ClutterTexture.html#clutter-texture-set-repeat" title="clutter_texture_set_repeat ()">clutter_texture_set_repeat</a> (<em class="parameter"><code><a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a> *texture</code></em>,
|
110
|
-
<em class="parameter"><code><span class="type">gboolean</span> repeat_x</code></em>,
|
111
|
-
<em class="parameter"><code><span class="type">gboolean</span> repeat_y</code></em>);
|
112
|
-
<span class="returnvalue">gboolean</span> <a class="link" href="ClutterTexture.html#clutter-texture-get-keep-aspect-ratio" title="clutter_texture_get_keep_aspect_ratio ()">clutter_texture_get_keep_aspect_ratio</a>
|
113
|
-
(<em class="parameter"><code><a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a> *texture</code></em>);
|
114
|
-
<span class="returnvalue">void</span> <a class="link" href="ClutterTexture.html#clutter-texture-set-keep-aspect-ratio" title="clutter_texture_set_keep_aspect_ratio ()">clutter_texture_set_keep_aspect_ratio</a>
|
115
|
-
(<em class="parameter"><code><a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a> *texture</code></em>,
|
116
|
-
<em class="parameter"><code><span class="type">gboolean</span> keep_aspect</code></em>);
|
117
|
-
<span class="returnvalue">gboolean</span> <a class="link" href="ClutterTexture.html#clutter-texture-get-load-async" title="clutter_texture_get_load_async ()">clutter_texture_get_load_async</a> (<em class="parameter"><code><a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a> *texture</code></em>);
|
118
|
-
<span class="returnvalue">void</span> <a class="link" href="ClutterTexture.html#clutter-texture-set-load-async" title="clutter_texture_set_load_async ()">clutter_texture_set_load_async</a> (<em class="parameter"><code><a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a> *texture</code></em>,
|
119
|
-
<em class="parameter"><code><span class="type">gboolean</span> load_async</code></em>);
|
120
|
-
<span class="returnvalue">gboolean</span> <a class="link" href="ClutterTexture.html#clutter-texture-get-load-data-async" title="clutter_texture_get_load_data_async ()">clutter_texture_get_load_data_async</a> (<em class="parameter"><code><a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a> *texture</code></em>);
|
121
|
-
<span class="returnvalue">void</span> <a class="link" href="ClutterTexture.html#clutter-texture-set-load-data-async" title="clutter_texture_set_load_data_async ()">clutter_texture_set_load_data_async</a> (<em class="parameter"><code><a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a> *texture</code></em>,
|
122
|
-
<em class="parameter"><code><span class="type">gboolean</span> load_async</code></em>);
|
123
|
-
<span class="returnvalue">gboolean</span> <a class="link" href="ClutterTexture.html#clutter-texture-get-pick-with-alpha" title="clutter_texture_get_pick_with_alpha ()">clutter_texture_get_pick_with_alpha</a> (<em class="parameter"><code><a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a> *texture</code></em>);
|
124
|
-
<span class="returnvalue">void</span> <a class="link" href="ClutterTexture.html#clutter-texture-set-pick-with-alpha" title="clutter_texture_set_pick_with_alpha ()">clutter_texture_set_pick_with_alpha</a> (<em class="parameter"><code><a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a> *texture</code></em>,
|
125
|
-
<em class="parameter"><code><span class="type">gboolean</span> pick_with_alpha</code></em>);
|
126
|
-
</pre>
|
127
|
-
</div>
|
128
|
-
<div class="refsect1">
|
129
|
-
<a name="ClutterTexture.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
130
|
-
<pre class="synopsis">
|
131
|
-
GObject
|
132
|
-
+----GInitiallyUnowned
|
133
|
-
+----<a class="link" href="ClutterActor.html" title="ClutterActor">ClutterActor</a>
|
134
|
-
+----ClutterTexture
|
135
|
-
+----<a class="link" href="ClutterCairoTexture.html" title="ClutterCairoTexture">ClutterCairoTexture</a>
|
136
|
-
</pre>
|
137
|
-
</div>
|
138
|
-
<div class="refsect1">
|
139
|
-
<a name="ClutterTexture.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
|
140
|
-
<p>
|
141
|
-
ClutterTexture implements
|
142
|
-
<a class="link" href="ClutterContainer.html" title="ClutterContainer">ClutterContainer</a>, <a class="link" href="ClutterScriptable.html" title="ClutterScriptable">ClutterScriptable</a>, <a class="link" href="ClutterAnimatable.html" title="ClutterAnimatable">ClutterAnimatable</a> and AtkImplementorIface.</p>
|
143
|
-
</div>
|
144
|
-
<div class="refsect1">
|
145
|
-
<a name="ClutterTexture.properties"></a><h2>Properties</h2>
|
146
|
-
<pre class="synopsis">
|
147
|
-
"<a class="link" href="ClutterTexture.html#ClutterTexture--cogl-material" title='The "cogl-material" property'>cogl-material</a>" <span class="type">CoglHandle</span>* : Read / Write
|
148
|
-
"<a class="link" href="ClutterTexture.html#ClutterTexture--cogl-texture" title='The "cogl-texture" property'>cogl-texture</a>" <span class="type">CoglHandle</span>* : Read / Write
|
149
|
-
"<a class="link" href="ClutterTexture.html#ClutterTexture--disable-slicing" title='The "disable-slicing" property'>disable-slicing</a>" <span class="type">gboolean</span> : Read / Write / Construct Only
|
150
|
-
"<a class="link" href="ClutterTexture.html#ClutterTexture--filename" title='The "filename" property'>filename</a>" <span class="type">gchar</span>* : Read / Write
|
151
|
-
"<a class="link" href="ClutterTexture.html#ClutterTexture--filter-quality" title='The "filter-quality" property'>filter-quality</a>" <a class="link" href="ClutterTexture.html#ClutterTextureQuality" title="enum ClutterTextureQuality"><span class="type">ClutterTextureQuality</span></a> : Read / Write / Construct
|
152
|
-
"<a class="link" href="ClutterTexture.html#ClutterTexture--keep-aspect-ratio" title='The "keep-aspect-ratio" property'>keep-aspect-ratio</a>" <span class="type">gboolean</span> : Read / Write
|
153
|
-
"<a class="link" href="ClutterTexture.html#ClutterTexture--load-async" title='The "load-async" property'>load-async</a>" <span class="type">gboolean</span> : Write
|
154
|
-
"<a class="link" href="ClutterTexture.html#ClutterTexture--load-data-async" title='The "load-data-async" property'>load-data-async</a>" <span class="type">gboolean</span> : Write
|
155
|
-
"<a class="link" href="ClutterTexture.html#ClutterTexture--pick-with-alpha" title='The "pick-with-alpha" property'>pick-with-alpha</a>" <span class="type">gboolean</span> : Read / Write
|
156
|
-
"<a class="link" href="ClutterTexture.html#ClutterTexture--pixel-format" title='The "pixel-format" property'>pixel-format</a>" <span class="type">CoglPixelFormat</span> : Read
|
157
|
-
"<a class="link" href="ClutterTexture.html#ClutterTexture--repeat-x" title='The "repeat-x" property'>repeat-x</a>" <span class="type">gboolean</span> : Read / Write
|
158
|
-
"<a class="link" href="ClutterTexture.html#ClutterTexture--repeat-y" title='The "repeat-y" property'>repeat-y</a>" <span class="type">gboolean</span> : Read / Write
|
159
|
-
"<a class="link" href="ClutterTexture.html#ClutterTexture--sync-size" title='The "sync-size" property'>sync-size</a>" <span class="type">gboolean</span> : Read / Write
|
160
|
-
"<a class="link" href="ClutterTexture.html#ClutterTexture--tile-waste" title='The "tile-waste" property'>tile-waste</a>" <span class="type">gint</span> : Read
|
161
|
-
</pre>
|
162
|
-
</div>
|
163
|
-
<div class="refsect1">
|
164
|
-
<a name="ClutterTexture.signals"></a><h2>Signals</h2>
|
165
|
-
<pre class="synopsis">
|
166
|
-
"<a class="link" href="ClutterTexture.html#ClutterTexture-load-finished" title='The "load-finished" signal'>load-finished</a>" : <code class="literal">Run Last</code>
|
167
|
-
"<a class="link" href="ClutterTexture.html#ClutterTexture-pixbuf-change" title='The "pixbuf-change" signal'>pixbuf-change</a>" : <code class="literal">Run Last</code>
|
168
|
-
"<a class="link" href="ClutterTexture.html#ClutterTexture-size-change" title='The "size-change" signal'>size-change</a>" : <code class="literal">Run Last</code>
|
169
|
-
</pre>
|
170
|
-
</div>
|
171
38
|
<div class="refsect1">
|
172
|
-
<a name="ClutterTexture.
|
173
|
-
<
|
174
|
-
<a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a> is a base class for displaying and manipulating pixel
|
175
|
-
buffer type data.
|
176
|
-
</p>
|
177
|
-
<p>
|
178
|
-
The <a class="link" href="ClutterTexture.html#clutter-texture-set-from-rgb-data" title="clutter_texture_set_from_rgb_data ()"><code class="function">clutter_texture_set_from_rgb_data()</code></a> and
|
179
|
-
<a class="link" href="ClutterTexture.html#clutter-texture-set-from-file" title="clutter_texture_set_from_file ()"><code class="function">clutter_texture_set_from_file()</code></a> functions are used to copy image
|
180
|
-
data into texture memory and subsequently realize the texture.
|
181
|
-
</p>
|
182
|
-
<p>
|
183
|
-
Note: a ClutterTexture will scale its contents to fit the bounding
|
184
|
-
box requested using <a class="link" href="ClutterActor.html#clutter-actor-set-size" title="clutter_actor_set_size ()"><code class="function">clutter_actor_set_size()</code></a>. To display an area of
|
185
|
-
a texture without scaling, you should set the clip area using
|
186
|
-
<a class="link" href="ClutterActor.html#clutter-actor-set-clip" title="clutter_actor_set_clip ()"><code class="function">clutter_actor_set_clip()</code></a>.
|
187
|
-
</p>
|
188
|
-
<p>
|
189
|
-
The <a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a> API is deprecated since Clutter 1.12. It is strongly
|
190
|
-
recommended to use <a class="link" href="ClutterImage.html" title="ClutterImage"><span class="type">ClutterImage</span></a> instead.
|
191
|
-
</p>
|
192
|
-
</div>
|
193
|
-
<div class="refsect1">
|
194
|
-
<a name="ClutterTexture.details"></a><h2>Details</h2>
|
195
|
-
<div class="refsect2">
|
196
|
-
<a name="ClutterTexture-struct"></a><h3>struct ClutterTexture</h3>
|
197
|
-
<pre class="programlisting">struct ClutterTexture;</pre>
|
198
|
-
<p>
|
199
|
-
The <a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a> structure contains only private data
|
200
|
-
and should be accessed using the provided API
|
201
|
-
</p>
|
202
|
-
<p class="since">Since 0.1</p>
|
203
|
-
</div>
|
204
|
-
<hr>
|
205
|
-
<div class="refsect2">
|
206
|
-
<a name="ClutterTextureClass"></a><h3>struct ClutterTextureClass</h3>
|
207
|
-
<pre class="programlisting">struct ClutterTextureClass {
|
208
|
-
void (* size_change) (ClutterTexture *texture,
|
209
|
-
gint width,
|
210
|
-
gint height);
|
211
|
-
void (* pixbuf_change) (ClutterTexture *texture);
|
212
|
-
void (* load_finished) (ClutterTexture *texture,
|
213
|
-
const GError *error);
|
214
|
-
};
|
215
|
-
</pre>
|
216
|
-
<p>
|
217
|
-
The <a class="link" href="ClutterTexture.html#ClutterTextureClass" title="struct ClutterTextureClass"><span class="type">ClutterTextureClass</span></a> structure contains only private data
|
218
|
-
</p>
|
219
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
39
|
+
<a name="ClutterTexture.functions"></a><h2>Functions</h2>
|
40
|
+
<div class="informaltable"><table width="100%" border="0">
|
220
41
|
<colgroup>
|
221
|
-
<col
|
222
|
-
<col>
|
42
|
+
<col width="150px" class="functions_return">
|
43
|
+
<col class="functions_name">
|
223
44
|
</colgroup>
|
224
45
|
<tbody>
|
225
46
|
<tr>
|
226
|
-
<td
|
227
|
-
<
|
47
|
+
<td class="function_type">
|
48
|
+
<a class="link" href="ClutterActor.html" title="ClutterActor"><span class="returnvalue">ClutterActor</span></a> *
|
49
|
+
</td>
|
50
|
+
<td class="function_name">
|
51
|
+
<a class="link" href="ClutterTexture.html#clutter-texture-new" title="clutter_texture_new ()">clutter_texture_new</a> <span class="c_punctuation">()</span>
|
52
|
+
</td>
|
53
|
+
</tr>
|
54
|
+
<tr>
|
55
|
+
<td class="function_type">
|
56
|
+
<a class="link" href="ClutterActor.html" title="ClutterActor"><span class="returnvalue">ClutterActor</span></a> *
|
57
|
+
</td>
|
58
|
+
<td class="function_name">
|
59
|
+
<a class="link" href="ClutterTexture.html#clutter-texture-new-from-file" title="clutter_texture_new_from_file ()">clutter_texture_new_from_file</a> <span class="c_punctuation">()</span>
|
60
|
+
</td>
|
228
61
|
</tr>
|
229
62
|
<tr>
|
230
|
-
<td
|
231
|
-
<
|
63
|
+
<td class="function_type">
|
64
|
+
<a class="link" href="ClutterActor.html" title="ClutterActor"><span class="returnvalue">ClutterActor</span></a> *
|
65
|
+
</td>
|
66
|
+
<td class="function_name">
|
67
|
+
<a class="link" href="ClutterTexture.html#clutter-texture-new-from-actor" title="clutter_texture_new_from_actor ()">clutter_texture_new_from_actor</a> <span class="c_punctuation">()</span>
|
68
|
+
</td>
|
232
69
|
</tr>
|
233
70
|
<tr>
|
234
|
-
<td
|
235
|
-
<td
|
71
|
+
<td class="define_keyword">#define</td>
|
72
|
+
<td class="function_name"><a class="link" href="ClutterTexture.html#CLUTTER-TEXTURE-ERROR:CAPS" title="CLUTTER_TEXTURE_ERROR">CLUTTER_TEXTURE_ERROR</a></td>
|
73
|
+
</tr>
|
74
|
+
<tr>
|
75
|
+
<td class="function_type">
|
76
|
+
<span class="returnvalue">gboolean</span>
|
77
|
+
</td>
|
78
|
+
<td class="function_name">
|
79
|
+
<a class="link" href="ClutterTexture.html#clutter-texture-set-from-file" title="clutter_texture_set_from_file ()">clutter_texture_set_from_file</a> <span class="c_punctuation">()</span>
|
80
|
+
</td>
|
81
|
+
</tr>
|
82
|
+
<tr>
|
83
|
+
<td class="function_type">
|
84
|
+
<span class="returnvalue">gboolean</span>
|
85
|
+
</td>
|
86
|
+
<td class="function_name">
|
87
|
+
<a class="link" href="ClutterTexture.html#clutter-texture-set-from-rgb-data" title="clutter_texture_set_from_rgb_data ()">clutter_texture_set_from_rgb_data</a> <span class="c_punctuation">()</span>
|
88
|
+
</td>
|
89
|
+
</tr>
|
90
|
+
<tr>
|
91
|
+
<td class="function_type">
|
92
|
+
<span class="returnvalue">gboolean</span>
|
93
|
+
</td>
|
94
|
+
<td class="function_name">
|
95
|
+
<a class="link" href="ClutterTexture.html#clutter-texture-set-from-yuv-data" title="clutter_texture_set_from_yuv_data ()">clutter_texture_set_from_yuv_data</a> <span class="c_punctuation">()</span>
|
96
|
+
</td>
|
97
|
+
</tr>
|
98
|
+
<tr>
|
99
|
+
<td class="function_type">
|
100
|
+
<span class="returnvalue">gboolean</span>
|
101
|
+
</td>
|
102
|
+
<td class="function_name">
|
103
|
+
<a class="link" href="ClutterTexture.html#clutter-texture-set-area-from-rgb-data" title="clutter_texture_set_area_from_rgb_data ()">clutter_texture_set_area_from_rgb_data</a> <span class="c_punctuation">()</span>
|
104
|
+
</td>
|
105
|
+
</tr>
|
106
|
+
<tr>
|
107
|
+
<td class="function_type">
|
108
|
+
<span class="returnvalue">void</span>
|
109
|
+
</td>
|
110
|
+
<td class="function_name">
|
111
|
+
<a class="link" href="ClutterTexture.html#clutter-texture-get-base-size" title="clutter_texture_get_base_size ()">clutter_texture_get_base_size</a> <span class="c_punctuation">()</span>
|
112
|
+
</td>
|
113
|
+
</tr>
|
114
|
+
<tr>
|
115
|
+
<td class="function_type">
|
116
|
+
<span class="returnvalue">CoglPixelFormat</span>
|
117
|
+
</td>
|
118
|
+
<td class="function_name">
|
119
|
+
<a class="link" href="ClutterTexture.html#clutter-texture-get-pixel-format" title="clutter_texture_get_pixel_format ()">clutter_texture_get_pixel_format</a> <span class="c_punctuation">()</span>
|
120
|
+
</td>
|
121
|
+
</tr>
|
122
|
+
<tr>
|
123
|
+
<td class="function_type">
|
124
|
+
<span class="returnvalue">gint</span>
|
125
|
+
</td>
|
126
|
+
<td class="function_name">
|
127
|
+
<a class="link" href="ClutterTexture.html#clutter-texture-get-max-tile-waste" title="clutter_texture_get_max_tile_waste ()">clutter_texture_get_max_tile_waste</a> <span class="c_punctuation">()</span>
|
128
|
+
</td>
|
129
|
+
</tr>
|
130
|
+
<tr>
|
131
|
+
<td class="function_type">
|
132
|
+
<a class="link" href="ClutterTexture.html#ClutterTextureQuality" title="enum ClutterTextureQuality"><span class="returnvalue">ClutterTextureQuality</span></a>
|
133
|
+
</td>
|
134
|
+
<td class="function_name">
|
135
|
+
<a class="link" href="ClutterTexture.html#clutter-texture-get-filter-quality" title="clutter_texture_get_filter_quality ()">clutter_texture_get_filter_quality</a> <span class="c_punctuation">()</span>
|
136
|
+
</td>
|
137
|
+
</tr>
|
138
|
+
<tr>
|
139
|
+
<td class="function_type">
|
140
|
+
<span class="returnvalue">void</span>
|
141
|
+
</td>
|
142
|
+
<td class="function_name">
|
143
|
+
<a class="link" href="ClutterTexture.html#clutter-texture-set-filter-quality" title="clutter_texture_set_filter_quality ()">clutter_texture_set_filter_quality</a> <span class="c_punctuation">()</span>
|
144
|
+
</td>
|
145
|
+
</tr>
|
146
|
+
<tr>
|
147
|
+
<td class="function_type">
|
148
|
+
<span class="returnvalue">CoglHandle</span>
|
149
|
+
</td>
|
150
|
+
<td class="function_name">
|
151
|
+
<a class="link" href="ClutterTexture.html#clutter-texture-get-cogl-texture" title="clutter_texture_get_cogl_texture ()">clutter_texture_get_cogl_texture</a> <span class="c_punctuation">()</span>
|
152
|
+
</td>
|
153
|
+
</tr>
|
154
|
+
<tr>
|
155
|
+
<td class="function_type">
|
156
|
+
<span class="returnvalue">void</span>
|
157
|
+
</td>
|
158
|
+
<td class="function_name">
|
159
|
+
<a class="link" href="ClutterTexture.html#clutter-texture-set-cogl-texture" title="clutter_texture_set_cogl_texture ()">clutter_texture_set_cogl_texture</a> <span class="c_punctuation">()</span>
|
160
|
+
</td>
|
161
|
+
</tr>
|
162
|
+
<tr>
|
163
|
+
<td class="function_type">
|
164
|
+
<span class="returnvalue">CoglHandle</span>
|
165
|
+
</td>
|
166
|
+
<td class="function_name">
|
167
|
+
<a class="link" href="ClutterTexture.html#clutter-texture-get-cogl-material" title="clutter_texture_get_cogl_material ()">clutter_texture_get_cogl_material</a> <span class="c_punctuation">()</span>
|
168
|
+
</td>
|
169
|
+
</tr>
|
170
|
+
<tr>
|
171
|
+
<td class="function_type">
|
172
|
+
<span class="returnvalue">void</span>
|
173
|
+
</td>
|
174
|
+
<td class="function_name">
|
175
|
+
<a class="link" href="ClutterTexture.html#clutter-texture-set-cogl-material" title="clutter_texture_set_cogl_material ()">clutter_texture_set_cogl_material</a> <span class="c_punctuation">()</span>
|
176
|
+
</td>
|
177
|
+
</tr>
|
178
|
+
<tr>
|
179
|
+
<td class="function_type">
|
180
|
+
<span class="returnvalue">gboolean</span>
|
181
|
+
</td>
|
182
|
+
<td class="function_name">
|
183
|
+
<a class="link" href="ClutterTexture.html#clutter-texture-get-sync-size" title="clutter_texture_get_sync_size ()">clutter_texture_get_sync_size</a> <span class="c_punctuation">()</span>
|
184
|
+
</td>
|
185
|
+
</tr>
|
186
|
+
<tr>
|
187
|
+
<td class="function_type">
|
188
|
+
<span class="returnvalue">void</span>
|
189
|
+
</td>
|
190
|
+
<td class="function_name">
|
191
|
+
<a class="link" href="ClutterTexture.html#clutter-texture-set-sync-size" title="clutter_texture_set_sync_size ()">clutter_texture_set_sync_size</a> <span class="c_punctuation">()</span>
|
192
|
+
</td>
|
193
|
+
</tr>
|
194
|
+
<tr>
|
195
|
+
<td class="function_type">
|
196
|
+
<span class="returnvalue">void</span>
|
197
|
+
</td>
|
198
|
+
<td class="function_name">
|
199
|
+
<a class="link" href="ClutterTexture.html#clutter-texture-get-repeat" title="clutter_texture_get_repeat ()">clutter_texture_get_repeat</a> <span class="c_punctuation">()</span>
|
200
|
+
</td>
|
201
|
+
</tr>
|
202
|
+
<tr>
|
203
|
+
<td class="function_type">
|
204
|
+
<span class="returnvalue">void</span>
|
205
|
+
</td>
|
206
|
+
<td class="function_name">
|
207
|
+
<a class="link" href="ClutterTexture.html#clutter-texture-set-repeat" title="clutter_texture_set_repeat ()">clutter_texture_set_repeat</a> <span class="c_punctuation">()</span>
|
208
|
+
</td>
|
209
|
+
</tr>
|
210
|
+
<tr>
|
211
|
+
<td class="function_type">
|
212
|
+
<span class="returnvalue">gboolean</span>
|
213
|
+
</td>
|
214
|
+
<td class="function_name">
|
215
|
+
<a class="link" href="ClutterTexture.html#clutter-texture-get-keep-aspect-ratio" title="clutter_texture_get_keep_aspect_ratio ()">clutter_texture_get_keep_aspect_ratio</a> <span class="c_punctuation">()</span>
|
216
|
+
</td>
|
217
|
+
</tr>
|
218
|
+
<tr>
|
219
|
+
<td class="function_type">
|
220
|
+
<span class="returnvalue">void</span>
|
221
|
+
</td>
|
222
|
+
<td class="function_name">
|
223
|
+
<a class="link" href="ClutterTexture.html#clutter-texture-set-keep-aspect-ratio" title="clutter_texture_set_keep_aspect_ratio ()">clutter_texture_set_keep_aspect_ratio</a> <span class="c_punctuation">()</span>
|
224
|
+
</td>
|
225
|
+
</tr>
|
226
|
+
<tr>
|
227
|
+
<td class="function_type">
|
228
|
+
<span class="returnvalue">gboolean</span>
|
229
|
+
</td>
|
230
|
+
<td class="function_name">
|
231
|
+
<a class="link" href="ClutterTexture.html#clutter-texture-get-load-async" title="clutter_texture_get_load_async ()">clutter_texture_get_load_async</a> <span class="c_punctuation">()</span>
|
232
|
+
</td>
|
233
|
+
</tr>
|
234
|
+
<tr>
|
235
|
+
<td class="function_type">
|
236
|
+
<span class="returnvalue">void</span>
|
237
|
+
</td>
|
238
|
+
<td class="function_name">
|
239
|
+
<a class="link" href="ClutterTexture.html#clutter-texture-set-load-async" title="clutter_texture_set_load_async ()">clutter_texture_set_load_async</a> <span class="c_punctuation">()</span>
|
240
|
+
</td>
|
241
|
+
</tr>
|
242
|
+
<tr>
|
243
|
+
<td class="function_type">
|
244
|
+
<span class="returnvalue">gboolean</span>
|
245
|
+
</td>
|
246
|
+
<td class="function_name">
|
247
|
+
<a class="link" href="ClutterTexture.html#clutter-texture-get-load-data-async" title="clutter_texture_get_load_data_async ()">clutter_texture_get_load_data_async</a> <span class="c_punctuation">()</span>
|
248
|
+
</td>
|
249
|
+
</tr>
|
250
|
+
<tr>
|
251
|
+
<td class="function_type">
|
252
|
+
<span class="returnvalue">void</span>
|
253
|
+
</td>
|
254
|
+
<td class="function_name">
|
255
|
+
<a class="link" href="ClutterTexture.html#clutter-texture-set-load-data-async" title="clutter_texture_set_load_data_async ()">clutter_texture_set_load_data_async</a> <span class="c_punctuation">()</span>
|
256
|
+
</td>
|
257
|
+
</tr>
|
258
|
+
<tr>
|
259
|
+
<td class="function_type">
|
260
|
+
<span class="returnvalue">gboolean</span>
|
261
|
+
</td>
|
262
|
+
<td class="function_name">
|
263
|
+
<a class="link" href="ClutterTexture.html#clutter-texture-get-pick-with-alpha" title="clutter_texture_get_pick_with_alpha ()">clutter_texture_get_pick_with_alpha</a> <span class="c_punctuation">()</span>
|
264
|
+
</td>
|
265
|
+
</tr>
|
266
|
+
<tr>
|
267
|
+
<td class="function_type">
|
268
|
+
<span class="returnvalue">void</span>
|
269
|
+
</td>
|
270
|
+
<td class="function_name">
|
271
|
+
<a class="link" href="ClutterTexture.html#clutter-texture-set-pick-with-alpha" title="clutter_texture_set_pick_with_alpha ()">clutter_texture_set_pick_with_alpha</a> <span class="c_punctuation">()</span>
|
272
|
+
</td>
|
236
273
|
</tr>
|
237
274
|
</tbody>
|
238
275
|
</table></div>
|
239
|
-
<p class="since">Since 0.1</p>
|
240
276
|
</div>
|
241
|
-
<
|
242
|
-
<
|
243
|
-
<
|
244
|
-
<pre class="programlisting">typedef enum {
|
245
|
-
/*< prefix=CLUTTER_TEXTURE >*/
|
246
|
-
CLUTTER_TEXTURE_NONE = 0,
|
247
|
-
CLUTTER_TEXTURE_RGB_FLAG_BGR = 1 << 1,
|
248
|
-
CLUTTER_TEXTURE_RGB_FLAG_PREMULT = 1 << 2, /* FIXME: not handled */
|
249
|
-
CLUTTER_TEXTURE_YUV_FLAG_YUV2 = 1 << 3
|
250
|
-
|
251
|
-
/* FIXME: add compressed types ? */
|
252
|
-
} ClutterTextureFlags;
|
253
|
-
</pre>
|
254
|
-
<p>
|
255
|
-
Flags for <a class="link" href="ClutterTexture.html#clutter-texture-set-from-rgb-data" title="clutter_texture_set_from_rgb_data ()"><code class="function">clutter_texture_set_from_rgb_data()</code></a> and
|
256
|
-
<a class="link" href="ClutterTexture.html#clutter-texture-set-from-yuv-data" title="clutter_texture_set_from_yuv_data ()"><code class="function">clutter_texture_set_from_yuv_data()</code></a>.
|
257
|
-
</p>
|
258
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
277
|
+
<div class="refsect1">
|
278
|
+
<a name="ClutterTexture.properties"></a><h2>Properties</h2>
|
279
|
+
<div class="informaltable"><table border="0">
|
259
280
|
<colgroup>
|
260
|
-
<col
|
261
|
-
<col>
|
281
|
+
<col width="150px" class="properties_type">
|
282
|
+
<col width="300px" class="properties_name">
|
283
|
+
<col width="200px" class="properties_flags">
|
262
284
|
</colgroup>
|
263
285
|
<tbody>
|
264
286
|
<tr>
|
265
|
-
<td
|
266
|
-
<td>
|
267
|
-
</td>
|
287
|
+
<td class="property_type">
|
288
|
+
<span class="type">CoglHandle</span> *</td>
|
289
|
+
<td class="property_name"><a class="link" href="ClutterTexture.html#ClutterTexture--cogl-material" title="The “cogl-material” property">cogl-material</a></td>
|
290
|
+
<td class="property_flags">Read / Write</td>
|
268
291
|
</tr>
|
269
292
|
<tr>
|
270
|
-
<td
|
271
|
-
<td>
|
272
|
-
</td>
|
293
|
+
<td class="property_type">
|
294
|
+
<span class="type">CoglHandle</span> *</td>
|
295
|
+
<td class="property_name"><a class="link" href="ClutterTexture.html#ClutterTexture--cogl-texture" title="The “cogl-texture” property">cogl-texture</a></td>
|
296
|
+
<td class="property_flags">Read / Write</td>
|
273
297
|
</tr>
|
274
298
|
<tr>
|
275
|
-
<td
|
276
|
-
<td>
|
277
|
-
</td>
|
299
|
+
<td class="property_type"><span class="type">gboolean</span></td>
|
300
|
+
<td class="property_name"><a class="link" href="ClutterTexture.html#ClutterTexture--disable-slicing" title="The “disable-slicing” property">disable-slicing</a></td>
|
301
|
+
<td class="property_flags">Read / Write / Construct Only</td>
|
278
302
|
</tr>
|
279
303
|
<tr>
|
280
|
-
<td
|
281
|
-
<td>
|
282
|
-
</td>
|
304
|
+
<td class="property_type">
|
305
|
+
<span class="type">gchar</span> *</td>
|
306
|
+
<td class="property_name"><a class="link" href="ClutterTexture.html#ClutterTexture--filename" title="The “filename” property">filename</a></td>
|
307
|
+
<td class="property_flags">Read / Write</td>
|
308
|
+
</tr>
|
309
|
+
<tr>
|
310
|
+
<td class="property_type"><a class="link" href="ClutterTexture.html#ClutterTextureQuality" title="enum ClutterTextureQuality"><span class="type">ClutterTextureQuality</span></a></td>
|
311
|
+
<td class="property_name"><a class="link" href="ClutterTexture.html#ClutterTexture--filter-quality" title="The “filter-quality” property">filter-quality</a></td>
|
312
|
+
<td class="property_flags">Read / Write / Construct</td>
|
313
|
+
</tr>
|
314
|
+
<tr>
|
315
|
+
<td class="property_type"><span class="type">gboolean</span></td>
|
316
|
+
<td class="property_name"><a class="link" href="ClutterTexture.html#ClutterTexture--keep-aspect-ratio" title="The “keep-aspect-ratio” property">keep-aspect-ratio</a></td>
|
317
|
+
<td class="property_flags">Read / Write</td>
|
318
|
+
</tr>
|
319
|
+
<tr>
|
320
|
+
<td class="property_type"><span class="type">gboolean</span></td>
|
321
|
+
<td class="property_name"><a class="link" href="ClutterTexture.html#ClutterTexture--load-async" title="The “load-async” property">load-async</a></td>
|
322
|
+
<td class="property_flags">Write</td>
|
323
|
+
</tr>
|
324
|
+
<tr>
|
325
|
+
<td class="property_type"><span class="type">gboolean</span></td>
|
326
|
+
<td class="property_name"><a class="link" href="ClutterTexture.html#ClutterTexture--load-data-async" title="The “load-data-async” property">load-data-async</a></td>
|
327
|
+
<td class="property_flags">Write</td>
|
328
|
+
</tr>
|
329
|
+
<tr>
|
330
|
+
<td class="property_type"><span class="type">gboolean</span></td>
|
331
|
+
<td class="property_name"><a class="link" href="ClutterTexture.html#ClutterTexture--pick-with-alpha" title="The “pick-with-alpha” property">pick-with-alpha</a></td>
|
332
|
+
<td class="property_flags">Read / Write</td>
|
333
|
+
</tr>
|
334
|
+
<tr>
|
335
|
+
<td class="property_type"><span class="type">CoglPixelFormat</span></td>
|
336
|
+
<td class="property_name"><a class="link" href="ClutterTexture.html#ClutterTexture--pixel-format" title="The “pixel-format” property">pixel-format</a></td>
|
337
|
+
<td class="property_flags">Read</td>
|
338
|
+
</tr>
|
339
|
+
<tr>
|
340
|
+
<td class="property_type"><span class="type">gboolean</span></td>
|
341
|
+
<td class="property_name"><a class="link" href="ClutterTexture.html#ClutterTexture--repeat-x" title="The “repeat-x” property">repeat-x</a></td>
|
342
|
+
<td class="property_flags">Read / Write</td>
|
343
|
+
</tr>
|
344
|
+
<tr>
|
345
|
+
<td class="property_type"><span class="type">gboolean</span></td>
|
346
|
+
<td class="property_name"><a class="link" href="ClutterTexture.html#ClutterTexture--repeat-y" title="The “repeat-y” property">repeat-y</a></td>
|
347
|
+
<td class="property_flags">Read / Write</td>
|
348
|
+
</tr>
|
349
|
+
<tr>
|
350
|
+
<td class="property_type"><span class="type">gboolean</span></td>
|
351
|
+
<td class="property_name"><a class="link" href="ClutterTexture.html#ClutterTexture--sync-size" title="The “sync-size” property">sync-size</a></td>
|
352
|
+
<td class="property_flags">Read / Write</td>
|
353
|
+
</tr>
|
354
|
+
<tr>
|
355
|
+
<td class="property_type"><span class="type">gint</span></td>
|
356
|
+
<td class="property_name"><a class="link" href="ClutterTexture.html#ClutterTexture--tile-waste" title="The “tile-waste” property">tile-waste</a></td>
|
357
|
+
<td class="property_flags">Read</td>
|
283
358
|
</tr>
|
284
359
|
</tbody>
|
285
360
|
</table></div>
|
286
|
-
<p class="since">Since 0.4</p>
|
287
361
|
</div>
|
288
|
-
<
|
289
|
-
<
|
290
|
-
<
|
291
|
-
<pre class="programlisting">typedef enum {
|
292
|
-
/*< prefix=CLUTTER_TEXTURE_QUALITY >*/
|
293
|
-
CLUTTER_TEXTURE_QUALITY_LOW,
|
294
|
-
CLUTTER_TEXTURE_QUALITY_MEDIUM,
|
295
|
-
CLUTTER_TEXTURE_QUALITY_HIGH
|
296
|
-
} ClutterTextureQuality;
|
297
|
-
</pre>
|
298
|
-
<p>
|
299
|
-
Enumaration controlling the texture quality.
|
300
|
-
</p>
|
301
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
362
|
+
<div class="refsect1">
|
363
|
+
<a name="ClutterTexture.signals"></a><h2>Signals</h2>
|
364
|
+
<div class="informaltable"><table border="0">
|
302
365
|
<colgroup>
|
303
|
-
<col
|
304
|
-
<col>
|
366
|
+
<col width="150px" class="signals_return">
|
367
|
+
<col width="300px" class="signals_name">
|
368
|
+
<col width="200px" class="signals_flags">
|
305
369
|
</colgroup>
|
306
370
|
<tbody>
|
307
371
|
<tr>
|
308
|
-
<td
|
309
|
-
<td
|
310
|
-
|
311
|
-
</td>
|
372
|
+
<td class="signal_type"><span class="returnvalue">void</span></td>
|
373
|
+
<td class="signal_name"><a class="link" href="ClutterTexture.html#ClutterTexture-load-finished" title="The “load-finished” signal">load-finished</a></td>
|
374
|
+
<td class="signal_flags">Run Last</td>
|
312
375
|
</tr>
|
313
376
|
<tr>
|
314
|
-
<td
|
315
|
-
<td
|
316
|
-
|
317
|
-
</td>
|
377
|
+
<td class="signal_type"><span class="returnvalue">void</span></td>
|
378
|
+
<td class="signal_name"><a class="link" href="ClutterTexture.html#ClutterTexture-pixbuf-change" title="The “pixbuf-change” signal">pixbuf-change</a></td>
|
379
|
+
<td class="signal_flags">Run Last</td>
|
318
380
|
</tr>
|
319
381
|
<tr>
|
320
|
-
<td
|
321
|
-
<td
|
322
|
-
|
323
|
-
</td>
|
382
|
+
<td class="signal_type"><span class="returnvalue">void</span></td>
|
383
|
+
<td class="signal_name"><a class="link" href="ClutterTexture.html#ClutterTexture-size-change" title="The “size-change” signal">size-change</a></td>
|
384
|
+
<td class="signal_flags">Run Last</td>
|
324
385
|
</tr>
|
325
386
|
</tbody>
|
326
387
|
</table></div>
|
327
|
-
<p class="since">Since 0.8</p>
|
328
|
-
</div>
|
329
|
-
<hr>
|
330
|
-
<div class="refsect2">
|
331
|
-
<a name="clutter-texture-new"></a><h3>clutter_texture_new ()</h3>
|
332
|
-
<pre class="programlisting"><a class="link" href="ClutterActor.html" title="ClutterActor"><span class="returnvalue">ClutterActor</span></a> * clutter_texture_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
333
|
-
<div class="warning">
|
334
|
-
<h3 class="title">Warning</h3>
|
335
|
-
<p><code class="literal">clutter_texture_new</code> is deprecated and should not be used in newly-written code. 1.12</p>
|
336
388
|
</div>
|
337
|
-
<
|
338
|
-
|
339
|
-
|
340
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
389
|
+
<div class="refsect1">
|
390
|
+
<a name="ClutterTexture.other"></a><h2>Types and Values</h2>
|
391
|
+
<div class="informaltable"><table width="100%" border="0">
|
341
392
|
<colgroup>
|
342
|
-
<col
|
343
|
-
<col>
|
393
|
+
<col width="150px" class="name">
|
394
|
+
<col class="description">
|
344
395
|
</colgroup>
|
345
|
-
<tbody
|
346
|
-
<
|
347
|
-
<td
|
348
|
-
</
|
396
|
+
<tbody>
|
397
|
+
<tr>
|
398
|
+
<td class="datatype_keyword">struct</td>
|
399
|
+
<td class="function_name"><a class="link" href="ClutterTexture.html#ClutterTexture-struct" title="struct ClutterTexture">ClutterTexture</a></td>
|
400
|
+
</tr>
|
401
|
+
<tr>
|
402
|
+
<td class="datatype_keyword">struct</td>
|
403
|
+
<td class="function_name"><a class="link" href="ClutterTexture.html#ClutterTextureClass" title="struct ClutterTextureClass">ClutterTextureClass</a></td>
|
404
|
+
</tr>
|
405
|
+
<tr>
|
406
|
+
<td class="datatype_keyword">enum</td>
|
407
|
+
<td class="function_name"><a class="link" href="ClutterTexture.html#ClutterTextureFlags" title="enum ClutterTextureFlags">ClutterTextureFlags</a></td>
|
408
|
+
</tr>
|
409
|
+
<tr>
|
410
|
+
<td class="datatype_keyword">enum</td>
|
411
|
+
<td class="function_name"><a class="link" href="ClutterTexture.html#ClutterTextureQuality" title="enum ClutterTextureQuality">ClutterTextureQuality</a></td>
|
412
|
+
</tr>
|
413
|
+
<tr>
|
414
|
+
<td class="datatype_keyword">enum</td>
|
415
|
+
<td class="function_name"><a class="link" href="ClutterTexture.html#ClutterTextureError" title="enum ClutterTextureError">ClutterTextureError</a></td>
|
416
|
+
</tr>
|
417
|
+
</tbody>
|
349
418
|
</table></div>
|
350
419
|
</div>
|
351
|
-
<
|
352
|
-
<
|
353
|
-
<
|
354
|
-
<
|
355
|
-
|
356
|
-
<
|
357
|
-
<
|
358
|
-
|
420
|
+
<div class="refsect1">
|
421
|
+
<a name="ClutterTexture.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
422
|
+
<pre class="screen"> GObject
|
423
|
+
<span class="lineart">╰──</span> GInitiallyUnowned
|
424
|
+
<span class="lineart">╰──</span> <a class="link" href="ClutterActor.html" title="ClutterActor">ClutterActor</a>
|
425
|
+
<span class="lineart">╰──</span> ClutterTexture
|
426
|
+
<span class="lineart">╰──</span> <a class="link" href="ClutterCairoTexture.html" title="ClutterCairoTexture">ClutterCairoTexture</a>
|
427
|
+
</pre>
|
359
428
|
</div>
|
429
|
+
<div class="refsect1">
|
430
|
+
<a name="ClutterTexture.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
|
360
431
|
<p>
|
361
|
-
|
432
|
+
ClutterTexture implements
|
433
|
+
<a class="link" href="ClutterContainer.html" title="ClutterContainer">ClutterContainer</a>, <a class="link" href="ClutterScriptable.html" title="ClutterScriptable">ClutterScriptable</a>, <a class="link" href="ClutterAnimatable.html" title="ClutterAnimatable">ClutterAnimatable</a> and AtkImplementorIface.</p>
|
434
|
+
</div>
|
435
|
+
<div class="refsect1">
|
436
|
+
<a name="ClutterTexture.description"></a><h2>Description</h2>
|
437
|
+
<p><a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a> is a base class for displaying and manipulating pixel
|
438
|
+
buffer type data.</p>
|
439
|
+
<p>The <a class="link" href="ClutterTexture.html#clutter-texture-set-from-rgb-data" title="clutter_texture_set_from_rgb_data ()"><code class="function">clutter_texture_set_from_rgb_data()</code></a> and
|
440
|
+
<a class="link" href="ClutterTexture.html#clutter-texture-set-from-file" title="clutter_texture_set_from_file ()"><code class="function">clutter_texture_set_from_file()</code></a> functions are used to copy image
|
441
|
+
data into texture memory and subsequently realize the texture.</p>
|
442
|
+
<p>Note: a ClutterTexture will scale its contents to fit the bounding
|
443
|
+
box requested using <a class="link" href="ClutterActor.html#clutter-actor-set-size" title="clutter_actor_set_size ()"><code class="function">clutter_actor_set_size()</code></a>. To display an area of
|
444
|
+
a texture without scaling, you should set the clip area using
|
445
|
+
<a class="link" href="ClutterActor.html#clutter-actor-set-clip" title="clutter_actor_set_clip ()"><code class="function">clutter_actor_set_clip()</code></a>.</p>
|
446
|
+
<p>The <a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a> API is deprecated since Clutter 1.12. It is strongly
|
447
|
+
recommended to use <a class="link" href="ClutterImage.html" title="ClutterImage"><span class="type">ClutterImage</span></a> instead.</p>
|
448
|
+
</div>
|
449
|
+
<div class="refsect1">
|
450
|
+
<a name="ClutterTexture.functions_details"></a><h2>Functions</h2>
|
451
|
+
<div class="refsect2">
|
452
|
+
<a name="clutter-texture-new"></a><h3>clutter_texture_new ()</h3>
|
453
|
+
<pre class="programlisting"><a class="link" href="ClutterActor.html" title="ClutterActor"><span class="returnvalue">ClutterActor</span></a> *
|
454
|
+
clutter_texture_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
455
|
+
<div class="warning"><p><code class="literal">clutter_texture_new</code> has been deprecated since version 1.12 and should not be used in newly-written code.</p></div>
|
456
|
+
<p>Creates a new empty <a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a> object.</p>
|
457
|
+
<div class="refsect3">
|
458
|
+
<a name="id-1.10.20.10.2.6"></a><h4>Returns</h4>
|
459
|
+
<p> A newly created <a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a> object.</p>
|
460
|
+
<p></p>
|
461
|
+
</div>
|
462
|
+
</div>
|
463
|
+
<hr>
|
464
|
+
<div class="refsect2">
|
465
|
+
<a name="clutter-texture-new-from-file"></a><h3>clutter_texture_new_from_file ()</h3>
|
466
|
+
<pre class="programlisting"><a class="link" href="ClutterActor.html" title="ClutterActor"><span class="returnvalue">ClutterActor</span></a> *
|
467
|
+
clutter_texture_new_from_file (<em class="parameter"><code>const <span class="type">gchar</span> *filename</code></em>,
|
468
|
+
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
|
469
|
+
<div class="warning"><p><code class="literal">clutter_texture_new_from_file</code> has been deprecated since version 1.12 and should not be used in newly-written code.</p></div>
|
470
|
+
<p>Creates a new ClutterTexture actor to display the image contained a
|
362
471
|
file. If the image failed to load then NULL is returned and <em class="parameter"><code>error</code></em>
|
363
|
-
|
364
|
-
|
365
|
-
<div class="
|
472
|
+
|
473
|
+
is set.</p>
|
474
|
+
<div class="refsect3">
|
475
|
+
<a name="id-1.10.20.10.3.7"></a><h4>Parameters</h4>
|
476
|
+
<div class="informaltable"><table width="100%" border="0">
|
366
477
|
<colgroup>
|
367
|
-
<col
|
368
|
-
<col>
|
478
|
+
<col width="150px" class="parameters_name">
|
479
|
+
<col class="parameters_description">
|
480
|
+
<col width="200px" class="parameters_annotations">
|
369
481
|
</colgroup>
|
370
482
|
<tbody>
|
371
483
|
<tr>
|
372
|
-
<td
|
373
|
-
<td>The name of an image file to load.</td>
|
484
|
+
<td class="parameter_name"><p>filename</p></td>
|
485
|
+
<td class="parameter_description"><p>The name of an image file to load.</p></td>
|
486
|
+
<td class="parameter_annotations"> </td>
|
374
487
|
</tr>
|
375
488
|
<tr>
|
376
|
-
<td
|
377
|
-
<td>Return locatoin for an error.</td>
|
378
|
-
</
|
379
|
-
<tr>
|
380
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
381
|
-
<td>A newly created <a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a> object or NULL on
|
382
|
-
error.</td>
|
489
|
+
<td class="parameter_name"><p>error</p></td>
|
490
|
+
<td class="parameter_description"><p>Return locatoin for an error.</p></td>
|
491
|
+
<td class="parameter_annotations"> </td>
|
383
492
|
</tr>
|
384
493
|
</tbody>
|
385
494
|
</table></div>
|
495
|
+
</div>
|
496
|
+
<div class="refsect3">
|
497
|
+
<a name="id-1.10.20.10.3.8"></a><h4>Returns</h4>
|
498
|
+
<p> A newly created <a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a> object or NULL on
|
499
|
+
error.</p>
|
500
|
+
<p></p>
|
501
|
+
</div>
|
386
502
|
<p class="since">Since 0.8</p>
|
387
503
|
</div>
|
388
504
|
<hr>
|
389
505
|
<div class="refsect2">
|
390
|
-
<a name="clutter-texture-new-from-actor"></a><h3>clutter_texture_new_from_actor
|
391
|
-
<pre class="programlisting"><a class="link" href="ClutterActor.html" title="ClutterActor"><span class="returnvalue">ClutterActor</span></a>
|
506
|
+
<a name="clutter-texture-new-from-actor"></a><h3>clutter_texture_new_from_actor ()</h3>
|
507
|
+
<pre class="programlisting"><a class="link" href="ClutterActor.html" title="ClutterActor"><span class="returnvalue">ClutterActor</span></a> *
|
508
|
+
clutter_texture_new_from_actor (<em class="parameter"><code><a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a> *actor</code></em>);</pre>
|
392
509
|
<div class="warning">
|
393
|
-
<
|
394
|
-
<p
|
510
|
+
<p><code class="literal">clutter_texture_new_from_actor</code> has been deprecated since version 1.8 and should not be used in newly-written code.</p>
|
511
|
+
<p>Use the <a class="link" href="ClutterOffscreenEffect.html" title="ClutterOffscreenEffect"><span class="type">ClutterOffscreenEffect</span></a> and <a class="link" href="ClutterShaderEffect.html" title="ClutterShaderEffect"><span class="type">ClutterShaderEffect</span></a>
|
395
512
|
directly on the intended <a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a> to replace the functionality of
|
396
513
|
this function.</p>
|
397
514
|
</div>
|
398
|
-
<p>
|
399
|
-
Creates a new <a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a> object with its source a prexisting
|
515
|
+
<p>Creates a new <a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a> object with its source a prexisting
|
400
516
|
actor (and associated children). The textures content will contain
|
401
|
-
'live' redirected output of the actors scene
|
402
|
-
|
403
|
-
<p>
|
404
|
-
Note this function is intented as a utility call for uniformly applying
|
517
|
+
'live' redirected output of the actors scene.</p>
|
518
|
+
<p>Note this function is intented as a utility call for uniformly applying
|
405
519
|
shaders to groups and other potential visual effects. It requires that
|
406
520
|
the <a class="link" href="clutter-Features.html#CLUTTER-FEATURE-OFFSCREEN:CAPS"><code class="literal">CLUTTER_FEATURE_OFFSCREEN</code></a> feature is supported by the current backend
|
407
|
-
and the target system
|
408
|
-
|
409
|
-
<p>
|
410
|
-
Some tips on usage:
|
411
|
-
</p>
|
412
|
-
<p>
|
413
|
-
</p>
|
521
|
+
and the target system.</p>
|
522
|
+
<p>Some tips on usage:</p>
|
414
523
|
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
|
415
|
-
<li class="listitem"><p>The source actor must be
|
416
|
-
<a class="link" href="ClutterActor.html#clutter-actor-show" title="clutter_actor_show ()"><span class="type">clutter_actor_show</span></a>).</p></li>
|
524
|
+
<li class="listitem"><p>The source actor must be visible</p></li>
|
417
525
|
<li class="listitem"><p>The source actor must have a parent in order for it to be
|
418
|
-
|
419
|
-
|
420
|
-
|
421
|
-
|
422
|
-
|
423
|
-
|
424
|
-
|
425
|
-
|
426
|
-
|
526
|
+
allocated a size from the layouting mechanism. If the source
|
527
|
+
actor does not have a parent when this function is called then
|
528
|
+
the ClutterTexture will adopt it and allocate it at its
|
529
|
+
preferred size. Using this you can clone an actor that is
|
530
|
+
otherwise not displayed. Because of this feature if you do
|
531
|
+
intend to display the source actor then you must make sure that
|
532
|
+
the actor is parented before calling
|
533
|
+
<a class="link" href="ClutterTexture.html#clutter-texture-new-from-actor" title="clutter_texture_new_from_actor ()"><code class="function">clutter_texture_new_from_actor()</code></a> or that you unparent it before
|
534
|
+
adding it to a container.</p></li>
|
427
535
|
<li class="listitem"><p>When getting the image for the clone texture, Clutter
|
428
|
-
|
429
|
-
|
430
|
-
|
431
|
-
|
432
|
-
|
433
|
-
|
434
|
-
|
435
|
-
|
436
|
-
|
437
|
-
|
438
|
-
|
439
|
-
|
536
|
+
will attempt to render the source actor exactly as it would
|
537
|
+
appear if it was rendered on screen. The source actor's parent
|
538
|
+
transformations are taken into account. Therefore if your
|
539
|
+
source actor is rotated along the X or Y axes so that it has
|
540
|
+
some depth, the texture will appear differently depending on
|
541
|
+
the on-screen location of the source actor. While painting the
|
542
|
+
source actor, Clutter will set up a temporary asymmetric
|
543
|
+
perspective matrix as the projection matrix so that the source
|
544
|
+
actor will be projected as if a small section of the screen was
|
545
|
+
being viewed. Before version 0.8.2, an orthogonal identity
|
546
|
+
projection was used which meant that the source actor would be
|
547
|
+
clipped if any part of it was not on the zero Z-plane.</p></li>
|
440
548
|
<li class="listitem"><p>Avoid reparenting the source with the created texture.</p></li>
|
441
549
|
<li class="listitem"><p>A group can be padded with a transparent rectangle as to
|
442
|
-
|
443
|
-
|
550
|
+
provide a border to contents for shader output (blurring text
|
551
|
+
for example).</p></li>
|
444
552
|
<li class="listitem"><p>The texture will automatically resize to contain a further
|
445
|
-
|
446
|
-
|
447
|
-
|
553
|
+
transformed source. However, this involves overhead and can be
|
554
|
+
avoided by placing the source actor in a bounding group
|
555
|
+
sized large enough to contain any child tranformations.</p></li>
|
448
556
|
<li class="listitem"><p>Uploading pixel data to the texture (e.g by using
|
449
|
-
|
450
|
-
|
451
|
-
<li class="listitem"><p
|
452
|
-
|
453
|
-
|
557
|
+
<a class="link" href="ClutterTexture.html#clutter-texture-set-from-file" title="clutter_texture_set_from_file ()"><code class="function">clutter_texture_set_from_file()</code></a>) will destroy the offscreen texture
|
558
|
+
data and end redirection.</p></li>
|
559
|
+
<li class="listitem"><p>cogl_texture_get_data() with the handle returned by
|
560
|
+
<a class="link" href="ClutterTexture.html#clutter-texture-get-cogl-texture" title="clutter_texture_get_cogl_texture ()"><code class="function">clutter_texture_get_cogl_texture()</code></a> can be used to read the
|
561
|
+
offscreen texture pixels into a pixbuf.</para></p></li>
|
454
562
|
</ul></div>
|
455
|
-
<
|
456
|
-
</
|
457
|
-
<div class="
|
563
|
+
<div class="refsect3">
|
564
|
+
<a name="id-1.10.20.10.4.10"></a><h4>Parameters</h4>
|
565
|
+
<div class="informaltable"><table width="100%" border="0">
|
458
566
|
<colgroup>
|
459
|
-
<col
|
460
|
-
<col>
|
567
|
+
<col width="150px" class="parameters_name">
|
568
|
+
<col class="parameters_description">
|
569
|
+
<col width="200px" class="parameters_annotations">
|
461
570
|
</colgroup>
|
462
|
-
<tbody>
|
463
|
-
<
|
464
|
-
<td><p
|
465
|
-
<td
|
466
|
-
</
|
467
|
-
</tr>
|
468
|
-
<tr>
|
469
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
470
|
-
<td>A newly created <a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a> object, or <code class="literal">NULL</code> on failure.</td>
|
471
|
-
</tr>
|
472
|
-
</tbody>
|
571
|
+
<tbody><tr>
|
572
|
+
<td class="parameter_name"><p>actor</p></td>
|
573
|
+
<td class="parameter_description"><p>A source <a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a></p></td>
|
574
|
+
<td class="parameter_annotations"> </td>
|
575
|
+
</tr></tbody>
|
473
576
|
</table></div>
|
577
|
+
</div>
|
578
|
+
<div class="refsect3">
|
579
|
+
<a name="id-1.10.20.10.4.11"></a><h4>Returns</h4>
|
580
|
+
<p> A newly created <a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a> object, or <code class="literal">NULL</code> on failure.</p>
|
581
|
+
<p></p>
|
582
|
+
</div>
|
474
583
|
<p class="since">Since 0.6</p>
|
475
584
|
</div>
|
476
585
|
<hr>
|
@@ -478,380 +587,354 @@ Some tips on usage:
|
|
478
587
|
<a name="CLUTTER-TEXTURE-ERROR:CAPS"></a><h3>CLUTTER_TEXTURE_ERROR</h3>
|
479
588
|
<pre class="programlisting">#define CLUTTER_TEXTURE_ERROR (clutter_texture_error_quark ())
|
480
589
|
</pre>
|
481
|
-
<p>
|
482
|
-
Error domain for <a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a> errors
|
483
|
-
</p>
|
590
|
+
<p>Error domain for <a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a> errors</p>
|
484
591
|
<p class="since">Since 0.4</p>
|
485
592
|
</div>
|
486
593
|
<hr>
|
487
594
|
<div class="refsect2">
|
488
|
-
<a name="
|
489
|
-
<pre class="programlisting">
|
490
|
-
|
491
|
-
|
492
|
-
|
493
|
-
|
494
|
-
</
|
495
|
-
<
|
496
|
-
|
497
|
-
|
498
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
499
|
-
<colgroup>
|
500
|
-
<col align="left" valign="top">
|
501
|
-
<col>
|
502
|
-
</colgroup>
|
503
|
-
<tbody>
|
504
|
-
<tr>
|
505
|
-
<td><p><a name="CLUTTER-TEXTURE-ERROR-OUT-OF-MEMORY:CAPS"></a><span class="term"><code class="literal">CLUTTER_TEXTURE_ERROR_OUT_OF_MEMORY</code></span></p></td>
|
506
|
-
<td>OOM condition
|
507
|
-
</td>
|
508
|
-
</tr>
|
509
|
-
<tr>
|
510
|
-
<td><p><a name="CLUTTER-TEXTURE-ERROR-NO-YUV:CAPS"></a><span class="term"><code class="literal">CLUTTER_TEXTURE_ERROR_NO_YUV</code></span></p></td>
|
511
|
-
<td>YUV operation attempted but no YUV support
|
512
|
-
found
|
513
|
-
</td>
|
514
|
-
</tr>
|
515
|
-
<tr>
|
516
|
-
<td><p><a name="CLUTTER-TEXTURE-ERROR-BAD-FORMAT:CAPS"></a><span class="term"><code class="literal">CLUTTER_TEXTURE_ERROR_BAD_FORMAT</code></span></p></td>
|
517
|
-
<td>The requested format for
|
518
|
-
clutter_texture_set_from_rgb_data or
|
519
|
-
clutter_texture_set_from_yuv_data is unsupported.
|
520
|
-
</td>
|
521
|
-
</tr>
|
522
|
-
</tbody>
|
523
|
-
</table></div>
|
524
|
-
<p class="since">Since 0.4</p>
|
525
|
-
</div>
|
526
|
-
<hr>
|
527
|
-
<div class="refsect2">
|
528
|
-
<a name="clutter-texture-set-from-file"></a><h3>clutter_texture_set_from_file ()</h3>
|
529
|
-
<pre class="programlisting"><span class="returnvalue">gboolean</span> clutter_texture_set_from_file (<em class="parameter"><code><a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a> *texture</code></em>,
|
530
|
-
<em class="parameter"><code>const <span class="type">gchar</span> *filename</code></em>,
|
531
|
-
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
|
532
|
-
<div class="warning">
|
533
|
-
<h3 class="title">Warning</h3>
|
534
|
-
<p><code class="literal">clutter_texture_set_from_file</code> is deprecated and should not be used in newly-written code. 1.12</p>
|
535
|
-
</div>
|
536
|
-
<p>
|
537
|
-
Sets the <a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a> image data from an image file. In case of
|
538
|
-
failure, <code class="literal">FALSE</code> is returned and <em class="parameter"><code>error</code></em> is set.
|
539
|
-
</p>
|
540
|
-
<p>
|
541
|
-
If <a class="link" href="ClutterTexture.html#ClutterTexture--load-async" title='The "load-async" property'><span class="type">"load-async"</span></a> is set to <code class="literal">TRUE</code>, this function
|
595
|
+
<a name="clutter-texture-set-from-file"></a><h3>clutter_texture_set_from_file ()</h3>
|
596
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
597
|
+
clutter_texture_set_from_file (<em class="parameter"><code><a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a> *texture</code></em>,
|
598
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *filename</code></em>,
|
599
|
+
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
|
600
|
+
<div class="warning"><p><code class="literal">clutter_texture_set_from_file</code> has been deprecated since version 1.12 and should not be used in newly-written code.</p></div>
|
601
|
+
<p>Sets the <a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a> image data from an image file. In case of
|
602
|
+
failure, <code class="literal">FALSE</code> is returned and <em class="parameter"><code>error</code></em>
|
603
|
+
is set.</p>
|
604
|
+
<p>If <a class="link" href="ClutterTexture.html#ClutterTexture--load-async" title="The “load-async” property"><span class="type">“load-async”</span></a> is set to <code class="literal">TRUE</code>, this function
|
542
605
|
will return as soon as possible, and the actual image loading
|
543
|
-
from disk will be performed asynchronously. <a class="link" href="ClutterTexture.html#ClutterTexture-size-change" title=
|
606
|
+
from disk will be performed asynchronously. <a class="link" href="ClutterTexture.html#ClutterTexture-size-change" title="The “size-change” signal"><span class="type">“size-change”</span></a>
|
544
607
|
will be emitten when the size of the texture is available and
|
545
|
-
<a class="link" href="ClutterTexture.html#ClutterTexture-load-finished" title=
|
546
|
-
loaded or if an error occurred
|
547
|
-
|
548
|
-
<
|
608
|
+
<a class="link" href="ClutterTexture.html#ClutterTexture-load-finished" title="The “load-finished” signal"><span class="type">“load-finished”</span></a> will be emitted when the image has been
|
609
|
+
loaded or if an error occurred.</p>
|
610
|
+
<div class="refsect3">
|
611
|
+
<a name="id-1.10.20.10.6.8"></a><h4>Parameters</h4>
|
612
|
+
<div class="informaltable"><table width="100%" border="0">
|
549
613
|
<colgroup>
|
550
|
-
<col
|
551
|
-
<col>
|
614
|
+
<col width="150px" class="parameters_name">
|
615
|
+
<col class="parameters_description">
|
616
|
+
<col width="200px" class="parameters_annotations">
|
552
617
|
</colgroup>
|
553
618
|
<tbody>
|
554
619
|
<tr>
|
555
|
-
<td
|
556
|
-
<td>A <a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a>
|
557
|
-
</td>
|
620
|
+
<td class="parameter_name"><p>texture</p></td>
|
621
|
+
<td class="parameter_description"><p>A <a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a></p></td>
|
622
|
+
<td class="parameter_annotations"> </td>
|
558
623
|
</tr>
|
559
624
|
<tr>
|
560
|
-
<td
|
561
|
-
<td>The filename of the image in GLib file name encoding</td>
|
625
|
+
<td class="parameter_name"><p>filename</p></td>
|
626
|
+
<td class="parameter_description"><p>The filename of the image in GLib file name encoding</p></td>
|
627
|
+
<td class="parameter_annotations"> </td>
|
562
628
|
</tr>
|
563
629
|
<tr>
|
564
|
-
<td
|
565
|
-
<td>Return location for a <span class="type">GError</span>, or <code class="literal">NULL</code>
|
566
|
-
</td>
|
567
|
-
</tr>
|
568
|
-
<tr>
|
569
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
570
|
-
<td>
|
571
|
-
<code class="literal">TRUE</code> if the image was successfully loaded and set</td>
|
630
|
+
<td class="parameter_name"><p>error</p></td>
|
631
|
+
<td class="parameter_description"><p>Return location for a <span class="type">GError</span>, or <code class="literal">NULL</code></p></td>
|
632
|
+
<td class="parameter_annotations"> </td>
|
572
633
|
</tr>
|
573
634
|
</tbody>
|
574
635
|
</table></div>
|
636
|
+
</div>
|
637
|
+
<div class="refsect3">
|
638
|
+
<a name="id-1.10.20.10.6.9"></a><h4>Returns</h4>
|
639
|
+
<p> <code class="literal">TRUE</code> if the image was successfully loaded and set</p>
|
640
|
+
<p></p>
|
641
|
+
</div>
|
575
642
|
<p class="since">Since 0.8</p>
|
576
643
|
</div>
|
577
644
|
<hr>
|
578
645
|
<div class="refsect2">
|
579
|
-
<a name="clutter-texture-set-from-rgb-data"></a><h3>clutter_texture_set_from_rgb_data
|
580
|
-
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
581
|
-
|
582
|
-
|
583
|
-
|
584
|
-
|
585
|
-
|
586
|
-
|
587
|
-
|
588
|
-
|
589
|
-
<
|
590
|
-
<
|
591
|
-
<p><
|
592
|
-
|
593
|
-
<
|
594
|
-
|
595
|
-
</p>
|
596
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
646
|
+
<a name="clutter-texture-set-from-rgb-data"></a><h3>clutter_texture_set_from_rgb_data ()</h3>
|
647
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
648
|
+
clutter_texture_set_from_rgb_data (<em class="parameter"><code><a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a> *texture</code></em>,
|
649
|
+
<em class="parameter"><code>const <span class="type">guchar</span> *data</code></em>,
|
650
|
+
<em class="parameter"><code><span class="type">gboolean</span> has_alpha</code></em>,
|
651
|
+
<em class="parameter"><code><span class="type">gint</span> width</code></em>,
|
652
|
+
<em class="parameter"><code><span class="type">gint</span> height</code></em>,
|
653
|
+
<em class="parameter"><code><span class="type">gint</span> rowstride</code></em>,
|
654
|
+
<em class="parameter"><code><span class="type">gint</span> bpp</code></em>,
|
655
|
+
<em class="parameter"><code><a class="link" href="ClutterTexture.html#ClutterTextureFlags" title="enum ClutterTextureFlags"><span class="type">ClutterTextureFlags</span></a> flags</code></em>,
|
656
|
+
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
|
657
|
+
<div class="warning"><p><code class="literal">clutter_texture_set_from_rgb_data</code> has been deprecated since version 1.12 and should not be used in newly-written code.</p></div>
|
658
|
+
<p>Sets <a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a> image data.</p>
|
659
|
+
<div class="refsect3">
|
660
|
+
<a name="id-1.10.20.10.7.7"></a><h4>Parameters</h4>
|
661
|
+
<div class="informaltable"><table width="100%" border="0">
|
597
662
|
<colgroup>
|
598
|
-
<col
|
599
|
-
<col>
|
663
|
+
<col width="150px" class="parameters_name">
|
664
|
+
<col class="parameters_description">
|
665
|
+
<col width="200px" class="parameters_annotations">
|
600
666
|
</colgroup>
|
601
667
|
<tbody>
|
602
668
|
<tr>
|
603
|
-
<td
|
604
|
-
<td>a <a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a>
|
605
|
-
</td>
|
669
|
+
<td class="parameter_name"><p>texture</p></td>
|
670
|
+
<td class="parameter_description"><p>a <a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a></p></td>
|
671
|
+
<td class="parameter_annotations"> </td>
|
606
672
|
</tr>
|
607
673
|
<tr>
|
608
|
-
<td
|
609
|
-
<td>image data in RGBA type colorspace.
|
610
|
-
</td>
|
674
|
+
<td class="parameter_name"><p>data</p></td>
|
675
|
+
<td class="parameter_description"><p> image data in RGBA type colorspace. </p></td>
|
676
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym>]</span></td>
|
611
677
|
</tr>
|
612
678
|
<tr>
|
613
|
-
<td
|
614
|
-
<td>set to <code class="literal">TRUE</code> if image data has an alpha channel.</td>
|
679
|
+
<td class="parameter_name"><p>has_alpha</p></td>
|
680
|
+
<td class="parameter_description"><p>set to <code class="literal">TRUE</code> if image data has an alpha channel.</p></td>
|
681
|
+
<td class="parameter_annotations"> </td>
|
615
682
|
</tr>
|
616
683
|
<tr>
|
617
|
-
<td
|
618
|
-
<td>width in pixels of image data.</td>
|
684
|
+
<td class="parameter_name"><p>width</p></td>
|
685
|
+
<td class="parameter_description"><p>width in pixels of image data.</p></td>
|
686
|
+
<td class="parameter_annotations"> </td>
|
619
687
|
</tr>
|
620
688
|
<tr>
|
621
|
-
<td
|
622
|
-
<td>height in pixels of image data</td>
|
689
|
+
<td class="parameter_name"><p>height</p></td>
|
690
|
+
<td class="parameter_description"><p>height in pixels of image data</p></td>
|
691
|
+
<td class="parameter_annotations"> </td>
|
623
692
|
</tr>
|
624
693
|
<tr>
|
625
|
-
<td
|
626
|
-
<td>distance in bytes between row starts.</td>
|
694
|
+
<td class="parameter_name"><p>rowstride</p></td>
|
695
|
+
<td class="parameter_description"><p>distance in bytes between row starts.</p></td>
|
696
|
+
<td class="parameter_annotations"> </td>
|
627
697
|
</tr>
|
628
698
|
<tr>
|
629
|
-
<td
|
630
|
-
<td>bytes per pixel (currently only 3 and 4 supported, depending
|
631
|
-
on the value of <em class="parameter"><code>has_alpha</code></em>
|
699
|
+
<td class="parameter_name"><p>bpp</p></td>
|
700
|
+
<td class="parameter_description"><p>bytes per pixel (currently only 3 and 4 supported, depending
|
701
|
+
on the value of <em class="parameter"><code>has_alpha</code></em>
|
702
|
+
)</p></td>
|
703
|
+
<td class="parameter_annotations"> </td>
|
632
704
|
</tr>
|
633
705
|
<tr>
|
634
|
-
<td
|
635
|
-
<td><a class="link" href="ClutterTexture.html#ClutterTextureFlags" title="enum ClutterTextureFlags"><span class="type">ClutterTextureFlags</span></a></td>
|
706
|
+
<td class="parameter_name"><p>flags</p></td>
|
707
|
+
<td class="parameter_description"><p><a class="link" href="ClutterTexture.html#ClutterTextureFlags" title="enum ClutterTextureFlags"><span class="type">ClutterTextureFlags</span></a></p></td>
|
708
|
+
<td class="parameter_annotations"> </td>
|
636
709
|
</tr>
|
637
710
|
<tr>
|
638
|
-
<td
|
639
|
-
<td>return location for a <span class="type">GError</span>, or <code class="literal">NULL</code>.</td>
|
640
|
-
</
|
641
|
-
<tr>
|
642
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
643
|
-
<td>
|
644
|
-
<code class="literal">TRUE</code> on success, <code class="literal">FALSE</code> on failure.</td>
|
711
|
+
<td class="parameter_name"><p>error</p></td>
|
712
|
+
<td class="parameter_description"><p>return location for a <span class="type">GError</span>, or <code class="literal">NULL</code>.</p></td>
|
713
|
+
<td class="parameter_annotations"> </td>
|
645
714
|
</tr>
|
646
715
|
</tbody>
|
647
716
|
</table></div>
|
717
|
+
</div>
|
718
|
+
<div class="refsect3">
|
719
|
+
<a name="id-1.10.20.10.7.8"></a><h4>Returns</h4>
|
720
|
+
<p> <code class="literal">TRUE</code> on success, <code class="literal">FALSE</code> on failure.</p>
|
721
|
+
<p></p>
|
722
|
+
</div>
|
648
723
|
<p class="since">Since 0.4</p>
|
649
724
|
</div>
|
650
725
|
<hr>
|
651
726
|
<div class="refsect2">
|
652
|
-
<a name="clutter-texture-set-from-yuv-data"></a><h3>clutter_texture_set_from_yuv_data
|
653
|
-
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
654
|
-
|
655
|
-
|
656
|
-
|
657
|
-
|
658
|
-
|
727
|
+
<a name="clutter-texture-set-from-yuv-data"></a><h3>clutter_texture_set_from_yuv_data ()</h3>
|
728
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
729
|
+
clutter_texture_set_from_yuv_data (<em class="parameter"><code><a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a> *texture</code></em>,
|
730
|
+
<em class="parameter"><code>const <span class="type">guchar</span> *data</code></em>,
|
731
|
+
<em class="parameter"><code><span class="type">gint</span> width</code></em>,
|
732
|
+
<em class="parameter"><code><span class="type">gint</span> height</code></em>,
|
733
|
+
<em class="parameter"><code><a class="link" href="ClutterTexture.html#ClutterTextureFlags" title="enum ClutterTextureFlags"><span class="type">ClutterTextureFlags</span></a> flags</code></em>,
|
734
|
+
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
|
659
735
|
<div class="warning">
|
660
|
-
<
|
661
|
-
<p
|
736
|
+
<p><code class="literal">clutter_texture_set_from_yuv_data</code> has been deprecated since version 1.10 and should not be used in newly-written code.</p>
|
737
|
+
<p>Use <a class="link" href="ClutterTexture.html#clutter-texture-get-cogl-material" title="clutter_texture_get_cogl_material ()"><code class="function">clutter_texture_get_cogl_material()</code></a> and
|
662
738
|
the Cogl API to install a fragment shader for decoding YUV
|
663
739
|
formats on the GPU</p>
|
664
740
|
</div>
|
665
|
-
<p>
|
666
|
-
|
667
|
-
|
668
|
-
|
669
|
-
|
670
|
-
The
|
671
|
-
few drivers exposing this capability are not really useful.
|
672
|
-
</p>
|
673
|
-
<p>
|
674
|
-
The proper way to convert image data in any YUV colorspace to any
|
741
|
+
<p>Sets a <a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a> from YUV image data. If an error occurred,
|
742
|
+
<code class="literal">FALSE</code> is returned and <em class="parameter"><code>error</code></em>
|
743
|
+
is set.</p>
|
744
|
+
<p>The YUV support depends on the driver; the format supported by the
|
745
|
+
few drivers exposing this capability are not really useful.</p>
|
746
|
+
<p>The proper way to convert image data in any YUV colorspace to any
|
675
747
|
RGB colorspace is to use a fragment shader associated with the
|
676
|
-
<a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a> material
|
677
|
-
|
678
|
-
<
|
748
|
+
<a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a> material.</p>
|
749
|
+
<div class="refsect3">
|
750
|
+
<a name="id-1.10.20.10.8.9"></a><h4>Parameters</h4>
|
751
|
+
<div class="informaltable"><table width="100%" border="0">
|
679
752
|
<colgroup>
|
680
|
-
<col
|
681
|
-
<col>
|
753
|
+
<col width="150px" class="parameters_name">
|
754
|
+
<col class="parameters_description">
|
755
|
+
<col width="200px" class="parameters_annotations">
|
682
756
|
</colgroup>
|
683
757
|
<tbody>
|
684
758
|
<tr>
|
685
|
-
<td
|
686
|
-
<td>A <a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a>
|
687
|
-
</td>
|
759
|
+
<td class="parameter_name"><p>texture</p></td>
|
760
|
+
<td class="parameter_description"><p>A <a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a></p></td>
|
761
|
+
<td class="parameter_annotations"> </td>
|
688
762
|
</tr>
|
689
763
|
<tr>
|
690
|
-
<td
|
691
|
-
<td>Image data in YUV type colorspace.
|
692
|
-
</td>
|
764
|
+
<td class="parameter_name"><p>data</p></td>
|
765
|
+
<td class="parameter_description"><p> Image data in YUV type colorspace. </p></td>
|
766
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym>]</span></td>
|
693
767
|
</tr>
|
694
768
|
<tr>
|
695
|
-
<td
|
696
|
-
<td>Width in pixels of image data.</td>
|
769
|
+
<td class="parameter_name"><p>width</p></td>
|
770
|
+
<td class="parameter_description"><p>Width in pixels of image data.</p></td>
|
771
|
+
<td class="parameter_annotations"> </td>
|
697
772
|
</tr>
|
698
773
|
<tr>
|
699
|
-
<td
|
700
|
-
<td>Height in pixels of image data</td>
|
774
|
+
<td class="parameter_name"><p>height</p></td>
|
775
|
+
<td class="parameter_description"><p>Height in pixels of image data</p></td>
|
776
|
+
<td class="parameter_annotations"> </td>
|
701
777
|
</tr>
|
702
778
|
<tr>
|
703
|
-
<td
|
704
|
-
<td><a class="link" href="ClutterTexture.html#ClutterTextureFlags" title="enum ClutterTextureFlags"><span class="type">ClutterTextureFlags</span></a></td>
|
779
|
+
<td class="parameter_name"><p>flags</p></td>
|
780
|
+
<td class="parameter_description"><p><a class="link" href="ClutterTexture.html#ClutterTextureFlags" title="enum ClutterTextureFlags"><span class="type">ClutterTextureFlags</span></a></p></td>
|
781
|
+
<td class="parameter_annotations"> </td>
|
705
782
|
</tr>
|
706
783
|
<tr>
|
707
|
-
<td
|
708
|
-
<td>Return location for a <span class="type">GError</span>, or <code class="literal">NULL</code>.</td>
|
709
|
-
</
|
710
|
-
<tr>
|
711
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
712
|
-
<td>
|
713
|
-
<code class="literal">TRUE</code> if the texture was successfully updated</td>
|
784
|
+
<td class="parameter_name"><p>error</p></td>
|
785
|
+
<td class="parameter_description"><p>Return location for a <span class="type">GError</span>, or <code class="literal">NULL</code>.</p></td>
|
786
|
+
<td class="parameter_annotations"> </td>
|
714
787
|
</tr>
|
715
788
|
</tbody>
|
716
789
|
</table></div>
|
790
|
+
</div>
|
791
|
+
<div class="refsect3">
|
792
|
+
<a name="id-1.10.20.10.8.10"></a><h4>Returns</h4>
|
793
|
+
<p> <code class="literal">TRUE</code> if the texture was successfully updated</p>
|
794
|
+
<p></p>
|
795
|
+
</div>
|
717
796
|
<p class="since">Since 0.4</p>
|
718
797
|
</div>
|
719
798
|
<hr>
|
720
799
|
<div class="refsect2">
|
721
|
-
<a name="clutter-texture-set-area-from-rgb-data"></a><h3>clutter_texture_set_area_from_rgb_data
|
722
|
-
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
723
|
-
|
724
|
-
|
725
|
-
|
726
|
-
|
727
|
-
|
728
|
-
|
729
|
-
|
730
|
-
|
731
|
-
|
732
|
-
|
733
|
-
|
734
|
-
<
|
735
|
-
<
|
736
|
-
<p
|
737
|
-
|
738
|
-
<
|
739
|
-
|
740
|
-
</p>
|
741
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
800
|
+
<a name="clutter-texture-set-area-from-rgb-data"></a><h3>clutter_texture_set_area_from_rgb_data ()</h3>
|
801
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
802
|
+
clutter_texture_set_area_from_rgb_data
|
803
|
+
(<em class="parameter"><code><a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a> *texture</code></em>,
|
804
|
+
<em class="parameter"><code>const <span class="type">guchar</span> *data</code></em>,
|
805
|
+
<em class="parameter"><code><span class="type">gboolean</span> has_alpha</code></em>,
|
806
|
+
<em class="parameter"><code><span class="type">gint</span> x</code></em>,
|
807
|
+
<em class="parameter"><code><span class="type">gint</span> y</code></em>,
|
808
|
+
<em class="parameter"><code><span class="type">gint</span> width</code></em>,
|
809
|
+
<em class="parameter"><code><span class="type">gint</span> height</code></em>,
|
810
|
+
<em class="parameter"><code><span class="type">gint</span> rowstride</code></em>,
|
811
|
+
<em class="parameter"><code><span class="type">gint</span> bpp</code></em>,
|
812
|
+
<em class="parameter"><code><a class="link" href="ClutterTexture.html#ClutterTextureFlags" title="enum ClutterTextureFlags"><span class="type">ClutterTextureFlags</span></a> flags</code></em>,
|
813
|
+
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
|
814
|
+
<div class="warning"><p><code class="literal">clutter_texture_set_area_from_rgb_data</code> has been deprecated since version 1.12 and should not be used in newly-written code.</p></div>
|
815
|
+
<p>Updates a sub-region of the pixel data in a <a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a>.</p>
|
816
|
+
<div class="refsect3">
|
817
|
+
<a name="id-1.10.20.10.9.7"></a><h4>Parameters</h4>
|
818
|
+
<div class="informaltable"><table width="100%" border="0">
|
742
819
|
<colgroup>
|
743
|
-
<col
|
744
|
-
<col>
|
820
|
+
<col width="150px" class="parameters_name">
|
821
|
+
<col class="parameters_description">
|
822
|
+
<col width="200px" class="parameters_annotations">
|
745
823
|
</colgroup>
|
746
824
|
<tbody>
|
747
825
|
<tr>
|
748
|
-
<td
|
749
|
-
<td>A <a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a>
|
750
|
-
</td>
|
751
|
-
</tr>
|
752
|
-
<tr>
|
753
|
-
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
|
754
|
-
<td>Image data in RGB type colorspace. <span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym>]</span>
|
755
|
-
</td>
|
826
|
+
<td class="parameter_name"><p>texture</p></td>
|
827
|
+
<td class="parameter_description"><p>A <a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a></p></td>
|
828
|
+
<td class="parameter_annotations"> </td>
|
756
829
|
</tr>
|
757
830
|
<tr>
|
758
|
-
<td
|
759
|
-
<td>
|
831
|
+
<td class="parameter_name"><p>data</p></td>
|
832
|
+
<td class="parameter_description"><p> Image data in RGB type colorspace. </p></td>
|
833
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym>]</span></td>
|
760
834
|
</tr>
|
761
835
|
<tr>
|
762
|
-
<td
|
763
|
-
<td>
|
836
|
+
<td class="parameter_name"><p>has_alpha</p></td>
|
837
|
+
<td class="parameter_description"><p>Set to TRUE if image data has an alpha channel.</p></td>
|
838
|
+
<td class="parameter_annotations"> </td>
|
764
839
|
</tr>
|
765
840
|
<tr>
|
766
|
-
<td
|
767
|
-
<td>
|
841
|
+
<td class="parameter_name"><p>x</p></td>
|
842
|
+
<td class="parameter_description"><p>X coordinate of upper left corner of region to update.</p></td>
|
843
|
+
<td class="parameter_annotations"> </td>
|
768
844
|
</tr>
|
769
845
|
<tr>
|
770
|
-
<td
|
771
|
-
<td>
|
846
|
+
<td class="parameter_name"><p>y</p></td>
|
847
|
+
<td class="parameter_description"><p>Y coordinate of upper left corner of region to update.</p></td>
|
848
|
+
<td class="parameter_annotations"> </td>
|
772
849
|
</tr>
|
773
850
|
<tr>
|
774
|
-
<td
|
775
|
-
<td>
|
851
|
+
<td class="parameter_name"><p>width</p></td>
|
852
|
+
<td class="parameter_description"><p>Width in pixels of region to update.</p></td>
|
853
|
+
<td class="parameter_annotations"> </td>
|
776
854
|
</tr>
|
777
855
|
<tr>
|
778
|
-
<td
|
779
|
-
<td>
|
856
|
+
<td class="parameter_name"><p>height</p></td>
|
857
|
+
<td class="parameter_description"><p>Height in pixels of region to update.</p></td>
|
858
|
+
<td class="parameter_annotations"> </td>
|
780
859
|
</tr>
|
781
860
|
<tr>
|
782
|
-
<td
|
783
|
-
<td>
|
784
|
-
|
861
|
+
<td class="parameter_name"><p>rowstride</p></td>
|
862
|
+
<td class="parameter_description"><p>Distance in bytes between row starts on source buffer.</p></td>
|
863
|
+
<td class="parameter_annotations"> </td>
|
785
864
|
</tr>
|
786
865
|
<tr>
|
787
|
-
<td
|
788
|
-
<td
|
866
|
+
<td class="parameter_name"><p>bpp</p></td>
|
867
|
+
<td class="parameter_description"><p>bytes per pixel (Currently only 3 and 4 supported,
|
868
|
+
depending on <em class="parameter"><code>has_alpha</code></em>
|
869
|
+
)</p></td>
|
870
|
+
<td class="parameter_annotations"> </td>
|
789
871
|
</tr>
|
790
872
|
<tr>
|
791
|
-
<td
|
792
|
-
<td
|
793
|
-
</td>
|
873
|
+
<td class="parameter_name"><p>flags</p></td>
|
874
|
+
<td class="parameter_description"><p><a class="link" href="ClutterTexture.html#ClutterTextureFlags" title="enum ClutterTextureFlags"><span class="type">ClutterTextureFlags</span></a></p></td>
|
875
|
+
<td class="parameter_annotations"> </td>
|
794
876
|
</tr>
|
795
877
|
<tr>
|
796
|
-
<td
|
797
|
-
<td>
|
798
|
-
<
|
878
|
+
<td class="parameter_name"><p>error</p></td>
|
879
|
+
<td class="parameter_description"><p>return location for a <span class="type">GError</span>, or <code class="literal">NULL</code></p></td>
|
880
|
+
<td class="parameter_annotations"> </td>
|
799
881
|
</tr>
|
800
882
|
</tbody>
|
801
883
|
</table></div>
|
884
|
+
</div>
|
885
|
+
<div class="refsect3">
|
886
|
+
<a name="id-1.10.20.10.9.8"></a><h4>Returns</h4>
|
887
|
+
<p> <code class="literal">TRUE</code> on success, <code class="literal">FALSE</code> on failure.</p>
|
888
|
+
<p></p>
|
889
|
+
</div>
|
802
890
|
<p class="since">Since 0.6</p>
|
803
891
|
</div>
|
804
892
|
<hr>
|
805
893
|
<div class="refsect2">
|
806
|
-
<a name="clutter-texture-get-base-size"></a><h3>clutter_texture_get_base_size
|
807
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
808
|
-
|
809
|
-
|
810
|
-
<
|
811
|
-
<
|
812
|
-
<p
|
813
|
-
|
814
|
-
<
|
815
|
-
|
816
|
-
</p>
|
817
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
894
|
+
<a name="clutter-texture-get-base-size"></a><h3>clutter_texture_get_base_size ()</h3>
|
895
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
896
|
+
clutter_texture_get_base_size (<em class="parameter"><code><a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a> *texture</code></em>,
|
897
|
+
<em class="parameter"><code><span class="type">gint</span> *width</code></em>,
|
898
|
+
<em class="parameter"><code><span class="type">gint</span> *height</code></em>);</pre>
|
899
|
+
<div class="warning"><p><code class="literal">clutter_texture_get_base_size</code> has been deprecated since version 1.12 and should not be used in newly-written code.</p></div>
|
900
|
+
<p>Gets the size in pixels of the untransformed underlying image</p>
|
901
|
+
<div class="refsect3">
|
902
|
+
<a name="id-1.10.20.10.10.6"></a><h4>Parameters</h4>
|
903
|
+
<div class="informaltable"><table width="100%" border="0">
|
818
904
|
<colgroup>
|
819
|
-
<col
|
820
|
-
<col>
|
905
|
+
<col width="150px" class="parameters_name">
|
906
|
+
<col class="parameters_description">
|
907
|
+
<col width="200px" class="parameters_annotations">
|
821
908
|
</colgroup>
|
822
909
|
<tbody>
|
823
910
|
<tr>
|
824
|
-
<td
|
825
|
-
<td>a <a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a>
|
826
|
-
</td>
|
911
|
+
<td class="parameter_name"><p>texture</p></td>
|
912
|
+
<td class="parameter_description"><p>a <a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a></p></td>
|
913
|
+
<td class="parameter_annotations"> </td>
|
827
914
|
</tr>
|
828
915
|
<tr>
|
829
|
-
<td
|
830
|
-
<td>return location for the width, or <code class="literal">NULL</code>.
|
831
|
-
</td>
|
916
|
+
<td class="parameter_name"><p>width</p></td>
|
917
|
+
<td class="parameter_description"><p> return location for the width, or <code class="literal">NULL</code>. </p></td>
|
918
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
|
832
919
|
</tr>
|
833
920
|
<tr>
|
834
|
-
<td
|
835
|
-
<td>return location for the height, or <code class="literal">NULL</code>.
|
836
|
-
</td>
|
921
|
+
<td class="parameter_name"><p>height</p></td>
|
922
|
+
<td class="parameter_description"><p> return location for the height, or <code class="literal">NULL</code>. </p></td>
|
923
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
|
837
924
|
</tr>
|
838
925
|
</tbody>
|
839
926
|
</table></div>
|
840
927
|
</div>
|
928
|
+
</div>
|
841
929
|
<hr>
|
842
930
|
<div class="refsect2">
|
843
|
-
<a name="clutter-texture-get-pixel-format"></a><h3>clutter_texture_get_pixel_format
|
844
|
-
<pre class="programlisting"><span class="returnvalue">CoglPixelFormat</span>
|
845
|
-
<
|
846
|
-
<
|
847
|
-
<p
|
848
|
-
|
849
|
-
|
850
|
-
Retrieves the pixel format used by <em class="parameter"><code>texture</code></em>. This is
|
851
|
-
equivalent to:
|
852
|
-
</p>
|
853
|
-
<p>
|
854
|
-
</p>
|
931
|
+
<a name="clutter-texture-get-pixel-format"></a><h3>clutter_texture_get_pixel_format ()</h3>
|
932
|
+
<pre class="programlisting"><span class="returnvalue">CoglPixelFormat</span>
|
933
|
+
clutter_texture_get_pixel_format (<em class="parameter"><code><a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a> *texture</code></em>);</pre>
|
934
|
+
<div class="warning"><p><code class="literal">clutter_texture_get_pixel_format</code> has been deprecated since version 1.12 and should not be used in newly-written code.</p></div>
|
935
|
+
<p>Retrieves the pixel format used by <em class="parameter"><code>texture</code></em>
|
936
|
+
. This is
|
937
|
+
equivalent to:</p>
|
855
938
|
<div class="informalexample">
|
856
939
|
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
857
940
|
<tbody>
|
@@ -869,840 +952,1002 @@ equivalent to:
|
|
869
952
|
</table>
|
870
953
|
</div>
|
871
954
|
|
872
|
-
<p>
|
873
|
-
|
874
|
-
<
|
955
|
+
<p></p>
|
956
|
+
<div class="refsect3">
|
957
|
+
<a name="id-1.10.20.10.11.9"></a><h4>Parameters</h4>
|
958
|
+
<div class="informaltable"><table width="100%" border="0">
|
875
959
|
<colgroup>
|
876
|
-
<col
|
877
|
-
<col>
|
960
|
+
<col width="150px" class="parameters_name">
|
961
|
+
<col class="parameters_description">
|
962
|
+
<col width="200px" class="parameters_annotations">
|
878
963
|
</colgroup>
|
879
|
-
<tbody>
|
880
|
-
<
|
881
|
-
<td><p
|
882
|
-
<td
|
883
|
-
</
|
884
|
-
</tr>
|
885
|
-
<tr>
|
886
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
887
|
-
<td>a <span class="type">CoglPixelFormat</span> value</td>
|
888
|
-
</tr>
|
889
|
-
</tbody>
|
964
|
+
<tbody><tr>
|
965
|
+
<td class="parameter_name"><p>texture</p></td>
|
966
|
+
<td class="parameter_description"><p>a <a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a></p></td>
|
967
|
+
<td class="parameter_annotations"> </td>
|
968
|
+
</tr></tbody>
|
890
969
|
</table></div>
|
970
|
+
</div>
|
971
|
+
<div class="refsect3">
|
972
|
+
<a name="id-1.10.20.10.11.10"></a><h4>Returns</h4>
|
973
|
+
<p> a <span class="type">CoglPixelFormat</span> value</p>
|
974
|
+
<p></p>
|
975
|
+
</div>
|
891
976
|
<p class="since">Since 1.0</p>
|
892
977
|
</div>
|
893
978
|
<hr>
|
894
|
-
<div class="refsect2">
|
895
|
-
<a name="clutter-texture-get-max-tile-waste"></a><h3>clutter_texture_get_max_tile_waste
|
896
|
-
<pre class="programlisting"><span class="returnvalue">gint</span>
|
897
|
-
<
|
898
|
-
<
|
899
|
-
<p
|
900
|
-
|
901
|
-
<
|
902
|
-
|
903
|
-
|
904
|
-
|
905
|
-
<
|
906
|
-
<
|
907
|
-
<col
|
908
|
-
|
909
|
-
|
910
|
-
<
|
911
|
-
<
|
912
|
-
<td
|
913
|
-
|
914
|
-
</td>
|
915
|
-
</tr>
|
916
|
-
<tr>
|
917
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
918
|
-
<td>The maximum waste or -1 if the texture waste is
|
919
|
-
unlimited.</td>
|
920
|
-
</tr>
|
921
|
-
</tbody>
|
979
|
+
<div class="refsect2">
|
980
|
+
<a name="clutter-texture-get-max-tile-waste"></a><h3>clutter_texture_get_max_tile_waste ()</h3>
|
981
|
+
<pre class="programlisting"><span class="returnvalue">gint</span>
|
982
|
+
clutter_texture_get_max_tile_waste (<em class="parameter"><code><a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a> *texture</code></em>);</pre>
|
983
|
+
<div class="warning"><p><code class="literal">clutter_texture_get_max_tile_waste</code> has been deprecated since version 1.12 and should not be used in newly-written code.</p></div>
|
984
|
+
<p>Gets the maximum waste that will be used when creating a texture or
|
985
|
+
-1 if slicing is disabled.</p>
|
986
|
+
<div class="refsect3">
|
987
|
+
<a name="id-1.10.20.10.12.7"></a><h4>Parameters</h4>
|
988
|
+
<div class="informaltable"><table width="100%" border="0">
|
989
|
+
<colgroup>
|
990
|
+
<col width="150px" class="parameters_name">
|
991
|
+
<col class="parameters_description">
|
992
|
+
<col width="200px" class="parameters_annotations">
|
993
|
+
</colgroup>
|
994
|
+
<tbody><tr>
|
995
|
+
<td class="parameter_name"><p>texture</p></td>
|
996
|
+
<td class="parameter_description"><p>A <a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a></p></td>
|
997
|
+
<td class="parameter_annotations"> </td>
|
998
|
+
</tr></tbody>
|
922
999
|
</table></div>
|
1000
|
+
</div>
|
1001
|
+
<div class="refsect3">
|
1002
|
+
<a name="id-1.10.20.10.12.8"></a><h4>Returns</h4>
|
1003
|
+
<p> The maximum waste or -1 if the texture waste is
|
1004
|
+
unlimited.</p>
|
1005
|
+
<p></p>
|
1006
|
+
</div>
|
923
1007
|
<p class="since">Since 0.8</p>
|
924
1008
|
</div>
|
925
1009
|
<hr>
|
926
1010
|
<div class="refsect2">
|
927
|
-
<a name="clutter-texture-get-filter-quality"></a><h3>clutter_texture_get_filter_quality
|
928
|
-
<pre class="programlisting"><a class="link" href="ClutterTexture.html#ClutterTextureQuality" title="enum ClutterTextureQuality"><span class="returnvalue">ClutterTextureQuality</span></a>
|
929
|
-
|
930
|
-
<div class="warning">
|
931
|
-
<
|
932
|
-
<
|
933
|
-
</
|
934
|
-
<
|
935
|
-
Gets the filter quality used when scaling a texture.
|
936
|
-
</p>
|
937
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
1011
|
+
<a name="clutter-texture-get-filter-quality"></a><h3>clutter_texture_get_filter_quality ()</h3>
|
1012
|
+
<pre class="programlisting"><a class="link" href="ClutterTexture.html#ClutterTextureQuality" title="enum ClutterTextureQuality"><span class="returnvalue">ClutterTextureQuality</span></a>
|
1013
|
+
clutter_texture_get_filter_quality (<em class="parameter"><code><a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a> *texture</code></em>);</pre>
|
1014
|
+
<div class="warning"><p><code class="literal">clutter_texture_get_filter_quality</code> has been deprecated since version 1.12 and should not be used in newly-written code.</p></div>
|
1015
|
+
<p>Gets the filter quality used when scaling a texture.</p>
|
1016
|
+
<div class="refsect3">
|
1017
|
+
<a name="id-1.10.20.10.13.7"></a><h4>Parameters</h4>
|
1018
|
+
<div class="informaltable"><table width="100%" border="0">
|
938
1019
|
<colgroup>
|
939
|
-
<col
|
940
|
-
<col>
|
1020
|
+
<col width="150px" class="parameters_name">
|
1021
|
+
<col class="parameters_description">
|
1022
|
+
<col width="200px" class="parameters_annotations">
|
941
1023
|
</colgroup>
|
942
|
-
<tbody>
|
943
|
-
<
|
944
|
-
<td><p
|
945
|
-
<td
|
946
|
-
</
|
947
|
-
</tr>
|
948
|
-
<tr>
|
949
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
950
|
-
<td>The filter quality value.</td>
|
951
|
-
</tr>
|
952
|
-
</tbody>
|
1024
|
+
<tbody><tr>
|
1025
|
+
<td class="parameter_name"><p>texture</p></td>
|
1026
|
+
<td class="parameter_description"><p>A <a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a></p></td>
|
1027
|
+
<td class="parameter_annotations"> </td>
|
1028
|
+
</tr></tbody>
|
953
1029
|
</table></div>
|
1030
|
+
</div>
|
1031
|
+
<div class="refsect3">
|
1032
|
+
<a name="id-1.10.20.10.13.8"></a><h4>Returns</h4>
|
1033
|
+
<p> The filter quality value.</p>
|
1034
|
+
<p></p>
|
1035
|
+
</div>
|
954
1036
|
<p class="since">Since 0.8</p>
|
955
1037
|
</div>
|
956
1038
|
<hr>
|
957
1039
|
<div class="refsect2">
|
958
|
-
<a name="clutter-texture-set-filter-quality"></a><h3>clutter_texture_set_filter_quality
|
959
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
960
|
-
|
961
|
-
<
|
962
|
-
<
|
963
|
-
<p
|
964
|
-
</div>
|
965
|
-
<p>
|
966
|
-
Sets the filter quality when scaling a texture. The quality is an
|
1040
|
+
<a name="clutter-texture-set-filter-quality"></a><h3>clutter_texture_set_filter_quality ()</h3>
|
1041
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1042
|
+
clutter_texture_set_filter_quality (<em class="parameter"><code><a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a> *texture</code></em>,
|
1043
|
+
<em class="parameter"><code><a class="link" href="ClutterTexture.html#ClutterTextureQuality" title="enum ClutterTextureQuality"><span class="type">ClutterTextureQuality</span></a> filter_quality</code></em>);</pre>
|
1044
|
+
<div class="warning"><p><code class="literal">clutter_texture_set_filter_quality</code> has been deprecated since version 1.12 and should not be used in newly-written code.</p></div>
|
1045
|
+
<p>Sets the filter quality when scaling a texture. The quality is an
|
967
1046
|
enumeration currently the following values are supported:
|
968
1047
|
<a class="link" href="ClutterTexture.html#CLUTTER-TEXTURE-QUALITY-LOW:CAPS"><code class="literal">CLUTTER_TEXTURE_QUALITY_LOW</code></a> which is fast but only uses nearest neighbour
|
969
1048
|
interpolation. <a class="link" href="ClutterTexture.html#CLUTTER-TEXTURE-QUALITY-MEDIUM:CAPS"><code class="literal">CLUTTER_TEXTURE_QUALITY_MEDIUM</code></a> which is computationally a
|
970
1049
|
bit more expensive (bilinear interpolation), and
|
971
1050
|
<a class="link" href="ClutterTexture.html#CLUTTER-TEXTURE-QUALITY-HIGH:CAPS"><code class="literal">CLUTTER_TEXTURE_QUALITY_HIGH</code></a> which uses extra texture memory resources to
|
972
1051
|
improve scaled down rendering as well (by using mipmaps). The default value
|
973
|
-
is <a class="link" href="ClutterTexture.html#CLUTTER-TEXTURE-QUALITY-MEDIUM:CAPS"><code class="literal">CLUTTER_TEXTURE_QUALITY_MEDIUM</code></a
|
974
|
-
|
975
|
-
<
|
1052
|
+
is <a class="link" href="ClutterTexture.html#CLUTTER-TEXTURE-QUALITY-MEDIUM:CAPS"><code class="literal">CLUTTER_TEXTURE_QUALITY_MEDIUM</code></a>.</p>
|
1053
|
+
<div class="refsect3">
|
1054
|
+
<a name="id-1.10.20.10.14.7"></a><h4>Parameters</h4>
|
1055
|
+
<div class="informaltable"><table width="100%" border="0">
|
976
1056
|
<colgroup>
|
977
|
-
<col
|
978
|
-
<col>
|
1057
|
+
<col width="150px" class="parameters_name">
|
1058
|
+
<col class="parameters_description">
|
1059
|
+
<col width="200px" class="parameters_annotations">
|
979
1060
|
</colgroup>
|
980
1061
|
<tbody>
|
981
1062
|
<tr>
|
982
|
-
<td
|
983
|
-
<td>a <a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a>
|
984
|
-
</td>
|
1063
|
+
<td class="parameter_name"><p>texture</p></td>
|
1064
|
+
<td class="parameter_description"><p>a <a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a></p></td>
|
1065
|
+
<td class="parameter_annotations"> </td>
|
985
1066
|
</tr>
|
986
1067
|
<tr>
|
987
|
-
<td
|
988
|
-
<td>new filter quality value</td>
|
1068
|
+
<td class="parameter_name"><p>filter_quality</p></td>
|
1069
|
+
<td class="parameter_description"><p>new filter quality value</p></td>
|
1070
|
+
<td class="parameter_annotations"> </td>
|
989
1071
|
</tr>
|
990
1072
|
</tbody>
|
991
1073
|
</table></div>
|
1074
|
+
</div>
|
992
1075
|
<p class="since">Since 0.8</p>
|
993
1076
|
</div>
|
994
1077
|
<hr>
|
995
1078
|
<div class="refsect2">
|
996
|
-
<a name="clutter-texture-get-cogl-texture"></a><h3>clutter_texture_get_cogl_texture
|
997
|
-
<pre class="programlisting"><span class="returnvalue">CoglHandle</span>
|
998
|
-
<
|
999
|
-
<
|
1000
|
-
<p
|
1001
|
-
</div>
|
1002
|
-
<p>
|
1003
|
-
Retrieves the handle to the underlying COGL texture used for drawing
|
1079
|
+
<a name="clutter-texture-get-cogl-texture"></a><h3>clutter_texture_get_cogl_texture ()</h3>
|
1080
|
+
<pre class="programlisting"><span class="returnvalue">CoglHandle</span>
|
1081
|
+
clutter_texture_get_cogl_texture (<em class="parameter"><code><a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a> *texture</code></em>);</pre>
|
1082
|
+
<div class="warning"><p><code class="literal">clutter_texture_get_cogl_texture</code> has been deprecated since version 1.12 and should not be used in newly-written code.</p></div>
|
1083
|
+
<p>Retrieves the handle to the underlying COGL texture used for drawing
|
1004
1084
|
the actor. No extra reference is taken so if you need to keep the
|
1005
|
-
handle then you should call <code class="function">cogl_handle_ref()</code> on it
|
1006
|
-
|
1007
|
-
<p>
|
1008
|
-
The texture handle returned is the first layer of the material
|
1085
|
+
handle then you should call <code class="function">cogl_handle_ref()</code> on it.</p>
|
1086
|
+
<p>The texture handle returned is the first layer of the material
|
1009
1087
|
handle used by the <a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a>. If you need to access the other
|
1010
|
-
layers you should use <a class="link" href="ClutterTexture.html#clutter-texture-get-cogl-material" title="clutter_texture_get_cogl_material
|
1011
|
-
and use the <span class="type">CoglMaterial</span> API
|
1012
|
-
|
1013
|
-
<
|
1088
|
+
layers you should use <a class="link" href="ClutterTexture.html#clutter-texture-get-cogl-material" title="clutter_texture_get_cogl_material ()"><code class="function">clutter_texture_get_cogl_material()</code></a> instead
|
1089
|
+
and use the <span class="type">CoglMaterial</span> API.</p>
|
1090
|
+
<div class="refsect3">
|
1091
|
+
<a name="id-1.10.20.10.15.8"></a><h4>Parameters</h4>
|
1092
|
+
<div class="informaltable"><table width="100%" border="0">
|
1014
1093
|
<colgroup>
|
1015
|
-
<col
|
1016
|
-
<col>
|
1094
|
+
<col width="150px" class="parameters_name">
|
1095
|
+
<col class="parameters_description">
|
1096
|
+
<col width="200px" class="parameters_annotations">
|
1017
1097
|
</colgroup>
|
1018
|
-
<tbody>
|
1019
|
-
<
|
1020
|
-
<td><p
|
1021
|
-
<td
|
1022
|
-
</
|
1023
|
-
</tr>
|
1024
|
-
<tr>
|
1025
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1026
|
-
<td>a <span class="type">CoglHandle</span> for the texture. The returned
|
1027
|
-
handle is owned by the <a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a> and it should not be unreferenced. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
1028
|
-
</td>
|
1029
|
-
</tr>
|
1030
|
-
</tbody>
|
1098
|
+
<tbody><tr>
|
1099
|
+
<td class="parameter_name"><p>texture</p></td>
|
1100
|
+
<td class="parameter_description"><p>A <a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a></p></td>
|
1101
|
+
<td class="parameter_annotations"> </td>
|
1102
|
+
</tr></tbody>
|
1031
1103
|
</table></div>
|
1104
|
+
</div>
|
1105
|
+
<div class="refsect3">
|
1106
|
+
<a name="id-1.10.20.10.15.9"></a><h4>Returns</h4>
|
1107
|
+
<p> a <span class="type">CoglHandle</span> for the texture. The returned
|
1108
|
+
handle is owned by the <a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a> and it should not be unreferenced. </p>
|
1109
|
+
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
1110
|
+
</div>
|
1032
1111
|
<p class="since">Since 0.8</p>
|
1033
1112
|
</div>
|
1034
1113
|
<hr>
|
1035
1114
|
<div class="refsect2">
|
1036
|
-
<a name="clutter-texture-set-cogl-texture"></a><h3>clutter_texture_set_cogl_texture
|
1037
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
1038
|
-
|
1039
|
-
<
|
1040
|
-
<
|
1041
|
-
<p
|
1042
|
-
</
|
1043
|
-
|
1044
|
-
|
1045
|
-
<
|
1046
|
-
|
1047
|
-
|
1048
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
1115
|
+
<a name="clutter-texture-set-cogl-texture"></a><h3>clutter_texture_set_cogl_texture ()</h3>
|
1116
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1117
|
+
clutter_texture_set_cogl_texture (<em class="parameter"><code><a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a> *texture</code></em>,
|
1118
|
+
<em class="parameter"><code><span class="type">CoglHandle</span> cogl_tex</code></em>);</pre>
|
1119
|
+
<div class="warning"><p><code class="literal">clutter_texture_set_cogl_texture</code> has been deprecated since version 1.12 and should not be used in newly-written code.</p></div>
|
1120
|
+
<p>Replaces the underlying COGL texture drawn by this actor with
|
1121
|
+
<em class="parameter"><code>cogl_tex</code></em>
|
1122
|
+
. A reference to the texture is taken so if the handle is
|
1123
|
+
no longer needed it should be deref'd with cogl_handle_unref.</p>
|
1124
|
+
<div class="refsect3">
|
1125
|
+
<a name="id-1.10.20.10.16.7"></a><h4>Parameters</h4>
|
1126
|
+
<div class="informaltable"><table width="100%" border="0">
|
1049
1127
|
<colgroup>
|
1050
|
-
<col
|
1051
|
-
<col>
|
1128
|
+
<col width="150px" class="parameters_name">
|
1129
|
+
<col class="parameters_description">
|
1130
|
+
<col width="200px" class="parameters_annotations">
|
1052
1131
|
</colgroup>
|
1053
1132
|
<tbody>
|
1054
1133
|
<tr>
|
1055
|
-
<td
|
1056
|
-
<td>A <a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a>
|
1057
|
-
</td>
|
1134
|
+
<td class="parameter_name"><p>texture</p></td>
|
1135
|
+
<td class="parameter_description"><p>A <a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a></p></td>
|
1136
|
+
<td class="parameter_annotations"> </td>
|
1058
1137
|
</tr>
|
1059
1138
|
<tr>
|
1060
|
-
<td
|
1061
|
-
<td>A CoglHandle for a texture</td>
|
1139
|
+
<td class="parameter_name"><p>cogl_tex</p></td>
|
1140
|
+
<td class="parameter_description"><p>A CoglHandle for a texture</p></td>
|
1141
|
+
<td class="parameter_annotations"> </td>
|
1062
1142
|
</tr>
|
1063
1143
|
</tbody>
|
1064
1144
|
</table></div>
|
1145
|
+
</div>
|
1065
1146
|
<p class="since">Since 0.8</p>
|
1066
1147
|
</div>
|
1067
1148
|
<hr>
|
1068
1149
|
<div class="refsect2">
|
1069
|
-
<a name="clutter-texture-get-cogl-material"></a><h3>clutter_texture_get_cogl_material
|
1070
|
-
<pre class="programlisting"><span class="returnvalue">CoglHandle</span>
|
1071
|
-
<
|
1072
|
-
<
|
1073
|
-
<p
|
1074
|
-
|
1075
|
-
<
|
1076
|
-
|
1077
|
-
|
1078
|
-
</p>
|
1079
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
1150
|
+
<a name="clutter-texture-get-cogl-material"></a><h3>clutter_texture_get_cogl_material ()</h3>
|
1151
|
+
<pre class="programlisting"><span class="returnvalue">CoglHandle</span>
|
1152
|
+
clutter_texture_get_cogl_material (<em class="parameter"><code><a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a> *texture</code></em>);</pre>
|
1153
|
+
<div class="warning"><p><code class="literal">clutter_texture_get_cogl_material</code> has been deprecated since version 1.12 and should not be used in newly-written code.</p></div>
|
1154
|
+
<p>Returns a handle to the underlying COGL material used for drawing
|
1155
|
+
the actor.</p>
|
1156
|
+
<div class="refsect3">
|
1157
|
+
<a name="id-1.10.20.10.17.7"></a><h4>Parameters</h4>
|
1158
|
+
<div class="informaltable"><table width="100%" border="0">
|
1080
1159
|
<colgroup>
|
1081
|
-
<col
|
1082
|
-
<col>
|
1160
|
+
<col width="150px" class="parameters_name">
|
1161
|
+
<col class="parameters_description">
|
1162
|
+
<col width="200px" class="parameters_annotations">
|
1083
1163
|
</colgroup>
|
1084
|
-
<tbody>
|
1085
|
-
<
|
1086
|
-
<td><p
|
1087
|
-
<td
|
1088
|
-
</
|
1089
|
-
</tr>
|
1090
|
-
<tr>
|
1091
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1092
|
-
<td>a handle for a <span class="type">CoglMaterial</span>. The
|
1093
|
-
material is owned by the <a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a> and it should not be
|
1094
|
-
unreferenced. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
1095
|
-
</td>
|
1096
|
-
</tr>
|
1097
|
-
</tbody>
|
1164
|
+
<tbody><tr>
|
1165
|
+
<td class="parameter_name"><p>texture</p></td>
|
1166
|
+
<td class="parameter_description"><p>A <a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a></p></td>
|
1167
|
+
<td class="parameter_annotations"> </td>
|
1168
|
+
</tr></tbody>
|
1098
1169
|
</table></div>
|
1170
|
+
</div>
|
1171
|
+
<div class="refsect3">
|
1172
|
+
<a name="id-1.10.20.10.17.8"></a><h4>Returns</h4>
|
1173
|
+
<p> a handle for a <span class="type">CoglMaterial</span>. The
|
1174
|
+
material is owned by the <a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a> and it should not be
|
1175
|
+
unreferenced. </p>
|
1176
|
+
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
1177
|
+
</div>
|
1099
1178
|
<p class="since">Since 1.0</p>
|
1100
1179
|
</div>
|
1101
1180
|
<hr>
|
1102
1181
|
<div class="refsect2">
|
1103
|
-
<a name="clutter-texture-set-cogl-material"></a><h3>clutter_texture_set_cogl_material
|
1104
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
1105
|
-
|
1106
|
-
<
|
1107
|
-
<
|
1108
|
-
<p
|
1109
|
-
</
|
1110
|
-
|
1111
|
-
Replaces the underlying Cogl material drawn by this actor with
|
1112
|
-
<em class="parameter"><code>cogl_material</code></em>. A reference to the material is taken so if the
|
1182
|
+
<a name="clutter-texture-set-cogl-material"></a><h3>clutter_texture_set_cogl_material ()</h3>
|
1183
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1184
|
+
clutter_texture_set_cogl_material (<em class="parameter"><code><a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a> *texture</code></em>,
|
1185
|
+
<em class="parameter"><code><span class="type">CoglHandle</span> cogl_material</code></em>);</pre>
|
1186
|
+
<div class="warning"><p><code class="literal">clutter_texture_set_cogl_material</code> has been deprecated since version 1.12 and should not be used in newly-written code.</p></div>
|
1187
|
+
<p>Replaces the underlying Cogl material drawn by this actor with
|
1188
|
+
<em class="parameter"><code>cogl_material</code></em>
|
1189
|
+
. A reference to the material is taken so if the
|
1113
1190
|
handle is no longer needed it should be deref'd with
|
1114
1191
|
cogl_handle_unref. Texture data is attached to the material so
|
1115
1192
|
calling this function also replaces the Cogl
|
1116
1193
|
texture. <a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a> requires that the material have a texture
|
1117
1194
|
layer so you should set one on the material before calling this
|
1118
|
-
function
|
1119
|
-
|
1120
|
-
<
|
1195
|
+
function.</p>
|
1196
|
+
<div class="refsect3">
|
1197
|
+
<a name="id-1.10.20.10.18.7"></a><h4>Parameters</h4>
|
1198
|
+
<div class="informaltable"><table width="100%" border="0">
|
1121
1199
|
<colgroup>
|
1122
|
-
<col
|
1123
|
-
<col>
|
1200
|
+
<col width="150px" class="parameters_name">
|
1201
|
+
<col class="parameters_description">
|
1202
|
+
<col width="200px" class="parameters_annotations">
|
1124
1203
|
</colgroup>
|
1125
1204
|
<tbody>
|
1126
1205
|
<tr>
|
1127
|
-
<td
|
1128
|
-
<td>A <a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a>
|
1129
|
-
</td>
|
1206
|
+
<td class="parameter_name"><p>texture</p></td>
|
1207
|
+
<td class="parameter_description"><p>A <a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a></p></td>
|
1208
|
+
<td class="parameter_annotations"> </td>
|
1130
1209
|
</tr>
|
1131
1210
|
<tr>
|
1132
|
-
<td
|
1133
|
-
<td>A CoglHandle for a material</td>
|
1211
|
+
<td class="parameter_name"><p>cogl_material</p></td>
|
1212
|
+
<td class="parameter_description"><p>A CoglHandle for a material</p></td>
|
1213
|
+
<td class="parameter_annotations"> </td>
|
1134
1214
|
</tr>
|
1135
1215
|
</tbody>
|
1136
1216
|
</table></div>
|
1217
|
+
</div>
|
1137
1218
|
<p class="since">Since 0.8</p>
|
1138
1219
|
</div>
|
1139
1220
|
<hr>
|
1140
1221
|
<div class="refsect2">
|
1141
|
-
<a name="clutter-texture-get-sync-size"></a><h3>clutter_texture_get_sync_size
|
1142
|
-
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
1143
|
-
<
|
1144
|
-
<
|
1145
|
-
<p
|
1146
|
-
|
1147
|
-
<
|
1148
|
-
|
1149
|
-
</p>
|
1150
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
1222
|
+
<a name="clutter-texture-get-sync-size"></a><h3>clutter_texture_get_sync_size ()</h3>
|
1223
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
1224
|
+
clutter_texture_get_sync_size (<em class="parameter"><code><a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a> *texture</code></em>);</pre>
|
1225
|
+
<div class="warning"><p><code class="literal">clutter_texture_get_sync_size</code> has been deprecated since version 1.12 and should not be used in newly-written code.</p></div>
|
1226
|
+
<p>Retrieves the value set with <a class="link" href="ClutterTexture.html#clutter-texture-set-sync-size" title="clutter_texture_set_sync_size ()"><code class="function">clutter_texture_set_sync_size()</code></a></p>
|
1227
|
+
<div class="refsect3">
|
1228
|
+
<a name="id-1.10.20.10.19.7"></a><h4>Parameters</h4>
|
1229
|
+
<div class="informaltable"><table width="100%" border="0">
|
1151
1230
|
<colgroup>
|
1152
|
-
<col
|
1153
|
-
<col>
|
1231
|
+
<col width="150px" class="parameters_name">
|
1232
|
+
<col class="parameters_description">
|
1233
|
+
<col width="200px" class="parameters_annotations">
|
1154
1234
|
</colgroup>
|
1155
|
-
<tbody>
|
1156
|
-
<
|
1157
|
-
<td><p
|
1158
|
-
<td
|
1159
|
-
</
|
1160
|
-
</tr>
|
1161
|
-
<tr>
|
1162
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1163
|
-
<td>
|
1164
|
-
<code class="literal">TRUE</code> if the <a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a> should have the same
|
1165
|
-
preferred size of the underlying image data</td>
|
1166
|
-
</tr>
|
1167
|
-
</tbody>
|
1235
|
+
<tbody><tr>
|
1236
|
+
<td class="parameter_name"><p>texture</p></td>
|
1237
|
+
<td class="parameter_description"><p>a <a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a></p></td>
|
1238
|
+
<td class="parameter_annotations"> </td>
|
1239
|
+
</tr></tbody>
|
1168
1240
|
</table></div>
|
1241
|
+
</div>
|
1242
|
+
<div class="refsect3">
|
1243
|
+
<a name="id-1.10.20.10.19.8"></a><h4>Returns</h4>
|
1244
|
+
<p> <code class="literal">TRUE</code> if the <a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a> should have the same
|
1245
|
+
preferred size of the underlying image data</p>
|
1246
|
+
<p></p>
|
1247
|
+
</div>
|
1169
1248
|
<p class="since">Since 1.0</p>
|
1170
1249
|
</div>
|
1171
1250
|
<hr>
|
1172
1251
|
<div class="refsect2">
|
1173
|
-
<a name="clutter-texture-set-sync-size"></a><h3>clutter_texture_set_sync_size
|
1174
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
1175
|
-
|
1176
|
-
<
|
1177
|
-
<
|
1178
|
-
<p
|
1179
|
-
|
1180
|
-
|
1181
|
-
|
1182
|
-
|
1183
|
-
|
1184
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
1252
|
+
<a name="clutter-texture-set-sync-size"></a><h3>clutter_texture_set_sync_size ()</h3>
|
1253
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1254
|
+
clutter_texture_set_sync_size (<em class="parameter"><code><a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a> *texture</code></em>,
|
1255
|
+
<em class="parameter"><code><span class="type">gboolean</span> sync_size</code></em>);</pre>
|
1256
|
+
<div class="warning"><p><code class="literal">clutter_texture_set_sync_size</code> has been deprecated since version 1.12 and should not be used in newly-written code.</p></div>
|
1257
|
+
<p>Sets whether <em class="parameter"><code>texture</code></em>
|
1258
|
+
should have the same preferred size as the
|
1259
|
+
underlying image data.</p>
|
1260
|
+
<div class="refsect3">
|
1261
|
+
<a name="id-1.10.20.10.20.7"></a><h4>Parameters</h4>
|
1262
|
+
<div class="informaltable"><table width="100%" border="0">
|
1185
1263
|
<colgroup>
|
1186
|
-
<col
|
1187
|
-
<col>
|
1264
|
+
<col width="150px" class="parameters_name">
|
1265
|
+
<col class="parameters_description">
|
1266
|
+
<col width="200px" class="parameters_annotations">
|
1188
1267
|
</colgroup>
|
1189
1268
|
<tbody>
|
1190
1269
|
<tr>
|
1191
|
-
<td
|
1192
|
-
<td>a <a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a>
|
1193
|
-
</td>
|
1270
|
+
<td class="parameter_name"><p>texture</p></td>
|
1271
|
+
<td class="parameter_description"><p>a <a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a></p></td>
|
1272
|
+
<td class="parameter_annotations"> </td>
|
1194
1273
|
</tr>
|
1195
1274
|
<tr>
|
1196
|
-
<td
|
1197
|
-
<td>
|
1198
|
-
|
1199
|
-
|
1275
|
+
<td class="parameter_name"><p>sync_size</p></td>
|
1276
|
+
<td class="parameter_description"><p><code class="literal">TRUE</code> if the texture should have the same size of the
|
1277
|
+
underlying image data</p></td>
|
1278
|
+
<td class="parameter_annotations"> </td>
|
1200
1279
|
</tr>
|
1201
1280
|
</tbody>
|
1202
1281
|
</table></div>
|
1282
|
+
</div>
|
1203
1283
|
<p class="since">Since 1.0</p>
|
1204
1284
|
</div>
|
1205
1285
|
<hr>
|
1206
1286
|
<div class="refsect2">
|
1207
|
-
<a name="clutter-texture-get-repeat"></a><h3>clutter_texture_get_repeat
|
1208
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
1209
|
-
|
1210
|
-
|
1211
|
-
<
|
1212
|
-
<
|
1213
|
-
<p
|
1214
|
-
</
|
1215
|
-
<
|
1216
|
-
|
1217
|
-
|
1218
|
-
</p>
|
1219
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
1287
|
+
<a name="clutter-texture-get-repeat"></a><h3>clutter_texture_get_repeat ()</h3>
|
1288
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1289
|
+
clutter_texture_get_repeat (<em class="parameter"><code><a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a> *texture</code></em>,
|
1290
|
+
<em class="parameter"><code><span class="type">gboolean</span> *repeat_x</code></em>,
|
1291
|
+
<em class="parameter"><code><span class="type">gboolean</span> *repeat_y</code></em>);</pre>
|
1292
|
+
<div class="warning"><p><code class="literal">clutter_texture_get_repeat</code> has been deprecated since version 1.12 and should not be used in newly-written code.</p></div>
|
1293
|
+
<p>Retrieves the horizontal and vertical repeat values set
|
1294
|
+
using <a class="link" href="ClutterTexture.html#clutter-texture-set-repeat" title="clutter_texture_set_repeat ()"><code class="function">clutter_texture_set_repeat()</code></a></p>
|
1295
|
+
<div class="refsect3">
|
1296
|
+
<a name="id-1.10.20.10.21.7"></a><h4>Parameters</h4>
|
1297
|
+
<div class="informaltable"><table width="100%" border="0">
|
1220
1298
|
<colgroup>
|
1221
|
-
<col
|
1222
|
-
<col>
|
1299
|
+
<col width="150px" class="parameters_name">
|
1300
|
+
<col class="parameters_description">
|
1301
|
+
<col width="200px" class="parameters_annotations">
|
1223
1302
|
</colgroup>
|
1224
1303
|
<tbody>
|
1225
1304
|
<tr>
|
1226
|
-
<td
|
1227
|
-
<td>a <a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a>
|
1228
|
-
</td>
|
1305
|
+
<td class="parameter_name"><p>texture</p></td>
|
1306
|
+
<td class="parameter_description"><p>a <a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a></p></td>
|
1307
|
+
<td class="parameter_annotations"> </td>
|
1229
1308
|
</tr>
|
1230
1309
|
<tr>
|
1231
|
-
<td
|
1232
|
-
<td>return location for the horizontal repeat.
|
1233
|
-
</td>
|
1310
|
+
<td class="parameter_name"><p>repeat_x</p></td>
|
1311
|
+
<td class="parameter_description"><p> return location for the horizontal repeat. </p></td>
|
1312
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
|
1234
1313
|
</tr>
|
1235
1314
|
<tr>
|
1236
|
-
<td
|
1237
|
-
<td>return location for the vertical repeat.
|
1238
|
-
</td>
|
1315
|
+
<td class="parameter_name"><p>repeat_y</p></td>
|
1316
|
+
<td class="parameter_description"><p> return location for the vertical repeat. </p></td>
|
1317
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
|
1239
1318
|
</tr>
|
1240
1319
|
</tbody>
|
1241
1320
|
</table></div>
|
1321
|
+
</div>
|
1242
1322
|
<p class="since">Since 1.0</p>
|
1243
1323
|
</div>
|
1244
1324
|
<hr>
|
1245
1325
|
<div class="refsect2">
|
1246
|
-
<a name="clutter-texture-set-repeat"></a><h3>clutter_texture_set_repeat
|
1247
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
1248
|
-
|
1249
|
-
|
1250
|
-
<
|
1251
|
-
<
|
1252
|
-
<p
|
1253
|
-
|
1254
|
-
|
1255
|
-
|
1256
|
-
|
1257
|
-
|
1258
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
1326
|
+
<a name="clutter-texture-set-repeat"></a><h3>clutter_texture_set_repeat ()</h3>
|
1327
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1328
|
+
clutter_texture_set_repeat (<em class="parameter"><code><a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a> *texture</code></em>,
|
1329
|
+
<em class="parameter"><code><span class="type">gboolean</span> repeat_x</code></em>,
|
1330
|
+
<em class="parameter"><code><span class="type">gboolean</span> repeat_y</code></em>);</pre>
|
1331
|
+
<div class="warning"><p><code class="literal">clutter_texture_set_repeat</code> has been deprecated since version 1.12 and should not be used in newly-written code.</p></div>
|
1332
|
+
<p>Sets whether the <em class="parameter"><code>texture</code></em>
|
1333
|
+
should repeat horizontally or
|
1334
|
+
vertically when the actor size is bigger than the image size</p>
|
1335
|
+
<div class="refsect3">
|
1336
|
+
<a name="id-1.10.20.10.22.7"></a><h4>Parameters</h4>
|
1337
|
+
<div class="informaltable"><table width="100%" border="0">
|
1259
1338
|
<colgroup>
|
1260
|
-
<col
|
1261
|
-
<col>
|
1339
|
+
<col width="150px" class="parameters_name">
|
1340
|
+
<col class="parameters_description">
|
1341
|
+
<col width="200px" class="parameters_annotations">
|
1262
1342
|
</colgroup>
|
1263
1343
|
<tbody>
|
1264
1344
|
<tr>
|
1265
|
-
<td
|
1266
|
-
<td>a <a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a>
|
1267
|
-
</td>
|
1345
|
+
<td class="parameter_name"><p>texture</p></td>
|
1346
|
+
<td class="parameter_description"><p>a <a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a></p></td>
|
1347
|
+
<td class="parameter_annotations"> </td>
|
1268
1348
|
</tr>
|
1269
1349
|
<tr>
|
1270
|
-
<td
|
1271
|
-
<td>
|
1272
|
-
<
|
1350
|
+
<td class="parameter_name"><p>repeat_x</p></td>
|
1351
|
+
<td class="parameter_description"><p><code class="literal">TRUE</code> if the texture should repeat horizontally</p></td>
|
1352
|
+
<td class="parameter_annotations"> </td>
|
1273
1353
|
</tr>
|
1274
1354
|
<tr>
|
1275
|
-
<td
|
1276
|
-
<td>
|
1277
|
-
<
|
1355
|
+
<td class="parameter_name"><p>repeat_y</p></td>
|
1356
|
+
<td class="parameter_description"><p><code class="literal">TRUE</code> if the texture should repeat vertically</p></td>
|
1357
|
+
<td class="parameter_annotations"> </td>
|
1278
1358
|
</tr>
|
1279
1359
|
</tbody>
|
1280
1360
|
</table></div>
|
1361
|
+
</div>
|
1281
1362
|
<p class="since">Since 1.0</p>
|
1282
1363
|
</div>
|
1283
1364
|
<hr>
|
1284
1365
|
<div class="refsect2">
|
1285
|
-
<a name="clutter-texture-get-keep-aspect-ratio"></a><h3>clutter_texture_get_keep_aspect_ratio
|
1286
|
-
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
1287
|
-
|
1288
|
-
<div class="warning">
|
1289
|
-
<
|
1290
|
-
<
|
1366
|
+
<a name="clutter-texture-get-keep-aspect-ratio"></a><h3>clutter_texture_get_keep_aspect_ratio ()</h3>
|
1367
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
1368
|
+
clutter_texture_get_keep_aspect_ratio (<em class="parameter"><code><a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a> *texture</code></em>);</pre>
|
1369
|
+
<div class="warning"><p><code class="literal">clutter_texture_get_keep_aspect_ratio</code> has been deprecated since version 1.12 and should not be used in newly-written code.</p></div>
|
1370
|
+
<p>Retrieves the value set using <a class="link" href="ClutterTexture.html#clutter-texture-set-keep-aspect-ratio" title="clutter_texture_set_keep_aspect_ratio ()"><code class="function">clutter_texture_set_keep_aspect_ratio()</code></a></p>
|
1371
|
+
<div class="refsect3">
|
1372
|
+
<a name="id-1.10.20.10.23.7"></a><h4>Parameters</h4>
|
1373
|
+
<div class="informaltable"><table width="100%" border="0">
|
1374
|
+
<colgroup>
|
1375
|
+
<col width="150px" class="parameters_name">
|
1376
|
+
<col class="parameters_description">
|
1377
|
+
<col width="200px" class="parameters_annotations">
|
1378
|
+
</colgroup>
|
1379
|
+
<tbody><tr>
|
1380
|
+
<td class="parameter_name"><p>texture</p></td>
|
1381
|
+
<td class="parameter_description"><p>a <a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a></p></td>
|
1382
|
+
<td class="parameter_annotations"> </td>
|
1383
|
+
</tr></tbody>
|
1384
|
+
</table></div>
|
1291
1385
|
</div>
|
1292
|
-
<
|
1293
|
-
|
1294
|
-
|
1295
|
-
|
1386
|
+
<div class="refsect3">
|
1387
|
+
<a name="id-1.10.20.10.23.8"></a><h4>Returns</h4>
|
1388
|
+
<p> <code class="literal">TRUE</code> if the <a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a> should maintain the
|
1389
|
+
aspect ratio of the underlying image</p>
|
1390
|
+
<p></p>
|
1391
|
+
</div>
|
1392
|
+
<p class="since">Since 1.0</p>
|
1393
|
+
</div>
|
1394
|
+
<hr>
|
1395
|
+
<div class="refsect2">
|
1396
|
+
<a name="clutter-texture-set-keep-aspect-ratio"></a><h3>clutter_texture_set_keep_aspect_ratio ()</h3>
|
1397
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1398
|
+
clutter_texture_set_keep_aspect_ratio (<em class="parameter"><code><a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a> *texture</code></em>,
|
1399
|
+
<em class="parameter"><code><span class="type">gboolean</span> keep_aspect</code></em>);</pre>
|
1400
|
+
<div class="warning"><p><code class="literal">clutter_texture_set_keep_aspect_ratio</code> has been deprecated since version 1.12 and should not be used in newly-written code.</p></div>
|
1401
|
+
<p>Sets whether <em class="parameter"><code>texture</code></em>
|
1402
|
+
should have a preferred size maintaining
|
1403
|
+
the aspect ratio of the underlying image</p>
|
1404
|
+
<div class="refsect3">
|
1405
|
+
<a name="id-1.10.20.10.24.7"></a><h4>Parameters</h4>
|
1406
|
+
<div class="informaltable"><table width="100%" border="0">
|
1296
1407
|
<colgroup>
|
1297
|
-
<col
|
1298
|
-
<col>
|
1408
|
+
<col width="150px" class="parameters_name">
|
1409
|
+
<col class="parameters_description">
|
1410
|
+
<col width="200px" class="parameters_annotations">
|
1299
1411
|
</colgroup>
|
1300
1412
|
<tbody>
|
1301
1413
|
<tr>
|
1302
|
-
<td
|
1303
|
-
<td>a <a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a>
|
1304
|
-
</td>
|
1414
|
+
<td class="parameter_name"><p>texture</p></td>
|
1415
|
+
<td class="parameter_description"><p>a <a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a></p></td>
|
1416
|
+
<td class="parameter_annotations"> </td>
|
1305
1417
|
</tr>
|
1306
1418
|
<tr>
|
1307
|
-
<td
|
1308
|
-
<td>
|
1309
|
-
<
|
1310
|
-
aspect ratio of the underlying image</td>
|
1419
|
+
<td class="parameter_name"><p>keep_aspect</p></td>
|
1420
|
+
<td class="parameter_description"><p><code class="literal">TRUE</code> to maintain aspect ratio</p></td>
|
1421
|
+
<td class="parameter_annotations"> </td>
|
1311
1422
|
</tr>
|
1312
1423
|
</tbody>
|
1313
1424
|
</table></div>
|
1425
|
+
</div>
|
1314
1426
|
<p class="since">Since 1.0</p>
|
1315
1427
|
</div>
|
1316
1428
|
<hr>
|
1317
1429
|
<div class="refsect2">
|
1318
|
-
<a name="clutter-texture-
|
1319
|
-
<pre class="programlisting"><span class="returnvalue">
|
1320
|
-
|
1321
|
-
|
1322
|
-
<
|
1323
|
-
<
|
1324
|
-
<
|
1430
|
+
<a name="clutter-texture-get-load-async"></a><h3>clutter_texture_get_load_async ()</h3>
|
1431
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
1432
|
+
clutter_texture_get_load_async (<em class="parameter"><code><a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a> *texture</code></em>);</pre>
|
1433
|
+
<div class="warning"><p><code class="literal">clutter_texture_get_load_async</code> has been deprecated since version 1.12 and should not be used in newly-written code.</p></div>
|
1434
|
+
<p>Retrieves the value set using <a class="link" href="ClutterTexture.html#clutter-texture-set-load-async" title="clutter_texture_set_load_async ()"><code class="function">clutter_texture_set_load_async()</code></a></p>
|
1435
|
+
<div class="refsect3">
|
1436
|
+
<a name="id-1.10.20.10.25.7"></a><h4>Parameters</h4>
|
1437
|
+
<div class="informaltable"><table width="100%" border="0">
|
1438
|
+
<colgroup>
|
1439
|
+
<col width="150px" class="parameters_name">
|
1440
|
+
<col class="parameters_description">
|
1441
|
+
<col width="200px" class="parameters_annotations">
|
1442
|
+
</colgroup>
|
1443
|
+
<tbody><tr>
|
1444
|
+
<td class="parameter_name"><p>texture</p></td>
|
1445
|
+
<td class="parameter_description"><p>a <a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a></p></td>
|
1446
|
+
<td class="parameter_annotations"> </td>
|
1447
|
+
</tr></tbody>
|
1448
|
+
</table></div>
|
1325
1449
|
</div>
|
1326
|
-
<
|
1327
|
-
|
1328
|
-
the
|
1329
|
-
</p>
|
1330
|
-
<
|
1450
|
+
<div class="refsect3">
|
1451
|
+
<a name="id-1.10.20.10.25.8"></a><h4>Returns</h4>
|
1452
|
+
<p> <code class="literal">TRUE</code> if the <a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a> should load the data from
|
1453
|
+
disk asynchronously</p>
|
1454
|
+
<p></p>
|
1455
|
+
</div>
|
1456
|
+
<p class="since">Since 1.0</p>
|
1457
|
+
</div>
|
1458
|
+
<hr>
|
1459
|
+
<div class="refsect2">
|
1460
|
+
<a name="clutter-texture-set-load-async"></a><h3>clutter_texture_set_load_async ()</h3>
|
1461
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1462
|
+
clutter_texture_set_load_async (<em class="parameter"><code><a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a> *texture</code></em>,
|
1463
|
+
<em class="parameter"><code><span class="type">gboolean</span> load_async</code></em>);</pre>
|
1464
|
+
<div class="warning"><p><code class="literal">clutter_texture_set_load_async</code> has been deprecated since version 1.12 and should not be used in newly-written code.</p></div>
|
1465
|
+
<p>Sets whether <em class="parameter"><code>texture</code></em>
|
1466
|
+
should use a worker thread to load the data
|
1467
|
+
from disk asynchronously. Setting <em class="parameter"><code>load_async</code></em>
|
1468
|
+
to <code class="literal">TRUE</code> will make
|
1469
|
+
<a class="link" href="ClutterTexture.html#clutter-texture-set-from-file" title="clutter_texture_set_from_file ()"><code class="function">clutter_texture_set_from_file()</code></a> return immediately.</p>
|
1470
|
+
<p>See the <a class="link" href="ClutterTexture.html#ClutterTexture--load-async" title="The “load-async” property"><span class="type">“load-async”</span></a> property documentation, and
|
1471
|
+
<a class="link" href="ClutterTexture.html#clutter-texture-set-load-data-async" title="clutter_texture_set_load_data_async ()"><code class="function">clutter_texture_set_load_data_async()</code></a>.</p>
|
1472
|
+
<div class="refsect3">
|
1473
|
+
<a name="id-1.10.20.10.26.8"></a><h4>Parameters</h4>
|
1474
|
+
<div class="informaltable"><table width="100%" border="0">
|
1331
1475
|
<colgroup>
|
1332
|
-
<col
|
1333
|
-
<col>
|
1476
|
+
<col width="150px" class="parameters_name">
|
1477
|
+
<col class="parameters_description">
|
1478
|
+
<col width="200px" class="parameters_annotations">
|
1334
1479
|
</colgroup>
|
1335
1480
|
<tbody>
|
1336
1481
|
<tr>
|
1337
|
-
<td
|
1338
|
-
<td>a <a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a>
|
1339
|
-
</td>
|
1482
|
+
<td class="parameter_name"><p>texture</p></td>
|
1483
|
+
<td class="parameter_description"><p>a <a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a></p></td>
|
1484
|
+
<td class="parameter_annotations"> </td>
|
1340
1485
|
</tr>
|
1341
1486
|
<tr>
|
1342
|
-
<td
|
1343
|
-
<td>
|
1344
|
-
|
1487
|
+
<td class="parameter_name"><p>load_async</p></td>
|
1488
|
+
<td class="parameter_description"><p><code class="literal">TRUE</code> if the texture should asynchronously load data
|
1489
|
+
from a filename</p></td>
|
1490
|
+
<td class="parameter_annotations"> </td>
|
1345
1491
|
</tr>
|
1346
1492
|
</tbody>
|
1347
1493
|
</table></div>
|
1494
|
+
</div>
|
1348
1495
|
<p class="since">Since 1.0</p>
|
1349
1496
|
</div>
|
1350
1497
|
<hr>
|
1351
1498
|
<div class="refsect2">
|
1352
|
-
<a name="clutter-texture-get-load-async"></a><h3>
|
1353
|
-
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
1354
|
-
<
|
1355
|
-
<
|
1356
|
-
<p
|
1499
|
+
<a name="clutter-texture-get-load-data-async"></a><h3>clutter_texture_get_load_data_async ()</h3>
|
1500
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
1501
|
+
clutter_texture_get_load_data_async (<em class="parameter"><code><a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a> *texture</code></em>);</pre>
|
1502
|
+
<div class="warning"><p><code class="literal">clutter_texture_get_load_data_async</code> has been deprecated since version 1.12 and should not be used in newly-written code.</p></div>
|
1503
|
+
<p>Retrieves the value set by <a class="link" href="ClutterTexture.html#clutter-texture-set-load-data-async" title="clutter_texture_set_load_data_async ()"><code class="function">clutter_texture_set_load_data_async()</code></a></p>
|
1504
|
+
<div class="refsect3">
|
1505
|
+
<a name="id-1.10.20.10.27.7"></a><h4>Parameters</h4>
|
1506
|
+
<div class="informaltable"><table width="100%" border="0">
|
1507
|
+
<colgroup>
|
1508
|
+
<col width="150px" class="parameters_name">
|
1509
|
+
<col class="parameters_description">
|
1510
|
+
<col width="200px" class="parameters_annotations">
|
1511
|
+
</colgroup>
|
1512
|
+
<tbody><tr>
|
1513
|
+
<td class="parameter_name"><p>texture</p></td>
|
1514
|
+
<td class="parameter_description"><p>a <a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a></p></td>
|
1515
|
+
<td class="parameter_annotations"> </td>
|
1516
|
+
</tr></tbody>
|
1517
|
+
</table></div>
|
1357
1518
|
</div>
|
1358
|
-
<
|
1359
|
-
|
1360
|
-
|
1361
|
-
|
1519
|
+
<div class="refsect3">
|
1520
|
+
<a name="id-1.10.20.10.27.8"></a><h4>Returns</h4>
|
1521
|
+
<p> <code class="literal">TRUE</code> if the <a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a> should load the image
|
1522
|
+
data from a file asynchronously</p>
|
1523
|
+
<p></p>
|
1524
|
+
</div>
|
1525
|
+
<p class="since">Since 1.0</p>
|
1526
|
+
</div>
|
1527
|
+
<hr>
|
1528
|
+
<div class="refsect2">
|
1529
|
+
<a name="clutter-texture-set-load-data-async"></a><h3>clutter_texture_set_load_data_async ()</h3>
|
1530
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1531
|
+
clutter_texture_set_load_data_async (<em class="parameter"><code><a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a> *texture</code></em>,
|
1532
|
+
<em class="parameter"><code><span class="type">gboolean</span> load_async</code></em>);</pre>
|
1533
|
+
<div class="warning"><p><code class="literal">clutter_texture_set_load_data_async</code> has been deprecated since version 1.12 and should not be used in newly-written code.</p></div>
|
1534
|
+
<p>Sets whether <em class="parameter"><code>texture</code></em>
|
1535
|
+
should use a worker thread to load the data
|
1536
|
+
from disk asynchronously. Setting <em class="parameter"><code>load_async</code></em>
|
1537
|
+
to <code class="literal">TRUE</code> will make
|
1538
|
+
<a class="link" href="ClutterTexture.html#clutter-texture-set-from-file" title="clutter_texture_set_from_file ()"><code class="function">clutter_texture_set_from_file()</code></a> block until the <a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a> has
|
1539
|
+
determined the width and height of the image data.</p>
|
1540
|
+
<p>See the <a class="link" href="ClutterTexture.html#ClutterTexture--load-async" title="The “load-async” property"><span class="type">“load-async”</span></a> property documentation, and
|
1541
|
+
<a class="link" href="ClutterTexture.html#clutter-texture-set-load-async" title="clutter_texture_set_load_async ()"><code class="function">clutter_texture_set_load_async()</code></a>.</p>
|
1542
|
+
<div class="refsect3">
|
1543
|
+
<a name="id-1.10.20.10.28.8"></a><h4>Parameters</h4>
|
1544
|
+
<div class="informaltable"><table width="100%" border="0">
|
1362
1545
|
<colgroup>
|
1363
|
-
<col
|
1364
|
-
<col>
|
1546
|
+
<col width="150px" class="parameters_name">
|
1547
|
+
<col class="parameters_description">
|
1548
|
+
<col width="200px" class="parameters_annotations">
|
1365
1549
|
</colgroup>
|
1366
1550
|
<tbody>
|
1367
1551
|
<tr>
|
1368
|
-
<td
|
1369
|
-
<td>a <a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a>
|
1370
|
-
</td>
|
1552
|
+
<td class="parameter_name"><p>texture</p></td>
|
1553
|
+
<td class="parameter_description"><p>a <a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a></p></td>
|
1554
|
+
<td class="parameter_annotations"> </td>
|
1371
1555
|
</tr>
|
1372
1556
|
<tr>
|
1373
|
-
<td
|
1374
|
-
<td>
|
1375
|
-
|
1376
|
-
|
1557
|
+
<td class="parameter_name"><p>load_async</p></td>
|
1558
|
+
<td class="parameter_description"><p><code class="literal">TRUE</code> if the texture should asynchronously load data
|
1559
|
+
from a filename</p></td>
|
1560
|
+
<td class="parameter_annotations"> </td>
|
1377
1561
|
</tr>
|
1378
1562
|
</tbody>
|
1379
1563
|
</table></div>
|
1564
|
+
</div>
|
1380
1565
|
<p class="since">Since 1.0</p>
|
1381
1566
|
</div>
|
1382
1567
|
<hr>
|
1383
1568
|
<div class="refsect2">
|
1384
|
-
<a name="clutter-texture-
|
1385
|
-
<pre class="programlisting"><span class="returnvalue">
|
1386
|
-
|
1387
|
-
<div class="warning">
|
1388
|
-
<
|
1389
|
-
<
|
1569
|
+
<a name="clutter-texture-get-pick-with-alpha"></a><h3>clutter_texture_get_pick_with_alpha ()</h3>
|
1570
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
1571
|
+
clutter_texture_get_pick_with_alpha (<em class="parameter"><code><a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a> *texture</code></em>);</pre>
|
1572
|
+
<div class="warning"><p><code class="literal">clutter_texture_get_pick_with_alpha</code> has been deprecated since version 1.12 and should not be used in newly-written code.</p></div>
|
1573
|
+
<p>Retrieves the value set by <a class="link" href="ClutterTexture.html#clutter-texture-set-load-data-async" title="clutter_texture_set_load_data_async ()"><code class="function">clutter_texture_set_load_data_async()</code></a></p>
|
1574
|
+
<div class="refsect3">
|
1575
|
+
<a name="id-1.10.20.10.29.7"></a><h4>Parameters</h4>
|
1576
|
+
<div class="informaltable"><table width="100%" border="0">
|
1577
|
+
<colgroup>
|
1578
|
+
<col width="150px" class="parameters_name">
|
1579
|
+
<col class="parameters_description">
|
1580
|
+
<col width="200px" class="parameters_annotations">
|
1581
|
+
</colgroup>
|
1582
|
+
<tbody><tr>
|
1583
|
+
<td class="parameter_name"><p>texture</p></td>
|
1584
|
+
<td class="parameter_description"><p>a <a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a></p></td>
|
1585
|
+
<td class="parameter_annotations"> </td>
|
1586
|
+
</tr></tbody>
|
1587
|
+
</table></div>
|
1390
1588
|
</div>
|
1391
|
-
<
|
1392
|
-
|
1393
|
-
|
1394
|
-
|
1395
|
-
|
1396
|
-
|
1397
|
-
|
1398
|
-
|
1399
|
-
|
1400
|
-
<div class="
|
1589
|
+
<div class="refsect3">
|
1590
|
+
<a name="id-1.10.20.10.29.8"></a><h4>Returns</h4>
|
1591
|
+
<p> <code class="literal">TRUE</code> if the <a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a> should define its shape
|
1592
|
+
using the alpha channel when picking.</p>
|
1593
|
+
<p></p>
|
1594
|
+
</div>
|
1595
|
+
<p class="since">Since 1.4</p>
|
1596
|
+
</div>
|
1597
|
+
<hr>
|
1598
|
+
<div class="refsect2">
|
1599
|
+
<a name="clutter-texture-set-pick-with-alpha"></a><h3>clutter_texture_set_pick_with_alpha ()</h3>
|
1600
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1601
|
+
clutter_texture_set_pick_with_alpha (<em class="parameter"><code><a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a> *texture</code></em>,
|
1602
|
+
<em class="parameter"><code><span class="type">gboolean</span> pick_with_alpha</code></em>);</pre>
|
1603
|
+
<div class="warning"><p><code class="literal">clutter_texture_set_pick_with_alpha</code> has been deprecated since version 1.12 and should not be used in newly-written code.</p></div>
|
1604
|
+
<p>Sets whether <em class="parameter"><code>texture</code></em>
|
1605
|
+
should have it's shape defined by the alpha
|
1606
|
+
channel when picking.</p>
|
1607
|
+
<p>Be aware that this is a bit more costly than the default picking
|
1608
|
+
due to the texture lookup, extra test against the alpha value and
|
1609
|
+
the fact that it will also interrupt the batching of geometry done
|
1610
|
+
internally.</p>
|
1611
|
+
<p>Also there is currently no control over the threshold used to
|
1612
|
+
determine what value of alpha is considered pickable, and so only
|
1613
|
+
fully opaque parts of the texture will react to picking.</p>
|
1614
|
+
<div class="refsect3">
|
1615
|
+
<a name="id-1.10.20.10.30.9"></a><h4>Parameters</h4>
|
1616
|
+
<div class="informaltable"><table width="100%" border="0">
|
1401
1617
|
<colgroup>
|
1402
|
-
<col
|
1403
|
-
<col>
|
1618
|
+
<col width="150px" class="parameters_name">
|
1619
|
+
<col class="parameters_description">
|
1620
|
+
<col width="200px" class="parameters_annotations">
|
1404
1621
|
</colgroup>
|
1405
1622
|
<tbody>
|
1406
1623
|
<tr>
|
1407
|
-
<td
|
1408
|
-
<td>a <a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a>
|
1409
|
-
</td>
|
1624
|
+
<td class="parameter_name"><p>texture</p></td>
|
1625
|
+
<td class="parameter_description"><p>a <a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a></p></td>
|
1626
|
+
<td class="parameter_annotations"> </td>
|
1410
1627
|
</tr>
|
1411
1628
|
<tr>
|
1412
|
-
<td
|
1413
|
-
<td>
|
1414
|
-
|
1415
|
-
|
1629
|
+
<td class="parameter_name"><p>pick_with_alpha</p></td>
|
1630
|
+
<td class="parameter_description"><p><code class="literal">TRUE</code> if the alpha channel should affect the
|
1631
|
+
picking shape</p></td>
|
1632
|
+
<td class="parameter_annotations"> </td>
|
1416
1633
|
</tr>
|
1417
1634
|
</tbody>
|
1418
1635
|
</table></div>
|
1419
|
-
<p class="since">Since 1.0</p>
|
1420
1636
|
</div>
|
1421
|
-
<
|
1637
|
+
<p class="since">Since 1.4</p>
|
1638
|
+
</div>
|
1639
|
+
</div>
|
1640
|
+
<div class="refsect1">
|
1641
|
+
<a name="ClutterTexture.other_details"></a><h2>Types and Values</h2>
|
1422
1642
|
<div class="refsect2">
|
1423
|
-
<a name="
|
1424
|
-
<pre class="programlisting"
|
1425
|
-
<
|
1426
|
-
|
1427
|
-
<p
|
1643
|
+
<a name="ClutterTexture-struct"></a><h3>struct ClutterTexture</h3>
|
1644
|
+
<pre class="programlisting">struct ClutterTexture;</pre>
|
1645
|
+
<p>The <a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a> structure contains only private data
|
1646
|
+
and should be accessed using the provided API</p>
|
1647
|
+
<p class="since">Since 0.1</p>
|
1428
1648
|
</div>
|
1429
|
-
<
|
1430
|
-
|
1431
|
-
</
|
1432
|
-
<
|
1649
|
+
<hr>
|
1650
|
+
<div class="refsect2">
|
1651
|
+
<a name="ClutterTextureClass"></a><h3>struct ClutterTextureClass</h3>
|
1652
|
+
<pre class="programlisting">struct ClutterTextureClass {
|
1653
|
+
void (* size_change) (ClutterTexture *texture,
|
1654
|
+
gint width,
|
1655
|
+
gint height);
|
1656
|
+
void (* pixbuf_change) (ClutterTexture *texture);
|
1657
|
+
void (* load_finished) (ClutterTexture *texture,
|
1658
|
+
const GError *error);
|
1659
|
+
};
|
1660
|
+
</pre>
|
1661
|
+
<p>The <a class="link" href="ClutterTexture.html#ClutterTextureClass" title="struct ClutterTextureClass"><span class="type">ClutterTextureClass</span></a> structure contains only private data</p>
|
1662
|
+
<div class="refsect3">
|
1663
|
+
<a name="id-1.10.20.11.3.5"></a><h4>Members</h4>
|
1664
|
+
<div class="informaltable"><table width="100%" border="0">
|
1433
1665
|
<colgroup>
|
1434
|
-
<col
|
1435
|
-
<col>
|
1666
|
+
<col width="300px" class="struct_members_name">
|
1667
|
+
<col class="struct_members_description">
|
1668
|
+
<col width="200px" class="struct_members_annotations">
|
1436
1669
|
</colgroup>
|
1437
1670
|
<tbody>
|
1438
1671
|
<tr>
|
1439
|
-
<td
|
1440
|
-
<td>
|
1441
|
-
</td>
|
1672
|
+
<td class="struct_member_name"><p><em class="structfield"><code><a name="ClutterTextureClass.size-change"></a>size_change</code></em> ()</p></td>
|
1673
|
+
<td class="struct_member_description"><p>handler for the <a class="link" href="ClutterTexture.html#ClutterTexture-size-change" title="The “size-change” signal"><span class="type">“size-change”</span></a> signal</p></td>
|
1674
|
+
<td class="struct_member_annotations"> </td>
|
1675
|
+
</tr>
|
1676
|
+
<tr>
|
1677
|
+
<td class="struct_member_name"><p><em class="structfield"><code><a name="ClutterTextureClass.pixbuf-change"></a>pixbuf_change</code></em> ()</p></td>
|
1678
|
+
<td class="struct_member_description"><p>handler for the <a class="link" href="ClutterTexture.html#ClutterTexture-pixbuf-change" title="The “pixbuf-change” signal"><span class="type">“pixbuf-change”</span></a> signal</p></td>
|
1679
|
+
<td class="struct_member_annotations"> </td>
|
1442
1680
|
</tr>
|
1443
1681
|
<tr>
|
1444
|
-
<td><p><
|
1445
|
-
<td>
|
1446
|
-
<
|
1447
|
-
data from a file asynchronously</td>
|
1682
|
+
<td class="struct_member_name"><p><em class="structfield"><code><a name="ClutterTextureClass.load-finished"></a>load_finished</code></em> ()</p></td>
|
1683
|
+
<td class="struct_member_description"><p>handler for the <a class="link" href="ClutterTexture.html#ClutterTexture-load-finished" title="The “load-finished” signal"><span class="type">“load-finished”</span></a> signal</p></td>
|
1684
|
+
<td class="struct_member_annotations"> </td>
|
1448
1685
|
</tr>
|
1449
1686
|
</tbody>
|
1450
1687
|
</table></div>
|
1451
|
-
|
1688
|
+
</div>
|
1689
|
+
<p class="since">Since 0.1</p>
|
1452
1690
|
</div>
|
1453
1691
|
<hr>
|
1454
1692
|
<div class="refsect2">
|
1455
|
-
<a name="
|
1456
|
-
<
|
1457
|
-
|
1458
|
-
<div class="
|
1459
|
-
<
|
1460
|
-
<
|
1461
|
-
</div>
|
1462
|
-
<p>
|
1463
|
-
Sets whether <em class="parameter"><code>texture</code></em> should use a worker thread to load the data
|
1464
|
-
from disk asynchronously. Setting <em class="parameter"><code>load_async</code></em> to <code class="literal">TRUE</code> will make
|
1465
|
-
<a class="link" href="ClutterTexture.html#clutter-texture-set-from-file" title="clutter_texture_set_from_file ()"><code class="function">clutter_texture_set_from_file()</code></a> block until the <a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a> has
|
1466
|
-
determined the width and height of the image data.
|
1467
|
-
</p>
|
1468
|
-
<p>
|
1469
|
-
See the <a class="link" href="ClutterTexture.html#ClutterTexture--load-async" title='The "load-async" property'><span class="type">"load-async"</span></a> property documentation, and
|
1470
|
-
<a class="link" href="ClutterTexture.html#clutter-texture-set-load-async" title="clutter_texture_set_load_async ()"><code class="function">clutter_texture_set_load_async()</code></a>.
|
1471
|
-
</p>
|
1472
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
1693
|
+
<a name="ClutterTextureFlags"></a><h3>enum ClutterTextureFlags</h3>
|
1694
|
+
<p>Flags for <a class="link" href="ClutterTexture.html#clutter-texture-set-from-rgb-data" title="clutter_texture_set_from_rgb_data ()"><code class="function">clutter_texture_set_from_rgb_data()</code></a> and
|
1695
|
+
<a class="link" href="ClutterTexture.html#clutter-texture-set-from-yuv-data" title="clutter_texture_set_from_yuv_data ()"><code class="function">clutter_texture_set_from_yuv_data()</code></a>.</p>
|
1696
|
+
<div class="refsect3">
|
1697
|
+
<a name="id-1.10.20.11.4.4"></a><h4>Members</h4>
|
1698
|
+
<div class="informaltable"><table width="100%" border="0">
|
1473
1699
|
<colgroup>
|
1474
|
-
<col
|
1475
|
-
<col>
|
1700
|
+
<col width="300px" class="enum_members_name">
|
1701
|
+
<col class="enum_members_description">
|
1702
|
+
<col width="200px" class="enum_members_annotations">
|
1476
1703
|
</colgroup>
|
1477
1704
|
<tbody>
|
1478
1705
|
<tr>
|
1479
|
-
<td
|
1480
|
-
<td
|
1706
|
+
<td class="enum_member_name"><p><a name="CLUTTER-TEXTURE-NONE:CAPS"></a>CLUTTER_TEXTURE_NONE</p></td>
|
1707
|
+
<td class="enum_member_description">
|
1708
|
+
<p>No flags</p>
|
1709
|
+
</td>
|
1710
|
+
<td class="enum_member_annotations"> </td>
|
1711
|
+
</tr>
|
1712
|
+
<tr>
|
1713
|
+
<td class="enum_member_name"><p><a name="CLUTTER-TEXTURE-RGB-FLAG-BGR:CAPS"></a>CLUTTER_TEXTURE_RGB_FLAG_BGR</p></td>
|
1714
|
+
<td class="enum_member_description">
|
1715
|
+
<p>FIXME</p>
|
1481
1716
|
</td>
|
1717
|
+
<td class="enum_member_annotations"> </td>
|
1482
1718
|
</tr>
|
1483
1719
|
<tr>
|
1484
|
-
<td
|
1485
|
-
<td>
|
1486
|
-
<
|
1487
|
-
|
1720
|
+
<td class="enum_member_name"><p><a name="CLUTTER-TEXTURE-RGB-FLAG-PREMULT:CAPS"></a>CLUTTER_TEXTURE_RGB_FLAG_PREMULT</p></td>
|
1721
|
+
<td class="enum_member_description">
|
1722
|
+
<p>FIXME</p>
|
1723
|
+
</td>
|
1724
|
+
<td class="enum_member_annotations"> </td>
|
1725
|
+
</tr>
|
1726
|
+
<tr>
|
1727
|
+
<td class="enum_member_name"><p><a name="CLUTTER-TEXTURE-YUV-FLAG-YUV2:CAPS"></a>CLUTTER_TEXTURE_YUV_FLAG_YUV2</p></td>
|
1728
|
+
<td class="enum_member_description">
|
1729
|
+
<p>FIXME</p>
|
1730
|
+
</td>
|
1731
|
+
<td class="enum_member_annotations"> </td>
|
1488
1732
|
</tr>
|
1489
1733
|
</tbody>
|
1490
1734
|
</table></div>
|
1491
|
-
|
1735
|
+
</div>
|
1736
|
+
<p class="since">Since 0.4</p>
|
1492
1737
|
</div>
|
1493
1738
|
<hr>
|
1494
1739
|
<div class="refsect2">
|
1495
|
-
<a name="
|
1496
|
-
<
|
1497
|
-
<div class="
|
1498
|
-
<
|
1499
|
-
<
|
1500
|
-
</div>
|
1501
|
-
<p>
|
1502
|
-
Retrieves the value set by <a class="link" href="ClutterTexture.html#clutter-texture-set-load-data-async" title="clutter_texture_set_load_data_async ()"><code class="function">clutter_texture_set_load_data_async()</code></a>
|
1503
|
-
</p>
|
1504
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
1740
|
+
<a name="ClutterTextureQuality"></a><h3>enum ClutterTextureQuality</h3>
|
1741
|
+
<p>Enumaration controlling the texture quality.</p>
|
1742
|
+
<div class="refsect3">
|
1743
|
+
<a name="id-1.10.20.11.5.4"></a><h4>Members</h4>
|
1744
|
+
<div class="informaltable"><table width="100%" border="0">
|
1505
1745
|
<colgroup>
|
1506
|
-
<col
|
1507
|
-
<col>
|
1746
|
+
<col width="300px" class="enum_members_name">
|
1747
|
+
<col class="enum_members_description">
|
1748
|
+
<col width="200px" class="enum_members_annotations">
|
1508
1749
|
</colgroup>
|
1509
1750
|
<tbody>
|
1510
1751
|
<tr>
|
1511
|
-
<td
|
1512
|
-
<td
|
1752
|
+
<td class="enum_member_name"><p><a name="CLUTTER-TEXTURE-QUALITY-LOW:CAPS"></a>CLUTTER_TEXTURE_QUALITY_LOW</p></td>
|
1753
|
+
<td class="enum_member_description">
|
1754
|
+
<p>fastest rendering will use nearest neighbour
|
1755
|
+
interpolation when rendering. good setting.</p>
|
1756
|
+
</td>
|
1757
|
+
<td class="enum_member_annotations"> </td>
|
1758
|
+
</tr>
|
1759
|
+
<tr>
|
1760
|
+
<td class="enum_member_name"><p><a name="CLUTTER-TEXTURE-QUALITY-MEDIUM:CAPS"></a>CLUTTER_TEXTURE_QUALITY_MEDIUM</p></td>
|
1761
|
+
<td class="enum_member_description">
|
1762
|
+
<p>higher quality rendering without using
|
1763
|
+
extra resources.</p>
|
1513
1764
|
</td>
|
1765
|
+
<td class="enum_member_annotations"> </td>
|
1514
1766
|
</tr>
|
1515
1767
|
<tr>
|
1516
|
-
<td
|
1517
|
-
<td>
|
1518
|
-
<
|
1519
|
-
using
|
1768
|
+
<td class="enum_member_name"><p><a name="CLUTTER-TEXTURE-QUALITY-HIGH:CAPS"></a>CLUTTER_TEXTURE_QUALITY_HIGH</p></td>
|
1769
|
+
<td class="enum_member_description">
|
1770
|
+
<p>render the texture with the best quality
|
1771
|
+
available using extra memory.</p>
|
1772
|
+
</td>
|
1773
|
+
<td class="enum_member_annotations"> </td>
|
1520
1774
|
</tr>
|
1521
1775
|
</tbody>
|
1522
1776
|
</table></div>
|
1523
|
-
|
1777
|
+
</div>
|
1778
|
+
<p class="since">Since 0.8</p>
|
1524
1779
|
</div>
|
1525
1780
|
<hr>
|
1526
1781
|
<div class="refsect2">
|
1527
|
-
<a name="
|
1528
|
-
<
|
1529
|
-
|
1530
|
-
<
|
1531
|
-
<
|
1532
|
-
<p><code class="literal">clutter_texture_set_pick_with_alpha</code> is deprecated and should not be used in newly-written code. 1.12</p>
|
1533
|
-
</div>
|
1534
|
-
<p>
|
1535
|
-
Sets whether <em class="parameter"><code>texture</code></em> should have it's shape defined by the alpha
|
1536
|
-
channel when picking.
|
1537
|
-
</p>
|
1538
|
-
<p>
|
1539
|
-
Be aware that this is a bit more costly than the default picking
|
1540
|
-
due to the texture lookup, extra test against the alpha value and
|
1541
|
-
the fact that it will also interrupt the batching of geometry done
|
1542
|
-
internally.
|
1543
|
-
</p>
|
1544
|
-
<p>
|
1545
|
-
Also there is currently no control over the threshold used to
|
1546
|
-
determine what value of alpha is considered pickable, and so only
|
1547
|
-
fully opaque parts of the texture will react to picking.
|
1548
|
-
</p>
|
1549
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
1782
|
+
<a name="ClutterTextureError"></a><h3>enum ClutterTextureError</h3>
|
1783
|
+
<p>Error enumeration for <a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a></p>
|
1784
|
+
<div class="refsect3">
|
1785
|
+
<a name="id-1.10.20.11.6.4"></a><h4>Members</h4>
|
1786
|
+
<div class="informaltable"><table width="100%" border="0">
|
1550
1787
|
<colgroup>
|
1551
|
-
<col
|
1552
|
-
<col>
|
1788
|
+
<col width="300px" class="enum_members_name">
|
1789
|
+
<col class="enum_members_description">
|
1790
|
+
<col width="200px" class="enum_members_annotations">
|
1553
1791
|
</colgroup>
|
1554
1792
|
<tbody>
|
1555
1793
|
<tr>
|
1556
|
-
<td
|
1557
|
-
<td
|
1794
|
+
<td class="enum_member_name"><p><a name="CLUTTER-TEXTURE-ERROR-OUT-OF-MEMORY:CAPS"></a>CLUTTER_TEXTURE_ERROR_OUT_OF_MEMORY</p></td>
|
1795
|
+
<td class="enum_member_description">
|
1796
|
+
<p>OOM condition</p>
|
1797
|
+
</td>
|
1798
|
+
<td class="enum_member_annotations"> </td>
|
1799
|
+
</tr>
|
1800
|
+
<tr>
|
1801
|
+
<td class="enum_member_name"><p><a name="CLUTTER-TEXTURE-ERROR-NO-YUV:CAPS"></a>CLUTTER_TEXTURE_ERROR_NO_YUV</p></td>
|
1802
|
+
<td class="enum_member_description">
|
1803
|
+
<p>YUV operation attempted but no YUV support
|
1804
|
+
found</p>
|
1558
1805
|
</td>
|
1806
|
+
<td class="enum_member_annotations"> </td>
|
1559
1807
|
</tr>
|
1560
1808
|
<tr>
|
1561
|
-
<td
|
1562
|
-
<td>
|
1563
|
-
<
|
1564
|
-
|
1809
|
+
<td class="enum_member_name"><p><a name="CLUTTER-TEXTURE-ERROR-BAD-FORMAT:CAPS"></a>CLUTTER_TEXTURE_ERROR_BAD_FORMAT</p></td>
|
1810
|
+
<td class="enum_member_description">
|
1811
|
+
<p>The requested format for
|
1812
|
+
clutter_texture_set_from_rgb_data or
|
1813
|
+
clutter_texture_set_from_yuv_data is unsupported.</p>
|
1814
|
+
</td>
|
1815
|
+
<td class="enum_member_annotations"> </td>
|
1565
1816
|
</tr>
|
1566
1817
|
</tbody>
|
1567
1818
|
</table></div>
|
1568
|
-
|
1819
|
+
</div>
|
1820
|
+
<p class="since">Since 0.4</p>
|
1569
1821
|
</div>
|
1570
1822
|
</div>
|
1571
1823
|
<div class="refsect1">
|
1572
1824
|
<a name="ClutterTexture.property-details"></a><h2>Property Details</h2>
|
1573
1825
|
<div class="refsect2">
|
1574
|
-
<a name="ClutterTexture--cogl-material"></a><h3>The <code class="literal"
|
1575
|
-
<pre class="programlisting">
|
1826
|
+
<a name="ClutterTexture--cogl-material"></a><h3>The <code class="literal">“cogl-material”</code> property</h3>
|
1827
|
+
<pre class="programlisting"> “cogl-material” <span class="type">CoglHandle</span> *</pre>
|
1576
1828
|
<p>The underlying Cogl material handle used to draw this actor.</p>
|
1829
|
+
<p>Flags: Read / Write</p>
|
1577
1830
|
</div>
|
1578
1831
|
<hr>
|
1579
1832
|
<div class="refsect2">
|
1580
|
-
<a name="ClutterTexture--cogl-texture"></a><h3>The <code class="literal"
|
1581
|
-
<pre class="programlisting">
|
1833
|
+
<a name="ClutterTexture--cogl-texture"></a><h3>The <code class="literal">“cogl-texture”</code> property</h3>
|
1834
|
+
<pre class="programlisting"> “cogl-texture” <span class="type">CoglHandle</span> *</pre>
|
1582
1835
|
<p>The underlying Cogl texture handle used to draw this actor.</p>
|
1836
|
+
<p>Flags: Read / Write</p>
|
1583
1837
|
</div>
|
1584
1838
|
<hr>
|
1585
1839
|
<div class="refsect2">
|
1586
|
-
<a name="ClutterTexture--disable-slicing"></a><h3>The <code class="literal"
|
1587
|
-
<pre class="programlisting">
|
1840
|
+
<a name="ClutterTexture--disable-slicing"></a><h3>The <code class="literal">“disable-slicing”</code> property</h3>
|
1841
|
+
<pre class="programlisting"> “disable-slicing” <span class="type">gboolean</span></pre>
|
1588
1842
|
<p>Forces the underlying texture to be singular and not made of smaller space saving individual textures.</p>
|
1843
|
+
<p>Flags: Read / Write / Construct Only</p>
|
1589
1844
|
<p>Default value: FALSE</p>
|
1590
1845
|
</div>
|
1591
1846
|
<hr>
|
1592
1847
|
<div class="refsect2">
|
1593
|
-
<a name="ClutterTexture--filename"></a><h3>The <code class="literal"
|
1594
|
-
<pre class="programlisting">
|
1595
|
-
<
|
1596
|
-
|
1597
|
-
<p
|
1598
|
-
|
1599
|
-
<p>
|
1600
|
-
|
1601
|
-
the texture.
|
1602
|
-
</p>
|
1603
|
-
<p>
|
1604
|
-
This property is unset when using the clutter_texture_set_from_*_data()
|
1605
|
-
family of functions.
|
1606
|
-
</p>
|
1848
|
+
<a name="ClutterTexture--filename"></a><h3>The <code class="literal">“filename”</code> property</h3>
|
1849
|
+
<pre class="programlisting"> “filename” <span class="type">gchar</span> *</pre>
|
1850
|
+
<p>The path of the file containing the image data to be displayed by
|
1851
|
+
the texture.</p>
|
1852
|
+
<p>This property is unset when using the clutter_texture_set_from_*_data()
|
1853
|
+
family of functions.</p>
|
1854
|
+
<div class="warning"><p><code class="literal">ClutterTexture:filename</code> has been deprecated since version 1.12 and should not be used in newly-written code.</p></div>
|
1855
|
+
<p>Flags: Read / Write</p>
|
1607
1856
|
<p>Default value: NULL</p>
|
1608
1857
|
</div>
|
1609
1858
|
<hr>
|
1610
1859
|
<div class="refsect2">
|
1611
|
-
<a name="ClutterTexture--filter-quality"></a><h3>The <code class="literal"
|
1612
|
-
<pre class="programlisting">
|
1860
|
+
<a name="ClutterTexture--filter-quality"></a><h3>The <code class="literal">“filter-quality”</code> property</h3>
|
1861
|
+
<pre class="programlisting"> “filter-quality” <a class="link" href="ClutterTexture.html#ClutterTextureQuality" title="enum ClutterTextureQuality"><span class="type">ClutterTextureQuality</span></a></pre>
|
1613
1862
|
<p>Rendering quality used when drawing the texture.</p>
|
1863
|
+
<p>Flags: Read / Write / Construct</p>
|
1614
1864
|
<p>Default value: CLUTTER_TEXTURE_QUALITY_MEDIUM</p>
|
1615
1865
|
</div>
|
1616
1866
|
<hr>
|
1617
1867
|
<div class="refsect2">
|
1618
|
-
<a name="ClutterTexture--keep-aspect-ratio"></a><h3>The <code class="literal"
|
1619
|
-
<pre class="programlisting">
|
1868
|
+
<a name="ClutterTexture--keep-aspect-ratio"></a><h3>The <code class="literal">“keep-aspect-ratio”</code> property</h3>
|
1869
|
+
<pre class="programlisting"> “keep-aspect-ratio” <span class="type">gboolean</span></pre>
|
1620
1870
|
<p>Keep the aspect ratio of the texture when requesting the preferred width or height.</p>
|
1871
|
+
<p>Flags: Read / Write</p>
|
1621
1872
|
<p>Default value: FALSE</p>
|
1622
1873
|
</div>
|
1623
1874
|
<hr>
|
1624
1875
|
<div class="refsect2">
|
1625
|
-
<a name="ClutterTexture--load-async"></a><h3>The <code class="literal"
|
1626
|
-
<pre class="programlisting">
|
1627
|
-
<
|
1628
|
-
<h3 class="title">Warning</h3>
|
1629
|
-
<p><code class="literal">ClutterTexture:load-async</code> is deprecated and should not be used in newly-written code. 1.12</p>
|
1630
|
-
</div>
|
1631
|
-
<p>
|
1632
|
-
Tries to load a texture from a filename by using a local thread to perform
|
1876
|
+
<a name="ClutterTexture--load-async"></a><h3>The <code class="literal">“load-async”</code> property</h3>
|
1877
|
+
<pre class="programlisting"> “load-async” <span class="type">gboolean</span></pre>
|
1878
|
+
<p>Tries to load a texture from a filename by using a local thread to perform
|
1633
1879
|
the read operations. The initially created texture has dimensions 0x0 when
|
1634
|
-
the true size becomes available the <a class="link" href="ClutterTexture.html#ClutterTexture-size-change" title=
|
1880
|
+
the true size becomes available the <a class="link" href="ClutterTexture.html#ClutterTexture-size-change" title="The “size-change” signal"><span class="type">“size-change”</span></a> signal is
|
1635
1881
|
emitted and when the image has completed loading the
|
1636
|
-
<a class="link" href="ClutterTexture.html#ClutterTexture-load-finished" title=
|
1637
|
-
|
1638
|
-
<
|
1639
|
-
|
1640
|
-
<
|
1641
|
-
the image.
|
1642
|
-
</p>
|
1643
|
-
<p>
|
1644
|
-
The upload of the texture data on the GL pipeline is not asynchronous, as
|
1882
|
+
<a class="link" href="ClutterTexture.html#ClutterTexture-load-finished" title="The “load-finished” signal"><span class="type">“load-finished”</span></a> signal is emitted.</p>
|
1883
|
+
<p>Threading is only enabled if <code class="function">g_thread_init()</code> has been called prior to
|
1884
|
+
<a class="link" href="clutter-General.html#clutter-init" title="clutter_init ()"><code class="function">clutter_init()</code></a>, otherwise <a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a> will use the main loop to load
|
1885
|
+
the image.</p>
|
1886
|
+
<p>The upload of the texture data on the GL pipeline is not asynchronous, as
|
1645
1887
|
it must be performed from within the same thread that called
|
1646
|
-
<a class="link" href="clutter-General.html#clutter-main" title="clutter_main
|
1647
|
-
</p>
|
1888
|
+
<a class="link" href="clutter-General.html#clutter-main" title="clutter_main ()"><code class="function">clutter_main()</code></a>.</p>
|
1889
|
+
<div class="warning"><p><code class="literal">ClutterTexture:load-async</code> has been deprecated since version 1.12 and should not be used in newly-written code.</p></div>
|
1890
|
+
<p>Flags: Write</p>
|
1648
1891
|
<p>Default value: FALSE</p>
|
1649
1892
|
<p class="since">Since 1.0</p>
|
1650
1893
|
</div>
|
1651
1894
|
<hr>
|
1652
1895
|
<div class="refsect2">
|
1653
|
-
<a name="ClutterTexture--load-data-async"></a><h3>The <code class="literal"
|
1654
|
-
<pre class="programlisting">
|
1655
|
-
<
|
1656
|
-
|
1657
|
-
<p><code class="literal">ClutterTexture:load-data-async</code>
|
1658
|
-
</
|
1659
|
-
<p>
|
1660
|
-
Like <a class="link" href="ClutterTexture.html#ClutterTexture--load-async" title='The "load-async" property'><span class="type">"load-async"</span></a> but loads the width and height
|
1661
|
-
synchronously causing some blocking.
|
1662
|
-
</p>
|
1896
|
+
<a name="ClutterTexture--load-data-async"></a><h3>The <code class="literal">“load-data-async”</code> property</h3>
|
1897
|
+
<pre class="programlisting"> “load-data-async” <span class="type">gboolean</span></pre>
|
1898
|
+
<p>Like <a class="link" href="ClutterTexture.html#ClutterTexture--load-async" title="The “load-async” property"><span class="type">“load-async”</span></a> but loads the width and height
|
1899
|
+
synchronously causing some blocking.</p>
|
1900
|
+
<div class="warning"><p><code class="literal">ClutterTexture:load-data-async</code> has been deprecated since version 1.12 and should not be used in newly-written code.</p></div>
|
1901
|
+
<p>Flags: Write</p>
|
1663
1902
|
<p>Default value: FALSE</p>
|
1664
1903
|
<p class="since">Since 1.0</p>
|
1665
1904
|
</div>
|
1666
1905
|
<hr>
|
1667
1906
|
<div class="refsect2">
|
1668
|
-
<a name="ClutterTexture--pick-with-alpha"></a><h3>The <code class="literal"
|
1669
|
-
<pre class="programlisting">
|
1907
|
+
<a name="ClutterTexture--pick-with-alpha"></a><h3>The <code class="literal">“pick-with-alpha”</code> property</h3>
|
1908
|
+
<pre class="programlisting"> “pick-with-alpha” <span class="type">gboolean</span></pre>
|
1670
1909
|
<p>Shape actor with alpha channel when picking.</p>
|
1910
|
+
<p>Flags: Read / Write</p>
|
1671
1911
|
<p>Default value: FALSE</p>
|
1672
1912
|
</div>
|
1673
1913
|
<hr>
|
1674
1914
|
<div class="refsect2">
|
1675
|
-
<a name="ClutterTexture--pixel-format"></a><h3>The <code class="literal"
|
1676
|
-
<pre class="programlisting">
|
1915
|
+
<a name="ClutterTexture--pixel-format"></a><h3>The <code class="literal">“pixel-format”</code> property</h3>
|
1916
|
+
<pre class="programlisting"> “pixel-format” <span class="type">CoglPixelFormat</span></pre>
|
1677
1917
|
<p>The Cogl pixel format to use.</p>
|
1918
|
+
<p>Flags: Read</p>
|
1678
1919
|
<p>Default value: COGL_PIXEL_FORMAT_RGBA_8888</p>
|
1679
1920
|
</div>
|
1680
1921
|
<hr>
|
1681
1922
|
<div class="refsect2">
|
1682
|
-
<a name="ClutterTexture--repeat-x"></a><h3>The <code class="literal"
|
1683
|
-
<pre class="programlisting">
|
1923
|
+
<a name="ClutterTexture--repeat-x"></a><h3>The <code class="literal">“repeat-x”</code> property</h3>
|
1924
|
+
<pre class="programlisting"> “repeat-x” <span class="type">gboolean</span></pre>
|
1684
1925
|
<p>Repeat the contents rather than scaling them horizontally.</p>
|
1926
|
+
<p>Flags: Read / Write</p>
|
1685
1927
|
<p>Default value: FALSE</p>
|
1686
1928
|
</div>
|
1687
1929
|
<hr>
|
1688
1930
|
<div class="refsect2">
|
1689
|
-
<a name="ClutterTexture--repeat-y"></a><h3>The <code class="literal"
|
1690
|
-
<pre class="programlisting">
|
1931
|
+
<a name="ClutterTexture--repeat-y"></a><h3>The <code class="literal">“repeat-y”</code> property</h3>
|
1932
|
+
<pre class="programlisting"> “repeat-y” <span class="type">gboolean</span></pre>
|
1691
1933
|
<p>Repeat the contents rather than scaling them vertically.</p>
|
1934
|
+
<p>Flags: Read / Write</p>
|
1692
1935
|
<p>Default value: FALSE</p>
|
1693
1936
|
</div>
|
1694
1937
|
<hr>
|
1695
1938
|
<div class="refsect2">
|
1696
|
-
<a name="ClutterTexture--sync-size"></a><h3>The <code class="literal"
|
1697
|
-
<pre class="programlisting">
|
1939
|
+
<a name="ClutterTexture--sync-size"></a><h3>The <code class="literal">“sync-size”</code> property</h3>
|
1940
|
+
<pre class="programlisting"> “sync-size” <span class="type">gboolean</span></pre>
|
1698
1941
|
<p>Auto sync size of actor to underlying pixbuf dimensions.</p>
|
1942
|
+
<p>Flags: Read / Write</p>
|
1699
1943
|
<p>Default value: TRUE</p>
|
1700
1944
|
</div>
|
1701
1945
|
<hr>
|
1702
1946
|
<div class="refsect2">
|
1703
|
-
<a name="ClutterTexture--tile-waste"></a><h3>The <code class="literal"
|
1704
|
-
<pre class="programlisting">
|
1947
|
+
<a name="ClutterTexture--tile-waste"></a><h3>The <code class="literal">“tile-waste”</code> property</h3>
|
1948
|
+
<pre class="programlisting"> “tile-waste” <span class="type">gint</span></pre>
|
1705
1949
|
<p>Maximum waste area of a sliced texture.</p>
|
1950
|
+
<p>Flags: Read</p>
|
1706
1951
|
<p>Allowed values: >= -1</p>
|
1707
1952
|
<p>Default value: 127</p>
|
1708
1953
|
</div>
|
@@ -1710,117 +1955,131 @@ synchronously causing some blocking.
|
|
1710
1955
|
<div class="refsect1">
|
1711
1956
|
<a name="ClutterTexture.signal-details"></a><h2>Signal Details</h2>
|
1712
1957
|
<div class="refsect2">
|
1713
|
-
<a name="ClutterTexture-load-finished"></a><h3>The <code class="literal"
|
1714
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
1715
|
-
|
1716
|
-
|
1717
|
-
<
|
1718
|
-
<
|
1719
|
-
|
1720
|
-
|
1721
|
-
<p>
|
1722
|
-
|
1723
|
-
|
1724
|
-
|
1725
|
-
|
1726
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
1958
|
+
<a name="ClutterTexture-load-finished"></a><h3>The <code class="literal">“load-finished”</code> signal</h3>
|
1959
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1960
|
+
user_function (<a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a> *texture,
|
1961
|
+
<span class="type">GError</span> *error,
|
1962
|
+
<span class="type">gpointer</span> user_data)</pre>
|
1963
|
+
<p>The ::load-finished signal is emitted when a texture load has
|
1964
|
+
completed. If there was an error during loading, <em class="parameter"><code>error</code></em>
|
1965
|
+
will
|
1966
|
+
be set, otherwise it will be <code class="literal">NULL</code></p>
|
1967
|
+
<div class="warning"><p><code class="literal">ClutterTexture::load-finished</code> has been deprecated since version 1.12 and should not be used in newly-written code.</p></div>
|
1968
|
+
<div class="refsect3">
|
1969
|
+
<a name="id-1.10.20.13.2.7"></a><h4>Parameters</h4>
|
1970
|
+
<div class="informaltable"><table width="100%" border="0">
|
1727
1971
|
<colgroup>
|
1728
|
-
<col
|
1729
|
-
<col>
|
1972
|
+
<col width="150px" class="parameters_name">
|
1973
|
+
<col class="parameters_description">
|
1974
|
+
<col width="200px" class="parameters_annotations">
|
1730
1975
|
</colgroup>
|
1731
1976
|
<tbody>
|
1732
1977
|
<tr>
|
1733
|
-
<td
|
1734
|
-
<td>the texture which received the signal</td>
|
1978
|
+
<td class="parameter_name"><p>texture</p></td>
|
1979
|
+
<td class="parameter_description"><p>the texture which received the signal</p></td>
|
1980
|
+
<td class="parameter_annotations"> </td>
|
1735
1981
|
</tr>
|
1736
1982
|
<tr>
|
1737
|
-
<td
|
1738
|
-
<td>A set error, or <code class="literal">NULL</code>
|
1739
|
-
</td>
|
1983
|
+
<td class="parameter_name"><p>error</p></td>
|
1984
|
+
<td class="parameter_description"><p>A set error, or <code class="literal">NULL</code></p></td>
|
1985
|
+
<td class="parameter_annotations"> </td>
|
1740
1986
|
</tr>
|
1741
1987
|
<tr>
|
1742
|
-
<td
|
1743
|
-
<td>user data set when the signal handler was connected.</td>
|
1988
|
+
<td class="parameter_name"><p>user_data</p></td>
|
1989
|
+
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
|
1990
|
+
<td class="parameter_annotations"> </td>
|
1744
1991
|
</tr>
|
1745
1992
|
</tbody>
|
1746
1993
|
</table></div>
|
1994
|
+
</div>
|
1995
|
+
<p>Flags: Run Last</p>
|
1747
1996
|
<p class="since">Since 1.0</p>
|
1748
1997
|
</div>
|
1749
1998
|
<hr>
|
1750
1999
|
<div class="refsect2">
|
1751
|
-
<a name="ClutterTexture-pixbuf-change"></a><h3>The <code class="literal"
|
1752
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
1753
|
-
|
1754
|
-
<
|
1755
|
-
<
|
1756
|
-
<
|
1757
|
-
|
1758
|
-
<p>
|
1759
|
-
|
1760
|
-
|
1761
|
-
|
1762
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
2000
|
+
<a name="ClutterTexture-pixbuf-change"></a><h3>The <code class="literal">“pixbuf-change”</code> signal</h3>
|
2001
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
2002
|
+
user_function (<a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a> *texture,
|
2003
|
+
<span class="type">gpointer</span> user_data)</pre>
|
2004
|
+
<p>The ::pixbuf-change signal is emitted each time the pixbuf
|
2005
|
+
used by <em class="parameter"><code>texture</code></em>
|
2006
|
+
changes.</p>
|
2007
|
+
<div class="warning"><p><code class="literal">ClutterTexture::pixbuf-change</code> has been deprecated since version 1.12 and should not be used in newly-written code.</p></div>
|
2008
|
+
<div class="refsect3">
|
2009
|
+
<a name="id-1.10.20.13.3.6"></a><h4>Parameters</h4>
|
2010
|
+
<div class="informaltable"><table width="100%" border="0">
|
1763
2011
|
<colgroup>
|
1764
|
-
<col
|
1765
|
-
<col>
|
2012
|
+
<col width="150px" class="parameters_name">
|
2013
|
+
<col class="parameters_description">
|
2014
|
+
<col width="200px" class="parameters_annotations">
|
1766
2015
|
</colgroup>
|
1767
2016
|
<tbody>
|
1768
2017
|
<tr>
|
1769
|
-
<td
|
1770
|
-
<td>the texture which received the signal</td>
|
2018
|
+
<td class="parameter_name"><p>texture</p></td>
|
2019
|
+
<td class="parameter_description"><p>the texture which received the signal</p></td>
|
2020
|
+
<td class="parameter_annotations"> </td>
|
1771
2021
|
</tr>
|
1772
2022
|
<tr>
|
1773
|
-
<td
|
1774
|
-
<td>user data set when the signal handler was connected.</td>
|
2023
|
+
<td class="parameter_name"><p>user_data</p></td>
|
2024
|
+
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
|
2025
|
+
<td class="parameter_annotations"> </td>
|
1775
2026
|
</tr>
|
1776
2027
|
</tbody>
|
1777
2028
|
</table></div>
|
1778
2029
|
</div>
|
2030
|
+
<p>Flags: Run Last</p>
|
2031
|
+
</div>
|
1779
2032
|
<hr>
|
1780
2033
|
<div class="refsect2">
|
1781
|
-
<a name="ClutterTexture-size-change"></a><h3>The <code class="literal"
|
1782
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
1783
|
-
|
1784
|
-
|
1785
|
-
|
1786
|
-
<
|
1787
|
-
<
|
1788
|
-
<
|
1789
|
-
|
1790
|
-
|
1791
|
-
|
1792
|
-
|
1793
|
-
|
1794
|
-
|
1795
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
2034
|
+
<a name="ClutterTexture-size-change"></a><h3>The <code class="literal">“size-change”</code> signal</h3>
|
2035
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
2036
|
+
user_function (<a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a> *texture,
|
2037
|
+
<span class="type">gint</span> width,
|
2038
|
+
<span class="type">gint</span> height,
|
2039
|
+
<span class="type">gpointer</span> user_data)</pre>
|
2040
|
+
<p>The ::size-change signal is emitted each time the size of the
|
2041
|
+
pixbuf used by <em class="parameter"><code>texture</code></em>
|
2042
|
+
changes. The new size is given as
|
2043
|
+
argument to the callback.</p>
|
2044
|
+
<div class="warning"><p><code class="literal">ClutterTexture::size-change</code> has been deprecated since version 1.12 and should not be used in newly-written code.</p></div>
|
2045
|
+
<div class="refsect3">
|
2046
|
+
<a name="id-1.10.20.13.4.6"></a><h4>Parameters</h4>
|
2047
|
+
<div class="informaltable"><table width="100%" border="0">
|
1796
2048
|
<colgroup>
|
1797
|
-
<col
|
1798
|
-
<col>
|
2049
|
+
<col width="150px" class="parameters_name">
|
2050
|
+
<col class="parameters_description">
|
2051
|
+
<col width="200px" class="parameters_annotations">
|
1799
2052
|
</colgroup>
|
1800
2053
|
<tbody>
|
1801
2054
|
<tr>
|
1802
|
-
<td
|
1803
|
-
<td>the texture which received the signal</td>
|
2055
|
+
<td class="parameter_name"><p>texture</p></td>
|
2056
|
+
<td class="parameter_description"><p>the texture which received the signal</p></td>
|
2057
|
+
<td class="parameter_annotations"> </td>
|
1804
2058
|
</tr>
|
1805
2059
|
<tr>
|
1806
|
-
<td
|
1807
|
-
<td>the width of the new texture</td>
|
2060
|
+
<td class="parameter_name"><p>width</p></td>
|
2061
|
+
<td class="parameter_description"><p>the width of the new texture</p></td>
|
2062
|
+
<td class="parameter_annotations"> </td>
|
1808
2063
|
</tr>
|
1809
2064
|
<tr>
|
1810
|
-
<td
|
1811
|
-
<td>the height of the new texture</td>
|
2065
|
+
<td class="parameter_name"><p>height</p></td>
|
2066
|
+
<td class="parameter_description"><p>the height of the new texture</p></td>
|
2067
|
+
<td class="parameter_annotations"> </td>
|
1812
2068
|
</tr>
|
1813
2069
|
<tr>
|
1814
|
-
<td
|
1815
|
-
<td>user data set when the signal handler was connected.</td>
|
2070
|
+
<td class="parameter_name"><p>user_data</p></td>
|
2071
|
+
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
|
2072
|
+
<td class="parameter_annotations"> </td>
|
1816
2073
|
</tr>
|
1817
2074
|
</tbody>
|
1818
2075
|
</table></div>
|
1819
2076
|
</div>
|
2077
|
+
<p>Flags: Run Last</p>
|
2078
|
+
</div>
|
1820
2079
|
</div>
|
1821
2080
|
</div>
|
1822
2081
|
<div class="footer">
|
1823
2082
|
<hr>
|
1824
|
-
Generated by GTK-Doc V1.
|
2083
|
+
Generated by GTK-Doc V1.20.1</div>
|
1825
2084
|
</body>
|
1826
2085
|
</html>
|