clutter 2.2.4-x64-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Rakefile +147 -0
- data/lib/clutter.rb +169 -0
- data/lib/clutter/actor-iter.rb +33 -0
- data/lib/clutter/actor.rb +34 -0
- data/lib/clutter/animatable.rb +26 -0
- data/lib/clutter/brightness-contrast-effect.rb +44 -0
- data/lib/clutter/cairo.rb +24 -0
- data/lib/clutter/clutter.rb +25 -0
- data/lib/clutter/color.rb +83 -0
- data/lib/clutter/event.rb +21 -0
- data/lib/clutter/point.rb +25 -0
- data/lib/clutter/text-buffer.rb +36 -0
- data/lib/clutter/text.rb +23 -0
- data/lib/clutter/threads.rb +38 -0
- data/sample/basic-actor.rb +123 -0
- data/sample/bin-layout.rb +213 -0
- data/sample/box-layout.rb +194 -0
- data/sample/canvas.rb +115 -0
- data/sample/constraints.rb +79 -0
- data/sample/drag-action.rb +175 -0
- data/sample/drop-action.rb +196 -0
- data/sample/easing-modes.rb +141 -0
- data/sample/flow-layout.rb +119 -0
- data/sample/grid-layout.rb +237 -0
- data/sample/image-content.rb +86 -0
- data/sample/pan-action.rb +98 -0
- data/sample/redhand.png +0 -0
- data/sample/rounded-rectangle.rb +88 -0
- data/sample/scroll-actor.rb +103 -0
- data/test/clutter-test-utils.rb +38 -0
- data/test/run-test.rb +59 -0
- data/test/test-clutter-actor.rb +242 -0
- data/test/test-clutter-blur-effect.rb +27 -0
- data/test/test-clutter-brightness-contrast-effect.rb +56 -0
- data/test/test-clutter-canvas.rb +43 -0
- data/test/test-clutter-color.rb +50 -0
- data/test/test-clutter-colorize-effect.rb +31 -0
- data/test/test-clutter-desaturate-effect.rb +30 -0
- data/test/test-clutter-feature.rb +34 -0
- data/test/test-clutter-flow-layout.rb +83 -0
- data/test/test-clutter-page-turn-effect.rb +46 -0
- data/test/test-clutter-property-transiton.rb +30 -0
- data/test/test-clutter-shader-effect.rb +65 -0
- data/test/test-clutter-text-buffer.rb +72 -0
- data/test/test-clutter-timeline.rb +59 -0
- 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-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 +160 -0
- data/vendor/local/include/clutter-1.0/cally/cally-clone.h +84 -0
- data/vendor/local/include/clutter-1.0/cally/cally-factory.h +117 -0
- data/vendor/local/include/clutter-1.0/cally/cally-group.h +87 -0
- data/vendor/local/include/clutter-1.0/cally/cally-main.h +44 -0
- data/vendor/local/include/clutter-1.0/cally/cally-rectangle.h +84 -0
- data/vendor/local/include/clutter-1.0/cally/cally-root.h +84 -0
- data/vendor/local/include/clutter-1.0/cally/cally-stage.h +84 -0
- data/vendor/local/include/clutter-1.0/cally/cally-text.h +84 -0
- data/vendor/local/include/clutter-1.0/cally/cally-texture.h +84 -0
- data/vendor/local/include/clutter-1.0/cally/cally-util.h +84 -0
- data/vendor/local/include/clutter-1.0/cally/cally.h +40 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-action.h +111 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-actor-meta.h +119 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-actor.h +836 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-align-constraint.h +77 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-animatable.h +121 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-backend.h +83 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-bin-layout.h +86 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-bind-constraint.h +77 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-binding-pool.h +135 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-blur-effect.h +59 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-box-layout.h +168 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-brightness-contrast-effect.h +88 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-cairo.h +61 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-canvas.h +106 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-child-meta.h +122 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-click-action.h +120 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-clone.h +94 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-cogl-compat.h +52 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-color-static.h +79 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-color.h +200 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-colorize-effect.h +67 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-config.h +19 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-constraint.h +120 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-container.h +196 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-content.h +103 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-deform-effect.h +117 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-deprecated.h +44 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-desaturate-effect.h +65 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-device-manager.h +110 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-drag-action.h +152 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-drop-action.h +115 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-effect.h +130 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-enum-types.h +190 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-enums.h +1385 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-event.h +588 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-feature.h +42 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-fixed-layout.h +82 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-flow-layout.h +129 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-gesture-action.h +179 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-grid-layout.h +161 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-group.h +96 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-image.h +141 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-input-device.h +140 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-interval.h +159 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-keyframe-transition.h +120 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-keysyms.h +2304 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-layout-manager.h +227 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-layout-meta.h +103 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-list-model.h +91 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-macros.h +327 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-main.h +184 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-marshal.h +273 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-model.h +422 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-offscreen-effect.h +122 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-page-turn-effect.h +80 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-paint-node.h +102 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-paint-nodes.h +150 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-pan-action.h +147 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-path-constraint.h +72 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-path.h +181 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-property-transition.h +91 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-rotate-action.h +100 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-script.h +220 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-scriptable.h +112 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-scroll-actor.h +97 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-settings.h +27 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-shader-effect.h +121 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-shader-types.h +104 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-snap-constraint.h +81 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-stage-manager.h +86 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-stage.h +250 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-swipe-action.h +109 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-tap-action.h +102 -0
- 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 +172 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-text.h +307 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-texture.h +130 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-timeline.h +226 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-transition-group.h +91 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-transition.h +132 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-types.h +773 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-units.h +184 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-version.h +329 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-zoom-action.h +114 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter.h +117 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-actor.h +161 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-alpha.h +144 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-animatable.h +47 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-animation.h +206 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-animator.h +186 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-backend.h +64 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-behaviour-depth.h +101 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-behaviour-ellipse.h +159 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-behaviour-opacity.h +115 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-behaviour-path.h +135 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-behaviour-rotate.h +119 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-behaviour-scale.h +107 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-behaviour.h +170 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-bin-layout.h +56 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-box.h +143 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-cairo-texture.h +139 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-container.h +93 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-fixed.h +98 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-frame-source.h +49 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-group.h +62 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-input-device.h +41 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-keysyms.h +2306 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-main.h +96 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-media.h +121 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-rectangle.h +117 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-score.h +144 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-shader.h +182 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-stage-manager.h +42 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-stage.h +102 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-state.h +187 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-table-layout.h +172 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-texture.h +138 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-timeline.h +41 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-timeout-pool.h +69 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-util.h +40 -0
- data/vendor/local/include/clutter-1.0/clutter/win32/clutter-win32.h +63 -0
- data/vendor/local/include/cogl/cogl-pango/cogl-pango.h +298 -0
- data/vendor/local/include/cogl/cogl-path/cogl-path-enum-types.h +20 -0
- data/vendor/local/include/cogl/cogl-path/cogl-path-types.h +85 -0
- data/vendor/local/include/cogl/cogl-path/cogl-path.h +68 -0
- data/vendor/local/include/cogl/cogl-path/cogl1-path-functions.h +467 -0
- data/vendor/local/include/cogl/cogl-path/cogl2-path-functions.h +545 -0
- data/vendor/local/include/cogl/cogl/cogl-atlas-texture.h +258 -0
- data/vendor/local/include/cogl/cogl/cogl-attribute-buffer.h +152 -0
- data/vendor/local/include/cogl/cogl/cogl-attribute.h +558 -0
- data/vendor/local/include/cogl/cogl/cogl-auto-texture.h +221 -0
- data/vendor/local/include/cogl/cogl/cogl-bitmap.h +336 -0
- data/vendor/local/include/cogl/cogl/cogl-buffer.h +324 -0
- data/vendor/local/include/cogl/cogl/cogl-clip-state.h +266 -0
- data/vendor/local/include/cogl/cogl/cogl-clutter.h +54 -0
- data/vendor/local/include/cogl/cogl/cogl-color.h +604 -0
- data/vendor/local/include/cogl/cogl/cogl-context.h +401 -0
- data/vendor/local/include/cogl/cogl/cogl-defines.h +58 -0
- data/vendor/local/include/cogl/cogl/cogl-deprecated.h +43 -0
- data/vendor/local/include/cogl/cogl/cogl-depth-state.h +270 -0
- data/vendor/local/include/cogl/cogl/cogl-display.h +234 -0
- data/vendor/local/include/cogl/cogl/cogl-enum-types.h +99 -0
- data/vendor/local/include/cogl/cogl/cogl-error.h +185 -0
- data/vendor/local/include/cogl/cogl/cogl-euler.h +269 -0
- data/vendor/local/include/cogl/cogl/cogl-fence.h +143 -0
- data/vendor/local/include/cogl/cogl/cogl-fixed.h +811 -0
- data/vendor/local/include/cogl/cogl/cogl-frame-info.h +148 -0
- data/vendor/local/include/cogl/cogl/cogl-framebuffer-deprecated.h +264 -0
- data/vendor/local/include/cogl/cogl/cogl-framebuffer.h +1818 -0
- data/vendor/local/include/cogl/cogl/cogl-gles2-types.h +474 -0
- data/vendor/local/include/cogl/cogl/cogl-gles2.h +420 -0
- data/vendor/local/include/cogl/cogl/cogl-glib-source.h +97 -0
- data/vendor/local/include/cogl/cogl/cogl-index-buffer.h +107 -0
- data/vendor/local/include/cogl/cogl/cogl-indices.h +165 -0
- data/vendor/local/include/cogl/cogl/cogl-macros.h +273 -0
- data/vendor/local/include/cogl/cogl/cogl-material-compat.h +1391 -0
- data/vendor/local/include/cogl/cogl/cogl-matrix-stack.h +645 -0
- data/vendor/local/include/cogl/cogl/cogl-matrix.h +821 -0
- data/vendor/local/include/cogl/cogl/cogl-meta-texture.h +194 -0
- data/vendor/local/include/cogl/cogl/cogl-object.h +251 -0
- data/vendor/local/include/cogl/cogl/cogl-offscreen.h +172 -0
- data/vendor/local/include/cogl/cogl/cogl-onscreen-template.h +125 -0
- data/vendor/local/include/cogl/cogl/cogl-onscreen.h +1012 -0
- data/vendor/local/include/cogl/cogl/cogl-output.h +261 -0
- data/vendor/local/include/cogl/cogl/cogl-pango.h +40 -0
- data/vendor/local/include/cogl/cogl/cogl-pipeline-layer-state.h +620 -0
- data/vendor/local/include/cogl/cogl/cogl-pipeline-state.h +980 -0
- data/vendor/local/include/cogl/cogl/cogl-pipeline.h +194 -0
- data/vendor/local/include/cogl/cogl/cogl-pixel-buffer.h +138 -0
- data/vendor/local/include/cogl/cogl/cogl-poll.h +200 -0
- data/vendor/local/include/cogl/cogl/cogl-primitive-texture.h +111 -0
- data/vendor/local/include/cogl/cogl/cogl-primitive.h +942 -0
- data/vendor/local/include/cogl/cogl/cogl-primitives.h +197 -0
- data/vendor/local/include/cogl/cogl/cogl-quaternion.h +564 -0
- data/vendor/local/include/cogl/cogl/cogl-renderer.h +446 -0
- data/vendor/local/include/cogl/cogl/cogl-shader.h +704 -0
- data/vendor/local/include/cogl/cogl/cogl-snippet.h +866 -0
- data/vendor/local/include/cogl/cogl/cogl-sub-texture.h +136 -0
- data/vendor/local/include/cogl/cogl/cogl-swap-chain.h +71 -0
- data/vendor/local/include/cogl/cogl/cogl-texture-2d-gl.h +78 -0
- data/vendor/local/include/cogl/cogl/cogl-texture-2d-sliced.h +301 -0
- data/vendor/local/include/cogl/cogl/cogl-texture-2d.h +234 -0
- data/vendor/local/include/cogl/cogl/cogl-texture-3d.h +204 -0
- data/vendor/local/include/cogl/cogl/cogl-texture-deprecated.h +105 -0
- data/vendor/local/include/cogl/cogl/cogl-texture-rectangle.h +218 -0
- data/vendor/local/include/cogl/cogl/cogl-texture.h +524 -0
- data/vendor/local/include/cogl/cogl/cogl-type-casts.h +53 -0
- data/vendor/local/include/cogl/cogl/cogl-types.h +925 -0
- data/vendor/local/include/cogl/cogl/cogl-vector.h +356 -0
- data/vendor/local/include/cogl/cogl/cogl-version.h +348 -0
- data/vendor/local/include/cogl/cogl/cogl-vertex-buffer.h +451 -0
- data/vendor/local/include/cogl/cogl/cogl-win32-renderer.h +123 -0
- data/vendor/local/include/cogl/cogl/cogl.h +194 -0
- data/vendor/local/include/cogl/cogl/cogl1-context.h +862 -0
- data/vendor/local/include/cogl/cogl/cogl2-experimental.h +37 -0
- 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 +198 -0
- data/vendor/local/include/cogl/cogl/gl-prototypes/cogl-gles2-functions.h +43 -0
- data/vendor/local/include/cogl/cogl/gl-prototypes/cogl-glsl-functions.h +286 -0
- data/vendor/local/include/cogl/cogl/gl-prototypes/cogl-in-gles-core-functions.h +148 -0
- data/vendor/local/include/cogl/cogl/gl-prototypes/cogl-in-gles2-core-functions.h +186 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-builder.h +120 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-enum-types.h +41 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-generator.h +120 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-glib.h +47 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-gobject.h +199 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-gvariant.h +53 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-parser.h +188 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-path.h +102 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-reader.h +171 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-types.h +445 -0
- 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 +102 -0
- data/vendor/local/lib/girepository-1.0/Cally-1.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/Clutter-1.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/Cogl-1.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/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 +41 -0
- data/vendor/local/lib/libcogl-pango.dll.a +0 -0
- data/vendor/local/lib/libcogl-pango.la +41 -0
- data/vendor/local/lib/libcogl-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 +41 -0
- data/vendor/local/lib/libjson-glib-1.0.dll.a +0 -0
- data/vendor/local/lib/libjson-glib-1.0.la +41 -0
- data/vendor/local/lib/pkgconfig/cally-1.0.pc +13 -0
- data/vendor/local/lib/pkgconfig/clutter-1.0.pc +24 -0
- data/vendor/local/lib/pkgconfig/clutter-win32-1.0.pc +24 -0
- data/vendor/local/lib/pkgconfig/cogl-1.0.pc +13 -0
- data/vendor/local/lib/pkgconfig/cogl-2.0-experimental.pc +13 -0
- data/vendor/local/lib/pkgconfig/cogl-gl-1.0.pc +13 -0
- data/vendor/local/lib/pkgconfig/cogl-pango-1.0.pc +13 -0
- data/vendor/local/lib/pkgconfig/cogl-pango-2.0-experimental.pc +13 -0
- data/vendor/local/lib/pkgconfig/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 +11 -0
- data/vendor/local/share/cogl/examples-data/crate.jpg +0 -0
- data/vendor/local/share/gir-1.0/Cally-1.0.gir +681 -0
- data/vendor/local/share/gir-1.0/Clutter-1.0.gir +70493 -0
- data/vendor/local/share/gir-1.0/Cogl-1.0.gir +8197 -0
- data/vendor/local/share/gir-1.0/Cogl-2.0.gir +20369 -0
- data/vendor/local/share/gir-1.0/CoglPango-1.0.gir +333 -0
- data/vendor/local/share/gir-1.0/CoglPango-2.0.gir +331 -0
- data/vendor/local/share/gir-1.0/Json-1.0.gir +4742 -0
- data/vendor/local/share/gtk-doc/html/cally/CallyActor.html +509 -0
- data/vendor/local/share/gtk-doc/html/cally/CallyClone.html +155 -0
- data/vendor/local/share/gtk-doc/html/cally/CallyGroup.html +154 -0
- data/vendor/local/share/gtk-doc/html/cally/CallyRectangle.html +154 -0
- data/vendor/local/share/gtk-doc/html/cally/CallyRoot.html +133 -0
- data/vendor/local/share/gtk-doc/html/cally/CallyStage.html +159 -0
- data/vendor/local/share/gtk-doc/html/cally/CallyText.html +154 -0
- data/vendor/local/share/gtk-doc/html/cally/CallyTexture.html +154 -0
- data/vendor/local/share/gtk-doc/html/cally/CallyUtil.html +102 -0
- data/vendor/local/share/gtk-doc/html/cally/cally-General-API.html +187 -0
- data/vendor/local/share/gtk-doc/html/cally/cally.devhelp2 +73 -0
- data/vendor/local/share/gtk-doc/html/cally/callyannotationglossary.html +41 -0
- data/vendor/local/share/gtk-doc/html/cally/callybase.html +71 -0
- data/vendor/local/share/gtk-doc/html/cally/callyobjecthierarchy.html +45 -0
- data/vendor/local/share/gtk-doc/html/cally/callyobjectindex.html +64 -0
- data/vendor/local/share/gtk-doc/html/cally/callyobjects.html +39 -0
- data/vendor/local/share/gtk-doc/html/cally/ch01.html +53 -0
- data/vendor/local/share/gtk-doc/html/cally/ch02.html +41 -0
- data/vendor/local/share/gtk-doc/html/cally/clutter-overview.html +96 -0
- data/vendor/local/share/gtk-doc/html/cally/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/cally/index.html +103 -0
- data/vendor/local/share/gtk-doc/html/cally/index.sgml +121 -0
- data/vendor/local/share/gtk-doc/html/cally/ix01.html +193 -0
- data/vendor/local/share/gtk-doc/html/cally/ix02.html +31 -0
- data/vendor/local/share/gtk-doc/html/cally/ix03.html +185 -0
- data/vendor/local/share/gtk-doc/html/cally/ix04.html +39 -0
- data/vendor/local/share/gtk-doc/html/cally/left-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/cally/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/cally/license.html +58 -0
- data/vendor/local/share/gtk-doc/html/cally/right-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/cally/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/cally/style.css +476 -0
- data/vendor/local/share/gtk-doc/html/cally/up-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/cally/up.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterAction.html +109 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterActor.html +15797 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterActorMeta.html +396 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterAlignConstraint.html +494 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterAlpha.html +816 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterAnimatable.html +497 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterAnimator.html +1406 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBackend.html +855 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviour.html +802 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourDepth.html +313 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourEllipse.html +1041 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourOpacity.html +319 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourPath.html +502 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourRotate.html +744 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourScale.html +476 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBinLayout.html +481 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBindConstraint.html +598 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBlurEffect.html +116 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBox.html +726 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBoxLayout.html +1471 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBrightnessContrastEffect.html +480 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterCairoTexture.html +873 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterCanvas.html +488 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterChildMeta.html +287 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterClickAction.html +667 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterClone.html +258 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterColorizeEffect.html +239 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterConstraint.html +208 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterContainer.html +1611 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterContent.html +367 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterDeformEffect.html +418 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterDesaturateEffect.html +242 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterDeviceManager.html +492 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterDragAction.html +1120 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterDropAction.html +498 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterEffect.html +469 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterFixedLayout.html +125 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterFlowLayout.html +928 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterGestureAction.html +1321 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterGridLayout.html +1020 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterGroup.html +272 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterImage.html +527 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterInputDevice.html +1805 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterKeyframeTransition.html +616 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterLayoutManager.html +1280 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterLayoutMeta.html +189 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterListModel.html +222 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterMedia.html +1053 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterModel.html +2052 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterModelIter.html +779 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterOffscreenEffect.html +452 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPageTurnEffect.html +428 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPaintNode.html +671 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPanAction.html +946 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPath.html +1576 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPathConstraint.html +407 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPropertyTransition.html +261 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterRectangle.html +484 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterRotateAction.html +216 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterScore.html +1018 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterScript.html +1421 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterScriptable.html +364 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterScrollActor.html +385 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterSettings.html +376 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterShaderEffect.html +693 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterSnapConstraint.html +526 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterStage.html +2751 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterState.html +1823 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterSwipeAction.html +333 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTableLayout.html +1393 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTapAction.html +219 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterText.html +3871 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTextBuffer.html +906 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTexture.html +2085 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTimeline.html +2864 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTransition.html +684 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTransitionGroup.html +264 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterZoomAction.html +474 -0
- data/vendor/local/share/gtk-doc/html/clutter/actor-box.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/actor-example.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/animator-key-frames.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/annotation-glossary.html +95 -0
- data/vendor/local/share/gtk-doc/html/clutter/bin-layout.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/box-layout.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/building-clutter.html +275 -0
- data/vendor/local/share/gtk-doc/html/clutter/ch01.html +65 -0
- data/vendor/local/share/gtk-doc/html/clutter/ch02.html +44 -0
- data/vendor/local/share/gtk-doc/html/clutter/ch03.html +47 -0
- data/vendor/local/share/gtk-doc/html/clutter/ch04.html +59 -0
- data/vendor/local/share/gtk-doc/html/clutter/ch05.html +44 -0
- data/vendor/local/share/gtk-doc/html/clutter/ch06.html +57 -0
- data/vendor/local/share/gtk-doc/html/clutter/ch07.html +38 -0
- data/vendor/local/share/gtk-doc/html/clutter/ch08.html +38 -0
- data/vendor/local/share/gtk-doc/html/clutter/ch09.html +53 -0
- data/vendor/local/share/gtk-doc/html/clutter/ch10.html +78 -0
- data/vendor/local/share/gtk-doc/html/clutter/ch11.html +38 -0
- data/vendor/local/share/gtk-doc/html/clutter/ch12.html +41 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Base-geometric-types.html +4244 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-ClutterGLXTexturePixmap.html +268 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-ClutterWaylandSurface.html +454 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-ClutterX11TexturePixmap.html +442 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Colors.html +1644 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-EGL-Specific-Support.html +211 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Events.html +3454 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Features.html +232 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-GDK-Specific-Support.html +297 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-General.html +2112 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Implicit-Animations.html +2213 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Intel-CE3100-CE4100-Specific-Support.html +200 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Key-Bindings.html +992 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Paint-Nodes.html +411 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Shaders.html +1236 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Stage-Manager.html +418 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Unit-conversion.html +1006 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Utilities.html +661 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Value-intervals.html +1221 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Versioning-Macros.html +578 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Wayland-compositor-specific-support.html +106 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Wayland-specific-support.html +289 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Win32-Specific-Support.html +241 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-X11-Specific-Support.html +916 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-overview.html +77 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter.devhelp2 +2403 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutteranimation.html +65 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutterbackends.html +74 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutterbase.html +195 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutterglossary.html +37 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutterobjecthierarchy.html +118 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutterobjectindex.html +184 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutterobjects.html +37 -0
- data/vendor/local/share/gtk-doc/html/clutter/cluttertools.html +105 -0
- data/vendor/local/share/gtk-doc/html/clutter/constraints-example.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/deprecated.html +93 -0
- data/vendor/local/share/gtk-doc/html/clutter/easing-modes.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/event-flow.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/flow-layout.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/go01.html +126 -0
- data/vendor/local/share/gtk-doc/html/clutter/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/index.html +454 -0
- data/vendor/local/share/gtk-doc/html/clutter/index.sgml +3165 -0
- data/vendor/local/share/gtk-doc/html/clutter/iterating-paths.html +56 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix01.html +8982 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix02.html +2198 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix03.html +457 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix04.html +578 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix05.html +952 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix06.html +637 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix07.html +1525 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix08.html +815 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix09.html +1000 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix10.html +364 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix11.html +361 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix12.html +1085 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix13.html +979 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix14.html +101 -0
- data/vendor/local/share/gtk-doc/html/clutter/left-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/license.html +58 -0
- data/vendor/local/share/gtk-doc/html/clutter/migrating-ClutterAnimation.html +223 -0
- data/vendor/local/share/gtk-doc/html/clutter/migrating-ClutterBehaviour.html +197 -0
- data/vendor/local/share/gtk-doc/html/clutter/migrating-ClutterEffect.html +154 -0
- data/vendor/local/share/gtk-doc/html/clutter/migrating-ClutterPath.html +155 -0
- data/vendor/local/share/gtk-doc/html/clutter/migration.html +49 -0
- data/vendor/local/share/gtk-doc/html/clutter/offscreen-redirect.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/path-alpha-func.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/pt09.html +31 -0
- data/vendor/local/share/gtk-doc/html/clutter/right-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/running-clutter.html +378 -0
- data/vendor/local/share/gtk-doc/html/clutter/style.css +476 -0
- data/vendor/local/share/gtk-doc/html/clutter/table-layout.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/up-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/up.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/using-cairo.html +36 -0
- data/vendor/local/share/gtk-doc/html/json-glib/JsonBuilder.html +676 -0
- data/vendor/local/share/gtk-doc/html/json-glib/JsonGenerator.html +660 -0
- data/vendor/local/share/gtk-doc/html/json-glib/JsonParser.html +1144 -0
- data/vendor/local/share/gtk-doc/html/json-glib/JsonPath.html +512 -0
- data/vendor/local/share/gtk-doc/html/json-glib/JsonReader.html +1140 -0
- data/vendor/local/share/gtk-doc/html/json-glib/annotation-glossary.html +66 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ch01.html +41 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ch02.html +41 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ch03.html +38 -0
- data/vendor/local/share/gtk-doc/html/json-glib/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 +134 -0
- data/vendor/local/share/gtk-doc/html/json-glib/index.sgml +327 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ix01.html +965 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ix02.html +49 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ix03.html +56 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ix04.html +49 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ix05.html +181 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ix06.html +116 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ix07.html +156 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ix08.html +132 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-advanced.html +50 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-base.html +61 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-format-tool.html +84 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-Boxed-Types-Serialization.html +491 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-GObject-Serialization.html +385 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-Array.html +1188 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-GVariant-Integration.html +318 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-Node.html +1803 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-Object.html +1369 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-Serializable-Interface.html +582 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-Versioning-information.html +215 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib.devhelp2 +277 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib.html +38 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-streams.html +63 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-tools.html +45 -0
- 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 +58 -0
- 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 +476 -0
- 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/clutter/COPYING +502 -0
- data/vendor/local/share/license/cogl/COPYING +107 -0
- data/vendor/local/share/license/json-glib/COPYING +504 -0
- 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
- metadata +869 -0
@@ -0,0 +1,197 @@
|
|
1
|
+
/*
|
2
|
+
* Cogl
|
3
|
+
*
|
4
|
+
* A Low Level GPU Graphics and Utilities API
|
5
|
+
*
|
6
|
+
* Copyright (C) 2007,2008,2009 Intel Corporation.
|
7
|
+
*
|
8
|
+
* Permission is hereby granted, free of charge, to any person
|
9
|
+
* obtaining a copy of this software and associated documentation
|
10
|
+
* files (the "Software"), to deal in the Software without
|
11
|
+
* restriction, including without limitation the rights to use, copy,
|
12
|
+
* modify, merge, publish, distribute, sublicense, and/or sell copies
|
13
|
+
* of the Software, and to permit persons to whom the Software is
|
14
|
+
* furnished to do so, subject to the following conditions:
|
15
|
+
*
|
16
|
+
* The above copyright notice and this permission notice shall be
|
17
|
+
* included in all copies or substantial portions of the Software.
|
18
|
+
*
|
19
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
20
|
+
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
21
|
+
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
22
|
+
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
|
23
|
+
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
|
24
|
+
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
25
|
+
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
26
|
+
* SOFTWARE.
|
27
|
+
*
|
28
|
+
*
|
29
|
+
*/
|
30
|
+
|
31
|
+
#ifndef __COGL_PRIMITIVES_H
|
32
|
+
#define __COGL_PRIMITIVES_H
|
33
|
+
|
34
|
+
#include <glib.h>
|
35
|
+
|
36
|
+
COGL_BEGIN_DECLS
|
37
|
+
|
38
|
+
/**
|
39
|
+
* SECTION:cogl-primitives
|
40
|
+
* @short_description: Functions that draw various primitive 3D shapes
|
41
|
+
*
|
42
|
+
* The primitives API provides utilities for drawing some
|
43
|
+
* common 3D shapes in a more convenient way than the CoglVertexBuffer
|
44
|
+
* API provides.
|
45
|
+
*/
|
46
|
+
|
47
|
+
/**
|
48
|
+
* cogl_rectangle:
|
49
|
+
* @x_1: X coordinate of the top-left corner
|
50
|
+
* @y_1: Y coordinate of the top-left corner
|
51
|
+
* @x_2: X coordinate of the bottom-right corner
|
52
|
+
* @y_2: Y coordinate of the bottom-right corner
|
53
|
+
*
|
54
|
+
* Fills a rectangle at the given coordinates with the current source material
|
55
|
+
**/
|
56
|
+
void
|
57
|
+
cogl_rectangle (float x_1,
|
58
|
+
float y_1,
|
59
|
+
float x_2,
|
60
|
+
float y_2);
|
61
|
+
|
62
|
+
/**
|
63
|
+
* cogl_rectangle_with_texture_coords:
|
64
|
+
* @x1: x coordinate upper left on screen.
|
65
|
+
* @y1: y coordinate upper left on screen.
|
66
|
+
* @x2: x coordinate lower right on screen.
|
67
|
+
* @y2: y coordinate lower right on screen.
|
68
|
+
* @tx1: x part of texture coordinate to use for upper left pixel
|
69
|
+
* @ty1: y part of texture coordinate to use for upper left pixel
|
70
|
+
* @tx2: x part of texture coordinate to use for lower right pixel
|
71
|
+
* @ty2: y part of texture coordinate to use for left pixel
|
72
|
+
*
|
73
|
+
* Draw a rectangle using the current material and supply texture coordinates
|
74
|
+
* to be used for the first texture layer of the material. To draw the entire
|
75
|
+
* texture pass in @tx1=0.0 @ty1=0.0 @tx2=1.0 @ty2=1.0.
|
76
|
+
*
|
77
|
+
* Since: 1.0
|
78
|
+
*/
|
79
|
+
void
|
80
|
+
cogl_rectangle_with_texture_coords (float x1,
|
81
|
+
float y1,
|
82
|
+
float x2,
|
83
|
+
float y2,
|
84
|
+
float tx1,
|
85
|
+
float ty1,
|
86
|
+
float tx2,
|
87
|
+
float ty2);
|
88
|
+
|
89
|
+
/**
|
90
|
+
* cogl_rectangle_with_multitexture_coords:
|
91
|
+
* @x1: x coordinate upper left on screen.
|
92
|
+
* @y1: y coordinate upper left on screen.
|
93
|
+
* @x2: x coordinate lower right on screen.
|
94
|
+
* @y2: y coordinate lower right on screen.
|
95
|
+
* @tex_coords: (in) (array) (transfer none): An array containing groups of
|
96
|
+
* 4 float values: [tx1, ty1, tx2, ty2] that are interpreted as two texture
|
97
|
+
* coordinates; one for the upper left texel, and one for the lower right
|
98
|
+
* texel. Each value should be between 0.0 and 1.0, where the coordinate
|
99
|
+
* (0.0, 0.0) represents the top left of the texture, and (1.0, 1.0) the
|
100
|
+
* bottom right.
|
101
|
+
* @tex_coords_len: The length of the tex_coords array. (e.g. for one layer
|
102
|
+
* and one group of texture coordinates, this would be 4)
|
103
|
+
*
|
104
|
+
* This function draws a rectangle using the current source material to
|
105
|
+
* texture or fill with. As a material may contain multiple texture layers
|
106
|
+
* this interface lets you supply texture coordinates for each layer of the
|
107
|
+
* material.
|
108
|
+
*
|
109
|
+
* The first pair of coordinates are for the first layer (with the smallest
|
110
|
+
* layer index) and if you supply less texture coordinates than there are
|
111
|
+
* layers in the current source material then default texture coordinates
|
112
|
+
* (0.0, 0.0, 1.0, 1.0) are generated.
|
113
|
+
*
|
114
|
+
* Since: 1.0
|
115
|
+
*/
|
116
|
+
void
|
117
|
+
cogl_rectangle_with_multitexture_coords (float x1,
|
118
|
+
float y1,
|
119
|
+
float x2,
|
120
|
+
float y2,
|
121
|
+
const float *tex_coords,
|
122
|
+
int tex_coords_len);
|
123
|
+
|
124
|
+
/**
|
125
|
+
* cogl_rectangles_with_texture_coords:
|
126
|
+
* @verts: (in) (array) (transfer none): an array of vertices
|
127
|
+
* @n_rects: number of rectangles to draw
|
128
|
+
*
|
129
|
+
* Draws a series of rectangles in the same way that
|
130
|
+
* cogl_rectangle_with_texture_coords() does. In some situations it can give a
|
131
|
+
* significant performance boost to use this function rather than
|
132
|
+
* calling cogl_rectangle_with_texture_coords() separately for each rectangle.
|
133
|
+
*
|
134
|
+
* @verts should point to an array of #float<!-- -->s with
|
135
|
+
* @n_rects * 8 elements. Each group of 8 values corresponds to the
|
136
|
+
* parameters x1, y1, x2, y2, tx1, ty1, tx2 and ty2 and have the same
|
137
|
+
* meaning as in cogl_rectangle_with_texture_coords().
|
138
|
+
*
|
139
|
+
* Since: 0.8.6
|
140
|
+
*/
|
141
|
+
void
|
142
|
+
cogl_rectangles_with_texture_coords (const float *verts,
|
143
|
+
unsigned int n_rects);
|
144
|
+
|
145
|
+
/**
|
146
|
+
* cogl_rectangles:
|
147
|
+
* @verts: (in) (array) (transfer none): an array of vertices
|
148
|
+
* @n_rects: number of rectangles to draw
|
149
|
+
*
|
150
|
+
* Draws a series of rectangles in the same way that
|
151
|
+
* cogl_rectangle() does. In some situations it can give a
|
152
|
+
* significant performance boost to use this function rather than
|
153
|
+
* calling cogl_rectangle() separately for each rectangle.
|
154
|
+
*
|
155
|
+
* @verts should point to an array of #float<!-- -->s with
|
156
|
+
* @n_rects * 4 elements. Each group of 4 values corresponds to the
|
157
|
+
* parameters x1, y1, x2, and y2, and have the same
|
158
|
+
* meaning as in cogl_rectangle().
|
159
|
+
*
|
160
|
+
* Since: 1.0
|
161
|
+
*/
|
162
|
+
void
|
163
|
+
cogl_rectangles (const float *verts,
|
164
|
+
unsigned int n_rects);
|
165
|
+
|
166
|
+
/**
|
167
|
+
* cogl_polygon:
|
168
|
+
* @vertices: An array of #CoglTextureVertex structs
|
169
|
+
* @n_vertices: The length of the vertices array
|
170
|
+
* @use_color: %TRUE if the color member of #CoglTextureVertex should be used
|
171
|
+
*
|
172
|
+
* Draws a convex polygon using the current source material to fill / texture
|
173
|
+
* with according to the texture coordinates passed.
|
174
|
+
*
|
175
|
+
* If @use_color is %TRUE then the color will be changed for each vertex using
|
176
|
+
* the value specified in the color member of #CoglTextureVertex. This can be
|
177
|
+
* used for example to make the texture fade out by setting the alpha value of
|
178
|
+
* the color.
|
179
|
+
*
|
180
|
+
* All of the texture coordinates must be in the range [0,1] and repeating the
|
181
|
+
* texture is not supported.
|
182
|
+
*
|
183
|
+
* Because of the way this function is implemented it will currently
|
184
|
+
* only work if either the texture is not sliced or the backend is not
|
185
|
+
* OpenGL ES and the minifying and magnifying functions are both set
|
186
|
+
* to COGL_MATERIAL_FILTER_NEAREST.
|
187
|
+
*
|
188
|
+
* Since: 1.0
|
189
|
+
*/
|
190
|
+
void
|
191
|
+
cogl_polygon (const CoglTextureVertex *vertices,
|
192
|
+
unsigned int n_vertices,
|
193
|
+
CoglBool use_color);
|
194
|
+
|
195
|
+
COGL_END_DECLS
|
196
|
+
|
197
|
+
#endif /* __COGL_PRIMITIVES_H */
|
@@ -0,0 +1,564 @@
|
|
1
|
+
/*
|
2
|
+
* Cogl
|
3
|
+
*
|
4
|
+
* A Low Level GPU Graphics and Utilities API
|
5
|
+
*
|
6
|
+
* Copyright (C) 2010 Intel Corporation.
|
7
|
+
*
|
8
|
+
* Permission is hereby granted, free of charge, to any person
|
9
|
+
* obtaining a copy of this software and associated documentation
|
10
|
+
* files (the "Software"), to deal in the Software without
|
11
|
+
* restriction, including without limitation the rights to use, copy,
|
12
|
+
* modify, merge, publish, distribute, sublicense, and/or sell copies
|
13
|
+
* of the Software, and to permit persons to whom the Software is
|
14
|
+
* furnished to do so, subject to the following conditions:
|
15
|
+
*
|
16
|
+
* The above copyright notice and this permission notice shall be
|
17
|
+
* included in all copies or substantial portions of the Software.
|
18
|
+
*
|
19
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
20
|
+
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
21
|
+
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
22
|
+
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
|
23
|
+
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
|
24
|
+
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
25
|
+
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
26
|
+
* SOFTWARE.
|
27
|
+
*
|
28
|
+
* Authors:
|
29
|
+
* Robert Bragg <robert@linux.intel.com>
|
30
|
+
*/
|
31
|
+
|
32
|
+
#if !defined(__COGL_H_INSIDE__) && !defined(COGL_COMPILATION)
|
33
|
+
#error "Only <cogl/cogl.h> can be included directly."
|
34
|
+
#endif
|
35
|
+
|
36
|
+
#ifndef __COGL_QUATERNION_H__
|
37
|
+
#define __COGL_QUATERNION_H__
|
38
|
+
|
39
|
+
#include <cogl/cogl-types.h>
|
40
|
+
#include <cogl/cogl-vector.h>
|
41
|
+
|
42
|
+
COGL_BEGIN_DECLS
|
43
|
+
|
44
|
+
/**
|
45
|
+
* SECTION:cogl-quaternion
|
46
|
+
* @short_description: Functions for initializing and manipulating
|
47
|
+
* quaternions.
|
48
|
+
*
|
49
|
+
* Quaternions have become a standard form for representing 3D
|
50
|
+
* rotations and have some nice properties when compared with other
|
51
|
+
* representation such as (roll,pitch,yaw) Euler angles. They can be
|
52
|
+
* used to interpolate between different rotations and they don't
|
53
|
+
* suffer from a problem called
|
54
|
+
* <ulink url="http://en.wikipedia.org/wiki/Gimbal_lock">"Gimbal lock"</ulink>
|
55
|
+
* where two of the axis of rotation may become aligned and you loose a
|
56
|
+
* degree of freedom.
|
57
|
+
* .
|
58
|
+
*/
|
59
|
+
#include <cogl/cogl-vector.h>
|
60
|
+
#include <cogl/cogl-euler.h>
|
61
|
+
|
62
|
+
#ifdef COGL_HAS_GTYPE_SUPPORT
|
63
|
+
#include <glib-object.h>
|
64
|
+
#endif
|
65
|
+
|
66
|
+
/**
|
67
|
+
* CoglQuaternion:
|
68
|
+
* @w: based on the angle of rotation it is cos(𝜃/2)
|
69
|
+
* @x: based on the angle of rotation and x component of the axis of
|
70
|
+
* rotation it is sin(𝜃/2)*axis.x
|
71
|
+
* @y: based on the angle of rotation and y component of the axis of
|
72
|
+
* rotation it is sin(𝜃/2)*axis.y
|
73
|
+
* @z: based on the angle of rotation and z component of the axis of
|
74
|
+
* rotation it is sin(𝜃/2)*axis.z
|
75
|
+
*
|
76
|
+
* A quaternion is comprised of a scalar component and a 3D vector
|
77
|
+
* component. The scalar component is normally referred to as w and the
|
78
|
+
* vector might either be referred to as v or a (for axis) or expanded
|
79
|
+
* with the individual components: (x, y, z) A full quaternion would
|
80
|
+
* then be written as <literal>[w (x, y, z)]</literal>.
|
81
|
+
*
|
82
|
+
* Quaternions can be considered to represent an axis and angle
|
83
|
+
* pair although sadly these numbers are buried somewhat under some
|
84
|
+
* maths...
|
85
|
+
*
|
86
|
+
* For the curious you can see here that a given axis (a) and angle (𝜃)
|
87
|
+
* pair are represented in a quaternion as follows:
|
88
|
+
* |[
|
89
|
+
* [w=cos(𝜃/2) ( x=sin(𝜃/2)*a.x, y=sin(𝜃/2)*a.y, z=sin(𝜃/2)*a.x )]
|
90
|
+
* ]|
|
91
|
+
*
|
92
|
+
* Unit Quaternions:
|
93
|
+
* When using Quaternions to represent spatial orientations for 3D
|
94
|
+
* graphics it's always assumed you have a unit quaternion. The
|
95
|
+
* magnitude of a quaternion is defined as:
|
96
|
+
* |[
|
97
|
+
* sqrt (w² + x² + y² + z²)
|
98
|
+
* ]|
|
99
|
+
* and a unit quaternion satisfies this equation:
|
100
|
+
* |[
|
101
|
+
* w² + x² + y² + z² = 1
|
102
|
+
* ]|
|
103
|
+
*
|
104
|
+
* Thankfully most of the time we don't actually have to worry about
|
105
|
+
* the maths that goes on behind the scenes but if you are curious to
|
106
|
+
* learn more here are some external references:
|
107
|
+
*
|
108
|
+
* <itemizedlist>
|
109
|
+
* <listitem>
|
110
|
+
* <ulink url="http://mathworld.wolfram.com/Quaternion.html"/>
|
111
|
+
* </listitem>
|
112
|
+
* <listitem>
|
113
|
+
* <ulink url="http://www.gamedev.net/reference/articles/article1095.asp"/>
|
114
|
+
* </listitem>
|
115
|
+
* <listitem>
|
116
|
+
* <ulink url="http://www.cprogramming.com/tutorial/3d/quaternions.html"/>
|
117
|
+
* </listitem>
|
118
|
+
* <listitem>
|
119
|
+
* <ulink url="http://www.isner.com/tutorials/quatSpells/quaternion_spells_12.htm"/>
|
120
|
+
* </listitem>
|
121
|
+
* <listitem>
|
122
|
+
* 3D Maths Primer for Graphics and Game Development ISBN-10: 1556229119
|
123
|
+
* </listitem>
|
124
|
+
* <listitem>
|
125
|
+
* <ulink url="http://www.cs.caltech.edu/courses/cs171/quatut.pdf"/>
|
126
|
+
* </listitem>
|
127
|
+
* <listitem>
|
128
|
+
* <ulink url="http://www.j3d.org/matrix_faq/matrfaq_latest.html#Q56"/>
|
129
|
+
* </listitem>
|
130
|
+
* </itemizedlist>
|
131
|
+
*
|
132
|
+
*/
|
133
|
+
struct _CoglQuaternion
|
134
|
+
{
|
135
|
+
/*< public >*/
|
136
|
+
float w;
|
137
|
+
|
138
|
+
float x;
|
139
|
+
float y;
|
140
|
+
float z;
|
141
|
+
|
142
|
+
/*< private >*/
|
143
|
+
float padding0;
|
144
|
+
float padding1;
|
145
|
+
float padding2;
|
146
|
+
float padding3;
|
147
|
+
};
|
148
|
+
COGL_STRUCT_SIZE_ASSERT (CoglQuaternion, 32);
|
149
|
+
|
150
|
+
#ifdef COGL_HAS_GTYPE_SUPPORT
|
151
|
+
/**
|
152
|
+
* cogl_quaternion_get_gtype:
|
153
|
+
*
|
154
|
+
* Returns: a #GType that can be used with the GLib type system.
|
155
|
+
*/
|
156
|
+
GType cogl_quaternion_get_gtype (void);
|
157
|
+
#endif
|
158
|
+
|
159
|
+
/**
|
160
|
+
* cogl_quaternion_init:
|
161
|
+
* @quaternion: An uninitialized #CoglQuaternion
|
162
|
+
* @angle: The angle you want to rotate around the given axis
|
163
|
+
* @x: The x component of your axis vector about which you want to
|
164
|
+
* rotate.
|
165
|
+
* @y: The y component of your axis vector about which you want to
|
166
|
+
* rotate.
|
167
|
+
* @z: The z component of your axis vector about which you want to
|
168
|
+
* rotate.
|
169
|
+
*
|
170
|
+
* Initializes a quaternion that rotates @angle degrees around the
|
171
|
+
* axis vector (@x, @y, @z). The axis vector does not need to be
|
172
|
+
* normalized.
|
173
|
+
*
|
174
|
+
* Returns: A normalized, unit quaternion representing an orientation
|
175
|
+
* rotated @angle degrees around the axis vector (@x, @y, @z)
|
176
|
+
*
|
177
|
+
* Since: 2.0
|
178
|
+
*/
|
179
|
+
void
|
180
|
+
cogl_quaternion_init (CoglQuaternion *quaternion,
|
181
|
+
float angle,
|
182
|
+
float x,
|
183
|
+
float y,
|
184
|
+
float z);
|
185
|
+
|
186
|
+
/**
|
187
|
+
* cogl_quaternion_init_from_angle_vector:
|
188
|
+
* @quaternion: An uninitialized #CoglQuaternion
|
189
|
+
* @angle: The angle to rotate around @axis3f
|
190
|
+
* @axis3f: your 3 component axis vector about which you want to rotate.
|
191
|
+
*
|
192
|
+
* Initializes a quaternion that rotates @angle degrees around the
|
193
|
+
* given @axis vector. The axis vector does not need to be
|
194
|
+
* normalized.
|
195
|
+
*
|
196
|
+
* Returns: A normalized, unit quaternion representing an orientation
|
197
|
+
* rotated @angle degrees around the given @axis vector.
|
198
|
+
*
|
199
|
+
* Since: 2.0
|
200
|
+
*/
|
201
|
+
void
|
202
|
+
cogl_quaternion_init_from_angle_vector (CoglQuaternion *quaternion,
|
203
|
+
float angle,
|
204
|
+
const float *axis3f);
|
205
|
+
|
206
|
+
/**
|
207
|
+
* cogl_quaternion_init_identity:
|
208
|
+
* @quaternion: An uninitialized #CoglQuaternion
|
209
|
+
*
|
210
|
+
* Initializes the quaternion with the canonical quaternion identity
|
211
|
+
* [1 (0, 0, 0)] which represents no rotation. Multiplying a
|
212
|
+
* quaternion with this identity leaves the quaternion unchanged.
|
213
|
+
*
|
214
|
+
* You might also want to consider using
|
215
|
+
* cogl_get_static_identity_quaternion().
|
216
|
+
*
|
217
|
+
* Since: 2.0
|
218
|
+
*/
|
219
|
+
void
|
220
|
+
cogl_quaternion_init_identity (CoglQuaternion *quaternion);
|
221
|
+
|
222
|
+
/**
|
223
|
+
* cogl_quaternion_init_from_array:
|
224
|
+
* @quaternion: A #CoglQuaternion
|
225
|
+
* @array: An array of 4 floats w,(x,y,z)
|
226
|
+
*
|
227
|
+
* Initializes a [w (x, y,z)] quaternion directly from an array of 4
|
228
|
+
* floats: [w,x,y,z].
|
229
|
+
*
|
230
|
+
* Since: 2.0
|
231
|
+
*/
|
232
|
+
void
|
233
|
+
cogl_quaternion_init_from_array (CoglQuaternion *quaternion,
|
234
|
+
const float *array);
|
235
|
+
|
236
|
+
/**
|
237
|
+
* cogl_quaternion_init_from_x_rotation:
|
238
|
+
* @quaternion: An uninitialized #CoglQuaternion
|
239
|
+
* @angle: The angle to rotate around the x axis
|
240
|
+
*
|
241
|
+
* XXX: check which direction this rotates
|
242
|
+
*
|
243
|
+
* Since: 2.0
|
244
|
+
*/
|
245
|
+
void
|
246
|
+
cogl_quaternion_init_from_x_rotation (CoglQuaternion *quaternion,
|
247
|
+
float angle);
|
248
|
+
|
249
|
+
/**
|
250
|
+
* cogl_quaternion_init_from_y_rotation:
|
251
|
+
* @quaternion: An uninitialized #CoglQuaternion
|
252
|
+
* @angle: The angle to rotate around the y axis
|
253
|
+
*
|
254
|
+
*
|
255
|
+
* Since: 2.0
|
256
|
+
*/
|
257
|
+
void
|
258
|
+
cogl_quaternion_init_from_y_rotation (CoglQuaternion *quaternion,
|
259
|
+
float angle);
|
260
|
+
|
261
|
+
/**
|
262
|
+
* cogl_quaternion_init_from_z_rotation:
|
263
|
+
* @quaternion: An uninitialized #CoglQuaternion
|
264
|
+
* @angle: The angle to rotate around the z axis
|
265
|
+
*
|
266
|
+
*
|
267
|
+
* Since: 2.0
|
268
|
+
*/
|
269
|
+
void
|
270
|
+
cogl_quaternion_init_from_z_rotation (CoglQuaternion *quaternion,
|
271
|
+
float angle);
|
272
|
+
|
273
|
+
/**
|
274
|
+
* cogl_quaternion_init_from_euler:
|
275
|
+
* @quaternion: A #CoglQuaternion
|
276
|
+
* @euler: A #CoglEuler with which to initialize the quaternion
|
277
|
+
*
|
278
|
+
* Since: 2.0
|
279
|
+
*/
|
280
|
+
void
|
281
|
+
cogl_quaternion_init_from_euler (CoglQuaternion *quaternion,
|
282
|
+
const CoglEuler *euler);
|
283
|
+
|
284
|
+
/**
|
285
|
+
* cogl_quaternion_init_from_quaternion:
|
286
|
+
* @quaternion: A #CoglQuaternion
|
287
|
+
* @src: A #CoglQuaternion with which to initialize @quaternion
|
288
|
+
*
|
289
|
+
* Since: 2.0
|
290
|
+
*/
|
291
|
+
void
|
292
|
+
cogl_quaternion_init_from_quaternion (CoglQuaternion *quaternion,
|
293
|
+
CoglQuaternion *src);
|
294
|
+
|
295
|
+
/**
|
296
|
+
* cogl_quaternion_init_from_matrix:
|
297
|
+
* @quaternion: A Cogl Quaternion
|
298
|
+
* @matrix: A rotation matrix with which to initialize the quaternion
|
299
|
+
*
|
300
|
+
* Initializes a quaternion from a rotation matrix.
|
301
|
+
*
|
302
|
+
* Since: 1.10
|
303
|
+
* Stability: unstable
|
304
|
+
*/
|
305
|
+
void
|
306
|
+
cogl_quaternion_init_from_matrix (CoglQuaternion *quaternion,
|
307
|
+
const CoglMatrix *matrix);
|
308
|
+
|
309
|
+
/**
|
310
|
+
* cogl_quaternion_equal:
|
311
|
+
* @v1: A #CoglQuaternion
|
312
|
+
* @v2: A #CoglQuaternion
|
313
|
+
*
|
314
|
+
* Compares that all the components of quaternions @a and @b are
|
315
|
+
* equal.
|
316
|
+
*
|
317
|
+
* An epsilon value is not used to compare the float components, but
|
318
|
+
* the == operator is at least used so that 0 and -0 are considered
|
319
|
+
* equal.
|
320
|
+
*
|
321
|
+
* Returns: %TRUE if the quaternions are equal else %FALSE.
|
322
|
+
*
|
323
|
+
* Since: 2.0
|
324
|
+
*/
|
325
|
+
CoglBool
|
326
|
+
cogl_quaternion_equal (const void *v1, const void *v2);
|
327
|
+
|
328
|
+
/**
|
329
|
+
* cogl_quaternion_copy:
|
330
|
+
* @src: A #CoglQuaternion
|
331
|
+
*
|
332
|
+
* Allocates a new #CoglQuaternion on the stack and initializes it with
|
333
|
+
* the same values as @src.
|
334
|
+
*
|
335
|
+
* Returns: A newly allocated #CoglQuaternion which should be freed
|
336
|
+
* using cogl_quaternion_free()
|
337
|
+
*
|
338
|
+
* Since: 2.0
|
339
|
+
*/
|
340
|
+
CoglQuaternion *
|
341
|
+
cogl_quaternion_copy (const CoglQuaternion *src);
|
342
|
+
|
343
|
+
/**
|
344
|
+
* cogl_quaternion_free:
|
345
|
+
* @quaternion: A #CoglQuaternion
|
346
|
+
*
|
347
|
+
* Frees a #CoglQuaternion that was previously allocated via
|
348
|
+
* cogl_quaternion_copy().
|
349
|
+
*
|
350
|
+
* Since: 2.0
|
351
|
+
*/
|
352
|
+
void
|
353
|
+
cogl_quaternion_free (CoglQuaternion *quaternion);
|
354
|
+
|
355
|
+
/**
|
356
|
+
* cogl_quaternion_get_rotation_angle:
|
357
|
+
* @quaternion: A #CoglQuaternion
|
358
|
+
*
|
359
|
+
*
|
360
|
+
* Since: 2.0
|
361
|
+
*/
|
362
|
+
float
|
363
|
+
cogl_quaternion_get_rotation_angle (const CoglQuaternion *quaternion);
|
364
|
+
|
365
|
+
/**
|
366
|
+
* cogl_quaternion_get_rotation_axis:
|
367
|
+
* @quaternion: A #CoglQuaternion
|
368
|
+
* @vector3: (out): an allocated 3-float array
|
369
|
+
*
|
370
|
+
* Since: 2.0
|
371
|
+
*/
|
372
|
+
void
|
373
|
+
cogl_quaternion_get_rotation_axis (const CoglQuaternion *quaternion,
|
374
|
+
float *vector3);
|
375
|
+
|
376
|
+
/**
|
377
|
+
* cogl_quaternion_normalize:
|
378
|
+
* @quaternion: A #CoglQuaternion
|
379
|
+
*
|
380
|
+
*
|
381
|
+
* Since: 2.0
|
382
|
+
*/
|
383
|
+
void
|
384
|
+
cogl_quaternion_normalize (CoglQuaternion *quaternion);
|
385
|
+
|
386
|
+
/**
|
387
|
+
* cogl_quaternion_dot_product:
|
388
|
+
* @a: A #CoglQuaternion
|
389
|
+
* @b: A #CoglQuaternion
|
390
|
+
*
|
391
|
+
* Since: 2.0
|
392
|
+
*/
|
393
|
+
float
|
394
|
+
cogl_quaternion_dot_product (const CoglQuaternion *a,
|
395
|
+
const CoglQuaternion *b);
|
396
|
+
|
397
|
+
/**
|
398
|
+
* cogl_quaternion_invert:
|
399
|
+
* @quaternion: A #CoglQuaternion
|
400
|
+
*
|
401
|
+
*
|
402
|
+
* Since: 2.0
|
403
|
+
*/
|
404
|
+
void
|
405
|
+
cogl_quaternion_invert (CoglQuaternion *quaternion);
|
406
|
+
|
407
|
+
/**
|
408
|
+
* cogl_quaternion_multiply:
|
409
|
+
* @result: The destination #CoglQuaternion
|
410
|
+
* @left: The second #CoglQuaternion rotation to apply
|
411
|
+
* @right: The first #CoglQuaternion rotation to apply
|
412
|
+
*
|
413
|
+
* This combines the rotations of two quaternions into @result. The
|
414
|
+
* operation is not commutative so the order is important because AxB
|
415
|
+
* != BxA. Cogl follows the standard convention for quaternions here
|
416
|
+
* so the rotations are applied @right to @left. This is similar to the
|
417
|
+
* combining of matrices.
|
418
|
+
*
|
419
|
+
* <note>It is possible to multiply the @a quaternion in-place, so
|
420
|
+
* @result can be equal to @a but can't be equal to @b.</note>
|
421
|
+
*
|
422
|
+
* Since: 2.0
|
423
|
+
*/
|
424
|
+
void
|
425
|
+
cogl_quaternion_multiply (CoglQuaternion *result,
|
426
|
+
const CoglQuaternion *left,
|
427
|
+
const CoglQuaternion *right);
|
428
|
+
|
429
|
+
/**
|
430
|
+
* cogl_quaternion_pow:
|
431
|
+
* @quaternion: A #CoglQuaternion
|
432
|
+
* @exponent: the exponent
|
433
|
+
*
|
434
|
+
*
|
435
|
+
* Since: 2.0
|
436
|
+
*/
|
437
|
+
void
|
438
|
+
cogl_quaternion_pow (CoglQuaternion *quaternion, float exponent);
|
439
|
+
|
440
|
+
/**
|
441
|
+
* cogl_quaternion_slerp:
|
442
|
+
* @result: The destination #CoglQuaternion
|
443
|
+
* @a: The first #CoglQuaternion
|
444
|
+
* @b: The second #CoglQuaternion
|
445
|
+
* @t: The factor in the range [0,1] used to interpolate between
|
446
|
+
* quaternion @a and @b.
|
447
|
+
*
|
448
|
+
* Performs a spherical linear interpolation between two quaternions.
|
449
|
+
*
|
450
|
+
* Noteable properties:
|
451
|
+
* <itemizedlist>
|
452
|
+
* <listitem>
|
453
|
+
* commutative: No
|
454
|
+
* </listitem>
|
455
|
+
* <listitem>
|
456
|
+
* constant velocity: Yes
|
457
|
+
* </listitem>
|
458
|
+
* <listitem>
|
459
|
+
* torque minimal (travels along the surface of the 4-sphere): Yes
|
460
|
+
* </listitem>
|
461
|
+
* <listitem>
|
462
|
+
* more expensive than cogl_quaternion_nlerp()
|
463
|
+
* </listitem>
|
464
|
+
* </itemizedlist>
|
465
|
+
*/
|
466
|
+
void
|
467
|
+
cogl_quaternion_slerp (CoglQuaternion *result,
|
468
|
+
const CoglQuaternion *a,
|
469
|
+
const CoglQuaternion *b,
|
470
|
+
float t);
|
471
|
+
|
472
|
+
/**
|
473
|
+
* cogl_quaternion_nlerp:
|
474
|
+
* @result: The destination #CoglQuaternion
|
475
|
+
* @a: The first #CoglQuaternion
|
476
|
+
* @b: The second #CoglQuaternion
|
477
|
+
* @t: The factor in the range [0,1] used to interpolate between
|
478
|
+
* quaterion @a and @b.
|
479
|
+
*
|
480
|
+
* Performs a normalized linear interpolation between two quaternions.
|
481
|
+
* That is it does a linear interpolation of the quaternion components
|
482
|
+
* and then normalizes the result. This will follow the shortest arc
|
483
|
+
* between the two orientations (just like the slerp() function) but
|
484
|
+
* will not progress at a constant speed. Unlike slerp() nlerp is
|
485
|
+
* commutative which is useful if you are blending animations
|
486
|
+
* together. (I.e. nlerp (tmp, a, b) followed by nlerp (result, tmp,
|
487
|
+
* d) is the same as nlerp (tmp, a, d) followed by nlerp (result, tmp,
|
488
|
+
* b)). Finally nlerp is cheaper than slerp so it can be a good choice
|
489
|
+
* if you don't need the constant speed property of the slerp() function.
|
490
|
+
*
|
491
|
+
* Notable properties:
|
492
|
+
* <itemizedlist>
|
493
|
+
* <listitem>
|
494
|
+
* commutative: Yes
|
495
|
+
* </listitem>
|
496
|
+
* <listitem>
|
497
|
+
* constant velocity: No
|
498
|
+
* </listitem>
|
499
|
+
* <listitem>
|
500
|
+
* torque minimal (travels along the surface of the 4-sphere): Yes
|
501
|
+
* </listitem>
|
502
|
+
* <listitem>
|
503
|
+
* faster than cogl_quaternion_slerp()
|
504
|
+
* </listitem>
|
505
|
+
* </itemizedlist>
|
506
|
+
*/
|
507
|
+
void
|
508
|
+
cogl_quaternion_nlerp (CoglQuaternion *result,
|
509
|
+
const CoglQuaternion *a,
|
510
|
+
const CoglQuaternion *b,
|
511
|
+
float t);
|
512
|
+
/**
|
513
|
+
* cogl_quaternion_squad:
|
514
|
+
* @result: The destination #CoglQuaternion
|
515
|
+
* @prev: A #CoglQuaternion used before @a
|
516
|
+
* @a: The first #CoglQuaternion
|
517
|
+
* @b: The second #CoglQuaternion
|
518
|
+
* @next: A #CoglQuaternion that will be used after @b
|
519
|
+
* @t: The factor in the range [0,1] used to interpolate between
|
520
|
+
* quaternion @a and @b.
|
521
|
+
*
|
522
|
+
*
|
523
|
+
* Since: 2.0
|
524
|
+
*/
|
525
|
+
void
|
526
|
+
cogl_quaternion_squad (CoglQuaternion *result,
|
527
|
+
const CoglQuaternion *prev,
|
528
|
+
const CoglQuaternion *a,
|
529
|
+
const CoglQuaternion *b,
|
530
|
+
const CoglQuaternion *next,
|
531
|
+
float t);
|
532
|
+
|
533
|
+
/**
|
534
|
+
* cogl_get_static_identity_quaternion:
|
535
|
+
*
|
536
|
+
* Returns a pointer to a singleton quaternion constant describing the
|
537
|
+
* canonical identity [1 (0, 0, 0)] which represents no rotation.
|
538
|
+
*
|
539
|
+
* If you multiply a quaternion with the identity quaternion you will
|
540
|
+
* get back the same value as the original quaternion.
|
541
|
+
*
|
542
|
+
* Returns: A pointer to an identity quaternion
|
543
|
+
*
|
544
|
+
* Since: 2.0
|
545
|
+
*/
|
546
|
+
const CoglQuaternion *
|
547
|
+
cogl_get_static_identity_quaternion (void);
|
548
|
+
|
549
|
+
/**
|
550
|
+
* cogl_get_static_zero_quaternion:
|
551
|
+
*
|
552
|
+
* Returns: a pointer to a singleton quaternion constant describing a
|
553
|
+
* rotation of 180 degrees around a degenerate axis:
|
554
|
+
* [0 (0, 0, 0)]
|
555
|
+
*
|
556
|
+
* Since: 2.0
|
557
|
+
*/
|
558
|
+
const CoglQuaternion *
|
559
|
+
cogl_get_static_zero_quaternion (void);
|
560
|
+
|
561
|
+
COGL_END_DECLS
|
562
|
+
|
563
|
+
#endif /* __COGL_QUATERNION_H__ */
|
564
|
+
|