clutter 2.2.0-x86-mingw32 → 2.2.1-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +14 -5
- data/lib/clutter.rb +1 -2
- data/vendor/local/bin/json-glib-format.exe +0 -0
- data/vendor/local/bin/json-glib-validate.exe +0 -0
- data/vendor/local/bin/libclutter-1.0-0.dll +0 -0
- data/vendor/local/bin/{libcogl-15.dll → libcogl-20.dll} +0 -0
- data/vendor/local/bin/libcogl-pango-20.dll +0 -0
- data/vendor/local/bin/libcogl-path-20.dll +0 -0
- data/vendor/local/bin/libjson-glib-1.0-0.dll +0 -0
- data/vendor/local/include/clutter-1.0/cally/cally-actor.h +9 -4
- data/vendor/local/include/clutter-1.0/cally/cally-clone.h +6 -4
- data/vendor/local/include/clutter-1.0/cally/cally-group.h +5 -3
- data/vendor/local/include/clutter-1.0/cally/cally-main.h +7 -2
- data/vendor/local/include/clutter-1.0/cally/cally-rectangle.h +5 -3
- data/vendor/local/include/clutter-1.0/cally/cally-root.h +6 -4
- data/vendor/local/include/clutter-1.0/cally/cally-stage.h +5 -3
- data/vendor/local/include/clutter-1.0/cally/cally-text.h +6 -4
- data/vendor/local/include/clutter-1.0/cally/cally-texture.h +6 -4
- data/vendor/local/include/clutter-1.0/cally/cally-util.h +7 -3
- data/vendor/local/include/clutter-1.0/clutter/clutter-action.h +13 -5
- data/vendor/local/include/clutter-1.0/clutter/clutter-actor-meta.h +8 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-actor.h +90 -1
- data/vendor/local/include/clutter-1.0/clutter/clutter-align-constraint.h +9 -1
- data/vendor/local/include/clutter-1.0/clutter/clutter-animatable.h +5 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-backend.h +15 -9
- data/vendor/local/include/clutter-1.0/clutter/clutter-bin-layout.h +4 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-bind-constraint.h +9 -1
- data/vendor/local/include/clutter-1.0/clutter/clutter-binding-pool.h +13 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-blur-effect.h +3 -1
- data/vendor/local/include/clutter-1.0/clutter/clutter-box-layout.h +9 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-brightness-contrast-effect.h +9 -1
- data/vendor/local/include/clutter-1.0/clutter/clutter-cairo.h +2 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-canvas.h +7 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-child-meta.h +10 -8
- data/vendor/local/include/clutter-1.0/clutter/clutter-click-action.h +8 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-clone.h +8 -4
- data/vendor/local/include/clutter-1.0/clutter/clutter-color.h +32 -7
- data/vendor/local/include/clutter-1.0/clutter/clutter-colorize-effect.h +5 -1
- data/vendor/local/include/clutter-1.0/clutter/clutter-constraint.h +14 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-container.h +49 -37
- data/vendor/local/include/clutter-1.0/clutter/clutter-content.h +2 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-deform-effect.h +19 -13
- data/vendor/local/include/clutter-1.0/clutter/clutter-deprecated.h +1 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-desaturate-effect.h +5 -1
- data/vendor/local/include/clutter-1.0/clutter/clutter-device-manager.h +6 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-drag-action.h +12 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-drop-action.h +4 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-effect.h +11 -1
- data/vendor/local/include/clutter-1.0/clutter/clutter-enum-types.h +62 -55
- data/vendor/local/include/clutter-1.0/clutter/clutter-enums.h +23 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-event.h +74 -8
- data/vendor/local/include/clutter-1.0/clutter/clutter-feature.h +2 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-fixed-layout.h +2 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-flow-layout.h +14 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-gesture-action.h +27 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-group.h +1 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-image.h +2 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-input-device.h +20 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-interval.h +18 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-layout-manager.h +13 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-layout-meta.h +2 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-list-model.h +3 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-macros.h +67 -33
- data/vendor/local/include/clutter-1.0/clutter/clutter-main.h +36 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-model.h +42 -1
- data/vendor/local/include/clutter-1.0/clutter/clutter-offscreen-effect.h +4 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-page-turn-effect.h +9 -1
- data/vendor/local/include/clutter-1.0/clutter/clutter-paint-nodes.h +5 -5
- data/vendor/local/include/clutter-1.0/clutter/clutter-pan-action.h +2 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-path-constraint.h +7 -1
- data/vendor/local/include/clutter-1.0/clutter/clutter-path.h +26 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-property-transition.h +2 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-rotate-action.h +2 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-script.h +16 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-scriptable.h +5 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-scroll-actor.h +2 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-settings.h +2 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-shader-effect.h +9 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-shader-types.h +10 -1
- data/vendor/local/include/clutter-1.0/clutter/clutter-snap-constraint.h +9 -1
- data/vendor/local/include/clutter-1.0/clutter/clutter-stage-manager.h +5 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-stage.h +35 -9
- data/vendor/local/include/clutter-1.0/clutter/clutter-swipe-action.h +4 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-tap-action.h +2 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-test-utils.h +164 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-text-buffer.h +2 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-text.h +67 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-texture.h +2 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-timeline.h +25 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-transition-group.h +2 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-transition.h +2 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-types.h +60 -6
- data/vendor/local/include/clutter-1.0/clutter/clutter-units.h +18 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-version.h +37 -20
- data/vendor/local/include/clutter-1.0/clutter/clutter-zoom-action.h +2 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter.h +2 -3
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-fixed.h +1 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-state.h +3 -3
- data/vendor/local/include/clutter-1.0/clutter/{clutter-table-layout.h → deprecated/clutter-table-layout.h} +15 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-timeout-pool.h +1 -1
- data/vendor/local/include/clutter-1.0/clutter/win32/clutter-win32.h +5 -0
- data/vendor/local/include/cogl/cogl-pango/cogl-pango.h +33 -14
- data/vendor/local/include/cogl/cogl-path/cogl-path-types.h +18 -14
- data/vendor/local/include/cogl/cogl-path/cogl-path.h +22 -12
- data/vendor/local/include/cogl/cogl-path/cogl1-path-functions.h +20 -13
- data/vendor/local/include/cogl/cogl-path/cogl2-path-functions.h +35 -13
- data/vendor/local/include/cogl/cogl/cogl-atlas-texture.h +81 -53
- data/vendor/local/include/cogl/cogl/cogl-attribute-buffer.h +31 -11
- data/vendor/local/include/cogl/cogl/cogl-attribute.h +31 -11
- data/vendor/local/include/cogl/cogl/cogl-auto-texture.h +221 -0
- data/vendor/local/include/cogl/cogl/cogl-bitmap.h +31 -11
- data/vendor/local/include/cogl/cogl/cogl-buffer.h +26 -13
- data/vendor/local/include/cogl/cogl/cogl-clip-state.h +244 -15
- data/vendor/local/include/cogl/cogl/cogl-clutter.h +18 -13
- data/vendor/local/include/cogl/cogl/cogl-color.h +31 -11
- data/vendor/local/include/cogl/cogl/cogl-context.h +41 -14
- data/vendor/local/include/cogl/cogl/cogl-defines.h +20 -13
- data/vendor/local/include/cogl/cogl/cogl-deprecated.h +18 -11
- data/vendor/local/include/cogl/cogl/cogl-depth-state.h +20 -14
- data/vendor/local/include/cogl/cogl/cogl-display.h +33 -14
- data/vendor/local/include/cogl/cogl/cogl-enum-types.h +9 -6
- data/vendor/local/include/cogl/cogl/cogl-error.h +20 -15
- data/vendor/local/include/cogl/cogl/cogl-euler.h +31 -13
- data/vendor/local/include/cogl/cogl/cogl-fence.h +20 -13
- data/vendor/local/include/cogl/cogl/cogl-fixed.h +20 -13
- data/vendor/local/include/cogl/cogl/cogl-frame-info.h +31 -12
- data/vendor/local/include/cogl/cogl/cogl-framebuffer-deprecated.h +264 -0
- data/vendor/local/include/cogl/cogl/cogl-framebuffer.h +70 -29
- data/vendor/local/include/cogl/cogl/cogl-gles2.h +64 -18
- data/vendor/local/include/cogl/cogl/cogl-glib-source.h +18 -11
- data/vendor/local/include/cogl/cogl/cogl-index-buffer.h +31 -11
- data/vendor/local/include/cogl/cogl/cogl-indices.h +31 -11
- data/vendor/local/include/cogl/cogl/cogl-macros.h +33 -13
- data/vendor/local/include/cogl/cogl/cogl-material-compat.h +20 -13
- data/vendor/local/include/cogl/cogl/cogl-matrix-stack.h +37 -12
- data/vendor/local/include/cogl/cogl/cogl-matrix.h +34 -15
- data/vendor/local/include/cogl/cogl/cogl-meta-texture.h +25 -12
- data/vendor/local/include/cogl/cogl/cogl-object.h +40 -12
- data/vendor/local/include/cogl/cogl/cogl-offscreen.h +31 -11
- data/vendor/local/include/cogl/cogl/cogl-onscreen-template.h +31 -12
- data/vendor/local/include/cogl/cogl/cogl-onscreen.h +63 -12
- data/vendor/local/include/cogl/cogl/cogl-output.h +31 -12
- data/vendor/local/include/cogl/cogl/cogl-pango.h +18 -11
- data/vendor/local/include/cogl/cogl/cogl-pipeline-layer-state.h +20 -13
- data/vendor/local/include/cogl/cogl/cogl-pipeline-state.h +20 -13
- data/vendor/local/include/cogl/cogl/cogl-pipeline.h +31 -11
- data/vendor/local/include/cogl/cogl/cogl-pixel-buffer.h +31 -11
- data/vendor/local/include/cogl/cogl/cogl-poll.h +20 -14
- data/vendor/local/include/cogl/cogl/cogl-primitive-texture.h +25 -12
- data/vendor/local/include/cogl/cogl/cogl-primitive.h +32 -13
- data/vendor/local/include/cogl/cogl/cogl-primitives.h +20 -13
- data/vendor/local/include/cogl/cogl/cogl-quaternion.h +34 -15
- data/vendor/local/include/cogl/cogl/cogl-renderer.h +33 -15
- data/vendor/local/include/cogl/cogl/cogl-shader.h +20 -13
- data/vendor/local/include/cogl/cogl/cogl-snippet.h +27 -12
- data/vendor/local/include/cogl/cogl/cogl-sub-texture.h +29 -15
- data/vendor/local/include/cogl/cogl/cogl-swap-chain.h +33 -13
- data/vendor/local/include/cogl/cogl/cogl-texture-2d-gl.h +29 -24
- data/vendor/local/include/cogl/cogl/cogl-texture-2d-sliced.h +54 -49
- data/vendor/local/include/cogl/cogl/cogl-texture-2d.h +81 -65
- data/vendor/local/include/cogl/cogl/cogl-texture-3d.h +71 -54
- data/vendor/local/include/cogl/cogl/cogl-texture-deprecated.h +105 -0
- data/vendor/local/include/cogl/cogl/cogl-texture-rectangle.h +61 -48
- data/vendor/local/include/cogl/cogl/cogl-texture.h +157 -241
- data/vendor/local/include/cogl/cogl/cogl-type-casts.h +53 -0
- data/vendor/local/include/cogl/cogl/cogl-types.h +23 -11
- data/vendor/local/include/cogl/cogl/cogl-vector.h +20 -15
- data/vendor/local/include/cogl/cogl/cogl-version.h +28 -12
- data/vendor/local/include/cogl/cogl/cogl-vertex-buffer.h +20 -13
- data/vendor/local/include/cogl/cogl/cogl-win32-renderer.h +18 -13
- data/vendor/local/include/cogl/cogl/cogl.h +61 -22
- data/vendor/local/include/cogl/cogl/cogl1-context.h +20 -434
- data/vendor/local/include/cogl/cogl/cogl2-experimental.h +18 -12
- data/vendor/local/include/cogl/cogl/deprecated/cogl-auto-texture.h +221 -0
- data/vendor/local/include/cogl/cogl/deprecated/cogl-clip-state.h +266 -0
- data/vendor/local/include/cogl/cogl/deprecated/cogl-clutter.h +54 -0
- data/vendor/local/include/cogl/cogl/deprecated/cogl-fixed.h +811 -0
- data/vendor/local/include/cogl/cogl/deprecated/cogl-framebuffer-deprecated.h +264 -0
- data/vendor/local/include/cogl/cogl/deprecated/cogl-material-compat.h +1391 -0
- data/vendor/local/include/cogl/cogl/deprecated/cogl-shader.h +704 -0
- data/vendor/local/include/cogl/cogl/deprecated/cogl-texture-deprecated.h +105 -0
- data/vendor/local/include/cogl/cogl/deprecated/cogl-type-casts.h +53 -0
- data/vendor/local/include/cogl/cogl/deprecated/cogl-vertex-buffer.h +451 -0
- data/vendor/local/include/cogl/cogl/gl-prototypes/cogl-core-functions.h +18 -11
- data/vendor/local/include/cogl/cogl/gl-prototypes/cogl-gles2-functions.h +18 -11
- data/vendor/local/include/cogl/cogl/gl-prototypes/cogl-glsl-functions.h +18 -11
- data/vendor/local/include/cogl/cogl/gl-prototypes/cogl-in-gles-core-functions.h +18 -11
- data/vendor/local/include/cogl/cogl/gl-prototypes/cogl-in-gles2-core-functions.h +18 -11
- data/vendor/local/include/json-glib-1.0/json-glib/json-builder.h +21 -7
- data/vendor/local/include/json-glib-1.0/json-glib/json-enum-types.h +8 -3
- data/vendor/local/include/json-glib-1.0/json-glib/json-generator.h +16 -3
- data/vendor/local/include/json-glib-1.0/json-glib/json-glib.h +1 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-gobject.h +23 -5
- data/vendor/local/include/json-glib-1.0/json-glib/json-gvariant.h +9 -2
- data/vendor/local/include/json-glib-1.0/json-glib/json-parser.h +17 -4
- data/vendor/local/include/json-glib-1.0/json-glib/json-path.h +13 -8
- data/vendor/local/include/json-glib-1.0/json-glib/json-reader.h +28 -7
- data/vendor/local/include/json-glib-1.0/json-glib/json-types.h +97 -12
- data/vendor/local/include/json-glib-1.0/json-glib/json-version-macros.h +135 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-version.h +14 -12
- data/vendor/local/lib/girepository-1.0/Clutter-1.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/Cogl-1.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/Cogl-2.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/CoglPango-1.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/CoglPango-2.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/Json-1.0.typelib +0 -0
- data/vendor/local/lib/libclutter-1.0.dll.a +0 -0
- data/vendor/local/lib/libclutter-1.0.la +4 -4
- data/vendor/local/lib/libcogl-pango.dll.a +0 -0
- data/vendor/local/lib/libcogl-pango.la +5 -5
- data/vendor/local/lib/libcogl-path.dll.a +0 -0
- data/vendor/local/lib/libcogl-path.la +41 -0
- data/vendor/local/lib/libcogl.dll.a +0 -0
- data/vendor/local/lib/libcogl.la +5 -5
- data/vendor/local/lib/libjson-glib-1.0.dll.a +0 -0
- data/vendor/local/lib/libjson-glib-1.0.la +3 -3
- data/vendor/local/lib/pkgconfig/cally-1.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/clutter-1.0.pc +2 -2
- data/vendor/local/lib/pkgconfig/clutter-win32-1.0.pc +2 -2
- data/vendor/local/lib/pkgconfig/cogl-1.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/cogl-gl-1.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/cogl-pango-1.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/cogl-pango-2.0-experimental.pc +3 -3
- data/vendor/local/lib/pkgconfig/cogl-path-1.0.pc +13 -0
- data/vendor/local/lib/pkgconfig/cogl-path-2.0-experimental.pc +13 -0
- data/vendor/local/lib/pkgconfig/json-glib-1.0.pc +1 -1
- data/vendor/local/share/gir-1.0/Cally-1.0.gir +4 -2
- data/vendor/local/share/gir-1.0/Clutter-1.0.gir +4527 -1814
- data/vendor/local/share/gir-1.0/Cogl-1.0.gir +1194 -1881
- data/vendor/local/share/gir-1.0/Cogl-2.0.gir +20369 -0
- data/vendor/local/share/gir-1.0/CoglPango-1.0.gir +9 -5
- data/vendor/local/share/gir-1.0/CoglPango-2.0.gir +331 -0
- data/vendor/local/share/gir-1.0/Json-1.0.gir +363 -163
- data/vendor/local/share/gtk-doc/html/cally/CallyActor.html +356 -259
- data/vendor/local/share/gtk-doc/html/cally/CallyClone.html +91 -69
- data/vendor/local/share/gtk-doc/html/cally/CallyGroup.html +89 -71
- data/vendor/local/share/gtk-doc/html/cally/CallyRectangle.html +90 -68
- data/vendor/local/share/gtk-doc/html/cally/CallyRoot.html +72 -59
- data/vendor/local/share/gtk-doc/html/cally/CallyStage.html +92 -70
- data/vendor/local/share/gtk-doc/html/cally/CallyText.html +90 -66
- data/vendor/local/share/gtk-doc/html/cally/CallyTexture.html +90 -68
- data/vendor/local/share/gtk-doc/html/cally/CallyUtil.html +42 -37
- data/vendor/local/share/gtk-doc/html/cally/cally-General-API.html +109 -86
- data/vendor/local/share/gtk-doc/html/cally/cally.devhelp2 +16 -16
- data/vendor/local/share/gtk-doc/html/cally/callyannotationglossary.html +4 -4
- data/vendor/local/share/gtk-doc/html/cally/callybase.html +4 -4
- data/vendor/local/share/gtk-doc/html/cally/callyobjecthierarchy.html +16 -16
- data/vendor/local/share/gtk-doc/html/cally/callyobjectindex.html +4 -4
- data/vendor/local/share/gtk-doc/html/cally/callyobjects.html +4 -4
- data/vendor/local/share/gtk-doc/html/cally/ch01.html +4 -4
- data/vendor/local/share/gtk-doc/html/cally/ch02.html +4 -4
- data/vendor/local/share/gtk-doc/html/cally/clutter-overview.html +4 -4
- data/vendor/local/share/gtk-doc/html/cally/index.html +3 -3
- data/vendor/local/share/gtk-doc/html/cally/index.sgml +47 -29
- data/vendor/local/share/gtk-doc/html/cally/ix01.html +27 -29
- data/vendor/local/share/gtk-doc/html/cally/ix02.html +4 -4
- data/vendor/local/share/gtk-doc/html/cally/ix03.html +25 -27
- data/vendor/local/share/gtk-doc/html/cally/ix04.html +6 -6
- data/vendor/local/share/gtk-doc/html/cally/license.html +4 -4
- data/vendor/local/share/gtk-doc/html/cally/style.css +260 -105
- data/vendor/local/share/gtk-doc/html/clutter/ClutterAction.html +47 -45
- data/vendor/local/share/gtk-doc/html/clutter/ClutterActor.html +11634 -9660
- data/vendor/local/share/gtk-doc/html/clutter/ClutterActorMeta.html +283 -206
- data/vendor/local/share/gtk-doc/html/clutter/ClutterAlignConstraint.html +335 -242
- data/vendor/local/share/gtk-doc/html/clutter/ClutterAlpha.html +595 -523
- data/vendor/local/share/gtk-doc/html/clutter/ClutterAnimatable.html +341 -273
- data/vendor/local/share/gtk-doc/html/clutter/ClutterAnimator.html +995 -804
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBackend.html +583 -432
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviour.html +565 -457
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourDepth.html +207 -169
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourEllipse.html +718 -518
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourOpacity.html +211 -172
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourPath.html +338 -283
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourRotate.html +506 -367
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourScale.html +322 -275
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBinLayout.html +329 -901
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBindConstraint.html +374 -553
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBlurEffect.html +65 -55
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBox.html +491 -419
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBoxLayout.html +1032 -790
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBrightnessContrastEffect.html +316 -243
- data/vendor/local/share/gtk-doc/html/clutter/ClutterCairoTexture.html +613 -755
- data/vendor/local/share/gtk-doc/html/clutter/ClutterCanvas.html +367 -373
- data/vendor/local/share/gtk-doc/html/clutter/ClutterChildMeta.html +181 -144
- data/vendor/local/share/gtk-doc/html/clutter/ClutterClickAction.html +399 -316
- data/vendor/local/share/gtk-doc/html/clutter/ClutterClone.html +177 -135
- data/vendor/local/share/gtk-doc/html/clutter/ClutterColorizeEffect.html +154 -105
- data/vendor/local/share/gtk-doc/html/clutter/ClutterConstraint.html +137 -262
- data/vendor/local/share/gtk-doc/html/clutter/ClutterContainer.html +1119 -851
- data/vendor/local/share/gtk-doc/html/clutter/ClutterContent.html +238 -177
- data/vendor/local/share/gtk-doc/html/clutter/ClutterDeformEffect.html +293 -225
- data/vendor/local/share/gtk-doc/html/clutter/ClutterDesaturateEffect.html +159 -114
- data/vendor/local/share/gtk-doc/html/clutter/ClutterDeviceManager.html +330 -243
- data/vendor/local/share/gtk-doc/html/clutter/ClutterDragAction.html +772 -873
- data/vendor/local/share/gtk-doc/html/clutter/ClutterDropAction.html +304 -766
- data/vendor/local/share/gtk-doc/html/clutter/ClutterEffect.html +353 -267
- data/vendor/local/share/gtk-doc/html/clutter/ClutterFixedLayout.html +70 -57
- data/vendor/local/share/gtk-doc/html/clutter/ClutterFlowLayout.html +646 -825
- data/vendor/local/share/gtk-doc/html/clutter/ClutterGestureAction.html +991 -555
- data/vendor/local/share/gtk-doc/html/clutter/ClutterGridLayout.html +725 -510
- data/vendor/local/share/gtk-doc/html/clutter/ClutterGroup.html +177 -133
- data/vendor/local/share/gtk-doc/html/clutter/ClutterImage.html +380 -512
- data/vendor/local/share/gtk-doc/html/clutter/ClutterInputDevice.html +1252 -962
- data/vendor/local/share/gtk-doc/html/clutter/ClutterKeyframeTransition.html +414 -320
- data/vendor/local/share/gtk-doc/html/clutter/ClutterLayoutManager.html +830 -923
- data/vendor/local/share/gtk-doc/html/clutter/ClutterLayoutMeta.html +118 -87
- data/vendor/local/share/gtk-doc/html/clutter/ClutterListModel.html +144 -130
- data/vendor/local/share/gtk-doc/html/clutter/ClutterMedia.html +742 -586
- data/vendor/local/share/gtk-doc/html/clutter/ClutterModel.html +1398 -1058
- data/vendor/local/share/gtk-doc/html/clutter/ClutterModelIter.html +563 -425
- data/vendor/local/share/gtk-doc/html/clutter/ClutterOffscreenEffect.html +322 -265
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPageTurnEffect.html +292 -194
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPaintNode.html +473 -333
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPanAction.html +653 -489
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPath.html +1107 -855
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPathConstraint.html +277 -188
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPropertyTransition.html +178 -130
- data/vendor/local/share/gtk-doc/html/clutter/ClutterRectangle.html +334 -216
- data/vendor/local/share/gtk-doc/html/clutter/ClutterRotateAction.html +131 -95
- data/vendor/local/share/gtk-doc/html/clutter/ClutterScore.html +709 -569
- data/vendor/local/share/gtk-doc/html/clutter/ClutterScript.html +958 -899
- data/vendor/local/share/gtk-doc/html/clutter/ClutterScriptable.html +242 -186
- data/vendor/local/share/gtk-doc/html/clutter/ClutterScrollActor.html +263 -606
- data/vendor/local/share/gtk-doc/html/clutter/ClutterSettings.html +243 -165
- data/vendor/local/share/gtk-doc/html/clutter/ClutterShaderEffect.html +469 -368
- data/vendor/local/share/gtk-doc/html/clutter/ClutterSnapConstraint.html +353 -245
- data/vendor/local/share/gtk-doc/html/clutter/ClutterStage.html +1967 -1513
- data/vendor/local/share/gtk-doc/html/clutter/ClutterState.html +1273 -1005
- data/vendor/local/share/gtk-doc/html/clutter/ClutterSwipeAction.html +200 -144
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTableLayout.html +995 -745
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTapAction.html +123 -93
- data/vendor/local/share/gtk-doc/html/clutter/ClutterText.html +2742 -1997
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTextBuffer.html +647 -474
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTexture.html +1482 -1223
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTimeline.html +2161 -1735
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTransition.html +496 -383
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTransitionGroup.html +175 -135
- data/vendor/local/share/gtk-doc/html/clutter/ClutterZoomAction.html +313 -236
- data/vendor/local/share/gtk-doc/html/clutter/annotation-glossary.html +29 -13
- data/vendor/local/share/gtk-doc/html/clutter/building-clutter.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/ch01.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/ch02.html +4 -7
- data/vendor/local/share/gtk-doc/html/clutter/ch03.html +4 -8
- data/vendor/local/share/gtk-doc/html/clutter/ch04.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/ch05.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/ch06.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/ch07.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/ch08.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/ch09.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/ch10.html +5 -5
- data/vendor/local/share/gtk-doc/html/clutter/ch11.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/ch12.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Base-geometric-types.html +3059 -2295
- data/vendor/local/share/gtk-doc/html/clutter/clutter-ClutterGLXTexturePixmap.html +181 -137
- data/vendor/local/share/gtk-doc/html/clutter/clutter-ClutterWaylandSurface.html +340 -197
- data/vendor/local/share/gtk-doc/html/clutter/clutter-ClutterX11TexturePixmap.html +306 -222
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Colors.html +1272 -988
- data/vendor/local/share/gtk-doc/html/clutter/clutter-EGL-Specific-Support.html +154 -69
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Events.html +2714 -1972
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Features.html +151 -116
- data/vendor/local/share/gtk-doc/html/clutter/clutter-GDK-Specific-Support.html +205 -154
- data/vendor/local/share/gtk-doc/html/clutter/clutter-General.html +1455 -1890
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Implicit-Animations.html +1449 -1804
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Intel-CE3100-CE4100-Specific-Support.html +134 -112
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Key-Bindings.html +625 -520
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Paint-Nodes.html +302 -239
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Shaders.html +872 -637
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Stage-Manager.html +293 -213
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Unit-conversion.html +674 -508
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Utilities.html +454 -339
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Value-intervals.html +816 -623
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Versioning-Macros.html +346 -302
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Wayland-compositor-specific-support.html +60 -34
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Wayland-specific-support.html +200 -170
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Win32-Specific-Support.html +162 -119
- data/vendor/local/share/gtk-doc/html/clutter/clutter-X11-Specific-Support.html +678 -565
- data/vendor/local/share/gtk-doc/html/clutter/clutter-overview.html +5 -5
- data/vendor/local/share/gtk-doc/html/clutter/clutter.devhelp2 +1937 -2272
- data/vendor/local/share/gtk-doc/html/clutter/clutteranimation.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/clutterbackends.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/clutterbase.html +4 -11
- data/vendor/local/share/gtk-doc/html/clutter/clutterglossary.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/clutterobjecthierarchy.html +87 -87
- data/vendor/local/share/gtk-doc/html/clutter/clutterobjectindex.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/clutterobjects.html +6 -6
- data/vendor/local/share/gtk-doc/html/clutter/cluttertools.html +5 -5
- data/vendor/local/share/gtk-doc/html/clutter/deprecated.html +11 -4
- data/vendor/local/share/gtk-doc/html/clutter/go01.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/index.html +11 -11
- data/vendor/local/share/gtk-doc/html/clutter/index.sgml +842 -978
- data/vendor/local/share/gtk-doc/html/clutter/iterating-paths.html +7 -7
- data/vendor/local/share/gtk-doc/html/clutter/ix01.html +2005 -1923
- data/vendor/local/share/gtk-doc/html/clutter/ix02.html +663 -470
- data/vendor/local/share/gtk-doc/html/clutter/ix03.html +83 -85
- data/vendor/local/share/gtk-doc/html/clutter/ix04.html +122 -124
- data/vendor/local/share/gtk-doc/html/clutter/ix05.html +217 -219
- data/vendor/local/share/gtk-doc/html/clutter/ix06.html +148 -150
- data/vendor/local/share/gtk-doc/html/clutter/ix07.html +349 -351
- data/vendor/local/share/gtk-doc/html/clutter/ix08.html +177 -179
- data/vendor/local/share/gtk-doc/html/clutter/ix09.html +214 -216
- data/vendor/local/share/gtk-doc/html/clutter/ix10.html +83 -85
- data/vendor/local/share/gtk-doc/html/clutter/ix11.html +80 -82
- data/vendor/local/share/gtk-doc/html/clutter/ix12.html +219 -221
- data/vendor/local/share/gtk-doc/html/clutter/ix13.html +212 -214
- data/vendor/local/share/gtk-doc/html/clutter/ix14.html +22 -32
- data/vendor/local/share/gtk-doc/html/clutter/license.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/migrating-ClutterAnimation.html +16 -16
- data/vendor/local/share/gtk-doc/html/clutter/migrating-ClutterBehaviour.html +15 -15
- data/vendor/local/share/gtk-doc/html/clutter/migrating-ClutterEffect.html +17 -17
- data/vendor/local/share/gtk-doc/html/clutter/migrating-ClutterPath.html +11 -12
- data/vendor/local/share/gtk-doc/html/clutter/migration.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/pt09.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/running-clutter.html +9 -4
- data/vendor/local/share/gtk-doc/html/clutter/style.css +260 -105
- data/vendor/local/share/gtk-doc/html/clutter/using-cairo.html +6 -6
- data/vendor/local/share/gtk-doc/html/json-glib/JsonBuilder.html +513 -392
- data/vendor/local/share/gtk-doc/html/json-glib/JsonGenerator.html +479 -347
- data/vendor/local/share/gtk-doc/html/json-glib/JsonParser.html +804 -600
- data/vendor/local/share/gtk-doc/html/json-glib/JsonPath.html +395 -362
- data/vendor/local/share/gtk-doc/html/json-glib/JsonReader.html +788 -609
- data/vendor/local/share/gtk-doc/html/json-glib/annotation-glossary.html +32 -43
- data/vendor/local/share/gtk-doc/html/json-glib/ch01.html +9 -9
- data/vendor/local/share/gtk-doc/html/json-glib/ch02.html +9 -9
- data/vendor/local/share/gtk-doc/html/json-glib/ch03.html +9 -9
- data/vendor/local/share/gtk-doc/html/json-glib/ch05.html +40 -0
- data/vendor/local/share/gtk-doc/html/json-glib/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/json-glib/index.html +15 -6
- data/vendor/local/share/gtk-doc/html/json-glib/index.sgml +82 -73
- data/vendor/local/share/gtk-doc/html/json-glib/ix01.html +230 -227
- data/vendor/local/share/gtk-doc/html/json-glib/ix02.html +17 -22
- data/vendor/local/share/gtk-doc/html/json-glib/ix03.html +20 -25
- data/vendor/local/share/gtk-doc/html/json-glib/ix04.html +17 -22
- data/vendor/local/share/gtk-doc/html/json-glib/ix05.html +50 -55
- data/vendor/local/share/gtk-doc/html/json-glib/ix06.html +30 -35
- data/vendor/local/share/gtk-doc/html/json-glib/ix07.html +39 -44
- data/vendor/local/share/gtk-doc/html/json-glib/ix08.html +35 -40
- data/vendor/local/share/gtk-doc/html/json-glib/json-advanced.html +12 -9
- data/vendor/local/share/gtk-doc/html/json-glib/json-base.html +9 -9
- data/vendor/local/share/gtk-doc/html/json-glib/json-format-tool.html +84 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-Boxed-Types-Serialization.html +306 -221
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-GObject-Serialization.html +261 -204
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-Array.html +843 -583
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-GVariant-Integration.html +223 -199
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-Node.html +1327 -912
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-Object.html +986 -694
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-Serializable-Interface.html +386 -301
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-Versioning-information.html +151 -87
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib.devhelp2 +204 -218
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib.html +9 -9
- data/vendor/local/share/gtk-doc/html/json-glib/json-streams.html +9 -9
- data/vendor/local/share/gtk-doc/html/json-glib/json-tools.html +19 -13
- data/vendor/local/share/gtk-doc/html/json-glib/json-validate-tool.html +72 -0
- data/vendor/local/share/gtk-doc/html/json-glib/left-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/json-glib/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/json-glib/license.html +9 -9
- data/vendor/local/share/gtk-doc/html/json-glib/right-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/json-glib/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/json-glib/style.css +314 -104
- data/vendor/local/share/gtk-doc/html/json-glib/tools.html +38 -0
- data/vendor/local/share/gtk-doc/html/json-glib/up-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/json-glib/up.png +0 -0
- data/vendor/local/share/license/cogl/COPYING +107 -502
- data/vendor/local/share/locale/an/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/an/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/ar/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ar/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/as/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/as/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/as/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/ast/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ast/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/az_IR/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/be/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/be/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/bg/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/bg/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/bg/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/bn_IN/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/ca/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ca/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/ca/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/da/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/da/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/da/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/en_CA/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/en_GB/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/en_GB/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/en_GB/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/eo/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/eo/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/eo/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/et/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/eu/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/eu/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/eu/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/fa/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/fa/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/fi/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/fur/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/he/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/he/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/he/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/hi/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/hi/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/hi/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/km/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/km/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/kn/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/kn/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/ko/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ko/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/ko/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/ky/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/lv/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/lv/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/lv/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/mk/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ml/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ml/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/ml/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/nl/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/nl/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/or/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/or/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/or/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/pa/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/pa/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/pa/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/ps/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/pt/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/pt/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/pt/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/ro/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/sk/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/sk/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/sk/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/sr@latin/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/sr@latin/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/sr@latin/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/ta/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ta/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/te/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/te/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/te/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/tg/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/th/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/tr/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/tr/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/tr/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/ug/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ug/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/ug/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/uk/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/uk/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/uk/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/ur/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/vi/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/vi/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/yi/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/zh_HK/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/zh_HK/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/zh_HK/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/man/man1/json-glib-format.1 +60 -0
- data/vendor/local/share/man/man1/json-glib-validate.1 +56 -0
- metadata +66 -27
- data/vendor/local/bin/libcogl-pango-15.dll +0 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ch04.html +0 -38
@@ -8,19 +8,16 @@
|
|
8
8
|
<link rel="up" href="ch10.html" title="General purpose API">
|
9
9
|
<link rel="prev" href="clutter-General.html" title="General">
|
10
10
|
<link rel="next" href="ClutterSettings.html" title="ClutterSettings">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.20.1 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
</head>
|
14
14
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
15
|
-
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="
|
16
|
-
<td width="100%" align="left">
|
17
|
-
<a href="#" class="shortcut">Top</a>
|
18
|
-
|
19
|
-
<a href="#ClutterPath.
|
20
|
-
|
21
|
-
<a href="#ClutterPath.object-hierarchy" class="shortcut">Object Hierarchy</a>
|
22
|
-
|
|
23
|
-
<a href="#ClutterPath.properties" class="shortcut">Properties</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="#ClutterPath.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span>
|
19
|
+
<a href="#ClutterPath.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_properties"> <span class="dim">|</span>
|
20
|
+
<a href="#ClutterPath.properties" class="shortcut">Properties</a></span>
|
24
21
|
</td>
|
25
22
|
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
26
23
|
<td><a accesskey="u" href="ch10.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
@@ -35,667 +32,753 @@
|
|
35
32
|
<p>ClutterPath — An object describing a path with straight lines
|
36
33
|
and bezier curves.</p>
|
37
34
|
</td>
|
38
|
-
<td valign="top" align="right"></td>
|
35
|
+
<td class="gallery_image" valign="top" align="right"></td>
|
39
36
|
</tr></table></div>
|
40
|
-
<div class="refsynopsisdiv">
|
41
|
-
<a name="ClutterPath.synopsis"></a><h2>Synopsis</h2>
|
42
|
-
<pre class="synopsis"> <a class="link" href="ClutterPath.html#ClutterPath-struct" title="ClutterPath">ClutterPath</a>;
|
43
|
-
struct <a class="link" href="ClutterPath.html#ClutterPathClass" title="struct ClutterPathClass">ClutterPathClass</a>;
|
44
|
-
<span class="returnvalue">void</span> (<a class="link" href="ClutterPath.html#ClutterPathCallback" title="ClutterPathCallback ()">*ClutterPathCallback</a>) (<em class="parameter"><code>const <a class="link" href="ClutterPath.html#ClutterPathNode" title="struct ClutterPathNode"><span class="type">ClutterPathNode</span></a> *node</code></em>,
|
45
|
-
<em class="parameter"><code><span class="type">gpointer</span> data</code></em>);
|
46
|
-
enum <a class="link" href="ClutterPath.html#ClutterPathNodeType" title="enum ClutterPathNodeType">ClutterPathNodeType</a>;
|
47
|
-
<a class="link" href="ClutterPath.html" title="ClutterPath"><span class="returnvalue">ClutterPath</span></a> * <a class="link" href="ClutterPath.html#clutter-path-new" title="clutter_path_new ()">clutter_path_new</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
48
|
-
<a class="link" href="ClutterPath.html" title="ClutterPath"><span class="returnvalue">ClutterPath</span></a> * <a class="link" href="ClutterPath.html#clutter-path-new-with-description" title="clutter_path_new_with_description ()">clutter_path_new_with_description</a> (<em class="parameter"><code>const <span class="type">gchar</span> *desc</code></em>);
|
49
|
-
|
50
|
-
<span class="returnvalue">void</span> <a class="link" href="ClutterPath.html#clutter-path-add-move-to" title="clutter_path_add_move_to ()">clutter_path_add_move_to</a> (<em class="parameter"><code><a class="link" href="ClutterPath.html" title="ClutterPath"><span class="type">ClutterPath</span></a> *path</code></em>,
|
51
|
-
<em class="parameter"><code><span class="type">gint</span> x</code></em>,
|
52
|
-
<em class="parameter"><code><span class="type">gint</span> y</code></em>);
|
53
|
-
<span class="returnvalue">void</span> <a class="link" href="ClutterPath.html#clutter-path-add-rel-move-to" title="clutter_path_add_rel_move_to ()">clutter_path_add_rel_move_to</a> (<em class="parameter"><code><a class="link" href="ClutterPath.html" title="ClutterPath"><span class="type">ClutterPath</span></a> *path</code></em>,
|
54
|
-
<em class="parameter"><code><span class="type">gint</span> x</code></em>,
|
55
|
-
<em class="parameter"><code><span class="type">gint</span> y</code></em>);
|
56
|
-
<span class="returnvalue">void</span> <a class="link" href="ClutterPath.html#clutter-path-add-line-to" title="clutter_path_add_line_to ()">clutter_path_add_line_to</a> (<em class="parameter"><code><a class="link" href="ClutterPath.html" title="ClutterPath"><span class="type">ClutterPath</span></a> *path</code></em>,
|
57
|
-
<em class="parameter"><code><span class="type">gint</span> x</code></em>,
|
58
|
-
<em class="parameter"><code><span class="type">gint</span> y</code></em>);
|
59
|
-
<span class="returnvalue">void</span> <a class="link" href="ClutterPath.html#clutter-path-add-rel-line-to" title="clutter_path_add_rel_line_to ()">clutter_path_add_rel_line_to</a> (<em class="parameter"><code><a class="link" href="ClutterPath.html" title="ClutterPath"><span class="type">ClutterPath</span></a> *path</code></em>,
|
60
|
-
<em class="parameter"><code><span class="type">gint</span> x</code></em>,
|
61
|
-
<em class="parameter"><code><span class="type">gint</span> y</code></em>);
|
62
|
-
<span class="returnvalue">void</span> <a class="link" href="ClutterPath.html#clutter-path-add-curve-to" title="clutter_path_add_curve_to ()">clutter_path_add_curve_to</a> (<em class="parameter"><code><a class="link" href="ClutterPath.html" title="ClutterPath"><span class="type">ClutterPath</span></a> *path</code></em>,
|
63
|
-
<em class="parameter"><code><span class="type">gint</span> x_1</code></em>,
|
64
|
-
<em class="parameter"><code><span class="type">gint</span> y_1</code></em>,
|
65
|
-
<em class="parameter"><code><span class="type">gint</span> x_2</code></em>,
|
66
|
-
<em class="parameter"><code><span class="type">gint</span> y_2</code></em>,
|
67
|
-
<em class="parameter"><code><span class="type">gint</span> x_3</code></em>,
|
68
|
-
<em class="parameter"><code><span class="type">gint</span> y_3</code></em>);
|
69
|
-
<span class="returnvalue">void</span> <a class="link" href="ClutterPath.html#clutter-path-add-rel-curve-to" title="clutter_path_add_rel_curve_to ()">clutter_path_add_rel_curve_to</a> (<em class="parameter"><code><a class="link" href="ClutterPath.html" title="ClutterPath"><span class="type">ClutterPath</span></a> *path</code></em>,
|
70
|
-
<em class="parameter"><code><span class="type">gint</span> x_1</code></em>,
|
71
|
-
<em class="parameter"><code><span class="type">gint</span> y_1</code></em>,
|
72
|
-
<em class="parameter"><code><span class="type">gint</span> x_2</code></em>,
|
73
|
-
<em class="parameter"><code><span class="type">gint</span> y_2</code></em>,
|
74
|
-
<em class="parameter"><code><span class="type">gint</span> x_3</code></em>,
|
75
|
-
<em class="parameter"><code><span class="type">gint</span> y_3</code></em>);
|
76
|
-
<span class="returnvalue">void</span> <a class="link" href="ClutterPath.html#clutter-path-add-close" title="clutter_path_add_close ()">clutter_path_add_close</a> (<em class="parameter"><code><a class="link" href="ClutterPath.html" title="ClutterPath"><span class="type">ClutterPath</span></a> *path</code></em>);
|
77
|
-
<span class="returnvalue">gboolean</span> <a class="link" href="ClutterPath.html#clutter-path-add-string" title="clutter_path_add_string ()">clutter_path_add_string</a> (<em class="parameter"><code><a class="link" href="ClutterPath.html" title="ClutterPath"><span class="type">ClutterPath</span></a> *path</code></em>,
|
78
|
-
<em class="parameter"><code>const <span class="type">gchar</span> *str</code></em>);
|
79
|
-
<span class="returnvalue">void</span> <a class="link" href="ClutterPath.html#clutter-path-add-node" title="clutter_path_add_node ()">clutter_path_add_node</a> (<em class="parameter"><code><a class="link" href="ClutterPath.html" title="ClutterPath"><span class="type">ClutterPath</span></a> *path</code></em>,
|
80
|
-
<em class="parameter"><code>const <a class="link" href="ClutterPath.html#ClutterPathNode" title="struct ClutterPathNode"><span class="type">ClutterPathNode</span></a> *node</code></em>);
|
81
|
-
<span class="returnvalue">void</span> <a class="link" href="ClutterPath.html#clutter-path-add-cairo-path" title="clutter_path_add_cairo_path ()">clutter_path_add_cairo_path</a> (<em class="parameter"><code><a class="link" href="ClutterPath.html" title="ClutterPath"><span class="type">ClutterPath</span></a> *path</code></em>,
|
82
|
-
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/cairo/cairo-Paths.html#cairo-path-t"><span class="type">cairo_path_t</span></a> *cpath</code></em>);
|
83
|
-
|
84
|
-
<span class="returnvalue">guint</span> <a class="link" href="ClutterPath.html#clutter-path-get-n-nodes" title="clutter_path_get_n_nodes ()">clutter_path_get_n_nodes</a> (<em class="parameter"><code><a class="link" href="ClutterPath.html" title="ClutterPath"><span class="type">ClutterPath</span></a> *path</code></em>);
|
85
|
-
<span class="returnvalue">void</span> <a class="link" href="ClutterPath.html#clutter-path-get-node" title="clutter_path_get_node ()">clutter_path_get_node</a> (<em class="parameter"><code><a class="link" href="ClutterPath.html" title="ClutterPath"><span class="type">ClutterPath</span></a> *path</code></em>,
|
86
|
-
<em class="parameter"><code><span class="type">guint</span> index_</code></em>,
|
87
|
-
<em class="parameter"><code><a class="link" href="ClutterPath.html#ClutterPathNode" title="struct ClutterPathNode"><span class="type">ClutterPathNode</span></a> *node</code></em>);
|
88
|
-
<span class="returnvalue">GSList</span> * <a class="link" href="ClutterPath.html#clutter-path-get-nodes" title="clutter_path_get_nodes ()">clutter_path_get_nodes</a> (<em class="parameter"><code><a class="link" href="ClutterPath.html" title="ClutterPath"><span class="type">ClutterPath</span></a> *path</code></em>);
|
89
|
-
<span class="returnvalue">void</span> <a class="link" href="ClutterPath.html#clutter-path-foreach" title="clutter_path_foreach ()">clutter_path_foreach</a> (<em class="parameter"><code><a class="link" href="ClutterPath.html" title="ClutterPath"><span class="type">ClutterPath</span></a> *path</code></em>,
|
90
|
-
<em class="parameter"><code><a class="link" href="ClutterPath.html#ClutterPathCallback" title="ClutterPathCallback ()"><span class="type">ClutterPathCallback</span></a> callback</code></em>,
|
91
|
-
<em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);
|
92
|
-
<span class="returnvalue">void</span> <a class="link" href="ClutterPath.html#clutter-path-insert-node" title="clutter_path_insert_node ()">clutter_path_insert_node</a> (<em class="parameter"><code><a class="link" href="ClutterPath.html" title="ClutterPath"><span class="type">ClutterPath</span></a> *path</code></em>,
|
93
|
-
<em class="parameter"><code><span class="type">gint</span> index_</code></em>,
|
94
|
-
<em class="parameter"><code>const <a class="link" href="ClutterPath.html#ClutterPathNode" title="struct ClutterPathNode"><span class="type">ClutterPathNode</span></a> *node</code></em>);
|
95
|
-
<span class="returnvalue">void</span> <a class="link" href="ClutterPath.html#clutter-path-remove-node" title="clutter_path_remove_node ()">clutter_path_remove_node</a> (<em class="parameter"><code><a class="link" href="ClutterPath.html" title="ClutterPath"><span class="type">ClutterPath</span></a> *path</code></em>,
|
96
|
-
<em class="parameter"><code><span class="type">guint</span> index_</code></em>);
|
97
|
-
<span class="returnvalue">void</span> <a class="link" href="ClutterPath.html#clutter-path-replace-node" title="clutter_path_replace_node ()">clutter_path_replace_node</a> (<em class="parameter"><code><a class="link" href="ClutterPath.html" title="ClutterPath"><span class="type">ClutterPath</span></a> *path</code></em>,
|
98
|
-
<em class="parameter"><code><span class="type">guint</span> index_</code></em>,
|
99
|
-
<em class="parameter"><code>const <a class="link" href="ClutterPath.html#ClutterPathNode" title="struct ClutterPathNode"><span class="type">ClutterPathNode</span></a> *node</code></em>);
|
100
|
-
<span class="returnvalue">gchar</span> * <a class="link" href="ClutterPath.html#clutter-path-get-description" title="clutter_path_get_description ()">clutter_path_get_description</a> (<em class="parameter"><code><a class="link" href="ClutterPath.html" title="ClutterPath"><span class="type">ClutterPath</span></a> *path</code></em>);
|
101
|
-
<span class="returnvalue">gboolean</span> <a class="link" href="ClutterPath.html#clutter-path-set-description" title="clutter_path_set_description ()">clutter_path_set_description</a> (<em class="parameter"><code><a class="link" href="ClutterPath.html" title="ClutterPath"><span class="type">ClutterPath</span></a> *path</code></em>,
|
102
|
-
<em class="parameter"><code>const <span class="type">gchar</span> *str</code></em>);
|
103
|
-
<span class="returnvalue">void</span> <a class="link" href="ClutterPath.html#clutter-path-to-cairo-path" title="clutter_path_to_cairo_path ()">clutter_path_to_cairo_path</a> (<em class="parameter"><code><a class="link" href="ClutterPath.html" title="ClutterPath"><span class="type">ClutterPath</span></a> *path</code></em>,
|
104
|
-
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-t"><span class="type">cairo_t</span></a> *cr</code></em>);
|
105
|
-
<span class="returnvalue">void</span> <a class="link" href="ClutterPath.html#clutter-path-clear" title="clutter_path_clear ()">clutter_path_clear</a> (<em class="parameter"><code><a class="link" href="ClutterPath.html" title="ClutterPath"><span class="type">ClutterPath</span></a> *path</code></em>);
|
106
|
-
<span class="returnvalue">guint</span> <a class="link" href="ClutterPath.html#clutter-path-get-position" title="clutter_path_get_position ()">clutter_path_get_position</a> (<em class="parameter"><code><a class="link" href="ClutterPath.html" title="ClutterPath"><span class="type">ClutterPath</span></a> *path</code></em>,
|
107
|
-
<em class="parameter"><code><span class="type">gdouble</span> progress</code></em>,
|
108
|
-
<em class="parameter"><code><a class="link" href="clutter-Base-geometric-types.html#ClutterKnot" title="struct ClutterKnot"><span class="type">ClutterKnot</span></a> *position</code></em>);
|
109
|
-
<span class="returnvalue">guint</span> <a class="link" href="ClutterPath.html#clutter-path-get-length" title="clutter_path_get_length ()">clutter_path_get_length</a> (<em class="parameter"><code><a class="link" href="ClutterPath.html" title="ClutterPath"><span class="type">ClutterPath</span></a> *path</code></em>);
|
110
|
-
|
111
|
-
struct <a class="link" href="ClutterPath.html#ClutterPathNode" title="struct ClutterPathNode">ClutterPathNode</a>;
|
112
|
-
<a class="link" href="ClutterPath.html#ClutterPathNode" title="struct ClutterPathNode"><span class="returnvalue">ClutterPathNode</span></a> * <a class="link" href="ClutterPath.html#clutter-path-node-copy" title="clutter_path_node_copy ()">clutter_path_node_copy</a> (<em class="parameter"><code>const <a class="link" href="ClutterPath.html#ClutterPathNode" title="struct ClutterPathNode"><span class="type">ClutterPathNode</span></a> *node</code></em>);
|
113
|
-
<span class="returnvalue">void</span> <a class="link" href="ClutterPath.html#clutter-path-node-free" title="clutter_path_node_free ()">clutter_path_node_free</a> (<em class="parameter"><code><a class="link" href="ClutterPath.html#ClutterPathNode" title="struct ClutterPathNode"><span class="type">ClutterPathNode</span></a> *node</code></em>);
|
114
|
-
<span class="returnvalue">gboolean</span> <a class="link" href="ClutterPath.html#clutter-path-node-equal" title="clutter_path_node_equal ()">clutter_path_node_equal</a> (<em class="parameter"><code>const <a class="link" href="ClutterPath.html#ClutterPathNode" title="struct ClutterPathNode"><span class="type">ClutterPathNode</span></a> *node_a</code></em>,
|
115
|
-
<em class="parameter"><code>const <a class="link" href="ClutterPath.html#ClutterPathNode" title="struct ClutterPathNode"><span class="type">ClutterPathNode</span></a> *node_b</code></em>);
|
116
|
-
</pre>
|
117
|
-
</div>
|
118
|
-
<div class="refsect1">
|
119
|
-
<a name="ClutterPath.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
120
|
-
<pre class="synopsis">
|
121
|
-
GObject
|
122
|
-
+----GInitiallyUnowned
|
123
|
-
+----ClutterPath
|
124
|
-
</pre>
|
125
|
-
</div>
|
126
|
-
<div class="refsect1">
|
127
|
-
<a name="ClutterPath.properties"></a><h2>Properties</h2>
|
128
|
-
<pre class="synopsis">
|
129
|
-
"<a class="link" href="ClutterPath.html#ClutterPath--description" title='The "description" property'>description</a>" <span class="type">gchar</span>* : Read / Write
|
130
|
-
"<a class="link" href="ClutterPath.html#ClutterPath--length" title='The "length" property'>length</a>" <span class="type">guint</span> : Read
|
131
|
-
</pre>
|
132
|
-
</div>
|
133
37
|
<div class="refsect1">
|
134
|
-
<a name="ClutterPath.
|
135
|
-
<
|
136
|
-
A <a class="link" href="ClutterPath.html" title="ClutterPath"><span class="type">ClutterPath</span></a> contains a description of a path consisting of
|
137
|
-
straight lines and bezier curves. This can be used in a
|
138
|
-
<a class="link" href="ClutterBehaviourPath.html" title="ClutterBehaviourPath"><span class="type">ClutterBehaviourPath</span></a> to animate an actor moving along the path.
|
139
|
-
</p>
|
140
|
-
<p>
|
141
|
-
The path consists of a series of nodes. Each node is one of the
|
142
|
-
following four types:
|
143
|
-
</p>
|
144
|
-
<p>
|
145
|
-
</p>
|
146
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
38
|
+
<a name="ClutterPath.functions"></a><h2>Functions</h2>
|
39
|
+
<div class="informaltable"><table width="100%" border="0">
|
147
40
|
<colgroup>
|
148
|
-
<col
|
149
|
-
<col>
|
41
|
+
<col width="150px" class="functions_return">
|
42
|
+
<col class="functions_name">
|
150
43
|
</colgroup>
|
151
44
|
<tbody>
|
152
45
|
<tr>
|
153
|
-
<td
|
154
|
-
<
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
new position when animated.
|
160
|
-
</p></td>
|
46
|
+
<td class="function_type">
|
47
|
+
<span class="returnvalue">void</span>
|
48
|
+
</td>
|
49
|
+
<td class="function_name">
|
50
|
+
<span class="c_punctuation">(</span><a class="link" href="ClutterPath.html#ClutterPathCallback" title="ClutterPathCallback ()">*ClutterPathCallback</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
|
51
|
+
</td>
|
161
52
|
</tr>
|
162
53
|
<tr>
|
163
|
-
<td
|
164
|
-
<
|
165
|
-
|
166
|
-
|
54
|
+
<td class="function_type">
|
55
|
+
<a class="link" href="ClutterPath.html" title="ClutterPath"><span class="returnvalue">ClutterPath</span></a> *
|
56
|
+
</td>
|
57
|
+
<td class="function_name">
|
58
|
+
<a class="link" href="ClutterPath.html#clutter-path-new" title="clutter_path_new ()">clutter_path_new</a> <span class="c_punctuation">()</span>
|
59
|
+
</td>
|
167
60
|
</tr>
|
168
61
|
<tr>
|
169
|
-
<td
|
170
|
-
<
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
</
|
62
|
+
<td class="function_type">
|
63
|
+
<a class="link" href="ClutterPath.html" title="ClutterPath"><span class="returnvalue">ClutterPath</span></a> *
|
64
|
+
</td>
|
65
|
+
<td class="function_name">
|
66
|
+
<a class="link" href="ClutterPath.html#clutter-path-new-with-description" title="clutter_path_new_with_description ()">clutter_path_new_with_description</a> <span class="c_punctuation">()</span>
|
67
|
+
</td>
|
175
68
|
</tr>
|
176
69
|
<tr>
|
177
|
-
<td
|
178
|
-
<
|
179
|
-
|
180
|
-
<
|
181
|
-
|
182
|
-
</
|
70
|
+
<td class="function_type">
|
71
|
+
<span class="returnvalue">void</span>
|
72
|
+
</td>
|
73
|
+
<td class="function_name">
|
74
|
+
<a class="link" href="ClutterPath.html#clutter-path-add-move-to" title="clutter_path_add_move_to ()">clutter_path_add_move_to</a> <span class="c_punctuation">()</span>
|
75
|
+
</td>
|
183
76
|
</tr>
|
184
|
-
</tbody>
|
185
|
-
</table></div>
|
186
|
-
<p>
|
187
|
-
</p>
|
188
|
-
<p>
|
189
|
-
The first three types have the corresponding relative versions
|
190
|
-
<a class="link" href="ClutterPath.html#CLUTTER-PATH-REL-MOVE-TO:CAPS"><code class="literal">CLUTTER_PATH_REL_MOVE_TO</code></a>, <a class="link" href="ClutterPath.html#CLUTTER-PATH-REL-LINE-TO:CAPS"><code class="literal">CLUTTER_PATH_REL_LINE_TO</code></a> and
|
191
|
-
<a class="link" href="ClutterPath.html#CLUTTER-PATH-REL-CURVE-TO:CAPS"><code class="literal">CLUTTER_PATH_REL_CURVE_TO</code></a>. These are exactly the same except the
|
192
|
-
coordinates are given relative to the previous node instead of as
|
193
|
-
direct screen positions.
|
194
|
-
</p>
|
195
|
-
<p>
|
196
|
-
You can build a path using the node adding functions such as
|
197
|
-
<a class="link" href="ClutterPath.html#clutter-path-add-line-to" title="clutter_path_add_line_to ()"><code class="function">clutter_path_add_line_to()</code></a>. Alternatively the path can be described
|
198
|
-
in a string using a subset of the SVG path syntax. See
|
199
|
-
<a class="link" href="ClutterPath.html#clutter-path-add-string" title="clutter_path_add_string ()"><code class="function">clutter_path_add_string()</code></a> for details.
|
200
|
-
</p>
|
201
|
-
<p>
|
202
|
-
<a class="link" href="ClutterPath.html" title="ClutterPath"><span class="type">ClutterPath</span></a> is available since Clutter 1.0
|
203
|
-
</p>
|
204
|
-
</div>
|
205
|
-
<div class="refsect1">
|
206
|
-
<a name="ClutterPath.details"></a><h2>Details</h2>
|
207
|
-
<div class="refsect2">
|
208
|
-
<a name="ClutterPath-struct"></a><h3>ClutterPath</h3>
|
209
|
-
<pre class="programlisting">typedef struct _ClutterPath ClutterPath;</pre>
|
210
|
-
<p>
|
211
|
-
The <a class="link" href="ClutterPath.html" title="ClutterPath"><span class="type">ClutterPath</span></a> struct contains only private data and should
|
212
|
-
be accessed with the functions below.
|
213
|
-
</p>
|
214
|
-
<p class="since">Since 1.0</p>
|
215
|
-
</div>
|
216
|
-
<hr>
|
217
|
-
<div class="refsect2">
|
218
|
-
<a name="ClutterPathClass"></a><h3>struct ClutterPathClass</h3>
|
219
|
-
<pre class="programlisting">struct ClutterPathClass {
|
220
|
-
};
|
221
|
-
</pre>
|
222
|
-
<p>
|
223
|
-
The <a class="link" href="ClutterPath.html#ClutterPathClass" title="struct ClutterPathClass"><span class="type">ClutterPathClass</span></a> struct contains only private data.
|
224
|
-
</p>
|
225
|
-
<p class="since">Since 1.0</p>
|
226
|
-
</div>
|
227
|
-
<hr>
|
228
|
-
<div class="refsect2">
|
229
|
-
<a name="ClutterPathCallback"></a><h3>ClutterPathCallback ()</h3>
|
230
|
-
<pre class="programlisting"><span class="returnvalue">void</span> (*ClutterPathCallback) (<em class="parameter"><code>const <a class="link" href="ClutterPath.html#ClutterPathNode" title="struct ClutterPathNode"><span class="type">ClutterPathNode</span></a> *node</code></em>,
|
231
|
-
<em class="parameter"><code><span class="type">gpointer</span> data</code></em>);</pre>
|
232
|
-
<p>
|
233
|
-
This function is passed to <a class="link" href="ClutterPath.html#clutter-path-foreach" title="clutter_path_foreach ()"><code class="function">clutter_path_foreach()</code></a> and will be
|
234
|
-
called for each node contained in the path.
|
235
|
-
</p>
|
236
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
237
|
-
<colgroup>
|
238
|
-
<col align="left" valign="top">
|
239
|
-
<col>
|
240
|
-
</colgroup>
|
241
|
-
<tbody>
|
242
77
|
<tr>
|
243
|
-
<td
|
244
|
-
<
|
78
|
+
<td class="function_type">
|
79
|
+
<span class="returnvalue">void</span>
|
80
|
+
</td>
|
81
|
+
<td class="function_name">
|
82
|
+
<a class="link" href="ClutterPath.html#clutter-path-add-rel-move-to" title="clutter_path_add_rel_move_to ()">clutter_path_add_rel_move_to</a> <span class="c_punctuation">()</span>
|
83
|
+
</td>
|
245
84
|
</tr>
|
246
85
|
<tr>
|
247
|
-
<td
|
248
|
-
<
|
86
|
+
<td class="function_type">
|
87
|
+
<span class="returnvalue">void</span>
|
88
|
+
</td>
|
89
|
+
<td class="function_name">
|
90
|
+
<a class="link" href="ClutterPath.html#clutter-path-add-line-to" title="clutter_path_add_line_to ()">clutter_path_add_line_to</a> <span class="c_punctuation">()</span>
|
91
|
+
</td>
|
92
|
+
</tr>
|
93
|
+
<tr>
|
94
|
+
<td class="function_type">
|
95
|
+
<span class="returnvalue">void</span>
|
96
|
+
</td>
|
97
|
+
<td class="function_name">
|
98
|
+
<a class="link" href="ClutterPath.html#clutter-path-add-rel-line-to" title="clutter_path_add_rel_line_to ()">clutter_path_add_rel_line_to</a> <span class="c_punctuation">()</span>
|
99
|
+
</td>
|
100
|
+
</tr>
|
101
|
+
<tr>
|
102
|
+
<td class="function_type">
|
103
|
+
<span class="returnvalue">void</span>
|
104
|
+
</td>
|
105
|
+
<td class="function_name">
|
106
|
+
<a class="link" href="ClutterPath.html#clutter-path-add-curve-to" title="clutter_path_add_curve_to ()">clutter_path_add_curve_to</a> <span class="c_punctuation">()</span>
|
107
|
+
</td>
|
108
|
+
</tr>
|
109
|
+
<tr>
|
110
|
+
<td class="function_type">
|
111
|
+
<span class="returnvalue">void</span>
|
112
|
+
</td>
|
113
|
+
<td class="function_name">
|
114
|
+
<a class="link" href="ClutterPath.html#clutter-path-add-rel-curve-to" title="clutter_path_add_rel_curve_to ()">clutter_path_add_rel_curve_to</a> <span class="c_punctuation">()</span>
|
115
|
+
</td>
|
116
|
+
</tr>
|
117
|
+
<tr>
|
118
|
+
<td class="function_type">
|
119
|
+
<span class="returnvalue">void</span>
|
120
|
+
</td>
|
121
|
+
<td class="function_name">
|
122
|
+
<a class="link" href="ClutterPath.html#clutter-path-add-close" title="clutter_path_add_close ()">clutter_path_add_close</a> <span class="c_punctuation">()</span>
|
123
|
+
</td>
|
124
|
+
</tr>
|
125
|
+
<tr>
|
126
|
+
<td class="function_type">
|
127
|
+
<span class="returnvalue">gboolean</span>
|
128
|
+
</td>
|
129
|
+
<td class="function_name">
|
130
|
+
<a class="link" href="ClutterPath.html#clutter-path-add-string" title="clutter_path_add_string ()">clutter_path_add_string</a> <span class="c_punctuation">()</span>
|
131
|
+
</td>
|
132
|
+
</tr>
|
133
|
+
<tr>
|
134
|
+
<td class="function_type">
|
135
|
+
<span class="returnvalue">void</span>
|
136
|
+
</td>
|
137
|
+
<td class="function_name">
|
138
|
+
<a class="link" href="ClutterPath.html#clutter-path-add-node" title="clutter_path_add_node ()">clutter_path_add_node</a> <span class="c_punctuation">()</span>
|
139
|
+
</td>
|
140
|
+
</tr>
|
141
|
+
<tr>
|
142
|
+
<td class="function_type">
|
143
|
+
<span class="returnvalue">void</span>
|
144
|
+
</td>
|
145
|
+
<td class="function_name">
|
146
|
+
<a class="link" href="ClutterPath.html#clutter-path-add-cairo-path" title="clutter_path_add_cairo_path ()">clutter_path_add_cairo_path</a> <span class="c_punctuation">()</span>
|
147
|
+
</td>
|
148
|
+
</tr>
|
149
|
+
<tr>
|
150
|
+
<td class="function_type">
|
151
|
+
<span class="returnvalue">guint</span>
|
152
|
+
</td>
|
153
|
+
<td class="function_name">
|
154
|
+
<a class="link" href="ClutterPath.html#clutter-path-get-n-nodes" title="clutter_path_get_n_nodes ()">clutter_path_get_n_nodes</a> <span class="c_punctuation">()</span>
|
155
|
+
</td>
|
156
|
+
</tr>
|
157
|
+
<tr>
|
158
|
+
<td class="function_type">
|
159
|
+
<span class="returnvalue">void</span>
|
160
|
+
</td>
|
161
|
+
<td class="function_name">
|
162
|
+
<a class="link" href="ClutterPath.html#clutter-path-get-node" title="clutter_path_get_node ()">clutter_path_get_node</a> <span class="c_punctuation">()</span>
|
249
163
|
</td>
|
250
164
|
</tr>
|
251
|
-
</tbody>
|
252
|
-
</table></div>
|
253
|
-
<p class="since">Since 1.0</p>
|
254
|
-
</div>
|
255
|
-
<hr>
|
256
|
-
<div class="refsect2">
|
257
|
-
<a name="ClutterPathNodeType"></a><h3>enum ClutterPathNodeType</h3>
|
258
|
-
<pre class="programlisting">typedef enum {
|
259
|
-
CLUTTER_PATH_MOVE_TO = 0,
|
260
|
-
CLUTTER_PATH_LINE_TO = 1,
|
261
|
-
CLUTTER_PATH_CURVE_TO = 2,
|
262
|
-
CLUTTER_PATH_CLOSE = 3,
|
263
|
-
|
264
|
-
CLUTTER_PATH_REL_MOVE_TO = CLUTTER_PATH_MOVE_TO | CLUTTER_PATH_RELATIVE,
|
265
|
-
CLUTTER_PATH_REL_LINE_TO = CLUTTER_PATH_LINE_TO | CLUTTER_PATH_RELATIVE,
|
266
|
-
CLUTTER_PATH_REL_CURVE_TO = CLUTTER_PATH_CURVE_TO | CLUTTER_PATH_RELATIVE
|
267
|
-
} ClutterPathNodeType;
|
268
|
-
</pre>
|
269
|
-
<p>
|
270
|
-
Types of nodes in a <a class="link" href="ClutterPath.html" title="ClutterPath"><span class="type">ClutterPath</span></a>.
|
271
|
-
</p>
|
272
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
273
|
-
<colgroup>
|
274
|
-
<col align="left" valign="top">
|
275
|
-
<col>
|
276
|
-
</colgroup>
|
277
|
-
<tbody>
|
278
165
|
<tr>
|
279
|
-
<td
|
280
|
-
<
|
166
|
+
<td class="function_type">
|
167
|
+
<span class="returnvalue">GSList</span> *
|
168
|
+
</td>
|
169
|
+
<td class="function_name">
|
170
|
+
<a class="link" href="ClutterPath.html#clutter-path-get-nodes" title="clutter_path_get_nodes ()">clutter_path_get_nodes</a> <span class="c_punctuation">()</span>
|
281
171
|
</td>
|
282
172
|
</tr>
|
283
173
|
<tr>
|
284
|
-
<td
|
285
|
-
<
|
286
|
-
|
174
|
+
<td class="function_type">
|
175
|
+
<span class="returnvalue">void</span>
|
176
|
+
</td>
|
177
|
+
<td class="function_name">
|
178
|
+
<a class="link" href="ClutterPath.html#clutter-path-foreach" title="clutter_path_foreach ()">clutter_path_foreach</a> <span class="c_punctuation">()</span>
|
287
179
|
</td>
|
288
180
|
</tr>
|
289
181
|
<tr>
|
290
|
-
<td
|
291
|
-
<
|
292
|
-
|
182
|
+
<td class="function_type">
|
183
|
+
<span class="returnvalue">void</span>
|
184
|
+
</td>
|
185
|
+
<td class="function_name">
|
186
|
+
<a class="link" href="ClutterPath.html#clutter-path-insert-node" title="clutter_path_insert_node ()">clutter_path_insert_node</a> <span class="c_punctuation">()</span>
|
293
187
|
</td>
|
294
188
|
</tr>
|
295
189
|
<tr>
|
296
|
-
<td
|
297
|
-
<
|
298
|
-
|
190
|
+
<td class="function_type">
|
191
|
+
<span class="returnvalue">void</span>
|
192
|
+
</td>
|
193
|
+
<td class="function_name">
|
194
|
+
<a class="link" href="ClutterPath.html#clutter-path-remove-node" title="clutter_path_remove_node ()">clutter_path_remove_node</a> <span class="c_punctuation">()</span>
|
299
195
|
</td>
|
300
196
|
</tr>
|
301
197
|
<tr>
|
302
|
-
<td
|
303
|
-
<
|
304
|
-
|
198
|
+
<td class="function_type">
|
199
|
+
<span class="returnvalue">void</span>
|
200
|
+
</td>
|
201
|
+
<td class="function_name">
|
202
|
+
<a class="link" href="ClutterPath.html#clutter-path-replace-node" title="clutter_path_replace_node ()">clutter_path_replace_node</a> <span class="c_punctuation">()</span>
|
305
203
|
</td>
|
306
204
|
</tr>
|
307
205
|
<tr>
|
308
|
-
<td
|
309
|
-
<
|
310
|
-
|
206
|
+
<td class="function_type">
|
207
|
+
<span class="returnvalue">gchar</span> *
|
208
|
+
</td>
|
209
|
+
<td class="function_name">
|
210
|
+
<a class="link" href="ClutterPath.html#clutter-path-get-description" title="clutter_path_get_description ()">clutter_path_get_description</a> <span class="c_punctuation">()</span>
|
211
|
+
</td>
|
212
|
+
</tr>
|
213
|
+
<tr>
|
214
|
+
<td class="function_type">
|
215
|
+
<span class="returnvalue">gboolean</span>
|
216
|
+
</td>
|
217
|
+
<td class="function_name">
|
218
|
+
<a class="link" href="ClutterPath.html#clutter-path-set-description" title="clutter_path_set_description ()">clutter_path_set_description</a> <span class="c_punctuation">()</span>
|
311
219
|
</td>
|
312
220
|
</tr>
|
313
221
|
<tr>
|
314
|
-
<td
|
315
|
-
<
|
316
|
-
|
222
|
+
<td class="function_type">
|
223
|
+
<span class="returnvalue">void</span>
|
224
|
+
</td>
|
225
|
+
<td class="function_name">
|
226
|
+
<a class="link" href="ClutterPath.html#clutter-path-to-cairo-path" title="clutter_path_to_cairo_path ()">clutter_path_to_cairo_path</a> <span class="c_punctuation">()</span>
|
227
|
+
</td>
|
228
|
+
</tr>
|
229
|
+
<tr>
|
230
|
+
<td class="function_type">
|
231
|
+
<span class="returnvalue">void</span>
|
232
|
+
</td>
|
233
|
+
<td class="function_name">
|
234
|
+
<a class="link" href="ClutterPath.html#clutter-path-clear" title="clutter_path_clear ()">clutter_path_clear</a> <span class="c_punctuation">()</span>
|
235
|
+
</td>
|
236
|
+
</tr>
|
237
|
+
<tr>
|
238
|
+
<td class="function_type">
|
239
|
+
<span class="returnvalue">guint</span>
|
240
|
+
</td>
|
241
|
+
<td class="function_name">
|
242
|
+
<a class="link" href="ClutterPath.html#clutter-path-get-position" title="clutter_path_get_position ()">clutter_path_get_position</a> <span class="c_punctuation">()</span>
|
243
|
+
</td>
|
244
|
+
</tr>
|
245
|
+
<tr>
|
246
|
+
<td class="function_type">
|
247
|
+
<span class="returnvalue">guint</span>
|
248
|
+
</td>
|
249
|
+
<td class="function_name">
|
250
|
+
<a class="link" href="ClutterPath.html#clutter-path-get-length" title="clutter_path_get_length ()">clutter_path_get_length</a> <span class="c_punctuation">()</span>
|
251
|
+
</td>
|
252
|
+
</tr>
|
253
|
+
<tr>
|
254
|
+
<td class="function_type">
|
255
|
+
<a class="link" href="ClutterPath.html#ClutterPathNode" title="struct ClutterPathNode"><span class="returnvalue">ClutterPathNode</span></a> *
|
256
|
+
</td>
|
257
|
+
<td class="function_name">
|
258
|
+
<a class="link" href="ClutterPath.html#clutter-path-node-copy" title="clutter_path_node_copy ()">clutter_path_node_copy</a> <span class="c_punctuation">()</span>
|
259
|
+
</td>
|
260
|
+
</tr>
|
261
|
+
<tr>
|
262
|
+
<td class="function_type">
|
263
|
+
<span class="returnvalue">void</span>
|
264
|
+
</td>
|
265
|
+
<td class="function_name">
|
266
|
+
<a class="link" href="ClutterPath.html#clutter-path-node-free" title="clutter_path_node_free ()">clutter_path_node_free</a> <span class="c_punctuation">()</span>
|
267
|
+
</td>
|
268
|
+
</tr>
|
269
|
+
<tr>
|
270
|
+
<td class="function_type">
|
271
|
+
<span class="returnvalue">gboolean</span>
|
272
|
+
</td>
|
273
|
+
<td class="function_name">
|
274
|
+
<a class="link" href="ClutterPath.html#clutter-path-node-equal" title="clutter_path_node_equal ()">clutter_path_node_equal</a> <span class="c_punctuation">()</span>
|
317
275
|
</td>
|
318
276
|
</tr>
|
319
277
|
</tbody>
|
320
278
|
</table></div>
|
321
|
-
<p class="since">Since 1.0</p>
|
322
279
|
</div>
|
323
|
-
<
|
324
|
-
<
|
325
|
-
<
|
326
|
-
<pre class="programlisting"><a class="link" href="ClutterPath.html" title="ClutterPath"><span class="returnvalue">ClutterPath</span></a> * clutter_path_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
327
|
-
<p>
|
328
|
-
Creates a new <a class="link" href="ClutterPath.html" title="ClutterPath"><span class="type">ClutterPath</span></a> instance with no nodes.
|
329
|
-
</p>
|
330
|
-
<p>
|
331
|
-
The object has a floating reference so if you add it to a
|
332
|
-
<a class="link" href="ClutterBehaviourPath.html" title="ClutterBehaviourPath"><span class="type">ClutterBehaviourPath</span></a> then you do not need to unref it.
|
333
|
-
</p>
|
334
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
280
|
+
<div class="refsect1">
|
281
|
+
<a name="ClutterPath.properties"></a><h2>Properties</h2>
|
282
|
+
<div class="informaltable"><table border="0">
|
335
283
|
<colgroup>
|
336
|
-
<col
|
337
|
-
<col>
|
284
|
+
<col width="150px" class="properties_type">
|
285
|
+
<col width="300px" class="properties_name">
|
286
|
+
<col width="200px" class="properties_flags">
|
338
287
|
</colgroup>
|
339
|
-
<tbody
|
340
|
-
<
|
341
|
-
<td
|
342
|
-
</td>
|
343
|
-
</
|
288
|
+
<tbody>
|
289
|
+
<tr>
|
290
|
+
<td class="property_type">
|
291
|
+
<span class="type">gchar</span> *</td>
|
292
|
+
<td class="property_name"><a class="link" href="ClutterPath.html#ClutterPath--description" title="The “description” property">description</a></td>
|
293
|
+
<td class="property_flags">Read / Write</td>
|
294
|
+
</tr>
|
295
|
+
<tr>
|
296
|
+
<td class="property_type"><span class="type">guint</span></td>
|
297
|
+
<td class="property_name"><a class="link" href="ClutterPath.html#ClutterPath--length" title="The “length” property">length</a></td>
|
298
|
+
<td class="property_flags">Read</td>
|
299
|
+
</tr>
|
300
|
+
</tbody>
|
344
301
|
</table></div>
|
345
|
-
<p class="since">Since 1.0</p>
|
346
302
|
</div>
|
347
|
-
<
|
303
|
+
<div class="refsect1">
|
304
|
+
<a name="ClutterPath.other"></a><h2>Types and Values</h2>
|
305
|
+
<div class="informaltable"><table width="100%" border="0">
|
306
|
+
<colgroup>
|
307
|
+
<col width="150px" class="name">
|
308
|
+
<col class="description">
|
309
|
+
</colgroup>
|
310
|
+
<tbody>
|
311
|
+
<tr>
|
312
|
+
<td class="datatype_keyword"> </td>
|
313
|
+
<td class="function_name"><a class="link" href="ClutterPath.html#ClutterPath-struct" title="ClutterPath">ClutterPath</a></td>
|
314
|
+
</tr>
|
315
|
+
<tr>
|
316
|
+
<td class="datatype_keyword">struct</td>
|
317
|
+
<td class="function_name"><a class="link" href="ClutterPath.html#ClutterPathClass" title="struct ClutterPathClass">ClutterPathClass</a></td>
|
318
|
+
</tr>
|
319
|
+
<tr>
|
320
|
+
<td class="datatype_keyword">enum</td>
|
321
|
+
<td class="function_name"><a class="link" href="ClutterPath.html#ClutterPathNodeType" title="enum ClutterPathNodeType">ClutterPathNodeType</a></td>
|
322
|
+
</tr>
|
323
|
+
<tr>
|
324
|
+
<td class="datatype_keyword">struct</td>
|
325
|
+
<td class="function_name"><a class="link" href="ClutterPath.html#ClutterPathNode" title="struct ClutterPathNode">ClutterPathNode</a></td>
|
326
|
+
</tr>
|
327
|
+
</tbody>
|
328
|
+
</table></div>
|
329
|
+
</div>
|
330
|
+
<div class="refsect1">
|
331
|
+
<a name="ClutterPath.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
332
|
+
<pre class="screen"> GObject
|
333
|
+
<span class="lineart">╰──</span> GInitiallyUnowned
|
334
|
+
<span class="lineart">╰──</span> ClutterPath
|
335
|
+
</pre>
|
336
|
+
</div>
|
337
|
+
<div class="refsect1">
|
338
|
+
<a name="ClutterPath.description"></a><h2>Description</h2>
|
339
|
+
<p>A <a class="link" href="ClutterPath.html" title="ClutterPath"><span class="type">ClutterPath</span></a> contains a description of a path consisting of
|
340
|
+
straight lines and bezier curves. This can be used in a
|
341
|
+
<a class="link" href="ClutterBehaviourPath.html" title="ClutterBehaviourPath"><span class="type">ClutterBehaviourPath</span></a> to animate an actor moving along the path.</p>
|
342
|
+
<p>The path consists of a series of nodes. Each node is one of the
|
343
|
+
following four types:</p>
|
344
|
+
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
|
345
|
+
<li class="listitem"><p><a class="link" href="ClutterPath.html#CLUTTER-PATH-MOVE-TO:CAPS"><code class="literal">CLUTTER_PATH_MOVE_TO</code></a>, changes the position of the path to the
|
346
|
+
given pair of coordinates. This is usually used as the first node
|
347
|
+
of a path to mark the start position. If it is used in the middle
|
348
|
+
of a path then the path will be disjoint and the actor will appear
|
349
|
+
to jump to the new position when animated.</p></li>
|
350
|
+
<li class="listitem"><p><a class="link" href="ClutterPath.html#CLUTTER-PATH-LINE-TO:CAPS"><code class="literal">CLUTTER_PATH_LINE_TO</code></a>, creates a straight line from the previous
|
351
|
+
point to the given point.</p></li>
|
352
|
+
<li class="listitem"><p><a class="link" href="ClutterPath.html#CLUTTER-PATH-CURVE-TO:CAPS"><code class="literal">CLUTTER_PATH_CURVE_TO</code></a>, creates a bezier curve. The end of the
|
353
|
+
last node is used as the first control point and the three
|
354
|
+
subsequent coordinates given in the node as used as the other three.
|
355
|
+
-<a class="link" href="ClutterPath.html#CLUTTER-PATH-CLOSE:CAPS"><code class="literal">CLUTTER_PATH_CLOSE</code></a>, creates a straight line from the last node to
|
356
|
+
the last <a class="link" href="ClutterPath.html#CLUTTER-PATH-MOVE-TO:CAPS"><code class="literal">CLUTTER_PATH_MOVE_TO</code></a> node. This can be used to close a
|
357
|
+
path so that it will appear as a loop when animated.</p></li>
|
358
|
+
</ul></div>
|
359
|
+
<p>The first three types have the corresponding relative versions
|
360
|
+
<a class="link" href="ClutterPath.html#CLUTTER-PATH-REL-MOVE-TO:CAPS"><code class="literal">CLUTTER_PATH_REL_MOVE_TO</code></a>, <a class="link" href="ClutterPath.html#CLUTTER-PATH-REL-LINE-TO:CAPS"><code class="literal">CLUTTER_PATH_REL_LINE_TO</code></a> and
|
361
|
+
<a class="link" href="ClutterPath.html#CLUTTER-PATH-REL-CURVE-TO:CAPS"><code class="literal">CLUTTER_PATH_REL_CURVE_TO</code></a>. These are exactly the same except the
|
362
|
+
coordinates are given relative to the previous node instead of as
|
363
|
+
direct screen positions.</p>
|
364
|
+
<p>You can build a path using the node adding functions such as
|
365
|
+
<a class="link" href="ClutterPath.html#clutter-path-add-line-to" title="clutter_path_add_line_to ()"><code class="function">clutter_path_add_line_to()</code></a>. Alternatively the path can be described
|
366
|
+
in a string using a subset of the SVG path syntax. See
|
367
|
+
<a class="link" href="ClutterPath.html#clutter-path-add-string" title="clutter_path_add_string ()"><code class="function">clutter_path_add_string()</code></a> for details.</p>
|
368
|
+
<p><a class="link" href="ClutterPath.html" title="ClutterPath"><span class="type">ClutterPath</span></a> is available since Clutter 1.0</p>
|
369
|
+
</div>
|
370
|
+
<div class="refsect1">
|
371
|
+
<a name="ClutterPath.functions_details"></a><h2>Functions</h2>
|
348
372
|
<div class="refsect2">
|
349
|
-
<a name="
|
350
|
-
<pre class="programlisting"><
|
351
|
-
<
|
352
|
-
|
353
|
-
<
|
354
|
-
the
|
355
|
-
|
356
|
-
<
|
357
|
-
|
358
|
-
<a class="link" href="ClutterBehaviourPath.html" title="ClutterBehaviourPath"><span class="type">ClutterBehaviourPath</span></a> then you do not need to unref it.
|
359
|
-
</p>
|
360
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
373
|
+
<a name="ClutterPathCallback"></a><h3>ClutterPathCallback ()</h3>
|
374
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
375
|
+
<span class="c_punctuation">(</span>*ClutterPathCallback<span class="c_punctuation">)</span> (<em class="parameter"><code>const <a class="link" href="ClutterPath.html#ClutterPathNode" title="struct ClutterPathNode"><span class="type">ClutterPathNode</span></a> *node</code></em>,
|
376
|
+
<em class="parameter"><code><span class="type">gpointer</span> data</code></em>);</pre>
|
377
|
+
<p>This function is passed to <a class="link" href="ClutterPath.html#clutter-path-foreach" title="clutter_path_foreach ()"><code class="function">clutter_path_foreach()</code></a> and will be
|
378
|
+
called for each node contained in the path.</p>
|
379
|
+
<div class="refsect3">
|
380
|
+
<a name="id-1.7.2.10.8.2.5"></a><h4>Parameters</h4>
|
381
|
+
<div class="informaltable"><table width="100%" border="0">
|
361
382
|
<colgroup>
|
362
|
-
<col
|
363
|
-
<col>
|
383
|
+
<col width="150px" class="parameters_name">
|
384
|
+
<col class="parameters_description">
|
385
|
+
<col width="200px" class="parameters_annotations">
|
364
386
|
</colgroup>
|
365
387
|
<tbody>
|
366
388
|
<tr>
|
367
|
-
<td
|
368
|
-
<td>
|
389
|
+
<td class="parameter_name"><p>node</p></td>
|
390
|
+
<td class="parameter_description"><p>the node</p></td>
|
391
|
+
<td class="parameter_annotations"> </td>
|
369
392
|
</tr>
|
370
393
|
<tr>
|
371
|
-
<td
|
372
|
-
<td
|
373
|
-
</td>
|
394
|
+
<td class="parameter_name"><p>data</p></td>
|
395
|
+
<td class="parameter_description"><p> optional data passed to the function. </p></td>
|
396
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="This parameter is a 'user_data', for callbacks; many bindings can pass NULL here."><span class="acronym">closure</span></acronym>]</span></td>
|
374
397
|
</tr>
|
375
398
|
</tbody>
|
376
399
|
</table></div>
|
400
|
+
</div>
|
401
|
+
<p class="since">Since 1.0</p>
|
402
|
+
</div>
|
403
|
+
<hr>
|
404
|
+
<div class="refsect2">
|
405
|
+
<a name="clutter-path-new"></a><h3>clutter_path_new ()</h3>
|
406
|
+
<pre class="programlisting"><a class="link" href="ClutterPath.html" title="ClutterPath"><span class="returnvalue">ClutterPath</span></a> *
|
407
|
+
clutter_path_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
408
|
+
<p>Creates a new <a class="link" href="ClutterPath.html" title="ClutterPath"><span class="type">ClutterPath</span></a> instance with no nodes.</p>
|
409
|
+
<p>The object has a floating reference so if you add it to a
|
410
|
+
<a class="link" href="ClutterBehaviourPath.html" title="ClutterBehaviourPath"><span class="type">ClutterBehaviourPath</span></a> then you do not need to unref it.</p>
|
411
|
+
<div class="refsect3">
|
412
|
+
<a name="id-1.7.2.10.8.3.6"></a><h4>Returns</h4>
|
413
|
+
<p> the newly created <a class="link" href="ClutterPath.html" title="ClutterPath"><span class="type">ClutterPath</span></a></p>
|
414
|
+
<p></p>
|
415
|
+
</div>
|
377
416
|
<p class="since">Since 1.0</p>
|
378
417
|
</div>
|
379
418
|
<hr>
|
380
419
|
<div class="refsect2">
|
381
|
-
<a name="clutter-path-
|
382
|
-
<pre class="programlisting"><
|
383
|
-
|
384
|
-
|
385
|
-
<
|
386
|
-
|
420
|
+
<a name="clutter-path-new-with-description"></a><h3>clutter_path_new_with_description ()</h3>
|
421
|
+
<pre class="programlisting"><a class="link" href="ClutterPath.html" title="ClutterPath"><span class="returnvalue">ClutterPath</span></a> *
|
422
|
+
clutter_path_new_with_description (<em class="parameter"><code>const <span class="type">gchar</span> *desc</code></em>);</pre>
|
423
|
+
<p>Creates a new <a class="link" href="ClutterPath.html" title="ClutterPath"><span class="type">ClutterPath</span></a> instance with the nodes described in
|
424
|
+
<em class="parameter"><code>desc</code></em>
|
425
|
+
. See <a class="link" href="ClutterPath.html#clutter-path-add-string" title="clutter_path_add_string ()"><code class="function">clutter_path_add_string()</code></a> for details of the format of
|
426
|
+
the string.</p>
|
427
|
+
<p>The object has a floating reference so if you add it to a
|
428
|
+
<a class="link" href="ClutterBehaviourPath.html" title="ClutterBehaviourPath"><span class="type">ClutterBehaviourPath</span></a> then you do not need to unref it.</p>
|
429
|
+
<div class="refsect3">
|
430
|
+
<a name="id-1.7.2.10.8.4.6"></a><h4>Parameters</h4>
|
431
|
+
<div class="informaltable"><table width="100%" border="0">
|
432
|
+
<colgroup>
|
433
|
+
<col width="150px" class="parameters_name">
|
434
|
+
<col class="parameters_description">
|
435
|
+
<col width="200px" class="parameters_annotations">
|
436
|
+
</colgroup>
|
437
|
+
<tbody><tr>
|
438
|
+
<td class="parameter_name"><p>desc</p></td>
|
439
|
+
<td class="parameter_description"><p>a string describing the path</p></td>
|
440
|
+
<td class="parameter_annotations"> </td>
|
441
|
+
</tr></tbody>
|
442
|
+
</table></div>
|
443
|
+
</div>
|
444
|
+
<div class="refsect3">
|
445
|
+
<a name="id-1.7.2.10.8.4.7"></a><h4>Returns</h4>
|
446
|
+
<p> the newly created <a class="link" href="ClutterPath.html" title="ClutterPath"><span class="type">ClutterPath</span></a></p>
|
447
|
+
<p></p>
|
448
|
+
</div>
|
449
|
+
<p class="since">Since 1.0</p>
|
450
|
+
</div>
|
451
|
+
<hr>
|
452
|
+
<div class="refsect2">
|
453
|
+
<a name="clutter-path-add-move-to"></a><h3>clutter_path_add_move_to ()</h3>
|
454
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
455
|
+
clutter_path_add_move_to (<em class="parameter"><code><a class="link" href="ClutterPath.html" title="ClutterPath"><span class="type">ClutterPath</span></a> *path</code></em>,
|
456
|
+
<em class="parameter"><code><span class="type">gint</span> x</code></em>,
|
457
|
+
<em class="parameter"><code><span class="type">gint</span> y</code></em>);</pre>
|
458
|
+
<p>Adds a <a class="link" href="ClutterPath.html#CLUTTER-PATH-MOVE-TO:CAPS"><code class="literal">CLUTTER_PATH_MOVE_TO</code></a> type node to the path. This is usually
|
387
459
|
used as the first node in a path. It can also be used in the middle
|
388
|
-
of the path to cause the actor to jump to the new coordinate
|
389
|
-
|
390
|
-
<
|
460
|
+
of the path to cause the actor to jump to the new coordinate.</p>
|
461
|
+
<div class="refsect3">
|
462
|
+
<a name="id-1.7.2.10.8.5.5"></a><h4>Parameters</h4>
|
463
|
+
<div class="informaltable"><table width="100%" border="0">
|
391
464
|
<colgroup>
|
392
|
-
<col
|
393
|
-
<col>
|
465
|
+
<col width="150px" class="parameters_name">
|
466
|
+
<col class="parameters_description">
|
467
|
+
<col width="200px" class="parameters_annotations">
|
394
468
|
</colgroup>
|
395
469
|
<tbody>
|
396
470
|
<tr>
|
397
|
-
<td
|
398
|
-
<td>a <a class="link" href="ClutterPath.html" title="ClutterPath"><span class="type">ClutterPath</span></a>
|
399
|
-
</td>
|
471
|
+
<td class="parameter_name"><p>path</p></td>
|
472
|
+
<td class="parameter_description"><p>a <a class="link" href="ClutterPath.html" title="ClutterPath"><span class="type">ClutterPath</span></a></p></td>
|
473
|
+
<td class="parameter_annotations"> </td>
|
400
474
|
</tr>
|
401
475
|
<tr>
|
402
|
-
<td
|
403
|
-
<td>the x coordinate</td>
|
476
|
+
<td class="parameter_name"><p>x</p></td>
|
477
|
+
<td class="parameter_description"><p>the x coordinate</p></td>
|
478
|
+
<td class="parameter_annotations"> </td>
|
404
479
|
</tr>
|
405
480
|
<tr>
|
406
|
-
<td
|
407
|
-
<td>the y coordinate</td>
|
481
|
+
<td class="parameter_name"><p>y</p></td>
|
482
|
+
<td class="parameter_description"><p>the y coordinate</p></td>
|
483
|
+
<td class="parameter_annotations"> </td>
|
408
484
|
</tr>
|
409
485
|
</tbody>
|
410
486
|
</table></div>
|
487
|
+
</div>
|
411
488
|
<p class="since">Since 1.0</p>
|
412
489
|
</div>
|
413
490
|
<hr>
|
414
491
|
<div class="refsect2">
|
415
|
-
<a name="clutter-path-add-rel-move-to"></a><h3>clutter_path_add_rel_move_to
|
416
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
417
|
-
|
418
|
-
|
419
|
-
<
|
420
|
-
Same as <a class="link" href="ClutterPath.html#clutter-path-add-move-to" title="clutter_path_add_move_to
|
421
|
-
relative to the previous node
|
422
|
-
|
423
|
-
<
|
492
|
+
<a name="clutter-path-add-rel-move-to"></a><h3>clutter_path_add_rel_move_to ()</h3>
|
493
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
494
|
+
clutter_path_add_rel_move_to (<em class="parameter"><code><a class="link" href="ClutterPath.html" title="ClutterPath"><span class="type">ClutterPath</span></a> *path</code></em>,
|
495
|
+
<em class="parameter"><code><span class="type">gint</span> x</code></em>,
|
496
|
+
<em class="parameter"><code><span class="type">gint</span> y</code></em>);</pre>
|
497
|
+
<p>Same as <a class="link" href="ClutterPath.html#clutter-path-add-move-to" title="clutter_path_add_move_to ()"><code class="function">clutter_path_add_move_to()</code></a> except the coordinates are
|
498
|
+
relative to the previous node.</p>
|
499
|
+
<div class="refsect3">
|
500
|
+
<a name="id-1.7.2.10.8.6.5"></a><h4>Parameters</h4>
|
501
|
+
<div class="informaltable"><table width="100%" border="0">
|
424
502
|
<colgroup>
|
425
|
-
<col
|
426
|
-
<col>
|
503
|
+
<col width="150px" class="parameters_name">
|
504
|
+
<col class="parameters_description">
|
505
|
+
<col width="200px" class="parameters_annotations">
|
427
506
|
</colgroup>
|
428
507
|
<tbody>
|
429
508
|
<tr>
|
430
|
-
<td
|
431
|
-
<td>a <a class="link" href="ClutterPath.html" title="ClutterPath"><span class="type">ClutterPath</span></a>
|
432
|
-
</td>
|
509
|
+
<td class="parameter_name"><p>path</p></td>
|
510
|
+
<td class="parameter_description"><p>a <a class="link" href="ClutterPath.html" title="ClutterPath"><span class="type">ClutterPath</span></a></p></td>
|
511
|
+
<td class="parameter_annotations"> </td>
|
433
512
|
</tr>
|
434
513
|
<tr>
|
435
|
-
<td
|
436
|
-
<td>the x coordinate</td>
|
514
|
+
<td class="parameter_name"><p>x</p></td>
|
515
|
+
<td class="parameter_description"><p>the x coordinate</p></td>
|
516
|
+
<td class="parameter_annotations"> </td>
|
437
517
|
</tr>
|
438
518
|
<tr>
|
439
|
-
<td
|
440
|
-
<td>the y coordinate</td>
|
519
|
+
<td class="parameter_name"><p>y</p></td>
|
520
|
+
<td class="parameter_description"><p>the y coordinate</p></td>
|
521
|
+
<td class="parameter_annotations"> </td>
|
441
522
|
</tr>
|
442
523
|
</tbody>
|
443
524
|
</table></div>
|
525
|
+
</div>
|
444
526
|
<p class="since">Since 1.0</p>
|
445
527
|
</div>
|
446
528
|
<hr>
|
447
529
|
<div class="refsect2">
|
448
|
-
<a name="clutter-path-add-line-to"></a><h3>clutter_path_add_line_to
|
449
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
450
|
-
|
451
|
-
|
452
|
-
<
|
453
|
-
Adds a <a class="link" href="ClutterPath.html#CLUTTER-PATH-LINE-TO:CAPS"><code class="literal">CLUTTER_PATH_LINE_TO</code></a> type node to the path. This causes the
|
454
|
-
actor to move to the new coordinates in a straight line
|
455
|
-
|
456
|
-
<
|
530
|
+
<a name="clutter-path-add-line-to"></a><h3>clutter_path_add_line_to ()</h3>
|
531
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
532
|
+
clutter_path_add_line_to (<em class="parameter"><code><a class="link" href="ClutterPath.html" title="ClutterPath"><span class="type">ClutterPath</span></a> *path</code></em>,
|
533
|
+
<em class="parameter"><code><span class="type">gint</span> x</code></em>,
|
534
|
+
<em class="parameter"><code><span class="type">gint</span> y</code></em>);</pre>
|
535
|
+
<p>Adds a <a class="link" href="ClutterPath.html#CLUTTER-PATH-LINE-TO:CAPS"><code class="literal">CLUTTER_PATH_LINE_TO</code></a> type node to the path. This causes the
|
536
|
+
actor to move to the new coordinates in a straight line.</p>
|
537
|
+
<div class="refsect3">
|
538
|
+
<a name="id-1.7.2.10.8.7.5"></a><h4>Parameters</h4>
|
539
|
+
<div class="informaltable"><table width="100%" border="0">
|
457
540
|
<colgroup>
|
458
|
-
<col
|
459
|
-
<col>
|
541
|
+
<col width="150px" class="parameters_name">
|
542
|
+
<col class="parameters_description">
|
543
|
+
<col width="200px" class="parameters_annotations">
|
460
544
|
</colgroup>
|
461
545
|
<tbody>
|
462
546
|
<tr>
|
463
|
-
<td
|
464
|
-
<td>a <a class="link" href="ClutterPath.html" title="ClutterPath"><span class="type">ClutterPath</span></a>
|
465
|
-
</td>
|
547
|
+
<td class="parameter_name"><p>path</p></td>
|
548
|
+
<td class="parameter_description"><p>a <a class="link" href="ClutterPath.html" title="ClutterPath"><span class="type">ClutterPath</span></a></p></td>
|
549
|
+
<td class="parameter_annotations"> </td>
|
466
550
|
</tr>
|
467
551
|
<tr>
|
468
|
-
<td
|
469
|
-
<td>the x coordinate</td>
|
552
|
+
<td class="parameter_name"><p>x</p></td>
|
553
|
+
<td class="parameter_description"><p>the x coordinate</p></td>
|
554
|
+
<td class="parameter_annotations"> </td>
|
470
555
|
</tr>
|
471
556
|
<tr>
|
472
|
-
<td
|
473
|
-
<td>the y coordinate</td>
|
557
|
+
<td class="parameter_name"><p>y</p></td>
|
558
|
+
<td class="parameter_description"><p>the y coordinate</p></td>
|
559
|
+
<td class="parameter_annotations"> </td>
|
474
560
|
</tr>
|
475
561
|
</tbody>
|
476
562
|
</table></div>
|
563
|
+
</div>
|
477
564
|
<p class="since">Since 1.0</p>
|
478
565
|
</div>
|
479
566
|
<hr>
|
480
567
|
<div class="refsect2">
|
481
|
-
<a name="clutter-path-add-rel-line-to"></a><h3>clutter_path_add_rel_line_to
|
482
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
483
|
-
|
484
|
-
|
485
|
-
<
|
486
|
-
Same as <a class="link" href="ClutterPath.html#clutter-path-add-line-to" title="clutter_path_add_line_to
|
487
|
-
relative to the previous node
|
488
|
-
|
489
|
-
<
|
568
|
+
<a name="clutter-path-add-rel-line-to"></a><h3>clutter_path_add_rel_line_to ()</h3>
|
569
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
570
|
+
clutter_path_add_rel_line_to (<em class="parameter"><code><a class="link" href="ClutterPath.html" title="ClutterPath"><span class="type">ClutterPath</span></a> *path</code></em>,
|
571
|
+
<em class="parameter"><code><span class="type">gint</span> x</code></em>,
|
572
|
+
<em class="parameter"><code><span class="type">gint</span> y</code></em>);</pre>
|
573
|
+
<p>Same as <a class="link" href="ClutterPath.html#clutter-path-add-line-to" title="clutter_path_add_line_to ()"><code class="function">clutter_path_add_line_to()</code></a> except the coordinates are
|
574
|
+
relative to the previous node.</p>
|
575
|
+
<div class="refsect3">
|
576
|
+
<a name="id-1.7.2.10.8.8.5"></a><h4>Parameters</h4>
|
577
|
+
<div class="informaltable"><table width="100%" border="0">
|
490
578
|
<colgroup>
|
491
|
-
<col
|
492
|
-
<col>
|
579
|
+
<col width="150px" class="parameters_name">
|
580
|
+
<col class="parameters_description">
|
581
|
+
<col width="200px" class="parameters_annotations">
|
493
582
|
</colgroup>
|
494
583
|
<tbody>
|
495
584
|
<tr>
|
496
|
-
<td
|
497
|
-
<td>a <a class="link" href="ClutterPath.html" title="ClutterPath"><span class="type">ClutterPath</span></a>
|
498
|
-
</td>
|
585
|
+
<td class="parameter_name"><p>path</p></td>
|
586
|
+
<td class="parameter_description"><p>a <a class="link" href="ClutterPath.html" title="ClutterPath"><span class="type">ClutterPath</span></a></p></td>
|
587
|
+
<td class="parameter_annotations"> </td>
|
499
588
|
</tr>
|
500
589
|
<tr>
|
501
|
-
<td
|
502
|
-
<td>the x coordinate</td>
|
590
|
+
<td class="parameter_name"><p>x</p></td>
|
591
|
+
<td class="parameter_description"><p>the x coordinate</p></td>
|
592
|
+
<td class="parameter_annotations"> </td>
|
503
593
|
</tr>
|
504
594
|
<tr>
|
505
|
-
<td
|
506
|
-
<td>the y coordinate</td>
|
595
|
+
<td class="parameter_name"><p>y</p></td>
|
596
|
+
<td class="parameter_description"><p>the y coordinate</p></td>
|
597
|
+
<td class="parameter_annotations"> </td>
|
507
598
|
</tr>
|
508
599
|
</tbody>
|
509
600
|
</table></div>
|
601
|
+
</div>
|
510
602
|
<p class="since">Since 1.0</p>
|
511
603
|
</div>
|
512
604
|
<hr>
|
513
605
|
<div class="refsect2">
|
514
|
-
<a name="clutter-path-add-curve-to"></a><h3>clutter_path_add_curve_to
|
515
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
516
|
-
|
517
|
-
|
518
|
-
|
519
|
-
|
520
|
-
|
521
|
-
|
522
|
-
<
|
523
|
-
Adds a <a class="link" href="ClutterPath.html#CLUTTER-PATH-CURVE-TO:CAPS"><code class="literal">CLUTTER_PATH_CURVE_TO</code></a> type node to the path. This causes
|
524
|
-
the actor to follow a bezier from the last node to (<em class="parameter"><code>x_3</code></em
|
525
|
-
|
526
|
-
|
527
|
-
<
|
606
|
+
<a name="clutter-path-add-curve-to"></a><h3>clutter_path_add_curve_to ()</h3>
|
607
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
608
|
+
clutter_path_add_curve_to (<em class="parameter"><code><a class="link" href="ClutterPath.html" title="ClutterPath"><span class="type">ClutterPath</span></a> *path</code></em>,
|
609
|
+
<em class="parameter"><code><span class="type">gint</span> x_1</code></em>,
|
610
|
+
<em class="parameter"><code><span class="type">gint</span> y_1</code></em>,
|
611
|
+
<em class="parameter"><code><span class="type">gint</span> x_2</code></em>,
|
612
|
+
<em class="parameter"><code><span class="type">gint</span> y_2</code></em>,
|
613
|
+
<em class="parameter"><code><span class="type">gint</span> x_3</code></em>,
|
614
|
+
<em class="parameter"><code><span class="type">gint</span> y_3</code></em>);</pre>
|
615
|
+
<p>Adds a <a class="link" href="ClutterPath.html#CLUTTER-PATH-CURVE-TO:CAPS"><code class="literal">CLUTTER_PATH_CURVE_TO</code></a> type node to the path. This causes
|
616
|
+
the actor to follow a bezier from the last node to (<em class="parameter"><code>x_3</code></em>
|
617
|
+
, <em class="parameter"><code>y_3</code></em>
|
618
|
+
) using
|
619
|
+
(<em class="parameter"><code>x_1</code></em>
|
620
|
+
, <em class="parameter"><code>y_1</code></em>
|
621
|
+
) and (<em class="parameter"><code>x_2</code></em>
|
622
|
+
,<em class="parameter"><code>y_2</code></em>
|
623
|
+
) as control points.</p>
|
624
|
+
<div class="refsect3">
|
625
|
+
<a name="id-1.7.2.10.8.9.5"></a><h4>Parameters</h4>
|
626
|
+
<div class="informaltable"><table width="100%" border="0">
|
528
627
|
<colgroup>
|
529
|
-
<col
|
530
|
-
<col>
|
628
|
+
<col width="150px" class="parameters_name">
|
629
|
+
<col class="parameters_description">
|
630
|
+
<col width="200px" class="parameters_annotations">
|
531
631
|
</colgroup>
|
532
632
|
<tbody>
|
533
633
|
<tr>
|
534
|
-
<td
|
535
|
-
<td>a <a class="link" href="ClutterPath.html" title="ClutterPath"><span class="type">ClutterPath</span></a>
|
536
|
-
</td>
|
634
|
+
<td class="parameter_name"><p>path</p></td>
|
635
|
+
<td class="parameter_description"><p>a <a class="link" href="ClutterPath.html" title="ClutterPath"><span class="type">ClutterPath</span></a></p></td>
|
636
|
+
<td class="parameter_annotations"> </td>
|
537
637
|
</tr>
|
538
638
|
<tr>
|
539
|
-
<td
|
540
|
-
<td>the x coordinate of the first control point</td>
|
639
|
+
<td class="parameter_name"><p>x_1</p></td>
|
640
|
+
<td class="parameter_description"><p>the x coordinate of the first control point</p></td>
|
641
|
+
<td class="parameter_annotations"> </td>
|
541
642
|
</tr>
|
542
643
|
<tr>
|
543
|
-
<td
|
544
|
-
<td>the y coordinate of the first control point</td>
|
644
|
+
<td class="parameter_name"><p>y_1</p></td>
|
645
|
+
<td class="parameter_description"><p>the y coordinate of the first control point</p></td>
|
646
|
+
<td class="parameter_annotations"> </td>
|
545
647
|
</tr>
|
546
648
|
<tr>
|
547
|
-
<td
|
548
|
-
<td>the x coordinate of the second control point</td>
|
649
|
+
<td class="parameter_name"><p>x_2</p></td>
|
650
|
+
<td class="parameter_description"><p>the x coordinate of the second control point</p></td>
|
651
|
+
<td class="parameter_annotations"> </td>
|
549
652
|
</tr>
|
550
653
|
<tr>
|
551
|
-
<td
|
552
|
-
<td>the y coordinate of the second control point</td>
|
654
|
+
<td class="parameter_name"><p>y_2</p></td>
|
655
|
+
<td class="parameter_description"><p>the y coordinate of the second control point</p></td>
|
656
|
+
<td class="parameter_annotations"> </td>
|
553
657
|
</tr>
|
554
658
|
<tr>
|
555
|
-
<td
|
556
|
-
<td>the x coordinate of the third control point</td>
|
659
|
+
<td class="parameter_name"><p>x_3</p></td>
|
660
|
+
<td class="parameter_description"><p>the x coordinate of the third control point</p></td>
|
661
|
+
<td class="parameter_annotations"> </td>
|
557
662
|
</tr>
|
558
663
|
<tr>
|
559
|
-
<td
|
560
|
-
<td>the y coordinate of the third control point</td>
|
664
|
+
<td class="parameter_name"><p>y_3</p></td>
|
665
|
+
<td class="parameter_description"><p>the y coordinate of the third control point</p></td>
|
666
|
+
<td class="parameter_annotations"> </td>
|
561
667
|
</tr>
|
562
668
|
</tbody>
|
563
669
|
</table></div>
|
670
|
+
</div>
|
564
671
|
<p class="since">Since 1.0</p>
|
565
672
|
</div>
|
566
673
|
<hr>
|
567
674
|
<div class="refsect2">
|
568
|
-
<a name="clutter-path-add-rel-curve-to"></a><h3>clutter_path_add_rel_curve_to
|
569
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
570
|
-
|
571
|
-
|
572
|
-
|
573
|
-
|
574
|
-
|
575
|
-
|
576
|
-
<
|
577
|
-
Same as <a class="link" href="ClutterPath.html#clutter-path-add-curve-to" title="clutter_path_add_curve_to
|
578
|
-
relative to the previous node
|
579
|
-
|
580
|
-
<
|
675
|
+
<a name="clutter-path-add-rel-curve-to"></a><h3>clutter_path_add_rel_curve_to ()</h3>
|
676
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
677
|
+
clutter_path_add_rel_curve_to (<em class="parameter"><code><a class="link" href="ClutterPath.html" title="ClutterPath"><span class="type">ClutterPath</span></a> *path</code></em>,
|
678
|
+
<em class="parameter"><code><span class="type">gint</span> x_1</code></em>,
|
679
|
+
<em class="parameter"><code><span class="type">gint</span> y_1</code></em>,
|
680
|
+
<em class="parameter"><code><span class="type">gint</span> x_2</code></em>,
|
681
|
+
<em class="parameter"><code><span class="type">gint</span> y_2</code></em>,
|
682
|
+
<em class="parameter"><code><span class="type">gint</span> x_3</code></em>,
|
683
|
+
<em class="parameter"><code><span class="type">gint</span> y_3</code></em>);</pre>
|
684
|
+
<p>Same as <a class="link" href="ClutterPath.html#clutter-path-add-curve-to" title="clutter_path_add_curve_to ()"><code class="function">clutter_path_add_curve_to()</code></a> except the coordinates are
|
685
|
+
relative to the previous node.</p>
|
686
|
+
<div class="refsect3">
|
687
|
+
<a name="id-1.7.2.10.8.10.5"></a><h4>Parameters</h4>
|
688
|
+
<div class="informaltable"><table width="100%" border="0">
|
581
689
|
<colgroup>
|
582
|
-
<col
|
583
|
-
<col>
|
690
|
+
<col width="150px" class="parameters_name">
|
691
|
+
<col class="parameters_description">
|
692
|
+
<col width="200px" class="parameters_annotations">
|
584
693
|
</colgroup>
|
585
694
|
<tbody>
|
586
695
|
<tr>
|
587
|
-
<td
|
588
|
-
<td>a <a class="link" href="ClutterPath.html" title="ClutterPath"><span class="type">ClutterPath</span></a>
|
589
|
-
</td>
|
696
|
+
<td class="parameter_name"><p>path</p></td>
|
697
|
+
<td class="parameter_description"><p>a <a class="link" href="ClutterPath.html" title="ClutterPath"><span class="type">ClutterPath</span></a></p></td>
|
698
|
+
<td class="parameter_annotations"> </td>
|
590
699
|
</tr>
|
591
700
|
<tr>
|
592
|
-
<td
|
593
|
-
<td>the x coordinate of the first control point</td>
|
701
|
+
<td class="parameter_name"><p>x_1</p></td>
|
702
|
+
<td class="parameter_description"><p>the x coordinate of the first control point</p></td>
|
703
|
+
<td class="parameter_annotations"> </td>
|
594
704
|
</tr>
|
595
705
|
<tr>
|
596
|
-
<td
|
597
|
-
<td>the y coordinate of the first control point</td>
|
706
|
+
<td class="parameter_name"><p>y_1</p></td>
|
707
|
+
<td class="parameter_description"><p>the y coordinate of the first control point</p></td>
|
708
|
+
<td class="parameter_annotations"> </td>
|
598
709
|
</tr>
|
599
710
|
<tr>
|
600
|
-
<td
|
601
|
-
<td>the x coordinate of the second control point</td>
|
711
|
+
<td class="parameter_name"><p>x_2</p></td>
|
712
|
+
<td class="parameter_description"><p>the x coordinate of the second control point</p></td>
|
713
|
+
<td class="parameter_annotations"> </td>
|
602
714
|
</tr>
|
603
715
|
<tr>
|
604
|
-
<td
|
605
|
-
<td>the y coordinate of the second control point</td>
|
716
|
+
<td class="parameter_name"><p>y_2</p></td>
|
717
|
+
<td class="parameter_description"><p>the y coordinate of the second control point</p></td>
|
718
|
+
<td class="parameter_annotations"> </td>
|
606
719
|
</tr>
|
607
720
|
<tr>
|
608
|
-
<td
|
609
|
-
<td>the x coordinate of the third control point</td>
|
721
|
+
<td class="parameter_name"><p>x_3</p></td>
|
722
|
+
<td class="parameter_description"><p>the x coordinate of the third control point</p></td>
|
723
|
+
<td class="parameter_annotations"> </td>
|
610
724
|
</tr>
|
611
725
|
<tr>
|
612
|
-
<td
|
613
|
-
<td>the y coordinate of the third control point</td>
|
726
|
+
<td class="parameter_name"><p>y_3</p></td>
|
727
|
+
<td class="parameter_description"><p>the y coordinate of the third control point</p></td>
|
728
|
+
<td class="parameter_annotations"> </td>
|
614
729
|
</tr>
|
615
730
|
</tbody>
|
616
731
|
</table></div>
|
732
|
+
</div>
|
617
733
|
<p class="since">Since 1.0</p>
|
618
734
|
</div>
|
619
735
|
<hr>
|
620
736
|
<div class="refsect2">
|
621
|
-
<a name="clutter-path-add-close"></a><h3>clutter_path_add_close
|
622
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
623
|
-
<
|
624
|
-
Adds a <a class="link" href="ClutterPath.html#CLUTTER-PATH-CLOSE:CAPS"><code class="literal">CLUTTER_PATH_CLOSE</code></a> type node to the path. This creates a
|
737
|
+
<a name="clutter-path-add-close"></a><h3>clutter_path_add_close ()</h3>
|
738
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
739
|
+
clutter_path_add_close (<em class="parameter"><code><a class="link" href="ClutterPath.html" title="ClutterPath"><span class="type">ClutterPath</span></a> *path</code></em>);</pre>
|
740
|
+
<p>Adds a <a class="link" href="ClutterPath.html#CLUTTER-PATH-CLOSE:CAPS"><code class="literal">CLUTTER_PATH_CLOSE</code></a> type node to the path. This creates a
|
625
741
|
straight line from the last node to the last <a class="link" href="ClutterPath.html#CLUTTER-PATH-MOVE-TO:CAPS"><code class="literal">CLUTTER_PATH_MOVE_TO</code></a>
|
626
|
-
type node
|
627
|
-
|
628
|
-
<
|
742
|
+
type node.</p>
|
743
|
+
<div class="refsect3">
|
744
|
+
<a name="id-1.7.2.10.8.11.5"></a><h4>Parameters</h4>
|
745
|
+
<div class="informaltable"><table width="100%" border="0">
|
629
746
|
<colgroup>
|
630
|
-
<col
|
631
|
-
<col>
|
747
|
+
<col width="150px" class="parameters_name">
|
748
|
+
<col class="parameters_description">
|
749
|
+
<col width="200px" class="parameters_annotations">
|
632
750
|
</colgroup>
|
633
751
|
<tbody><tr>
|
634
|
-
<td
|
635
|
-
<td>a <a class="link" href="ClutterPath.html" title="ClutterPath"><span class="type">ClutterPath</span></a>
|
636
|
-
</td>
|
752
|
+
<td class="parameter_name"><p>path</p></td>
|
753
|
+
<td class="parameter_description"><p>a <a class="link" href="ClutterPath.html" title="ClutterPath"><span class="type">ClutterPath</span></a></p></td>
|
754
|
+
<td class="parameter_annotations"> </td>
|
637
755
|
</tr></tbody>
|
638
756
|
</table></div>
|
757
|
+
</div>
|
639
758
|
<p class="since">Since 1.0</p>
|
640
759
|
</div>
|
641
760
|
<hr>
|
642
761
|
<div class="refsect2">
|
643
|
-
<a name="clutter-path-add-string"></a><h3>clutter_path_add_string
|
644
|
-
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
645
|
-
|
646
|
-
<
|
647
|
-
Adds new nodes to the end of the path as described in <em class="parameter"><code>str</code></em
|
762
|
+
<a name="clutter-path-add-string"></a><h3>clutter_path_add_string ()</h3>
|
763
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
764
|
+
clutter_path_add_string (<em class="parameter"><code><a class="link" href="ClutterPath.html" title="ClutterPath"><span class="type">ClutterPath</span></a> *path</code></em>,
|
765
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *str</code></em>);</pre>
|
766
|
+
<p>Adds new nodes to the end of the path as described in <em class="parameter"><code>str</code></em>
|
767
|
+
. The
|
648
768
|
format is a subset of the SVG path format. Each node is represented
|
649
769
|
by a letter and is followed by zero, one or three pairs of
|
650
770
|
coordinates. The coordinates can be separated by spaces or a
|
651
|
-
comma. The types are
|
652
|
-
|
653
|
-
<p>
|
654
|
-
</p>
|
655
|
-
<
|
656
|
-
<
|
657
|
-
|
658
|
-
<
|
659
|
-
|
660
|
-
<
|
661
|
-
|
662
|
-
<td><p><span class="term">M</span></p></td>
|
663
|
-
<td><p>
|
664
|
-
Adds a <a class="link" href="ClutterPath.html#CLUTTER-PATH-MOVE-TO:CAPS"><code class="literal">CLUTTER_PATH_MOVE_TO</code></a> node. Takes one pair of coordinates.
|
665
|
-
</p></td>
|
666
|
-
</tr>
|
667
|
-
<tr>
|
668
|
-
<td><p><span class="term">L</span></p></td>
|
669
|
-
<td><p>
|
670
|
-
Adds a <a class="link" href="ClutterPath.html#CLUTTER-PATH-LINE-TO:CAPS"><code class="literal">CLUTTER_PATH_LINE_TO</code></a> node. Takes one pair of coordinates.
|
671
|
-
</p></td>
|
672
|
-
</tr>
|
673
|
-
<tr>
|
674
|
-
<td><p><span class="term">C</span></p></td>
|
675
|
-
<td><p>
|
676
|
-
Adds a <a class="link" href="ClutterPath.html#CLUTTER-PATH-CURVE-TO:CAPS"><code class="literal">CLUTTER_PATH_CURVE_TO</code></a> node. Takes three pairs of coordinates.
|
677
|
-
</p></td>
|
678
|
-
</tr>
|
679
|
-
<tr>
|
680
|
-
<td><p><span class="term">z</span></p></td>
|
681
|
-
<td><p>
|
682
|
-
Adds a <a class="link" href="ClutterPath.html#CLUTTER-PATH-CLOSE:CAPS"><code class="literal">CLUTTER_PATH_CLOSE</code></a> node. No coordinates are needed.
|
683
|
-
</p></td>
|
684
|
-
</tr>
|
685
|
-
</tbody>
|
686
|
-
</table></div>
|
687
|
-
<p>
|
688
|
-
</p>
|
689
|
-
<p>
|
690
|
-
The M, L and C commands can also be specified in lower case which
|
691
|
-
means the coordinates are relative to the previous node.
|
692
|
-
</p>
|
693
|
-
<p>
|
694
|
-
For example, to move an actor in a 100 by 100 pixel square centered
|
695
|
-
on the point 300,300 you could use the following path:
|
696
|
-
</p>
|
697
|
-
<p>
|
698
|
-
</p>
|
771
|
+
comma. The types are:</p>
|
772
|
+
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
|
773
|
+
<li class="listitem"><p><code class="literal">M</code>: Adds a <a class="link" href="ClutterPath.html#CLUTTER-PATH-MOVE-TO:CAPS"><code class="literal">CLUTTER_PATH_MOVE_TO</code></a> node. Takes one pair of coordinates.</p></li>
|
774
|
+
<li class="listitem"><p><code class="literal">L</code>: Adds a <a class="link" href="ClutterPath.html#CLUTTER-PATH-LINE-TO:CAPS"><code class="literal">CLUTTER_PATH_LINE_TO</code></a> node. Takes one pair of coordinates.</p></li>
|
775
|
+
<li class="listitem"><p><code class="literal">C</code>: Adds a <a class="link" href="ClutterPath.html#CLUTTER-PATH-CURVE-TO:CAPS"><code class="literal">CLUTTER_PATH_CURVE_TO</code></a> node. Takes three pairs of coordinates.</p></li>
|
776
|
+
<li class="listitem"><p><code class="literal">z</code>: Adds a <a class="link" href="ClutterPath.html#CLUTTER-PATH-CLOSE:CAPS"><code class="literal">CLUTTER_PATH_CLOSE</code></a> node. No coordinates are needed.</p></li>
|
777
|
+
</ul></div>
|
778
|
+
<p>The M, L and C commands can also be specified in lower case which
|
779
|
+
means the coordinates are relative to the previous node.</p>
|
780
|
+
<p>For example, to move an actor in a 100 by 100 pixel square centered
|
781
|
+
on the point 300,300 you could use the following path:</p>
|
699
782
|
<div class="informalexample">
|
700
783
|
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
701
784
|
<tbody>
|
@@ -707,618 +790,787 @@ on the point 300,300 you could use the following path:
|
|
707
790
|
</table>
|
708
791
|
</div>
|
709
792
|
|
710
|
-
<p>
|
711
|
-
|
712
|
-
|
713
|
-
|
714
|
-
|
715
|
-
|
716
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
793
|
+
<p></p>
|
794
|
+
<p>If the path description isn't valid <code class="literal">FALSE</code> will be returned and no
|
795
|
+
nodes will be added.</p>
|
796
|
+
<div class="refsect3">
|
797
|
+
<a name="id-1.7.2.10.8.12.11"></a><h4>Parameters</h4>
|
798
|
+
<div class="informaltable"><table width="100%" border="0">
|
717
799
|
<colgroup>
|
718
|
-
<col
|
719
|
-
<col>
|
800
|
+
<col width="150px" class="parameters_name">
|
801
|
+
<col class="parameters_description">
|
802
|
+
<col width="200px" class="parameters_annotations">
|
720
803
|
</colgroup>
|
721
804
|
<tbody>
|
722
805
|
<tr>
|
723
|
-
<td
|
724
|
-
<td>a <a class="link" href="ClutterPath.html" title="ClutterPath"><span class="type">ClutterPath</span></a>
|
725
|
-
</td>
|
726
|
-
</tr>
|
727
|
-
<tr>
|
728
|
-
<td><p><span class="term"><em class="parameter"><code>str</code></em> :</span></p></td>
|
729
|
-
<td>a string describing the new nodes</td>
|
806
|
+
<td class="parameter_name"><p>path</p></td>
|
807
|
+
<td class="parameter_description"><p>a <a class="link" href="ClutterPath.html" title="ClutterPath"><span class="type">ClutterPath</span></a></p></td>
|
808
|
+
<td class="parameter_annotations"> </td>
|
730
809
|
</tr>
|
731
810
|
<tr>
|
732
|
-
<td
|
733
|
-
<td>
|
734
|
-
<
|
735
|
-
otherwise.</td>
|
811
|
+
<td class="parameter_name"><p>str</p></td>
|
812
|
+
<td class="parameter_description"><p>a string describing the new nodes</p></td>
|
813
|
+
<td class="parameter_annotations"> </td>
|
736
814
|
</tr>
|
737
815
|
</tbody>
|
738
816
|
</table></div>
|
817
|
+
</div>
|
818
|
+
<div class="refsect3">
|
819
|
+
<a name="id-1.7.2.10.8.12.12"></a><h4>Returns</h4>
|
820
|
+
<p> <code class="literal">TRUE</code> is the path description was valid or <code class="literal">FALSE</code>
|
821
|
+
otherwise.</p>
|
822
|
+
<p></p>
|
823
|
+
</div>
|
739
824
|
<p class="since">Since 1.0</p>
|
740
825
|
</div>
|
741
826
|
<hr>
|
742
827
|
<div class="refsect2">
|
743
|
-
<a name="clutter-path-add-node"></a><h3>clutter_path_add_node
|
744
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
745
|
-
|
746
|
-
<
|
747
|
-
Adds <em class="parameter"><code>node</code></em>
|
748
|
-
|
749
|
-
<div class="
|
828
|
+
<a name="clutter-path-add-node"></a><h3>clutter_path_add_node ()</h3>
|
829
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
830
|
+
clutter_path_add_node (<em class="parameter"><code><a class="link" href="ClutterPath.html" title="ClutterPath"><span class="type">ClutterPath</span></a> *path</code></em>,
|
831
|
+
<em class="parameter"><code>const <a class="link" href="ClutterPath.html#ClutterPathNode" title="struct ClutterPathNode"><span class="type">ClutterPathNode</span></a> *node</code></em>);</pre>
|
832
|
+
<p>Adds <em class="parameter"><code>node</code></em>
|
833
|
+
to the end of the path.</p>
|
834
|
+
<div class="refsect3">
|
835
|
+
<a name="id-1.7.2.10.8.13.5"></a><h4>Parameters</h4>
|
836
|
+
<div class="informaltable"><table width="100%" border="0">
|
750
837
|
<colgroup>
|
751
|
-
<col
|
752
|
-
<col>
|
838
|
+
<col width="150px" class="parameters_name">
|
839
|
+
<col class="parameters_description">
|
840
|
+
<col width="200px" class="parameters_annotations">
|
753
841
|
</colgroup>
|
754
842
|
<tbody>
|
755
843
|
<tr>
|
756
|
-
<td
|
757
|
-
<td>a <a class="link" href="ClutterPath.html" title="ClutterPath"><span class="type">ClutterPath</span></a>
|
758
|
-
</td>
|
844
|
+
<td class="parameter_name"><p>path</p></td>
|
845
|
+
<td class="parameter_description"><p>a <a class="link" href="ClutterPath.html" title="ClutterPath"><span class="type">ClutterPath</span></a></p></td>
|
846
|
+
<td class="parameter_annotations"> </td>
|
759
847
|
</tr>
|
760
848
|
<tr>
|
761
|
-
<td
|
762
|
-
<td>a <a class="link" href="ClutterPath.html#ClutterPathNode" title="struct ClutterPathNode"><span class="type">ClutterPathNode</span></a>
|
763
|
-
</td>
|
849
|
+
<td class="parameter_name"><p>node</p></td>
|
850
|
+
<td class="parameter_description"><p>a <a class="link" href="ClutterPath.html#ClutterPathNode" title="struct ClutterPathNode"><span class="type">ClutterPathNode</span></a></p></td>
|
851
|
+
<td class="parameter_annotations"> </td>
|
764
852
|
</tr>
|
765
853
|
</tbody>
|
766
854
|
</table></div>
|
855
|
+
</div>
|
767
856
|
<p class="since">Since 1.0</p>
|
768
857
|
</div>
|
769
858
|
<hr>
|
770
859
|
<div class="refsect2">
|
771
|
-
<a name="clutter-path-add-cairo-path"></a><h3>clutter_path_add_cairo_path
|
772
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
773
|
-
|
774
|
-
<
|
775
|
-
Add the nodes of the Cairo path to the end of <em class="parameter"><code>path</code></em
|
776
|
-
|
777
|
-
<div class="
|
860
|
+
<a name="clutter-path-add-cairo-path"></a><h3>clutter_path_add_cairo_path ()</h3>
|
861
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
862
|
+
clutter_path_add_cairo_path (<em class="parameter"><code><a class="link" href="ClutterPath.html" title="ClutterPath"><span class="type">ClutterPath</span></a> *path</code></em>,
|
863
|
+
<em class="parameter"><code>const <span class="type">cairo_path_t</span> *cpath</code></em>);</pre>
|
864
|
+
<p>Add the nodes of the Cairo path to the end of <em class="parameter"><code>path</code></em>
|
865
|
+
.</p>
|
866
|
+
<div class="refsect3">
|
867
|
+
<a name="id-1.7.2.10.8.14.5"></a><h4>Parameters</h4>
|
868
|
+
<div class="informaltable"><table width="100%" border="0">
|
778
869
|
<colgroup>
|
779
|
-
<col
|
780
|
-
<col>
|
870
|
+
<col width="150px" class="parameters_name">
|
871
|
+
<col class="parameters_description">
|
872
|
+
<col width="200px" class="parameters_annotations">
|
781
873
|
</colgroup>
|
782
874
|
<tbody>
|
783
875
|
<tr>
|
784
|
-
<td
|
785
|
-
<td>a <a class="link" href="ClutterPath.html" title="ClutterPath"><span class="type">ClutterPath</span></a>
|
786
|
-
</td>
|
876
|
+
<td class="parameter_name"><p>path</p></td>
|
877
|
+
<td class="parameter_description"><p>a <a class="link" href="ClutterPath.html" title="ClutterPath"><span class="type">ClutterPath</span></a></p></td>
|
878
|
+
<td class="parameter_annotations"> </td>
|
787
879
|
</tr>
|
788
880
|
<tr>
|
789
|
-
<td
|
790
|
-
<td>a Cairo path</td>
|
881
|
+
<td class="parameter_name"><p>cpath</p></td>
|
882
|
+
<td class="parameter_description"><p>a Cairo path</p></td>
|
883
|
+
<td class="parameter_annotations"> </td>
|
791
884
|
</tr>
|
792
885
|
</tbody>
|
793
886
|
</table></div>
|
887
|
+
</div>
|
794
888
|
<p class="since">Since 1.0</p>
|
795
889
|
</div>
|
796
890
|
<hr>
|
797
891
|
<div class="refsect2">
|
798
|
-
<a name="clutter-path-get-n-nodes"></a><h3>clutter_path_get_n_nodes
|
799
|
-
<pre class="programlisting"><span class="returnvalue">guint</span>
|
800
|
-
<
|
801
|
-
Retrieves the number of nodes in the path
|
802
|
-
|
803
|
-
<
|
892
|
+
<a name="clutter-path-get-n-nodes"></a><h3>clutter_path_get_n_nodes ()</h3>
|
893
|
+
<pre class="programlisting"><span class="returnvalue">guint</span>
|
894
|
+
clutter_path_get_n_nodes (<em class="parameter"><code><a class="link" href="ClutterPath.html" title="ClutterPath"><span class="type">ClutterPath</span></a> *path</code></em>);</pre>
|
895
|
+
<p>Retrieves the number of nodes in the path.</p>
|
896
|
+
<div class="refsect3">
|
897
|
+
<a name="id-1.7.2.10.8.15.5"></a><h4>Parameters</h4>
|
898
|
+
<div class="informaltable"><table width="100%" border="0">
|
804
899
|
<colgroup>
|
805
|
-
<col
|
806
|
-
<col>
|
900
|
+
<col width="150px" class="parameters_name">
|
901
|
+
<col class="parameters_description">
|
902
|
+
<col width="200px" class="parameters_annotations">
|
807
903
|
</colgroup>
|
808
|
-
<tbody>
|
809
|
-
<
|
810
|
-
<td><p
|
811
|
-
<td
|
812
|
-
</
|
813
|
-
</tr>
|
814
|
-
<tr>
|
815
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
816
|
-
<td>the number of nodes.</td>
|
817
|
-
</tr>
|
818
|
-
</tbody>
|
904
|
+
<tbody><tr>
|
905
|
+
<td class="parameter_name"><p>path</p></td>
|
906
|
+
<td class="parameter_description"><p>a <a class="link" href="ClutterPath.html" title="ClutterPath"><span class="type">ClutterPath</span></a></p></td>
|
907
|
+
<td class="parameter_annotations"> </td>
|
908
|
+
</tr></tbody>
|
819
909
|
</table></div>
|
910
|
+
</div>
|
911
|
+
<div class="refsect3">
|
912
|
+
<a name="id-1.7.2.10.8.15.6"></a><h4>Returns</h4>
|
913
|
+
<p> the number of nodes.</p>
|
914
|
+
<p></p>
|
915
|
+
</div>
|
820
916
|
<p class="since">Since 1.0</p>
|
821
917
|
</div>
|
822
918
|
<hr>
|
823
919
|
<div class="refsect2">
|
824
|
-
<a name="clutter-path-get-node"></a><h3>clutter_path_get_node
|
825
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
826
|
-
|
827
|
-
|
828
|
-
<
|
829
|
-
Retrieves the node of the path indexed by <em class="parameter"><code>index</code></em
|
830
|
-
|
831
|
-
<div class="
|
920
|
+
<a name="clutter-path-get-node"></a><h3>clutter_path_get_node ()</h3>
|
921
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
922
|
+
clutter_path_get_node (<em class="parameter"><code><a class="link" href="ClutterPath.html" title="ClutterPath"><span class="type">ClutterPath</span></a> *path</code></em>,
|
923
|
+
<em class="parameter"><code><span class="type">guint</span> index_</code></em>,
|
924
|
+
<em class="parameter"><code><a class="link" href="ClutterPath.html#ClutterPathNode" title="struct ClutterPathNode"><span class="type">ClutterPathNode</span></a> *node</code></em>);</pre>
|
925
|
+
<p>Retrieves the node of the path indexed by <em class="parameter"><code>index</code></em>
|
926
|
+
.</p>
|
927
|
+
<div class="refsect3">
|
928
|
+
<a name="id-1.7.2.10.8.16.5"></a><h4>Parameters</h4>
|
929
|
+
<div class="informaltable"><table width="100%" border="0">
|
832
930
|
<colgroup>
|
833
|
-
<col
|
834
|
-
<col>
|
931
|
+
<col width="150px" class="parameters_name">
|
932
|
+
<col class="parameters_description">
|
933
|
+
<col width="200px" class="parameters_annotations">
|
835
934
|
</colgroup>
|
836
935
|
<tbody>
|
837
936
|
<tr>
|
838
|
-
<td
|
839
|
-
<td>a <a class="link" href="ClutterPath.html" title="ClutterPath"><span class="type">ClutterPath</span></a>
|
840
|
-
</td>
|
937
|
+
<td class="parameter_name"><p>path</p></td>
|
938
|
+
<td class="parameter_description"><p>a <a class="link" href="ClutterPath.html" title="ClutterPath"><span class="type">ClutterPath</span></a></p></td>
|
939
|
+
<td class="parameter_annotations"> </td>
|
841
940
|
</tr>
|
842
941
|
<tr>
|
843
|
-
<td
|
844
|
-
<td>the node number to retrieve</td>
|
942
|
+
<td class="parameter_name"><p>index_</p></td>
|
943
|
+
<td class="parameter_description"><p>the node number to retrieve</p></td>
|
944
|
+
<td class="parameter_annotations"> </td>
|
845
945
|
</tr>
|
846
946
|
<tr>
|
847
|
-
<td
|
848
|
-
<td>a location to store a copy of the node.
|
849
|
-
</td>
|
947
|
+
<td class="parameter_name"><p>node</p></td>
|
948
|
+
<td class="parameter_description"><p> a location to store a copy of the node. </p></td>
|
949
|
+
<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>
|
850
950
|
</tr>
|
851
951
|
</tbody>
|
852
952
|
</table></div>
|
953
|
+
</div>
|
853
954
|
<p class="since">Since 1.0</p>
|
854
955
|
</div>
|
855
956
|
<hr>
|
856
957
|
<div class="refsect2">
|
857
|
-
<a name="clutter-path-get-nodes"></a><h3>clutter_path_get_nodes
|
858
|
-
<pre class="programlisting"><span class="returnvalue">GSList</span>
|
859
|
-
<
|
860
|
-
Returns a <span class="type">GSList</span> of <a class="link" href="ClutterPath.html#ClutterPathNode" title="struct ClutterPathNode"><span class="type">ClutterPathNode</span></a
|
958
|
+
<a name="clutter-path-get-nodes"></a><h3>clutter_path_get_nodes ()</h3>
|
959
|
+
<pre class="programlisting"><span class="returnvalue">GSList</span> *
|
960
|
+
clutter_path_get_nodes (<em class="parameter"><code><a class="link" href="ClutterPath.html" title="ClutterPath"><span class="type">ClutterPath</span></a> *path</code></em>);</pre>
|
961
|
+
<p>Returns a <span class="type">GSList</span> of <a class="link" href="ClutterPath.html#ClutterPathNode" title="struct ClutterPathNode"><span class="type">ClutterPathNode</span></a><!-- -->s. The list should be
|
861
962
|
freed with <code class="function">g_slist_free()</code>. The nodes are owned by the path and
|
862
963
|
should not be freed. Altering the path may cause the nodes in the
|
863
964
|
list to become invalid so you should copy them if you want to keep
|
864
|
-
the list
|
865
|
-
|
866
|
-
<
|
965
|
+
the list.</p>
|
966
|
+
<div class="refsect3">
|
967
|
+
<a name="id-1.7.2.10.8.17.5"></a><h4>Parameters</h4>
|
968
|
+
<div class="informaltable"><table width="100%" border="0">
|
867
969
|
<colgroup>
|
868
|
-
<col
|
869
|
-
<col>
|
970
|
+
<col width="150px" class="parameters_name">
|
971
|
+
<col class="parameters_description">
|
972
|
+
<col width="200px" class="parameters_annotations">
|
870
973
|
</colgroup>
|
871
|
-
<tbody>
|
872
|
-
<
|
873
|
-
<td><p
|
874
|
-
<td
|
875
|
-
</
|
876
|
-
</tr>
|
877
|
-
<tr>
|
878
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
879
|
-
<td>a
|
880
|
-
list of nodes in the path. <span class="annotation">[<acronym title="Free data container after the code is done."><span class="acronym">transfer container</span></acronym>][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> Clutter.PathNode]</span>
|
881
|
-
</td>
|
882
|
-
</tr>
|
883
|
-
</tbody>
|
974
|
+
<tbody><tr>
|
975
|
+
<td class="parameter_name"><p>path</p></td>
|
976
|
+
<td class="parameter_description"><p>a <a class="link" href="ClutterPath.html" title="ClutterPath"><span class="type">ClutterPath</span></a></p></td>
|
977
|
+
<td class="parameter_annotations"> </td>
|
978
|
+
</tr></tbody>
|
884
979
|
</table></div>
|
980
|
+
</div>
|
981
|
+
<div class="refsect3">
|
982
|
+
<a name="id-1.7.2.10.8.17.6"></a><h4>Returns</h4>
|
983
|
+
<p> a
|
984
|
+
list of nodes in the path. </p>
|
985
|
+
<p><span class="annotation">[<acronym title="Free data container after the code is done."><span class="acronym">transfer container</span></acronym>][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> Clutter.PathNode]</span></p>
|
986
|
+
</div>
|
885
987
|
<p class="since">Since 1.0</p>
|
886
988
|
</div>
|
887
989
|
<hr>
|
888
990
|
<div class="refsect2">
|
889
|
-
<a name="clutter-path-foreach"></a><h3>clutter_path_foreach
|
890
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
891
|
-
|
892
|
-
|
893
|
-
<
|
894
|
-
Calls a function for each node of the path
|
895
|
-
|
896
|
-
<
|
991
|
+
<a name="clutter-path-foreach"></a><h3>clutter_path_foreach ()</h3>
|
992
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
993
|
+
clutter_path_foreach (<em class="parameter"><code><a class="link" href="ClutterPath.html" title="ClutterPath"><span class="type">ClutterPath</span></a> *path</code></em>,
|
994
|
+
<em class="parameter"><code><a class="link" href="ClutterPath.html#ClutterPathCallback" title="ClutterPathCallback ()"><span class="type">ClutterPathCallback</span></a> callback</code></em>,
|
995
|
+
<em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
|
996
|
+
<p>Calls a function for each node of the path.</p>
|
997
|
+
<div class="refsect3">
|
998
|
+
<a name="id-1.7.2.10.8.18.5"></a><h4>Parameters</h4>
|
999
|
+
<div class="informaltable"><table width="100%" border="0">
|
897
1000
|
<colgroup>
|
898
|
-
<col
|
899
|
-
<col>
|
1001
|
+
<col width="150px" class="parameters_name">
|
1002
|
+
<col class="parameters_description">
|
1003
|
+
<col width="200px" class="parameters_annotations">
|
900
1004
|
</colgroup>
|
901
1005
|
<tbody>
|
902
1006
|
<tr>
|
903
|
-
<td
|
904
|
-
<td>a <a class="link" href="ClutterPath.html" title="ClutterPath"><span class="type">ClutterPath</span></a>
|
905
|
-
</td>
|
1007
|
+
<td class="parameter_name"><p>path</p></td>
|
1008
|
+
<td class="parameter_description"><p>a <a class="link" href="ClutterPath.html" title="ClutterPath"><span class="type">ClutterPath</span></a></p></td>
|
1009
|
+
<td class="parameter_annotations"> </td>
|
906
1010
|
</tr>
|
907
1011
|
<tr>
|
908
|
-
<td
|
909
|
-
<td>the function to call with each node.
|
910
|
-
</td>
|
1012
|
+
<td class="parameter_name"><p>callback</p></td>
|
1013
|
+
<td class="parameter_description"><p> the function to call with each node. </p></td>
|
1014
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="The callback is valid only during the call to the method."><span class="acronym">scope call</span></acronym>]</span></td>
|
911
1015
|
</tr>
|
912
1016
|
<tr>
|
913
|
-
<td
|
914
|
-
<td>user data to pass to the function</td>
|
1017
|
+
<td class="parameter_name"><p>user_data</p></td>
|
1018
|
+
<td class="parameter_description"><p>user data to pass to the function</p></td>
|
1019
|
+
<td class="parameter_annotations"> </td>
|
915
1020
|
</tr>
|
916
1021
|
</tbody>
|
917
1022
|
</table></div>
|
1023
|
+
</div>
|
918
1024
|
<p class="since">Since 1.0</p>
|
919
1025
|
</div>
|
920
1026
|
<hr>
|
921
1027
|
<div class="refsect2">
|
922
|
-
<a name="clutter-path-insert-node"></a><h3>clutter_path_insert_node
|
923
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
924
|
-
|
925
|
-
|
926
|
-
<
|
927
|
-
Inserts <em class="parameter"><code>node</code></em>
|
928
|
-
|
929
|
-
</
|
930
|
-
|
1028
|
+
<a name="clutter-path-insert-node"></a><h3>clutter_path_insert_node ()</h3>
|
1029
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1030
|
+
clutter_path_insert_node (<em class="parameter"><code><a class="link" href="ClutterPath.html" title="ClutterPath"><span class="type">ClutterPath</span></a> *path</code></em>,
|
1031
|
+
<em class="parameter"><code><span class="type">gint</span> index_</code></em>,
|
1032
|
+
<em class="parameter"><code>const <a class="link" href="ClutterPath.html#ClutterPathNode" title="struct ClutterPathNode"><span class="type">ClutterPathNode</span></a> *node</code></em>);</pre>
|
1033
|
+
<p>Inserts <em class="parameter"><code>node</code></em>
|
1034
|
+
into the path before the node at the given offset. If
|
1035
|
+
<em class="parameter"><code>index_</code></em>
|
1036
|
+
is negative it will append the node to the end of the path.</p>
|
1037
|
+
<div class="refsect3">
|
1038
|
+
<a name="id-1.7.2.10.8.19.5"></a><h4>Parameters</h4>
|
1039
|
+
<div class="informaltable"><table width="100%" border="0">
|
931
1040
|
<colgroup>
|
932
|
-
<col
|
933
|
-
<col>
|
1041
|
+
<col width="150px" class="parameters_name">
|
1042
|
+
<col class="parameters_description">
|
1043
|
+
<col width="200px" class="parameters_annotations">
|
934
1044
|
</colgroup>
|
935
1045
|
<tbody>
|
936
1046
|
<tr>
|
937
|
-
<td
|
938
|
-
<td>a <a class="link" href="ClutterPath.html" title="ClutterPath"><span class="type">ClutterPath</span></a>
|
939
|
-
</td>
|
1047
|
+
<td class="parameter_name"><p>path</p></td>
|
1048
|
+
<td class="parameter_description"><p>a <a class="link" href="ClutterPath.html" title="ClutterPath"><span class="type">ClutterPath</span></a></p></td>
|
1049
|
+
<td class="parameter_annotations"> </td>
|
940
1050
|
</tr>
|
941
1051
|
<tr>
|
942
|
-
<td
|
943
|
-
<td>offset of where to insert the node</td>
|
1052
|
+
<td class="parameter_name"><p>index_</p></td>
|
1053
|
+
<td class="parameter_description"><p>offset of where to insert the node</p></td>
|
1054
|
+
<td class="parameter_annotations"> </td>
|
944
1055
|
</tr>
|
945
1056
|
<tr>
|
946
|
-
<td
|
947
|
-
<td>the node to insert</td>
|
1057
|
+
<td class="parameter_name"><p>node</p></td>
|
1058
|
+
<td class="parameter_description"><p>the node to insert</p></td>
|
1059
|
+
<td class="parameter_annotations"> </td>
|
948
1060
|
</tr>
|
949
1061
|
</tbody>
|
950
1062
|
</table></div>
|
1063
|
+
</div>
|
951
1064
|
<p class="since">Since 1.0</p>
|
952
1065
|
</div>
|
953
1066
|
<hr>
|
954
1067
|
<div class="refsect2">
|
955
|
-
<a name="clutter-path-remove-node"></a><h3>clutter_path_remove_node
|
956
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
957
|
-
|
958
|
-
<
|
959
|
-
Removes the node at the given offset from the path
|
960
|
-
|
961
|
-
<
|
1068
|
+
<a name="clutter-path-remove-node"></a><h3>clutter_path_remove_node ()</h3>
|
1069
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1070
|
+
clutter_path_remove_node (<em class="parameter"><code><a class="link" href="ClutterPath.html" title="ClutterPath"><span class="type">ClutterPath</span></a> *path</code></em>,
|
1071
|
+
<em class="parameter"><code><span class="type">guint</span> index_</code></em>);</pre>
|
1072
|
+
<p>Removes the node at the given offset from the path.</p>
|
1073
|
+
<div class="refsect3">
|
1074
|
+
<a name="id-1.7.2.10.8.20.5"></a><h4>Parameters</h4>
|
1075
|
+
<div class="informaltable"><table width="100%" border="0">
|
962
1076
|
<colgroup>
|
963
|
-
<col
|
964
|
-
<col>
|
1077
|
+
<col width="150px" class="parameters_name">
|
1078
|
+
<col class="parameters_description">
|
1079
|
+
<col width="200px" class="parameters_annotations">
|
965
1080
|
</colgroup>
|
966
1081
|
<tbody>
|
967
1082
|
<tr>
|
968
|
-
<td
|
969
|
-
<td>a <a class="link" href="ClutterPath.html" title="ClutterPath"><span class="type">ClutterPath</span></a>
|
970
|
-
</td>
|
1083
|
+
<td class="parameter_name"><p>path</p></td>
|
1084
|
+
<td class="parameter_description"><p>a <a class="link" href="ClutterPath.html" title="ClutterPath"><span class="type">ClutterPath</span></a></p></td>
|
1085
|
+
<td class="parameter_annotations"> </td>
|
971
1086
|
</tr>
|
972
1087
|
<tr>
|
973
|
-
<td
|
974
|
-
<td>index of the node to remove</td>
|
1088
|
+
<td class="parameter_name"><p>index_</p></td>
|
1089
|
+
<td class="parameter_description"><p>index of the node to remove</p></td>
|
1090
|
+
<td class="parameter_annotations"> </td>
|
975
1091
|
</tr>
|
976
1092
|
</tbody>
|
977
1093
|
</table></div>
|
1094
|
+
</div>
|
978
1095
|
<p class="since">Since 1.0</p>
|
979
1096
|
</div>
|
980
1097
|
<hr>
|
981
1098
|
<div class="refsect2">
|
982
|
-
<a name="clutter-path-replace-node"></a><h3>clutter_path_replace_node
|
983
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
984
|
-
|
985
|
-
|
986
|
-
<
|
987
|
-
Replaces the node at offset <em class="parameter"><code>index_</code></em>
|
988
|
-
</
|
989
|
-
|
1099
|
+
<a name="clutter-path-replace-node"></a><h3>clutter_path_replace_node ()</h3>
|
1100
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1101
|
+
clutter_path_replace_node (<em class="parameter"><code><a class="link" href="ClutterPath.html" title="ClutterPath"><span class="type">ClutterPath</span></a> *path</code></em>,
|
1102
|
+
<em class="parameter"><code><span class="type">guint</span> index_</code></em>,
|
1103
|
+
<em class="parameter"><code>const <a class="link" href="ClutterPath.html#ClutterPathNode" title="struct ClutterPathNode"><span class="type">ClutterPathNode</span></a> *node</code></em>);</pre>
|
1104
|
+
<p>Replaces the node at offset <em class="parameter"><code>index_</code></em>
|
1105
|
+
with <em class="parameter"><code>node</code></em>
|
1106
|
+
.</p>
|
1107
|
+
<div class="refsect3">
|
1108
|
+
<a name="id-1.7.2.10.8.21.5"></a><h4>Parameters</h4>
|
1109
|
+
<div class="informaltable"><table width="100%" border="0">
|
990
1110
|
<colgroup>
|
991
|
-
<col
|
992
|
-
<col>
|
1111
|
+
<col width="150px" class="parameters_name">
|
1112
|
+
<col class="parameters_description">
|
1113
|
+
<col width="200px" class="parameters_annotations">
|
993
1114
|
</colgroup>
|
994
1115
|
<tbody>
|
995
1116
|
<tr>
|
996
|
-
<td
|
997
|
-
<td>a <a class="link" href="ClutterPath.html" title="ClutterPath"><span class="type">ClutterPath</span></a>
|
998
|
-
</td>
|
1117
|
+
<td class="parameter_name"><p>path</p></td>
|
1118
|
+
<td class="parameter_description"><p>a <a class="link" href="ClutterPath.html" title="ClutterPath"><span class="type">ClutterPath</span></a></p></td>
|
1119
|
+
<td class="parameter_annotations"> </td>
|
999
1120
|
</tr>
|
1000
1121
|
<tr>
|
1001
|
-
<td
|
1002
|
-
<td>index to the existing node</td>
|
1122
|
+
<td class="parameter_name"><p>index_</p></td>
|
1123
|
+
<td class="parameter_description"><p>index to the existing node</p></td>
|
1124
|
+
<td class="parameter_annotations"> </td>
|
1003
1125
|
</tr>
|
1004
1126
|
<tr>
|
1005
|
-
<td
|
1006
|
-
<td>the replacement node</td>
|
1127
|
+
<td class="parameter_name"><p>node</p></td>
|
1128
|
+
<td class="parameter_description"><p>the replacement node</p></td>
|
1129
|
+
<td class="parameter_annotations"> </td>
|
1007
1130
|
</tr>
|
1008
1131
|
</tbody>
|
1009
1132
|
</table></div>
|
1133
|
+
</div>
|
1010
1134
|
<p class="since">Since 1.0</p>
|
1011
1135
|
</div>
|
1012
1136
|
<hr>
|
1013
1137
|
<div class="refsect2">
|
1014
|
-
<a name="clutter-path-get-description"></a><h3>clutter_path_get_description
|
1015
|
-
<pre class="programlisting"><span class="returnvalue">gchar</span>
|
1016
|
-
<
|
1017
|
-
Returns a newly allocated string describing the path in the same
|
1018
|
-
format as used by <a class="link" href="ClutterPath.html#clutter-path-add-string" title="clutter_path_add_string
|
1019
|
-
|
1020
|
-
<
|
1138
|
+
<a name="clutter-path-get-description"></a><h3>clutter_path_get_description ()</h3>
|
1139
|
+
<pre class="programlisting"><span class="returnvalue">gchar</span> *
|
1140
|
+
clutter_path_get_description (<em class="parameter"><code><a class="link" href="ClutterPath.html" title="ClutterPath"><span class="type">ClutterPath</span></a> *path</code></em>);</pre>
|
1141
|
+
<p>Returns a newly allocated string describing the path in the same
|
1142
|
+
format as used by <a class="link" href="ClutterPath.html#clutter-path-add-string" title="clutter_path_add_string ()"><code class="function">clutter_path_add_string()</code></a>.</p>
|
1143
|
+
<div class="refsect3">
|
1144
|
+
<a name="id-1.7.2.10.8.22.5"></a><h4>Parameters</h4>
|
1145
|
+
<div class="informaltable"><table width="100%" border="0">
|
1021
1146
|
<colgroup>
|
1022
|
-
<col
|
1023
|
-
<col>
|
1147
|
+
<col width="150px" class="parameters_name">
|
1148
|
+
<col class="parameters_description">
|
1149
|
+
<col width="200px" class="parameters_annotations">
|
1024
1150
|
</colgroup>
|
1025
|
-
<tbody>
|
1026
|
-
<
|
1027
|
-
<td><p
|
1028
|
-
<td
|
1029
|
-
</
|
1030
|
-
</tr>
|
1031
|
-
<tr>
|
1032
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1033
|
-
<td>a string description of the path. Free with <code class="function">g_free()</code>.</td>
|
1034
|
-
</tr>
|
1035
|
-
</tbody>
|
1151
|
+
<tbody><tr>
|
1152
|
+
<td class="parameter_name"><p>path</p></td>
|
1153
|
+
<td class="parameter_description"><p>a <a class="link" href="ClutterPath.html" title="ClutterPath"><span class="type">ClutterPath</span></a></p></td>
|
1154
|
+
<td class="parameter_annotations"> </td>
|
1155
|
+
</tr></tbody>
|
1036
1156
|
</table></div>
|
1157
|
+
</div>
|
1158
|
+
<div class="refsect3">
|
1159
|
+
<a name="id-1.7.2.10.8.22.6"></a><h4>Returns</h4>
|
1160
|
+
<p> a string description of the path. Free with <code class="function">g_free()</code>.</p>
|
1161
|
+
<p></p>
|
1162
|
+
</div>
|
1037
1163
|
<p class="since">Since 1.0</p>
|
1038
1164
|
</div>
|
1039
1165
|
<hr>
|
1040
1166
|
<div class="refsect2">
|
1041
|
-
<a name="clutter-path-set-description"></a><h3>clutter_path_set_description
|
1042
|
-
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
1043
|
-
|
1044
|
-
<
|
1045
|
-
Replaces all of the nodes in the path with nodes described by
|
1046
|
-
<em class="parameter"><code>str</code></em
|
1047
|
-
</p>
|
1048
|
-
<p>
|
1049
|
-
|
1050
|
-
|
1051
|
-
</
|
1052
|
-
<div class="
|
1167
|
+
<a name="clutter-path-set-description"></a><h3>clutter_path_set_description ()</h3>
|
1168
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
1169
|
+
clutter_path_set_description (<em class="parameter"><code><a class="link" href="ClutterPath.html" title="ClutterPath"><span class="type">ClutterPath</span></a> *path</code></em>,
|
1170
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *str</code></em>);</pre>
|
1171
|
+
<p>Replaces all of the nodes in the path with nodes described by
|
1172
|
+
<em class="parameter"><code>str</code></em>
|
1173
|
+
. See <a class="link" href="ClutterPath.html#clutter-path-add-string" title="clutter_path_add_string ()"><code class="function">clutter_path_add_string()</code></a> for details of the format.</p>
|
1174
|
+
<p>If the string is invalid then <code class="literal">FALSE</code> is returned and the path is
|
1175
|
+
unaltered.</p>
|
1176
|
+
<div class="refsect3">
|
1177
|
+
<a name="id-1.7.2.10.8.23.6"></a><h4>Parameters</h4>
|
1178
|
+
<div class="informaltable"><table width="100%" border="0">
|
1053
1179
|
<colgroup>
|
1054
|
-
<col
|
1055
|
-
<col>
|
1180
|
+
<col width="150px" class="parameters_name">
|
1181
|
+
<col class="parameters_description">
|
1182
|
+
<col width="200px" class="parameters_annotations">
|
1056
1183
|
</colgroup>
|
1057
1184
|
<tbody>
|
1058
1185
|
<tr>
|
1059
|
-
<td
|
1060
|
-
<td>a <a class="link" href="ClutterPath.html" title="ClutterPath"><span class="type">ClutterPath</span></a>
|
1061
|
-
</td>
|
1062
|
-
</tr>
|
1063
|
-
<tr>
|
1064
|
-
<td><p><span class="term"><em class="parameter"><code>str</code></em> :</span></p></td>
|
1065
|
-
<td>a string describing the path</td>
|
1186
|
+
<td class="parameter_name"><p>path</p></td>
|
1187
|
+
<td class="parameter_description"><p>a <a class="link" href="ClutterPath.html" title="ClutterPath"><span class="type">ClutterPath</span></a></p></td>
|
1188
|
+
<td class="parameter_annotations"> </td>
|
1066
1189
|
</tr>
|
1067
1190
|
<tr>
|
1068
|
-
<td
|
1069
|
-
<td>
|
1070
|
-
<
|
1191
|
+
<td class="parameter_name"><p>str</p></td>
|
1192
|
+
<td class="parameter_description"><p>a string describing the path</p></td>
|
1193
|
+
<td class="parameter_annotations"> </td>
|
1071
1194
|
</tr>
|
1072
1195
|
</tbody>
|
1073
1196
|
</table></div>
|
1197
|
+
</div>
|
1198
|
+
<div class="refsect3">
|
1199
|
+
<a name="id-1.7.2.10.8.23.7"></a><h4>Returns</h4>
|
1200
|
+
<p> <code class="literal">TRUE</code> is the path was valid, <code class="literal">FALSE</code> otherwise.</p>
|
1201
|
+
<p></p>
|
1202
|
+
</div>
|
1074
1203
|
<p class="since">Since 1.0</p>
|
1075
1204
|
</div>
|
1076
1205
|
<hr>
|
1077
1206
|
<div class="refsect2">
|
1078
|
-
<a name="clutter-path-to-cairo-path"></a><h3>clutter_path_to_cairo_path
|
1079
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
1080
|
-
|
1081
|
-
<
|
1082
|
-
Add the nodes of the ClutterPath to the path in the Cairo context
|
1083
|
-
|
1084
|
-
<
|
1207
|
+
<a name="clutter-path-to-cairo-path"></a><h3>clutter_path_to_cairo_path ()</h3>
|
1208
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1209
|
+
clutter_path_to_cairo_path (<em class="parameter"><code><a class="link" href="ClutterPath.html" title="ClutterPath"><span class="type">ClutterPath</span></a> *path</code></em>,
|
1210
|
+
<em class="parameter"><code><span class="type">cairo_t</span> *cr</code></em>);</pre>
|
1211
|
+
<p>Add the nodes of the ClutterPath to the path in the Cairo context.</p>
|
1212
|
+
<div class="refsect3">
|
1213
|
+
<a name="id-1.7.2.10.8.24.5"></a><h4>Parameters</h4>
|
1214
|
+
<div class="informaltable"><table width="100%" border="0">
|
1085
1215
|
<colgroup>
|
1086
|
-
<col
|
1087
|
-
<col>
|
1216
|
+
<col width="150px" class="parameters_name">
|
1217
|
+
<col class="parameters_description">
|
1218
|
+
<col width="200px" class="parameters_annotations">
|
1088
1219
|
</colgroup>
|
1089
1220
|
<tbody>
|
1090
1221
|
<tr>
|
1091
|
-
<td
|
1092
|
-
<td>a <a class="link" href="ClutterPath.html" title="ClutterPath"><span class="type">ClutterPath</span></a>
|
1093
|
-
</td>
|
1222
|
+
<td class="parameter_name"><p>path</p></td>
|
1223
|
+
<td class="parameter_description"><p>a <a class="link" href="ClutterPath.html" title="ClutterPath"><span class="type">ClutterPath</span></a></p></td>
|
1224
|
+
<td class="parameter_annotations"> </td>
|
1094
1225
|
</tr>
|
1095
1226
|
<tr>
|
1096
|
-
<td
|
1097
|
-
<td>a Cairo context</td>
|
1227
|
+
<td class="parameter_name"><p>cr</p></td>
|
1228
|
+
<td class="parameter_description"><p>a Cairo context</p></td>
|
1229
|
+
<td class="parameter_annotations"> </td>
|
1098
1230
|
</tr>
|
1099
1231
|
</tbody>
|
1100
1232
|
</table></div>
|
1233
|
+
</div>
|
1101
1234
|
<p class="since">Since 1.0</p>
|
1102
1235
|
</div>
|
1103
1236
|
<hr>
|
1104
1237
|
<div class="refsect2">
|
1105
|
-
<a name="clutter-path-clear"></a><h3>clutter_path_clear
|
1106
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
1107
|
-
<
|
1108
|
-
Removes all nodes from the path
|
1109
|
-
|
1110
|
-
<
|
1238
|
+
<a name="clutter-path-clear"></a><h3>clutter_path_clear ()</h3>
|
1239
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1240
|
+
clutter_path_clear (<em class="parameter"><code><a class="link" href="ClutterPath.html" title="ClutterPath"><span class="type">ClutterPath</span></a> *path</code></em>);</pre>
|
1241
|
+
<p>Removes all nodes from the path.</p>
|
1242
|
+
<div class="refsect3">
|
1243
|
+
<a name="id-1.7.2.10.8.25.5"></a><h4>Parameters</h4>
|
1244
|
+
<div class="informaltable"><table width="100%" border="0">
|
1111
1245
|
<colgroup>
|
1112
|
-
<col
|
1113
|
-
<col>
|
1246
|
+
<col width="150px" class="parameters_name">
|
1247
|
+
<col class="parameters_description">
|
1248
|
+
<col width="200px" class="parameters_annotations">
|
1114
1249
|
</colgroup>
|
1115
1250
|
<tbody><tr>
|
1116
|
-
<td
|
1117
|
-
<td>a <a class="link" href="ClutterPath.html" title="ClutterPath"><span class="type">ClutterPath</span></a>
|
1118
|
-
</td>
|
1251
|
+
<td class="parameter_name"><p>path</p></td>
|
1252
|
+
<td class="parameter_description"><p>a <a class="link" href="ClutterPath.html" title="ClutterPath"><span class="type">ClutterPath</span></a></p></td>
|
1253
|
+
<td class="parameter_annotations"> </td>
|
1119
1254
|
</tr></tbody>
|
1120
1255
|
</table></div>
|
1256
|
+
</div>
|
1121
1257
|
<p class="since">Since 1.0</p>
|
1122
1258
|
</div>
|
1123
1259
|
<hr>
|
1124
1260
|
<div class="refsect2">
|
1125
|
-
<a name="clutter-path-get-position"></a><h3>clutter_path_get_position
|
1126
|
-
<pre class="programlisting"><span class="returnvalue">guint</span>
|
1127
|
-
|
1128
|
-
|
1129
|
-
<
|
1130
|
-
The value in <em class="parameter"><code>progress</code></em>
|
1261
|
+
<a name="clutter-path-get-position"></a><h3>clutter_path_get_position ()</h3>
|
1262
|
+
<pre class="programlisting"><span class="returnvalue">guint</span>
|
1263
|
+
clutter_path_get_position (<em class="parameter"><code><a class="link" href="ClutterPath.html" title="ClutterPath"><span class="type">ClutterPath</span></a> *path</code></em>,
|
1264
|
+
<em class="parameter"><code><span class="type">gdouble</span> progress</code></em>,
|
1265
|
+
<em class="parameter"><code><a class="link" href="clutter-Base-geometric-types.html#ClutterKnot" title="struct ClutterKnot"><span class="type">ClutterKnot</span></a> *position</code></em>);</pre>
|
1266
|
+
<p>The value in <em class="parameter"><code>progress</code></em>
|
1267
|
+
represents a position along the path where
|
1131
1268
|
0.0 is the beginning and 1.0 is the end of the path. An
|
1132
|
-
interpolated position is then stored in <em class="parameter"><code>position</code></em
|
1133
|
-
|
1134
|
-
<div class="
|
1269
|
+
interpolated position is then stored in <em class="parameter"><code>position</code></em>
|
1270
|
+
.</p>
|
1271
|
+
<div class="refsect3">
|
1272
|
+
<a name="id-1.7.2.10.8.26.5"></a><h4>Parameters</h4>
|
1273
|
+
<div class="informaltable"><table width="100%" border="0">
|
1135
1274
|
<colgroup>
|
1136
|
-
<col
|
1137
|
-
<col>
|
1275
|
+
<col width="150px" class="parameters_name">
|
1276
|
+
<col class="parameters_description">
|
1277
|
+
<col width="200px" class="parameters_annotations">
|
1138
1278
|
</colgroup>
|
1139
1279
|
<tbody>
|
1140
1280
|
<tr>
|
1141
|
-
<td
|
1142
|
-
<td>a <a class="link" href="ClutterPath.html" title="ClutterPath"><span class="type">ClutterPath</span></a>
|
1143
|
-
</td>
|
1144
|
-
</tr>
|
1145
|
-
<tr>
|
1146
|
-
<td><p><span class="term"><em class="parameter"><code>progress</code></em> :</span></p></td>
|
1147
|
-
<td>a position along the path as a fraction of its length</td>
|
1281
|
+
<td class="parameter_name"><p>path</p></td>
|
1282
|
+
<td class="parameter_description"><p>a <a class="link" href="ClutterPath.html" title="ClutterPath"><span class="type">ClutterPath</span></a></p></td>
|
1283
|
+
<td class="parameter_annotations"> </td>
|
1148
1284
|
</tr>
|
1149
1285
|
<tr>
|
1150
|
-
<td
|
1151
|
-
<td
|
1152
|
-
</td>
|
1286
|
+
<td class="parameter_name"><p>progress</p></td>
|
1287
|
+
<td class="parameter_description"><p>a position along the path as a fraction of its length</p></td>
|
1288
|
+
<td class="parameter_annotations"> </td>
|
1153
1289
|
</tr>
|
1154
1290
|
<tr>
|
1155
|
-
<td
|
1156
|
-
<td>
|
1291
|
+
<td class="parameter_name"><p>position</p></td>
|
1292
|
+
<td class="parameter_description"><p> location to store the position. </p></td>
|
1293
|
+
<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>
|
1157
1294
|
</tr>
|
1158
1295
|
</tbody>
|
1159
1296
|
</table></div>
|
1297
|
+
</div>
|
1298
|
+
<div class="refsect3">
|
1299
|
+
<a name="id-1.7.2.10.8.26.6"></a><h4>Returns</h4>
|
1300
|
+
<p> index of the node used to calculate the position.</p>
|
1301
|
+
<p></p>
|
1302
|
+
</div>
|
1160
1303
|
<p class="since">Since 1.0</p>
|
1161
1304
|
</div>
|
1162
1305
|
<hr>
|
1163
1306
|
<div class="refsect2">
|
1164
|
-
<a name="clutter-path-get-length"></a><h3>clutter_path_get_length
|
1165
|
-
<pre class="programlisting"><span class="returnvalue">guint</span>
|
1166
|
-
<
|
1167
|
-
Retrieves an approximation of the total length of the path
|
1168
|
-
|
1169
|
-
<
|
1307
|
+
<a name="clutter-path-get-length"></a><h3>clutter_path_get_length ()</h3>
|
1308
|
+
<pre class="programlisting"><span class="returnvalue">guint</span>
|
1309
|
+
clutter_path_get_length (<em class="parameter"><code><a class="link" href="ClutterPath.html" title="ClutterPath"><span class="type">ClutterPath</span></a> *path</code></em>);</pre>
|
1310
|
+
<p>Retrieves an approximation of the total length of the path.</p>
|
1311
|
+
<div class="refsect3">
|
1312
|
+
<a name="id-1.7.2.10.8.27.5"></a><h4>Parameters</h4>
|
1313
|
+
<div class="informaltable"><table width="100%" border="0">
|
1170
1314
|
<colgroup>
|
1171
|
-
<col
|
1172
|
-
<col>
|
1315
|
+
<col width="150px" class="parameters_name">
|
1316
|
+
<col class="parameters_description">
|
1317
|
+
<col width="200px" class="parameters_annotations">
|
1173
1318
|
</colgroup>
|
1174
|
-
<tbody>
|
1175
|
-
<
|
1176
|
-
<td><p
|
1177
|
-
<td
|
1178
|
-
</
|
1179
|
-
</tr>
|
1180
|
-
<tr>
|
1181
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1182
|
-
<td>the length of the path.</td>
|
1183
|
-
</tr>
|
1184
|
-
</tbody>
|
1319
|
+
<tbody><tr>
|
1320
|
+
<td class="parameter_name"><p>path</p></td>
|
1321
|
+
<td class="parameter_description"><p>a <a class="link" href="ClutterPath.html" title="ClutterPath"><span class="type">ClutterPath</span></a></p></td>
|
1322
|
+
<td class="parameter_annotations"> </td>
|
1323
|
+
</tr></tbody>
|
1185
1324
|
</table></div>
|
1325
|
+
</div>
|
1326
|
+
<div class="refsect3">
|
1327
|
+
<a name="id-1.7.2.10.8.27.6"></a><h4>Returns</h4>
|
1328
|
+
<p> the length of the path.</p>
|
1329
|
+
<p></p>
|
1330
|
+
</div>
|
1186
1331
|
<p class="since">Since 1.0</p>
|
1187
1332
|
</div>
|
1188
1333
|
<hr>
|
1189
1334
|
<div class="refsect2">
|
1190
|
-
<a name="
|
1191
|
-
<pre class="programlisting"
|
1192
|
-
|
1193
|
-
|
1194
|
-
|
1195
|
-
|
1196
|
-
|
1197
|
-
<p>
|
1198
|
-
Represents a single node of a <a class="link" href="ClutterPath.html" title="ClutterPath"><span class="type">ClutterPath</span></a>.
|
1199
|
-
</p>
|
1200
|
-
<p>
|
1201
|
-
Some of the coordinates in <em class="parameter"><code>points</code></em> may be unused for some node
|
1202
|
-
types. <a class="link" href="ClutterPath.html#CLUTTER-PATH-MOVE-TO:CAPS"><code class="literal">CLUTTER_PATH_MOVE_TO</code></a> and <a class="link" href="ClutterPath.html#CLUTTER-PATH-LINE-TO:CAPS"><code class="literal">CLUTTER_PATH_LINE_TO</code></a> use only one
|
1203
|
-
pair of coordinates, <a class="link" href="ClutterPath.html#CLUTTER-PATH-CURVE-TO:CAPS"><code class="literal">CLUTTER_PATH_CURVE_TO</code></a> uses all three and
|
1204
|
-
<a class="link" href="ClutterPath.html#CLUTTER-PATH-CLOSE:CAPS"><code class="literal">CLUTTER_PATH_CLOSE</code></a> uses none.
|
1205
|
-
</p>
|
1206
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
1335
|
+
<a name="clutter-path-node-copy"></a><h3>clutter_path_node_copy ()</h3>
|
1336
|
+
<pre class="programlisting"><a class="link" href="ClutterPath.html#ClutterPathNode" title="struct ClutterPathNode"><span class="returnvalue">ClutterPathNode</span></a> *
|
1337
|
+
clutter_path_node_copy (<em class="parameter"><code>const <a class="link" href="ClutterPath.html#ClutterPathNode" title="struct ClutterPathNode"><span class="type">ClutterPathNode</span></a> *node</code></em>);</pre>
|
1338
|
+
<p>Makes an allocated copy of a node.</p>
|
1339
|
+
<div class="refsect3">
|
1340
|
+
<a name="id-1.7.2.10.8.28.5"></a><h4>Parameters</h4>
|
1341
|
+
<div class="informaltable"><table width="100%" border="0">
|
1207
1342
|
<colgroup>
|
1208
|
-
<col
|
1209
|
-
<col>
|
1343
|
+
<col width="150px" class="parameters_name">
|
1344
|
+
<col class="parameters_description">
|
1345
|
+
<col width="200px" class="parameters_annotations">
|
1210
1346
|
</colgroup>
|
1211
|
-
<tbody>
|
1212
|
-
<
|
1213
|
-
<td
|
1214
|
-
<td>
|
1215
|
-
</tr>
|
1216
|
-
|
1217
|
-
|
1218
|
-
<
|
1219
|
-
</
|
1220
|
-
|
1347
|
+
<tbody><tr>
|
1348
|
+
<td class="parameter_name"><p>node</p></td>
|
1349
|
+
<td class="parameter_description"><p>a <a class="link" href="ClutterPath.html#ClutterPathNode" title="struct ClutterPathNode"><span class="type">ClutterPathNode</span></a></p></td>
|
1350
|
+
<td class="parameter_annotations"> </td>
|
1351
|
+
</tr></tbody>
|
1352
|
+
</table></div>
|
1353
|
+
</div>
|
1354
|
+
<div class="refsect3">
|
1355
|
+
<a name="id-1.7.2.10.8.28.6"></a><h4>Returns</h4>
|
1356
|
+
<p> the copied node.</p>
|
1357
|
+
<p></p>
|
1358
|
+
</div>
|
1359
|
+
<p class="since">Since 1.0</p>
|
1360
|
+
</div>
|
1361
|
+
<hr>
|
1362
|
+
<div class="refsect2">
|
1363
|
+
<a name="clutter-path-node-free"></a><h3>clutter_path_node_free ()</h3>
|
1364
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1365
|
+
clutter_path_node_free (<em class="parameter"><code><a class="link" href="ClutterPath.html#ClutterPathNode" title="struct ClutterPathNode"><span class="type">ClutterPathNode</span></a> *node</code></em>);</pre>
|
1366
|
+
<p>Frees the memory of an allocated node.</p>
|
1367
|
+
<div class="refsect3">
|
1368
|
+
<a name="id-1.7.2.10.8.29.5"></a><h4>Parameters</h4>
|
1369
|
+
<div class="informaltable"><table width="100%" border="0">
|
1370
|
+
<colgroup>
|
1371
|
+
<col width="150px" class="parameters_name">
|
1372
|
+
<col class="parameters_description">
|
1373
|
+
<col width="200px" class="parameters_annotations">
|
1374
|
+
</colgroup>
|
1375
|
+
<tbody><tr>
|
1376
|
+
<td class="parameter_name"><p>node</p></td>
|
1377
|
+
<td class="parameter_description"><p>a <a class="link" href="ClutterPath.html#ClutterPathNode" title="struct ClutterPathNode"><span class="type">ClutterPathNode</span></a></p></td>
|
1378
|
+
<td class="parameter_annotations"> </td>
|
1379
|
+
</tr></tbody>
|
1221
1380
|
</table></div>
|
1381
|
+
</div>
|
1222
1382
|
<p class="since">Since 1.0</p>
|
1223
1383
|
</div>
|
1224
1384
|
<hr>
|
1225
1385
|
<div class="refsect2">
|
1226
|
-
<a name="clutter-path-node-
|
1227
|
-
<pre class="programlisting"><
|
1228
|
-
<
|
1229
|
-
|
1230
|
-
|
1231
|
-
|
1386
|
+
<a name="clutter-path-node-equal"></a><h3>clutter_path_node_equal ()</h3>
|
1387
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
1388
|
+
clutter_path_node_equal (<em class="parameter"><code>const <a class="link" href="ClutterPath.html#ClutterPathNode" title="struct ClutterPathNode"><span class="type">ClutterPathNode</span></a> *node_a</code></em>,
|
1389
|
+
<em class="parameter"><code>const <a class="link" href="ClutterPath.html#ClutterPathNode" title="struct ClutterPathNode"><span class="type">ClutterPathNode</span></a> *node_b</code></em>);</pre>
|
1390
|
+
<p>Compares two nodes and checks if they are the same type with the
|
1391
|
+
same coordinates.</p>
|
1392
|
+
<div class="refsect3">
|
1393
|
+
<a name="id-1.7.2.10.8.30.5"></a><h4>Parameters</h4>
|
1394
|
+
<div class="informaltable"><table width="100%" border="0">
|
1232
1395
|
<colgroup>
|
1233
|
-
<col
|
1234
|
-
<col>
|
1396
|
+
<col width="150px" class="parameters_name">
|
1397
|
+
<col class="parameters_description">
|
1398
|
+
<col width="200px" class="parameters_annotations">
|
1235
1399
|
</colgroup>
|
1236
1400
|
<tbody>
|
1237
1401
|
<tr>
|
1238
|
-
<td
|
1239
|
-
<td
|
1240
|
-
</td>
|
1402
|
+
<td class="parameter_name"><p>node_a</p></td>
|
1403
|
+
<td class="parameter_description"><p>First node</p></td>
|
1404
|
+
<td class="parameter_annotations"> </td>
|
1241
1405
|
</tr>
|
1242
1406
|
<tr>
|
1243
|
-
<td
|
1244
|
-
<td>
|
1407
|
+
<td class="parameter_name"><p>node_b</p></td>
|
1408
|
+
<td class="parameter_description"><p>Second node</p></td>
|
1409
|
+
<td class="parameter_annotations"> </td>
|
1245
1410
|
</tr>
|
1246
1411
|
</tbody>
|
1247
1412
|
</table></div>
|
1413
|
+
</div>
|
1414
|
+
<div class="refsect3">
|
1415
|
+
<a name="id-1.7.2.10.8.30.6"></a><h4>Returns</h4>
|
1416
|
+
<p> <code class="literal">TRUE</code> if the nodes are the same.</p>
|
1417
|
+
<p></p>
|
1418
|
+
</div>
|
1419
|
+
<p class="since">Since 1.0</p>
|
1420
|
+
</div>
|
1421
|
+
</div>
|
1422
|
+
<div class="refsect1">
|
1423
|
+
<a name="ClutterPath.other_details"></a><h2>Types and Values</h2>
|
1424
|
+
<div class="refsect2">
|
1425
|
+
<a name="ClutterPath-struct"></a><h3>ClutterPath</h3>
|
1426
|
+
<pre class="programlisting">typedef struct _ClutterPath ClutterPath;</pre>
|
1427
|
+
<p>The <a class="link" href="ClutterPath.html" title="ClutterPath"><span class="type">ClutterPath</span></a> struct contains only private data and should
|
1428
|
+
be accessed with the functions below.</p>
|
1429
|
+
<p class="since">Since 1.0</p>
|
1430
|
+
</div>
|
1431
|
+
<hr>
|
1432
|
+
<div class="refsect2">
|
1433
|
+
<a name="ClutterPathClass"></a><h3>struct ClutterPathClass</h3>
|
1434
|
+
<pre class="programlisting">struct ClutterPathClass {
|
1435
|
+
};
|
1436
|
+
</pre>
|
1437
|
+
<p>The <a class="link" href="ClutterPath.html#ClutterPathClass" title="struct ClutterPathClass"><span class="type">ClutterPathClass</span></a> struct contains only private data.</p>
|
1248
1438
|
<p class="since">Since 1.0</p>
|
1249
1439
|
</div>
|
1250
1440
|
<hr>
|
1251
1441
|
<div class="refsect2">
|
1252
|
-
<a name="
|
1253
|
-
<
|
1254
|
-
<
|
1255
|
-
|
1256
|
-
|
1257
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
1442
|
+
<a name="ClutterPathNodeType"></a><h3>enum ClutterPathNodeType</h3>
|
1443
|
+
<p>Types of nodes in a <a class="link" href="ClutterPath.html" title="ClutterPath"><span class="type">ClutterPath</span></a>.</p>
|
1444
|
+
<div class="refsect3">
|
1445
|
+
<a name="id-1.7.2.10.9.4.4"></a><h4>Members</h4>
|
1446
|
+
<div class="informaltable"><table width="100%" border="0">
|
1258
1447
|
<colgroup>
|
1259
|
-
<col
|
1260
|
-
<col>
|
1448
|
+
<col width="300px" class="enum_members_name">
|
1449
|
+
<col class="enum_members_description">
|
1450
|
+
<col width="200px" class="enum_members_annotations">
|
1261
1451
|
</colgroup>
|
1262
|
-
<tbody
|
1263
|
-
<
|
1264
|
-
<td
|
1452
|
+
<tbody>
|
1453
|
+
<tr>
|
1454
|
+
<td class="enum_member_name"><p><a name="CLUTTER-PATH-MOVE-TO:CAPS"></a>CLUTTER_PATH_MOVE_TO</p></td>
|
1455
|
+
<td class="enum_member_description">
|
1456
|
+
<p>jump to the given position</p>
|
1265
1457
|
</td>
|
1266
|
-
</
|
1458
|
+
<td class="enum_member_annotations"> </td>
|
1459
|
+
</tr>
|
1460
|
+
<tr>
|
1461
|
+
<td class="enum_member_name"><p><a name="CLUTTER-PATH-LINE-TO:CAPS"></a>CLUTTER_PATH_LINE_TO</p></td>
|
1462
|
+
<td class="enum_member_description">
|
1463
|
+
<p>create a line from the last node to the
|
1464
|
+
given position</p>
|
1465
|
+
</td>
|
1466
|
+
<td class="enum_member_annotations"> </td>
|
1467
|
+
</tr>
|
1468
|
+
<tr>
|
1469
|
+
<td class="enum_member_name"><p><a name="CLUTTER-PATH-CURVE-TO:CAPS"></a>CLUTTER_PATH_CURVE_TO</p></td>
|
1470
|
+
<td class="enum_member_description">
|
1471
|
+
<p>bezier curve using the last position and
|
1472
|
+
three control points.</p>
|
1473
|
+
</td>
|
1474
|
+
<td class="enum_member_annotations"> </td>
|
1475
|
+
</tr>
|
1476
|
+
<tr>
|
1477
|
+
<td class="enum_member_name"><p><a name="CLUTTER-PATH-CLOSE:CAPS"></a>CLUTTER_PATH_CLOSE</p></td>
|
1478
|
+
<td class="enum_member_description">
|
1479
|
+
<p>create a line from the last node to the last
|
1480
|
+
<a class="link" href="ClutterPath.html#CLUTTER-PATH-MOVE-TO:CAPS"><code class="literal">CLUTTER_PATH_MOVE_TO</code></a> node.</p>
|
1481
|
+
</td>
|
1482
|
+
<td class="enum_member_annotations"> </td>
|
1483
|
+
</tr>
|
1484
|
+
<tr>
|
1485
|
+
<td class="enum_member_name"><p><a name="CLUTTER-PATH-REL-MOVE-TO:CAPS"></a>CLUTTER_PATH_REL_MOVE_TO</p></td>
|
1486
|
+
<td class="enum_member_description">
|
1487
|
+
<p>same as <a class="link" href="ClutterPath.html#CLUTTER-PATH-MOVE-TO:CAPS"><code class="literal">CLUTTER_PATH_MOVE_TO</code></a> but with
|
1488
|
+
coordinates relative to the last node.</p>
|
1489
|
+
</td>
|
1490
|
+
<td class="enum_member_annotations"> </td>
|
1491
|
+
</tr>
|
1492
|
+
<tr>
|
1493
|
+
<td class="enum_member_name"><p><a name="CLUTTER-PATH-REL-LINE-TO:CAPS"></a>CLUTTER_PATH_REL_LINE_TO</p></td>
|
1494
|
+
<td class="enum_member_description">
|
1495
|
+
<p>same as <a class="link" href="ClutterPath.html#CLUTTER-PATH-LINE-TO:CAPS"><code class="literal">CLUTTER_PATH_LINE_TO</code></a> but with
|
1496
|
+
coordinates relative to the last node.</p>
|
1497
|
+
</td>
|
1498
|
+
<td class="enum_member_annotations"> </td>
|
1499
|
+
</tr>
|
1500
|
+
<tr>
|
1501
|
+
<td class="enum_member_name"><p><a name="CLUTTER-PATH-REL-CURVE-TO:CAPS"></a>CLUTTER_PATH_REL_CURVE_TO</p></td>
|
1502
|
+
<td class="enum_member_description">
|
1503
|
+
<p>same as <a class="link" href="ClutterPath.html#CLUTTER-PATH-CURVE-TO:CAPS"><code class="literal">CLUTTER_PATH_CURVE_TO</code></a> but with
|
1504
|
+
coordinates relative to the last node.</p>
|
1505
|
+
</td>
|
1506
|
+
<td class="enum_member_annotations"> </td>
|
1507
|
+
</tr>
|
1508
|
+
</tbody>
|
1267
1509
|
</table></div>
|
1510
|
+
</div>
|
1268
1511
|
<p class="since">Since 1.0</p>
|
1269
1512
|
</div>
|
1270
1513
|
<hr>
|
1271
1514
|
<div class="refsect2">
|
1272
|
-
<a name="
|
1273
|
-
<pre class="programlisting"
|
1274
|
-
|
1275
|
-
|
1276
|
-
|
1277
|
-
|
1278
|
-
</
|
1279
|
-
<
|
1515
|
+
<a name="ClutterPathNode"></a><h3>struct ClutterPathNode</h3>
|
1516
|
+
<pre class="programlisting">struct ClutterPathNode {
|
1517
|
+
ClutterPathNodeType type;
|
1518
|
+
|
1519
|
+
ClutterKnot points[3];
|
1520
|
+
};
|
1521
|
+
</pre>
|
1522
|
+
<p>Represents a single node of a <a class="link" href="ClutterPath.html" title="ClutterPath"><span class="type">ClutterPath</span></a>.</p>
|
1523
|
+
<p>Some of the coordinates in <em class="parameter"><code>points</code></em>
|
1524
|
+
may be unused for some node
|
1525
|
+
types. <a class="link" href="ClutterPath.html#CLUTTER-PATH-MOVE-TO:CAPS"><code class="literal">CLUTTER_PATH_MOVE_TO</code></a> and <a class="link" href="ClutterPath.html#CLUTTER-PATH-LINE-TO:CAPS"><code class="literal">CLUTTER_PATH_LINE_TO</code></a> use only one
|
1526
|
+
pair of coordinates, <a class="link" href="ClutterPath.html#CLUTTER-PATH-CURVE-TO:CAPS"><code class="literal">CLUTTER_PATH_CURVE_TO</code></a> uses all three and
|
1527
|
+
<a class="link" href="ClutterPath.html#CLUTTER-PATH-CLOSE:CAPS"><code class="literal">CLUTTER_PATH_CLOSE</code></a> uses none.</p>
|
1528
|
+
<div class="refsect3">
|
1529
|
+
<a name="id-1.7.2.10.9.5.6"></a><h4>Members</h4>
|
1530
|
+
<div class="informaltable"><table width="100%" border="0">
|
1280
1531
|
<colgroup>
|
1281
|
-
<col
|
1282
|
-
<col>
|
1532
|
+
<col width="300px" class="struct_members_name">
|
1533
|
+
<col class="struct_members_description">
|
1534
|
+
<col width="200px" class="struct_members_annotations">
|
1283
1535
|
</colgroup>
|
1284
1536
|
<tbody>
|
1285
1537
|
<tr>
|
1286
|
-
<td><p><span class="
|
1287
|
-
<td>
|
1538
|
+
<td class="struct_member_name"><p><a class="link" href="ClutterPath.html#ClutterPathNodeType" title="enum ClutterPathNodeType"><span class="type">ClutterPathNodeType</span></a> <em class="structfield"><code><a name="ClutterPathNode.type"></a>type</code></em>;</p></td>
|
1539
|
+
<td class="struct_member_description"><p>the node's type</p></td>
|
1540
|
+
<td class="struct_member_annotations"> </td>
|
1288
1541
|
</tr>
|
1289
1542
|
<tr>
|
1290
|
-
<td><p><span class="
|
1291
|
-
<td>
|
1292
|
-
</
|
1293
|
-
<tr>
|
1294
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1295
|
-
<td>
|
1296
|
-
<code class="literal">TRUE</code> if the nodes are the same.</td>
|
1543
|
+
<td class="struct_member_name"><p><a class="link" href="clutter-Base-geometric-types.html#ClutterKnot" title="struct ClutterKnot"><span class="type">ClutterKnot</span></a> <em class="structfield"><code><a name="ClutterPathNode.points"></a>points</code></em>[3];</p></td>
|
1544
|
+
<td class="struct_member_description"><p>the coordinates of the node</p></td>
|
1545
|
+
<td class="struct_member_annotations"> </td>
|
1297
1546
|
</tr>
|
1298
1547
|
</tbody>
|
1299
1548
|
</table></div>
|
1549
|
+
</div>
|
1300
1550
|
<p class="since">Since 1.0</p>
|
1301
1551
|
</div>
|
1302
1552
|
</div>
|
1303
1553
|
<div class="refsect1">
|
1304
1554
|
<a name="ClutterPath.property-details"></a><h2>Property Details</h2>
|
1305
1555
|
<div class="refsect2">
|
1306
|
-
<a name="ClutterPath--description"></a><h3>The <code class="literal"
|
1307
|
-
<pre class="programlisting">
|
1556
|
+
<a name="ClutterPath--description"></a><h3>The <code class="literal">“description”</code> property</h3>
|
1557
|
+
<pre class="programlisting"> “description” <span class="type">gchar</span> *</pre>
|
1308
1558
|
<p>SVG-style description of the path.</p>
|
1559
|
+
<p>Flags: Read / Write</p>
|
1309
1560
|
<p>Default value: ""</p>
|
1310
1561
|
</div>
|
1311
1562
|
<hr>
|
1312
1563
|
<div class="refsect2">
|
1313
|
-
<a name="ClutterPath--length"></a><h3>The <code class="literal"
|
1314
|
-
<pre class="programlisting">
|
1564
|
+
<a name="ClutterPath--length"></a><h3>The <code class="literal">“length”</code> property</h3>
|
1565
|
+
<pre class="programlisting"> “length” <span class="type">guint</span></pre>
|
1315
1566
|
<p>An approximation of the total length of the path.</p>
|
1567
|
+
<p>Flags: Read</p>
|
1316
1568
|
<p>Default value: 0</p>
|
1317
1569
|
</div>
|
1318
1570
|
</div>
|
1319
1571
|
</div>
|
1320
1572
|
<div class="footer">
|
1321
1573
|
<hr>
|
1322
|
-
Generated by GTK-Doc V1.
|
1574
|
+
Generated by GTK-Doc V1.20.1</div>
|
1323
1575
|
</body>
|
1324
1576
|
</html>
|