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,15 +8,14 @@
|
|
8
8
|
<link rel="up" href="ch10.html" title="General purpose API">
|
9
9
|
<link rel="prev" href="ch10.html" title="General purpose API">
|
10
10
|
<link rel="next" href="clutter-Key-Bindings.html" title="Key Bindings">
|
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="#clutter-Colors.description" class="shortcut">Description</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="#clutter-Colors.description" class="shortcut">Description</a></span>
|
20
19
|
</td>
|
21
20
|
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
22
21
|
<td><a accesskey="u" href="ch10.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
@@ -30,180 +29,294 @@
|
|
30
29
|
<h2><span class="refentrytitle"><a name="clutter-Colors.top_of_page"></a>Colors</span></h2>
|
31
30
|
<p>Colors — Color management and manipulation.</p>
|
32
31
|
</td>
|
33
|
-
<td valign="top" align="right"></td>
|
32
|
+
<td class="gallery_image" valign="top" align="right"></td>
|
34
33
|
</tr></table></div>
|
35
|
-
<div class="refsynopsisdiv">
|
36
|
-
<a name="clutter-Colors.synopsis"></a><h2>Synopsis</h2>
|
37
|
-
<pre class="synopsis">#define <a class="link" href="clutter-Colors.html#CLUTTER-COLOR-INIT:CAPS" title="CLUTTER_COLOR_INIT()">CLUTTER_COLOR_INIT</a> (r,
|
38
|
-
g,
|
39
|
-
b,
|
40
|
-
a)
|
41
|
-
<a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor">ClutterColor</a>;
|
42
|
-
<a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="returnvalue">ClutterColor</span></a> * <a class="link" href="clutter-Colors.html#clutter-color-new" title="clutter_color_new ()">clutter_color_new</a> (<em class="parameter"><code><span class="type">guint8</span> red</code></em>,
|
43
|
-
<em class="parameter"><code><span class="type">guint8</span> green</code></em>,
|
44
|
-
<em class="parameter"><code><span class="type">guint8</span> blue</code></em>,
|
45
|
-
<em class="parameter"><code><span class="type">guint8</span> alpha</code></em>);
|
46
|
-
<a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="returnvalue">ClutterColor</span></a> * <a class="link" href="clutter-Colors.html#clutter-color-alloc" title="clutter_color_alloc ()">clutter_color_alloc</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
47
|
-
<a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="returnvalue">ClutterColor</span></a> * <a class="link" href="clutter-Colors.html#clutter-color-init" title="clutter_color_init ()">clutter_color_init</a> (<em class="parameter"><code><a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a> *color</code></em>,
|
48
|
-
<em class="parameter"><code><span class="type">guint8</span> red</code></em>,
|
49
|
-
<em class="parameter"><code><span class="type">guint8</span> green</code></em>,
|
50
|
-
<em class="parameter"><code><span class="type">guint8</span> blue</code></em>,
|
51
|
-
<em class="parameter"><code><span class="type">guint8</span> alpha</code></em>);
|
52
|
-
<a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="returnvalue">ClutterColor</span></a> * <a class="link" href="clutter-Colors.html#clutter-color-copy" title="clutter_color_copy ()">clutter_color_copy</a> (<em class="parameter"><code>const <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a> *color</code></em>);
|
53
|
-
<span class="returnvalue">void</span> <a class="link" href="clutter-Colors.html#clutter-color-free" title="clutter_color_free ()">clutter_color_free</a> (<em class="parameter"><code><a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a> *color</code></em>);
|
54
|
-
<span class="returnvalue">gboolean</span> <a class="link" href="clutter-Colors.html#clutter-color-equal" title="clutter_color_equal ()">clutter_color_equal</a> (<em class="parameter"><code><span class="type">gconstpointer</span> v1</code></em>,
|
55
|
-
<em class="parameter"><code><span class="type">gconstpointer</span> v2</code></em>);
|
56
|
-
<span class="returnvalue">guint</span> <a class="link" href="clutter-Colors.html#clutter-color-hash" title="clutter_color_hash ()">clutter_color_hash</a> (<em class="parameter"><code><span class="type">gconstpointer</span> v</code></em>);
|
57
|
-
enum <a class="link" href="clutter-Colors.html#ClutterStaticColor" title="enum ClutterStaticColor">ClutterStaticColor</a>;
|
58
|
-
const <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="returnvalue">ClutterColor</span></a> * <a class="link" href="clutter-Colors.html#clutter-color-get-static" title="clutter_color_get_static ()">clutter_color_get_static</a> (<em class="parameter"><code><a class="link" href="clutter-Colors.html#ClutterStaticColor" title="enum ClutterStaticColor"><span class="type">ClutterStaticColor</span></a> color</code></em>);
|
59
|
-
|
60
|
-
<span class="returnvalue">gboolean</span> <a class="link" href="clutter-Colors.html#clutter-color-from-string" title="clutter_color_from_string ()">clutter_color_from_string</a> (<em class="parameter"><code><a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a> *color</code></em>,
|
61
|
-
<em class="parameter"><code>const <span class="type">gchar</span> *str</code></em>);
|
62
|
-
<span class="returnvalue">gchar</span> * <a class="link" href="clutter-Colors.html#clutter-color-to-string" title="clutter_color_to_string ()">clutter_color_to_string</a> (<em class="parameter"><code>const <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a> *color</code></em>);
|
63
|
-
<span class="returnvalue">void</span> <a class="link" href="clutter-Colors.html#clutter-color-from-hls" title="clutter_color_from_hls ()">clutter_color_from_hls</a> (<em class="parameter"><code><a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a> *color</code></em>,
|
64
|
-
<em class="parameter"><code><span class="type">gfloat</span> hue</code></em>,
|
65
|
-
<em class="parameter"><code><span class="type">gfloat</span> luminance</code></em>,
|
66
|
-
<em class="parameter"><code><span class="type">gfloat</span> saturation</code></em>);
|
67
|
-
<span class="returnvalue">void</span> <a class="link" href="clutter-Colors.html#clutter-color-to-hls" title="clutter_color_to_hls ()">clutter_color_to_hls</a> (<em class="parameter"><code>const <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a> *color</code></em>,
|
68
|
-
<em class="parameter"><code><span class="type">gfloat</span> *hue</code></em>,
|
69
|
-
<em class="parameter"><code><span class="type">gfloat</span> *luminance</code></em>,
|
70
|
-
<em class="parameter"><code><span class="type">gfloat</span> *saturation</code></em>);
|
71
|
-
<span class="returnvalue">void</span> <a class="link" href="clutter-Colors.html#clutter-color-from-pixel" title="clutter_color_from_pixel ()">clutter_color_from_pixel</a> (<em class="parameter"><code><a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a> *color</code></em>,
|
72
|
-
<em class="parameter"><code><span class="type">guint32</span> pixel</code></em>);
|
73
|
-
<span class="returnvalue">guint32</span> <a class="link" href="clutter-Colors.html#clutter-color-to-pixel" title="clutter_color_to_pixel ()">clutter_color_to_pixel</a> (<em class="parameter"><code>const <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a> *color</code></em>);
|
74
|
-
|
75
|
-
<span class="returnvalue">void</span> <a class="link" href="clutter-Colors.html#clutter-color-add" title="clutter_color_add ()">clutter_color_add</a> (<em class="parameter"><code>const <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a> *a</code></em>,
|
76
|
-
<em class="parameter"><code>const <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a> *b</code></em>,
|
77
|
-
<em class="parameter"><code><a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a> *result</code></em>);
|
78
|
-
<span class="returnvalue">void</span> <a class="link" href="clutter-Colors.html#clutter-color-subtract" title="clutter_color_subtract ()">clutter_color_subtract</a> (<em class="parameter"><code>const <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a> *a</code></em>,
|
79
|
-
<em class="parameter"><code>const <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a> *b</code></em>,
|
80
|
-
<em class="parameter"><code><a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a> *result</code></em>);
|
81
|
-
<span class="returnvalue">void</span> <a class="link" href="clutter-Colors.html#clutter-color-lighten" title="clutter_color_lighten ()">clutter_color_lighten</a> (<em class="parameter"><code>const <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a> *color</code></em>,
|
82
|
-
<em class="parameter"><code><a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a> *result</code></em>);
|
83
|
-
<span class="returnvalue">void</span> <a class="link" href="clutter-Colors.html#clutter-color-darken" title="clutter_color_darken ()">clutter_color_darken</a> (<em class="parameter"><code>const <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a> *color</code></em>,
|
84
|
-
<em class="parameter"><code><a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a> *result</code></em>);
|
85
|
-
<span class="returnvalue">void</span> <a class="link" href="clutter-Colors.html#clutter-color-shade" title="clutter_color_shade ()">clutter_color_shade</a> (<em class="parameter"><code>const <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a> *color</code></em>,
|
86
|
-
<em class="parameter"><code><span class="type">gdouble</span> factor</code></em>,
|
87
|
-
<em class="parameter"><code><a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a> *result</code></em>);
|
88
|
-
<span class="returnvalue">void</span> <a class="link" href="clutter-Colors.html#clutter-color-interpolate" title="clutter_color_interpolate ()">clutter_color_interpolate</a> (<em class="parameter"><code>const <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a> *initial</code></em>,
|
89
|
-
<em class="parameter"><code>const <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a> *final</code></em>,
|
90
|
-
<em class="parameter"><code><span class="type">gdouble</span> progress</code></em>,
|
91
|
-
<em class="parameter"><code><a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a> *result</code></em>);
|
92
|
-
|
93
|
-
struct <a class="link" href="clutter-Colors.html#ClutterParamSpecColor" title="struct ClutterParamSpecColor">ClutterParamSpecColor</a>;
|
94
|
-
<span class="returnvalue">GParamSpec</span> * <a class="link" href="clutter-Colors.html#clutter-param-spec-color" title="clutter_param_spec_color ()">clutter_param_spec_color</a> (<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
|
95
|
-
<em class="parameter"><code>const <span class="type">gchar</span> *nick</code></em>,
|
96
|
-
<em class="parameter"><code>const <span class="type">gchar</span> *blurb</code></em>,
|
97
|
-
<em class="parameter"><code>const <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a> *default_value</code></em>,
|
98
|
-
<em class="parameter"><code><span class="type">GParamFlags</span> flags</code></em>);
|
99
|
-
#define <a class="link" href="clutter-Colors.html#CLUTTER-VALUE-HOLDS-COLOR:CAPS" title="CLUTTER_VALUE_HOLDS_COLOR()">CLUTTER_VALUE_HOLDS_COLOR</a> (x)
|
100
|
-
<span class="returnvalue">void</span> <a class="link" href="clutter-Colors.html#clutter-value-set-color" title="clutter_value_set_color ()">clutter_value_set_color</a> (<em class="parameter"><code><span class="type">GValue</span> *value</code></em>,
|
101
|
-
<em class="parameter"><code>const <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a> *color</code></em>);
|
102
|
-
const <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="returnvalue">ClutterColor</span></a> * <a class="link" href="clutter-Colors.html#clutter-value-get-color" title="clutter_value_get_color ()">clutter_value_get_color</a> (<em class="parameter"><code>const <span class="type">GValue</span> *value</code></em>);
|
103
|
-
</pre>
|
104
|
-
</div>
|
105
|
-
<div class="refsect1">
|
106
|
-
<a name="clutter-Colors.description"></a><h2>Description</h2>
|
107
|
-
<p>
|
108
|
-
<a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a> is a simple type for representing colors in Clutter.
|
109
|
-
</p>
|
110
|
-
<p>
|
111
|
-
A <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a> is expressed as a 4-tuple of values ranging from
|
112
|
-
zero to 255, one for each color channel plus one for the alpha.
|
113
|
-
</p>
|
114
|
-
<p>
|
115
|
-
The alpha channel is fully opaque at 255 and fully transparent at 0.
|
116
|
-
</p>
|
117
|
-
</div>
|
118
34
|
<div class="refsect1">
|
119
|
-
<a name="clutter-Colors.
|
120
|
-
<div class="
|
121
|
-
<a name="CLUTTER-COLOR-INIT:CAPS"></a><h3>CLUTTER_COLOR_INIT()</h3>
|
122
|
-
<pre class="programlisting">#define CLUTTER_COLOR_INIT(r,g,b,a) { (r), (g), (b), (a) }
|
123
|
-
</pre>
|
124
|
-
<p>
|
125
|
-
A macro that initializes a <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a>, to be used when declaring it.
|
126
|
-
</p>
|
127
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
35
|
+
<a name="clutter-Colors.functions"></a><h2>Functions</h2>
|
36
|
+
<div class="informaltable"><table width="100%" border="0">
|
128
37
|
<colgroup>
|
129
|
-
<col
|
130
|
-
<col>
|
38
|
+
<col width="150px" class="functions_return">
|
39
|
+
<col class="functions_name">
|
131
40
|
</colgroup>
|
132
41
|
<tbody>
|
133
42
|
<tr>
|
134
|
-
<td
|
135
|
-
<td
|
43
|
+
<td class="define_keyword">#define</td>
|
44
|
+
<td class="function_name">
|
45
|
+
<a class="link" href="clutter-Colors.html#CLUTTER-COLOR-INIT:CAPS" title="CLUTTER_COLOR_INIT()">CLUTTER_COLOR_INIT</a><span class="c_punctuation">()</span>
|
46
|
+
</td>
|
47
|
+
</tr>
|
48
|
+
<tr>
|
49
|
+
<td class="function_type">
|
50
|
+
<a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="returnvalue">ClutterColor</span></a> *
|
51
|
+
</td>
|
52
|
+
<td class="function_name">
|
53
|
+
<a class="link" href="clutter-Colors.html#clutter-color-new" title="clutter_color_new ()">clutter_color_new</a> <span class="c_punctuation">()</span>
|
54
|
+
</td>
|
55
|
+
</tr>
|
56
|
+
<tr>
|
57
|
+
<td class="function_type">
|
58
|
+
<a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="returnvalue">ClutterColor</span></a> *
|
59
|
+
</td>
|
60
|
+
<td class="function_name">
|
61
|
+
<a class="link" href="clutter-Colors.html#clutter-color-alloc" title="clutter_color_alloc ()">clutter_color_alloc</a> <span class="c_punctuation">()</span>
|
62
|
+
</td>
|
63
|
+
</tr>
|
64
|
+
<tr>
|
65
|
+
<td class="function_type">
|
66
|
+
<a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="returnvalue">ClutterColor</span></a> *
|
67
|
+
</td>
|
68
|
+
<td class="function_name">
|
69
|
+
<a class="link" href="clutter-Colors.html#clutter-color-init" title="clutter_color_init ()">clutter_color_init</a> <span class="c_punctuation">()</span>
|
70
|
+
</td>
|
71
|
+
</tr>
|
72
|
+
<tr>
|
73
|
+
<td class="function_type">
|
74
|
+
<a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="returnvalue">ClutterColor</span></a> *
|
75
|
+
</td>
|
76
|
+
<td class="function_name">
|
77
|
+
<a class="link" href="clutter-Colors.html#clutter-color-copy" title="clutter_color_copy ()">clutter_color_copy</a> <span class="c_punctuation">()</span>
|
78
|
+
</td>
|
79
|
+
</tr>
|
80
|
+
<tr>
|
81
|
+
<td class="function_type">
|
82
|
+
<span class="returnvalue">void</span>
|
83
|
+
</td>
|
84
|
+
<td class="function_name">
|
85
|
+
<a class="link" href="clutter-Colors.html#clutter-color-free" title="clutter_color_free ()">clutter_color_free</a> <span class="c_punctuation">()</span>
|
86
|
+
</td>
|
87
|
+
</tr>
|
88
|
+
<tr>
|
89
|
+
<td class="function_type">
|
90
|
+
<span class="returnvalue">gboolean</span>
|
91
|
+
</td>
|
92
|
+
<td class="function_name">
|
93
|
+
<a class="link" href="clutter-Colors.html#clutter-color-equal" title="clutter_color_equal ()">clutter_color_equal</a> <span class="c_punctuation">()</span>
|
94
|
+
</td>
|
95
|
+
</tr>
|
96
|
+
<tr>
|
97
|
+
<td class="function_type">
|
98
|
+
<span class="returnvalue">guint</span>
|
99
|
+
</td>
|
100
|
+
<td class="function_name">
|
101
|
+
<a class="link" href="clutter-Colors.html#clutter-color-hash" title="clutter_color_hash ()">clutter_color_hash</a> <span class="c_punctuation">()</span>
|
102
|
+
</td>
|
103
|
+
</tr>
|
104
|
+
<tr>
|
105
|
+
<td class="function_type">const <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="returnvalue">ClutterColor</span></a> *
|
106
|
+
</td>
|
107
|
+
<td class="function_name">
|
108
|
+
<a class="link" href="clutter-Colors.html#clutter-color-get-static" title="clutter_color_get_static ()">clutter_color_get_static</a> <span class="c_punctuation">()</span>
|
109
|
+
</td>
|
110
|
+
</tr>
|
111
|
+
<tr>
|
112
|
+
<td class="function_type">
|
113
|
+
<span class="returnvalue">gboolean</span>
|
114
|
+
</td>
|
115
|
+
<td class="function_name">
|
116
|
+
<a class="link" href="clutter-Colors.html#clutter-color-from-string" title="clutter_color_from_string ()">clutter_color_from_string</a> <span class="c_punctuation">()</span>
|
117
|
+
</td>
|
118
|
+
</tr>
|
119
|
+
<tr>
|
120
|
+
<td class="function_type">
|
121
|
+
<span class="returnvalue">gchar</span> *
|
122
|
+
</td>
|
123
|
+
<td class="function_name">
|
124
|
+
<a class="link" href="clutter-Colors.html#clutter-color-to-string" title="clutter_color_to_string ()">clutter_color_to_string</a> <span class="c_punctuation">()</span>
|
125
|
+
</td>
|
126
|
+
</tr>
|
127
|
+
<tr>
|
128
|
+
<td class="function_type">
|
129
|
+
<span class="returnvalue">void</span>
|
130
|
+
</td>
|
131
|
+
<td class="function_name">
|
132
|
+
<a class="link" href="clutter-Colors.html#clutter-color-from-hls" title="clutter_color_from_hls ()">clutter_color_from_hls</a> <span class="c_punctuation">()</span>
|
133
|
+
</td>
|
134
|
+
</tr>
|
135
|
+
<tr>
|
136
|
+
<td class="function_type">
|
137
|
+
<span class="returnvalue">void</span>
|
138
|
+
</td>
|
139
|
+
<td class="function_name">
|
140
|
+
<a class="link" href="clutter-Colors.html#clutter-color-to-hls" title="clutter_color_to_hls ()">clutter_color_to_hls</a> <span class="c_punctuation">()</span>
|
141
|
+
</td>
|
142
|
+
</tr>
|
143
|
+
<tr>
|
144
|
+
<td class="function_type">
|
145
|
+
<span class="returnvalue">void</span>
|
146
|
+
</td>
|
147
|
+
<td class="function_name">
|
148
|
+
<a class="link" href="clutter-Colors.html#clutter-color-from-pixel" title="clutter_color_from_pixel ()">clutter_color_from_pixel</a> <span class="c_punctuation">()</span>
|
149
|
+
</td>
|
150
|
+
</tr>
|
151
|
+
<tr>
|
152
|
+
<td class="function_type">
|
153
|
+
<span class="returnvalue">guint32</span>
|
154
|
+
</td>
|
155
|
+
<td class="function_name">
|
156
|
+
<a class="link" href="clutter-Colors.html#clutter-color-to-pixel" title="clutter_color_to_pixel ()">clutter_color_to_pixel</a> <span class="c_punctuation">()</span>
|
157
|
+
</td>
|
158
|
+
</tr>
|
159
|
+
<tr>
|
160
|
+
<td class="function_type">
|
161
|
+
<span class="returnvalue">void</span>
|
162
|
+
</td>
|
163
|
+
<td class="function_name">
|
164
|
+
<a class="link" href="clutter-Colors.html#clutter-color-add" title="clutter_color_add ()">clutter_color_add</a> <span class="c_punctuation">()</span>
|
165
|
+
</td>
|
166
|
+
</tr>
|
167
|
+
<tr>
|
168
|
+
<td class="function_type">
|
169
|
+
<span class="returnvalue">void</span>
|
170
|
+
</td>
|
171
|
+
<td class="function_name">
|
172
|
+
<a class="link" href="clutter-Colors.html#clutter-color-subtract" title="clutter_color_subtract ()">clutter_color_subtract</a> <span class="c_punctuation">()</span>
|
173
|
+
</td>
|
174
|
+
</tr>
|
175
|
+
<tr>
|
176
|
+
<td class="function_type">
|
177
|
+
<span class="returnvalue">void</span>
|
178
|
+
</td>
|
179
|
+
<td class="function_name">
|
180
|
+
<a class="link" href="clutter-Colors.html#clutter-color-lighten" title="clutter_color_lighten ()">clutter_color_lighten</a> <span class="c_punctuation">()</span>
|
181
|
+
</td>
|
182
|
+
</tr>
|
183
|
+
<tr>
|
184
|
+
<td class="function_type">
|
185
|
+
<span class="returnvalue">void</span>
|
186
|
+
</td>
|
187
|
+
<td class="function_name">
|
188
|
+
<a class="link" href="clutter-Colors.html#clutter-color-darken" title="clutter_color_darken ()">clutter_color_darken</a> <span class="c_punctuation">()</span>
|
189
|
+
</td>
|
190
|
+
</tr>
|
191
|
+
<tr>
|
192
|
+
<td class="function_type">
|
193
|
+
<span class="returnvalue">void</span>
|
194
|
+
</td>
|
195
|
+
<td class="function_name">
|
196
|
+
<a class="link" href="clutter-Colors.html#clutter-color-shade" title="clutter_color_shade ()">clutter_color_shade</a> <span class="c_punctuation">()</span>
|
197
|
+
</td>
|
198
|
+
</tr>
|
199
|
+
<tr>
|
200
|
+
<td class="function_type">
|
201
|
+
<span class="returnvalue">void</span>
|
202
|
+
</td>
|
203
|
+
<td class="function_name">
|
204
|
+
<a class="link" href="clutter-Colors.html#clutter-color-interpolate" title="clutter_color_interpolate ()">clutter_color_interpolate</a> <span class="c_punctuation">()</span>
|
205
|
+
</td>
|
206
|
+
</tr>
|
207
|
+
<tr>
|
208
|
+
<td class="function_type">
|
209
|
+
<span class="returnvalue">GParamSpec</span> *
|
210
|
+
</td>
|
211
|
+
<td class="function_name">
|
212
|
+
<a class="link" href="clutter-Colors.html#clutter-param-spec-color" title="clutter_param_spec_color ()">clutter_param_spec_color</a> <span class="c_punctuation">()</span>
|
213
|
+
</td>
|
214
|
+
</tr>
|
215
|
+
<tr>
|
216
|
+
<td class="define_keyword">#define</td>
|
217
|
+
<td class="function_name">
|
218
|
+
<a class="link" href="clutter-Colors.html#CLUTTER-VALUE-HOLDS-COLOR:CAPS" title="CLUTTER_VALUE_HOLDS_COLOR()">CLUTTER_VALUE_HOLDS_COLOR</a><span class="c_punctuation">()</span>
|
219
|
+
</td>
|
220
|
+
</tr>
|
221
|
+
<tr>
|
222
|
+
<td class="function_type">
|
223
|
+
<span class="returnvalue">void</span>
|
224
|
+
</td>
|
225
|
+
<td class="function_name">
|
226
|
+
<a class="link" href="clutter-Colors.html#clutter-value-set-color" title="clutter_value_set_color ()">clutter_value_set_color</a> <span class="c_punctuation">()</span>
|
227
|
+
</td>
|
228
|
+
</tr>
|
229
|
+
<tr>
|
230
|
+
<td class="function_type">const <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="returnvalue">ClutterColor</span></a> *
|
231
|
+
</td>
|
232
|
+
<td class="function_name">
|
233
|
+
<a class="link" href="clutter-Colors.html#clutter-value-get-color" title="clutter_value_get_color ()">clutter_value_get_color</a> <span class="c_punctuation">()</span>
|
234
|
+
</td>
|
136
235
|
</tr>
|
236
|
+
</tbody>
|
237
|
+
</table></div>
|
238
|
+
</div>
|
239
|
+
<div class="refsect1">
|
240
|
+
<a name="clutter-Colors.other"></a><h2>Types and Values</h2>
|
241
|
+
<div class="informaltable"><table width="100%" border="0">
|
242
|
+
<colgroup>
|
243
|
+
<col width="150px" class="name">
|
244
|
+
<col class="description">
|
245
|
+
</colgroup>
|
246
|
+
<tbody>
|
137
247
|
<tr>
|
138
|
-
<td
|
139
|
-
<td
|
248
|
+
<td class="datatype_keyword"> </td>
|
249
|
+
<td class="function_name"><a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor">ClutterColor</a></td>
|
140
250
|
</tr>
|
141
251
|
<tr>
|
142
|
-
<td
|
143
|
-
<td
|
252
|
+
<td class="datatype_keyword">enum</td>
|
253
|
+
<td class="function_name"><a class="link" href="clutter-Colors.html#ClutterStaticColor" title="enum ClutterStaticColor">ClutterStaticColor</a></td>
|
144
254
|
</tr>
|
145
255
|
<tr>
|
146
|
-
<td
|
147
|
-
<td
|
256
|
+
<td class="datatype_keyword">struct</td>
|
257
|
+
<td class="function_name"><a class="link" href="clutter-Colors.html#ClutterParamSpecColor" title="struct ClutterParamSpecColor">ClutterParamSpecColor</a></td>
|
148
258
|
</tr>
|
149
259
|
</tbody>
|
150
260
|
</table></div>
|
151
|
-
<p class="since">Since 1.12</p>
|
152
261
|
</div>
|
153
|
-
<
|
262
|
+
<div class="refsect1">
|
263
|
+
<a name="clutter-Colors.description"></a><h2>Description</h2>
|
264
|
+
<p><a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a> is a simple type for representing colors in Clutter.</p>
|
265
|
+
<p>A <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a> is expressed as a 4-tuple of values ranging from
|
266
|
+
zero to 255, one for each color channel plus one for the alpha.</p>
|
267
|
+
<p>The alpha channel is fully opaque at 255 and fully transparent at 0.</p>
|
268
|
+
</div>
|
269
|
+
<div class="refsect1">
|
270
|
+
<a name="clutter-Colors.functions_details"></a><h2>Functions</h2>
|
154
271
|
<div class="refsect2">
|
155
|
-
<a name="
|
156
|
-
<pre class="programlisting"
|
157
|
-
guint8 red;
|
158
|
-
guint8 green;
|
159
|
-
guint8 blue;
|
160
|
-
|
161
|
-
guint8 alpha;
|
162
|
-
} ClutterColor;
|
272
|
+
<a name="CLUTTER-COLOR-INIT:CAPS"></a><h3>CLUTTER_COLOR_INIT()</h3>
|
273
|
+
<pre class="programlisting">#define CLUTTER_COLOR_INIT(r,g,b,a) { (r), (g), (b), (a) }
|
163
274
|
</pre>
|
164
|
-
<p>
|
165
|
-
|
166
|
-
</
|
167
|
-
<div class="
|
275
|
+
<p>A macro that initializes a <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a>, to be used when declaring it.</p>
|
276
|
+
<div class="refsect3">
|
277
|
+
<a name="id-1.7.2.2.6.2.5"></a><h4>Parameters</h4>
|
278
|
+
<div class="informaltable"><table width="100%" border="0">
|
168
279
|
<colgroup>
|
169
|
-
<col
|
170
|
-
<col>
|
280
|
+
<col width="150px" class="parameters_name">
|
281
|
+
<col class="parameters_description">
|
282
|
+
<col width="200px" class="parameters_annotations">
|
171
283
|
</colgroup>
|
172
284
|
<tbody>
|
173
285
|
<tr>
|
174
|
-
<td
|
175
|
-
<td>red
|
286
|
+
<td class="parameter_name"><p>r</p></td>
|
287
|
+
<td class="parameter_description"><p>value for the red channel, between 0 and 255</p></td>
|
288
|
+
<td class="parameter_annotations"> </td>
|
176
289
|
</tr>
|
177
290
|
<tr>
|
178
|
-
<td
|
179
|
-
<td>green
|
291
|
+
<td class="parameter_name"><p>g</p></td>
|
292
|
+
<td class="parameter_description"><p>value for the green channel, between 0 and 255</p></td>
|
293
|
+
<td class="parameter_annotations"> </td>
|
180
294
|
</tr>
|
181
295
|
<tr>
|
182
|
-
<td
|
183
|
-
<td>blue
|
296
|
+
<td class="parameter_name"><p>b</p></td>
|
297
|
+
<td class="parameter_description"><p>value for the blue channel, between 0 and 255</p></td>
|
298
|
+
<td class="parameter_annotations"> </td>
|
184
299
|
</tr>
|
185
300
|
<tr>
|
186
|
-
<td
|
187
|
-
<td>alpha
|
301
|
+
<td class="parameter_name"><p>a</p></td>
|
302
|
+
<td class="parameter_description"><p>value for the alpha channel, between 0 and 255</p></td>
|
303
|
+
<td class="parameter_annotations"> </td>
|
188
304
|
</tr>
|
189
305
|
</tbody>
|
190
306
|
</table></div>
|
191
307
|
</div>
|
308
|
+
<p class="since">Since 1.12</p>
|
309
|
+
</div>
|
192
310
|
<hr>
|
193
311
|
<div class="refsect2">
|
194
|
-
<a name="clutter-color-new"></a><h3>clutter_color_new
|
195
|
-
<pre class="programlisting"><a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="returnvalue">ClutterColor</span></a>
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
<
|
200
|
-
Creates a new <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a> with the given values
|
201
|
-
|
202
|
-
<p>
|
203
|
-
This function is the equivalent of:
|
204
|
-
</p>
|
205
|
-
<p>
|
206
|
-
</p>
|
312
|
+
<a name="clutter-color-new"></a><h3>clutter_color_new ()</h3>
|
313
|
+
<pre class="programlisting"><a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="returnvalue">ClutterColor</span></a> *
|
314
|
+
clutter_color_new (<em class="parameter"><code><span class="type">guint8</span> red</code></em>,
|
315
|
+
<em class="parameter"><code><span class="type">guint8</span> green</code></em>,
|
316
|
+
<em class="parameter"><code><span class="type">guint8</span> blue</code></em>,
|
317
|
+
<em class="parameter"><code><span class="type">guint8</span> alpha</code></em>);</pre>
|
318
|
+
<p>Creates a new <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a> with the given values.</p>
|
319
|
+
<p>This function is the equivalent of:</p>
|
207
320
|
<div class="informalexample">
|
208
321
|
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
209
322
|
<tbody>
|
@@ -215,996 +328,1285 @@ This function is the equivalent of:
|
|
215
328
|
</table>
|
216
329
|
</div>
|
217
330
|
|
218
|
-
<p>
|
219
|
-
|
220
|
-
<
|
331
|
+
<p></p>
|
332
|
+
<div class="refsect3">
|
333
|
+
<a name="id-1.7.2.2.6.3.8"></a><h4>Parameters</h4>
|
334
|
+
<div class="informaltable"><table width="100%" border="0">
|
221
335
|
<colgroup>
|
222
|
-
<col
|
223
|
-
<col>
|
336
|
+
<col width="150px" class="parameters_name">
|
337
|
+
<col class="parameters_description">
|
338
|
+
<col width="200px" class="parameters_annotations">
|
224
339
|
</colgroup>
|
225
340
|
<tbody>
|
226
341
|
<tr>
|
227
|
-
<td
|
228
|
-
<td>red component of the color, between 0 and 255</td>
|
342
|
+
<td class="parameter_name"><p>red</p></td>
|
343
|
+
<td class="parameter_description"><p>red component of the color, between 0 and 255</p></td>
|
344
|
+
<td class="parameter_annotations"> </td>
|
229
345
|
</tr>
|
230
346
|
<tr>
|
231
|
-
<td
|
232
|
-
<td>green component of the color, between 0 and 255</td>
|
347
|
+
<td class="parameter_name"><p>green</p></td>
|
348
|
+
<td class="parameter_description"><p>green component of the color, between 0 and 255</p></td>
|
349
|
+
<td class="parameter_annotations"> </td>
|
233
350
|
</tr>
|
234
351
|
<tr>
|
235
|
-
<td
|
236
|
-
<td>blue component of the color, between 0 and 255</td>
|
352
|
+
<td class="parameter_name"><p>blue</p></td>
|
353
|
+
<td class="parameter_description"><p>blue component of the color, between 0 and 255</p></td>
|
354
|
+
<td class="parameter_annotations"> </td>
|
237
355
|
</tr>
|
238
356
|
<tr>
|
239
|
-
<td
|
240
|
-
<td>alpha component of the color, between 0 and 255</td>
|
241
|
-
</
|
242
|
-
<tr>
|
243
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
244
|
-
<td>the newly allocated color.
|
245
|
-
Use <a class="link" href="clutter-Colors.html#clutter-color-free" title="clutter_color_free ()"><code class="function">clutter_color_free()</code></a> when done. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
246
|
-
</td>
|
357
|
+
<td class="parameter_name"><p>alpha</p></td>
|
358
|
+
<td class="parameter_description"><p>alpha component of the color, between 0 and 255</p></td>
|
359
|
+
<td class="parameter_annotations"> </td>
|
247
360
|
</tr>
|
248
361
|
</tbody>
|
249
362
|
</table></div>
|
363
|
+
</div>
|
364
|
+
<div class="refsect3">
|
365
|
+
<a name="id-1.7.2.2.6.3.9"></a><h4>Returns</h4>
|
366
|
+
<p> the newly allocated color.
|
367
|
+
Use <a class="link" href="clutter-Colors.html#clutter-color-free" title="clutter_color_free ()"><code class="function">clutter_color_free()</code></a> when done. </p>
|
368
|
+
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
369
|
+
</div>
|
250
370
|
<p class="since">Since 0.8.4</p>
|
251
371
|
</div>
|
252
372
|
<hr>
|
253
373
|
<div class="refsect2">
|
254
|
-
<a name="clutter-color-alloc"></a><h3>clutter_color_alloc
|
255
|
-
<pre class="programlisting"><a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="returnvalue">ClutterColor</span></a>
|
256
|
-
<
|
257
|
-
Allocates a new, transparent black <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a
|
258
|
-
|
259
|
-
<
|
260
|
-
<
|
261
|
-
<
|
262
|
-
<
|
263
|
-
</
|
264
|
-
<tbody><tr>
|
265
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
266
|
-
<td>the newly allocated <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a>; use
|
267
|
-
<a class="link" href="clutter-Colors.html#clutter-color-free" title="clutter_color_free ()"><code class="function">clutter_color_free()</code></a> to free its resources. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
268
|
-
</td>
|
269
|
-
</tr></tbody>
|
270
|
-
</table></div>
|
374
|
+
<a name="clutter-color-alloc"></a><h3>clutter_color_alloc ()</h3>
|
375
|
+
<pre class="programlisting"><a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="returnvalue">ClutterColor</span></a> *
|
376
|
+
clutter_color_alloc (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
377
|
+
<p>Allocates a new, transparent black <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a>.</p>
|
378
|
+
<div class="refsect3">
|
379
|
+
<a name="id-1.7.2.2.6.4.5"></a><h4>Returns</h4>
|
380
|
+
<p> the newly allocated <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a>; use
|
381
|
+
<a class="link" href="clutter-Colors.html#clutter-color-free" title="clutter_color_free ()"><code class="function">clutter_color_free()</code></a> to free its resources. </p>
|
382
|
+
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
383
|
+
</div>
|
271
384
|
<p class="since">Since 1.12</p>
|
272
385
|
</div>
|
273
386
|
<hr>
|
274
387
|
<div class="refsect2">
|
275
|
-
<a name="clutter-color-init"></a><h3>clutter_color_init
|
276
|
-
<pre class="programlisting"><a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="returnvalue">ClutterColor</span></a>
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
<
|
282
|
-
Initializes <em class="parameter"><code>color</code></em>
|
283
|
-
|
284
|
-
<div class="
|
388
|
+
<a name="clutter-color-init"></a><h3>clutter_color_init ()</h3>
|
389
|
+
<pre class="programlisting"><a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="returnvalue">ClutterColor</span></a> *
|
390
|
+
clutter_color_init (<em class="parameter"><code><a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a> *color</code></em>,
|
391
|
+
<em class="parameter"><code><span class="type">guint8</span> red</code></em>,
|
392
|
+
<em class="parameter"><code><span class="type">guint8</span> green</code></em>,
|
393
|
+
<em class="parameter"><code><span class="type">guint8</span> blue</code></em>,
|
394
|
+
<em class="parameter"><code><span class="type">guint8</span> alpha</code></em>);</pre>
|
395
|
+
<p>Initializes <em class="parameter"><code>color</code></em>
|
396
|
+
with the given values.</p>
|
397
|
+
<div class="refsect3">
|
398
|
+
<a name="id-1.7.2.2.6.5.5"></a><h4>Parameters</h4>
|
399
|
+
<div class="informaltable"><table width="100%" border="0">
|
285
400
|
<colgroup>
|
286
|
-
<col
|
287
|
-
<col>
|
401
|
+
<col width="150px" class="parameters_name">
|
402
|
+
<col class="parameters_description">
|
403
|
+
<col width="200px" class="parameters_annotations">
|
288
404
|
</colgroup>
|
289
405
|
<tbody>
|
290
406
|
<tr>
|
291
|
-
<td
|
292
|
-
<td>a <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a>
|
293
|
-
</td>
|
407
|
+
<td class="parameter_name"><p>color</p></td>
|
408
|
+
<td class="parameter_description"><p>a <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a></p></td>
|
409
|
+
<td class="parameter_annotations"> </td>
|
294
410
|
</tr>
|
295
411
|
<tr>
|
296
|
-
<td
|
297
|
-
<td>red component of the color, between 0 and 255</td>
|
412
|
+
<td class="parameter_name"><p>red</p></td>
|
413
|
+
<td class="parameter_description"><p>red component of the color, between 0 and 255</p></td>
|
414
|
+
<td class="parameter_annotations"> </td>
|
298
415
|
</tr>
|
299
416
|
<tr>
|
300
|
-
<td
|
301
|
-
<td>green component of the color, between 0 and 255</td>
|
417
|
+
<td class="parameter_name"><p>green</p></td>
|
418
|
+
<td class="parameter_description"><p>green component of the color, between 0 and 255</p></td>
|
419
|
+
<td class="parameter_annotations"> </td>
|
302
420
|
</tr>
|
303
421
|
<tr>
|
304
|
-
<td
|
305
|
-
<td>blue component of the color, between 0 and 255</td>
|
422
|
+
<td class="parameter_name"><p>blue</p></td>
|
423
|
+
<td class="parameter_description"><p>blue component of the color, between 0 and 255</p></td>
|
424
|
+
<td class="parameter_annotations"> </td>
|
306
425
|
</tr>
|
307
426
|
<tr>
|
308
|
-
<td
|
309
|
-
<td>alpha component of the color, between 0 and 255</td>
|
310
|
-
</
|
311
|
-
<tr>
|
312
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
313
|
-
<td>the initialized <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
314
|
-
</td>
|
427
|
+
<td class="parameter_name"><p>alpha</p></td>
|
428
|
+
<td class="parameter_description"><p>alpha component of the color, between 0 and 255</p></td>
|
429
|
+
<td class="parameter_annotations"> </td>
|
315
430
|
</tr>
|
316
431
|
</tbody>
|
317
432
|
</table></div>
|
433
|
+
</div>
|
434
|
+
<div class="refsect3">
|
435
|
+
<a name="id-1.7.2.2.6.5.6"></a><h4>Returns</h4>
|
436
|
+
<p> the initialized <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a>. </p>
|
437
|
+
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
438
|
+
</div>
|
318
439
|
<p class="since">Since 1.12</p>
|
319
440
|
</div>
|
320
441
|
<hr>
|
321
442
|
<div class="refsect2">
|
322
|
-
<a name="clutter-color-copy"></a><h3>clutter_color_copy
|
323
|
-
<pre class="programlisting"><a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="returnvalue">ClutterColor</span></a>
|
324
|
-
<
|
325
|
-
Makes a copy of the color structure. The result must be
|
326
|
-
freed using <a class="link" href="clutter-Colors.html#clutter-color-free" title="clutter_color_free
|
327
|
-
|
328
|
-
<
|
443
|
+
<a name="clutter-color-copy"></a><h3>clutter_color_copy ()</h3>
|
444
|
+
<pre class="programlisting"><a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="returnvalue">ClutterColor</span></a> *
|
445
|
+
clutter_color_copy (<em class="parameter"><code>const <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a> *color</code></em>);</pre>
|
446
|
+
<p>Makes a copy of the color structure. The result must be
|
447
|
+
freed using <a class="link" href="clutter-Colors.html#clutter-color-free" title="clutter_color_free ()"><code class="function">clutter_color_free()</code></a>.</p>
|
448
|
+
<div class="refsect3">
|
449
|
+
<a name="id-1.7.2.2.6.6.5"></a><h4>Parameters</h4>
|
450
|
+
<div class="informaltable"><table width="100%" border="0">
|
451
|
+
<colgroup>
|
452
|
+
<col width="150px" class="parameters_name">
|
453
|
+
<col class="parameters_description">
|
454
|
+
<col width="200px" class="parameters_annotations">
|
455
|
+
</colgroup>
|
456
|
+
<tbody><tr>
|
457
|
+
<td class="parameter_name"><p>color</p></td>
|
458
|
+
<td class="parameter_description"><p>a <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a></p></td>
|
459
|
+
<td class="parameter_annotations"> </td>
|
460
|
+
</tr></tbody>
|
461
|
+
</table></div>
|
462
|
+
</div>
|
463
|
+
<div class="refsect3">
|
464
|
+
<a name="id-1.7.2.2.6.6.6"></a><h4>Returns</h4>
|
465
|
+
<p> an allocated copy of <em class="parameter"><code>color</code></em>
|
466
|
+
. </p>
|
467
|
+
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
468
|
+
</div>
|
469
|
+
<p class="since">Since 0.2</p>
|
470
|
+
</div>
|
471
|
+
<hr>
|
472
|
+
<div class="refsect2">
|
473
|
+
<a name="clutter-color-free"></a><h3>clutter_color_free ()</h3>
|
474
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
475
|
+
clutter_color_free (<em class="parameter"><code><a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a> *color</code></em>);</pre>
|
476
|
+
<p>Frees a color structure created with <a class="link" href="clutter-Colors.html#clutter-color-copy" title="clutter_color_copy ()"><code class="function">clutter_color_copy()</code></a>.</p>
|
477
|
+
<div class="refsect3">
|
478
|
+
<a name="id-1.7.2.2.6.7.5"></a><h4>Parameters</h4>
|
479
|
+
<div class="informaltable"><table width="100%" border="0">
|
480
|
+
<colgroup>
|
481
|
+
<col width="150px" class="parameters_name">
|
482
|
+
<col class="parameters_description">
|
483
|
+
<col width="200px" class="parameters_annotations">
|
484
|
+
</colgroup>
|
485
|
+
<tbody><tr>
|
486
|
+
<td class="parameter_name"><p>color</p></td>
|
487
|
+
<td class="parameter_description"><p>a <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a></p></td>
|
488
|
+
<td class="parameter_annotations"> </td>
|
489
|
+
</tr></tbody>
|
490
|
+
</table></div>
|
491
|
+
</div>
|
492
|
+
<p class="since">Since 0.2</p>
|
493
|
+
</div>
|
494
|
+
<hr>
|
495
|
+
<div class="refsect2">
|
496
|
+
<a name="clutter-color-equal"></a><h3>clutter_color_equal ()</h3>
|
497
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
498
|
+
clutter_color_equal (<em class="parameter"><code><span class="type">gconstpointer</span> v1</code></em>,
|
499
|
+
<em class="parameter"><code><span class="type">gconstpointer</span> v2</code></em>);</pre>
|
500
|
+
<p>Compares two <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a><!-- -->s and checks if they are the same.</p>
|
501
|
+
<p>This function can be passed to <code class="function">g_hash_table_new()</code> as the <em class="parameter"><code>key_equal_func</code></em>
|
502
|
+
|
503
|
+
parameter, when using <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a><!-- -->s as keys in a <span class="type">GHashTable</span>.</p>
|
504
|
+
<div class="refsect3">
|
505
|
+
<a name="id-1.7.2.2.6.8.6"></a><h4>Parameters</h4>
|
506
|
+
<div class="informaltable"><table width="100%" border="0">
|
329
507
|
<colgroup>
|
330
|
-
<col
|
331
|
-
<col>
|
508
|
+
<col width="150px" class="parameters_name">
|
509
|
+
<col class="parameters_description">
|
510
|
+
<col width="200px" class="parameters_annotations">
|
332
511
|
</colgroup>
|
333
512
|
<tbody>
|
334
513
|
<tr>
|
335
|
-
<td
|
336
|
-
<td>a <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a>
|
337
|
-
</td>
|
514
|
+
<td class="parameter_name"><p>v1</p></td>
|
515
|
+
<td class="parameter_description"><p> a <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a>. </p></td>
|
516
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> Clutter.Color]</span></td>
|
338
517
|
</tr>
|
339
518
|
<tr>
|
340
|
-
<td
|
341
|
-
<td
|
342
|
-
</td>
|
519
|
+
<td class="parameter_name"><p>v2</p></td>
|
520
|
+
<td class="parameter_description"><p> a <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a>. </p></td>
|
521
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> Clutter.Color]</span></td>
|
343
522
|
</tr>
|
344
523
|
</tbody>
|
345
524
|
</table></div>
|
525
|
+
</div>
|
526
|
+
<div class="refsect3">
|
527
|
+
<a name="id-1.7.2.2.6.8.7"></a><h4>Returns</h4>
|
528
|
+
<p> <code class="literal">TRUE</code> if the two colors are the same.</p>
|
529
|
+
<p></p>
|
530
|
+
</div>
|
346
531
|
<p class="since">Since 0.2</p>
|
347
532
|
</div>
|
348
533
|
<hr>
|
349
534
|
<div class="refsect2">
|
350
|
-
<a name="clutter-color-
|
351
|
-
<pre class="programlisting"><span class="returnvalue">
|
352
|
-
<
|
353
|
-
|
354
|
-
|
355
|
-
|
535
|
+
<a name="clutter-color-hash"></a><h3>clutter_color_hash ()</h3>
|
536
|
+
<pre class="programlisting"><span class="returnvalue">guint</span>
|
537
|
+
clutter_color_hash (<em class="parameter"><code><span class="type">gconstpointer</span> v</code></em>);</pre>
|
538
|
+
<p>Converts a <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a> to a hash value.</p>
|
539
|
+
<p>This function can be passed to <code class="function">g_hash_table_new()</code> as the <em class="parameter"><code>hash_func</code></em>
|
540
|
+
|
541
|
+
parameter, when using <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a><!-- -->s as keys in a <span class="type">GHashTable</span>.</p>
|
542
|
+
<div class="refsect3">
|
543
|
+
<a name="id-1.7.2.2.6.9.6"></a><h4>Parameters</h4>
|
544
|
+
<div class="informaltable"><table width="100%" border="0">
|
356
545
|
<colgroup>
|
357
|
-
<col
|
358
|
-
<col>
|
546
|
+
<col width="150px" class="parameters_name">
|
547
|
+
<col class="parameters_description">
|
548
|
+
<col width="200px" class="parameters_annotations">
|
359
549
|
</colgroup>
|
360
550
|
<tbody><tr>
|
361
|
-
<td
|
362
|
-
<td>a <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a>
|
363
|
-
</td>
|
551
|
+
<td class="parameter_name"><p>v</p></td>
|
552
|
+
<td class="parameter_description"><p> a <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a>. </p></td>
|
553
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> Clutter.Color]</span></td>
|
554
|
+
</tr></tbody>
|
555
|
+
</table></div>
|
556
|
+
</div>
|
557
|
+
<div class="refsect3">
|
558
|
+
<a name="id-1.7.2.2.6.9.7"></a><h4>Returns</h4>
|
559
|
+
<p> a hash value corresponding to the color</p>
|
560
|
+
<p></p>
|
561
|
+
</div>
|
562
|
+
<p class="since">Since 1.0</p>
|
563
|
+
</div>
|
564
|
+
<hr>
|
565
|
+
<div class="refsect2">
|
566
|
+
<a name="clutter-color-get-static"></a><h3>clutter_color_get_static ()</h3>
|
567
|
+
<pre class="programlisting">const <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="returnvalue">ClutterColor</span></a> *
|
568
|
+
clutter_color_get_static (<em class="parameter"><code><a class="link" href="clutter-Colors.html#ClutterStaticColor" title="enum ClutterStaticColor"><span class="type">ClutterStaticColor</span></a> color</code></em>);</pre>
|
569
|
+
<p>Retrieves a static color for the given <em class="parameter"><code>color</code></em>
|
570
|
+
name</p>
|
571
|
+
<p>Static colors are created by Clutter and are guaranteed to always be
|
572
|
+
available and valid</p>
|
573
|
+
<div class="refsect3">
|
574
|
+
<a name="id-1.7.2.2.6.10.6"></a><h4>Parameters</h4>
|
575
|
+
<div class="informaltable"><table width="100%" border="0">
|
576
|
+
<colgroup>
|
577
|
+
<col width="150px" class="parameters_name">
|
578
|
+
<col class="parameters_description">
|
579
|
+
<col width="200px" class="parameters_annotations">
|
580
|
+
</colgroup>
|
581
|
+
<tbody><tr>
|
582
|
+
<td class="parameter_name"><p>color</p></td>
|
583
|
+
<td class="parameter_description"><p>the named global color</p></td>
|
584
|
+
<td class="parameter_annotations"> </td>
|
585
|
+
</tr></tbody>
|
586
|
+
</table></div>
|
587
|
+
</div>
|
588
|
+
<div class="refsect3">
|
589
|
+
<a name="id-1.7.2.2.6.10.7"></a><h4>Returns</h4>
|
590
|
+
<p> a pointer to a static color; the returned pointer
|
591
|
+
is owned by Clutter and it should never be modified or freed</p>
|
592
|
+
<p></p>
|
593
|
+
</div>
|
594
|
+
<p class="since">Since 1.6</p>
|
595
|
+
</div>
|
596
|
+
<hr>
|
597
|
+
<div class="refsect2">
|
598
|
+
<a name="clutter-color-from-string"></a><h3>clutter_color_from_string ()</h3>
|
599
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
600
|
+
clutter_color_from_string (<em class="parameter"><code><a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a> *color</code></em>,
|
601
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *str</code></em>);</pre>
|
602
|
+
<p>Parses a string definition of a color, filling the
|
603
|
+
<structfield>red</structfield>, <structfield>green</structfield>,
|
604
|
+
<structfield>blue</structfield> and <structfield>alpha</structfield>
|
605
|
+
channels of <em class="parameter"><code>color</code></em>
|
606
|
+
.</p>
|
607
|
+
<p>The <em class="parameter"><code>color</code></em>
|
608
|
+
is not allocated.</p>
|
609
|
+
<p>The format of <em class="parameter"><code>str</code></em>
|
610
|
+
can be either one of:</p>
|
611
|
+
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
|
612
|
+
<li class="listitem"><p>a standard name (as taken from the X11 rgb.txt file)</p></li>
|
613
|
+
<li class="listitem"><p>an hexadecimal value in the form: <code class="literal">#rgb</code>, <code class="literal">#rrggbb</code>, <code class="literal">#rgba</code>, or <code class="literal">#rrggbbaa</code></p></li>
|
614
|
+
<li class="listitem"><p>a RGB color in the form: <code class="literal">rgb(r, g, b)</code></p></li>
|
615
|
+
<li class="listitem"><p>a RGB color in the form: <code class="literal">rgba(r, g, b, a)</code></p></li>
|
616
|
+
<li class="listitem"><p>a HSL color in the form: <code class="literal">hsl(h, s, l)</code>
|
617
|
+
-a HSL color in the form: <code class="literal">hsla(h, s, l, a)</code></p></li>
|
618
|
+
</ul></div>
|
619
|
+
<p>where 'r', 'g', 'b' and 'a' are (respectively) the red, green, blue color
|
620
|
+
intensities and the opacity. The 'h', 's' and 'l' are (respectively) the
|
621
|
+
hue, saturation and luminance values.</p>
|
622
|
+
<p>In the <code class="function">rgb()</code> and <code class="function">rgba()</code> formats, the 'r', 'g', and 'b' values are either
|
623
|
+
integers between 0 and 255, or percentage values in the range between 0%
|
624
|
+
and 100%; the percentages require the '%' character. The 'a' value, if
|
625
|
+
specified, can only be a floating point value between 0.0 and 1.0.</p>
|
626
|
+
<p>In the <code class="function">hls()</code> and <code class="function">hlsa()</code> formats, the 'h' value (hue) is an angle between
|
627
|
+
0 and 360.0 degrees; the 'l' and 's' values (luminance and saturation) are
|
628
|
+
percentage values in the range between 0% and 100%. The 'a' value, if specified,
|
629
|
+
can only be a floating point value between 0.0 and 1.0.</p>
|
630
|
+
<p>Whitespace inside the definitions is ignored; no leading whitespace
|
631
|
+
is allowed.</p>
|
632
|
+
<p>If the alpha component is not specified then it is assumed to be set to
|
633
|
+
be fully opaque.</p>
|
634
|
+
<div class="refsect3">
|
635
|
+
<a name="id-1.7.2.2.6.11.13"></a><h4>Parameters</h4>
|
636
|
+
<div class="informaltable"><table width="100%" border="0">
|
637
|
+
<colgroup>
|
638
|
+
<col width="150px" class="parameters_name">
|
639
|
+
<col class="parameters_description">
|
640
|
+
<col width="200px" class="parameters_annotations">
|
641
|
+
</colgroup>
|
642
|
+
<tbody>
|
643
|
+
<tr>
|
644
|
+
<td class="parameter_name"><p>color</p></td>
|
645
|
+
<td class="parameter_description"><p> return location for a <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a>. </p></td>
|
646
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Out parameter, where caller must allocate storage."><span class="acronym">out caller-allocates</span></acronym>]</span></td>
|
647
|
+
</tr>
|
648
|
+
<tr>
|
649
|
+
<td class="parameter_name"><p>str</p></td>
|
650
|
+
<td class="parameter_description"><p>a string specifiying a color</p></td>
|
651
|
+
<td class="parameter_annotations"> </td>
|
652
|
+
</tr>
|
653
|
+
</tbody>
|
654
|
+
</table></div>
|
655
|
+
</div>
|
656
|
+
<div class="refsect3">
|
657
|
+
<a name="id-1.7.2.2.6.11.14"></a><h4>Returns</h4>
|
658
|
+
<p> <code class="literal">TRUE</code> if parsing succeeded, and <code class="literal">FALSE</code> otherwise</p>
|
659
|
+
<p></p>
|
660
|
+
</div>
|
661
|
+
<p class="since">Since 1.0</p>
|
662
|
+
</div>
|
663
|
+
<hr>
|
664
|
+
<div class="refsect2">
|
665
|
+
<a name="clutter-color-to-string"></a><h3>clutter_color_to_string ()</h3>
|
666
|
+
<pre class="programlisting"><span class="returnvalue">gchar</span> *
|
667
|
+
clutter_color_to_string (<em class="parameter"><code>const <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a> *color</code></em>);</pre>
|
668
|
+
<p>Returns a textual specification of <em class="parameter"><code>color</code></em>
|
669
|
+
in the hexadecimal form
|
670
|
+
<literal>#rrggbbaa</literal>, where <literal>r</literal>,
|
671
|
+
<literal>g</literal>, <literal>b</literal> and <literal>a</literal> are
|
672
|
+
hexadecimal digits representing the red, green, blue and alpha components
|
673
|
+
respectively.</p>
|
674
|
+
<div class="refsect3">
|
675
|
+
<a name="id-1.7.2.2.6.12.5"></a><h4>Parameters</h4>
|
676
|
+
<div class="informaltable"><table width="100%" border="0">
|
677
|
+
<colgroup>
|
678
|
+
<col width="150px" class="parameters_name">
|
679
|
+
<col class="parameters_description">
|
680
|
+
<col width="200px" class="parameters_annotations">
|
681
|
+
</colgroup>
|
682
|
+
<tbody><tr>
|
683
|
+
<td class="parameter_name"><p>color</p></td>
|
684
|
+
<td class="parameter_description"><p>a <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a></p></td>
|
685
|
+
<td class="parameter_annotations"> </td>
|
364
686
|
</tr></tbody>
|
365
687
|
</table></div>
|
688
|
+
</div>
|
689
|
+
<div class="refsect3">
|
690
|
+
<a name="id-1.7.2.2.6.12.6"></a><h4>Returns</h4>
|
691
|
+
<p> a newly-allocated text string. </p>
|
692
|
+
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
693
|
+
</div>
|
366
694
|
<p class="since">Since 0.2</p>
|
367
695
|
</div>
|
368
696
|
<hr>
|
369
697
|
<div class="refsect2">
|
370
|
-
<a name="clutter-color-
|
371
|
-
<pre class="programlisting"><span class="returnvalue">
|
372
|
-
|
373
|
-
<
|
374
|
-
|
375
|
-
</
|
376
|
-
<p>
|
377
|
-
|
378
|
-
|
379
|
-
</
|
380
|
-
<div class="
|
698
|
+
<a name="clutter-color-from-hls"></a><h3>clutter_color_from_hls ()</h3>
|
699
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
700
|
+
clutter_color_from_hls (<em class="parameter"><code><a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a> *color</code></em>,
|
701
|
+
<em class="parameter"><code><span class="type">gfloat</span> hue</code></em>,
|
702
|
+
<em class="parameter"><code><span class="type">gfloat</span> luminance</code></em>,
|
703
|
+
<em class="parameter"><code><span class="type">gfloat</span> saturation</code></em>);</pre>
|
704
|
+
<p>Converts a color expressed in HLS (hue, luminance and saturation)
|
705
|
+
values into a <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a>.</p>
|
706
|
+
<div class="refsect3">
|
707
|
+
<a name="id-1.7.2.2.6.13.5"></a><h4>Parameters</h4>
|
708
|
+
<div class="informaltable"><table width="100%" border="0">
|
381
709
|
<colgroup>
|
382
|
-
<col
|
383
|
-
<col>
|
710
|
+
<col width="150px" class="parameters_name">
|
711
|
+
<col class="parameters_description">
|
712
|
+
<col width="200px" class="parameters_annotations">
|
384
713
|
</colgroup>
|
385
714
|
<tbody>
|
386
715
|
<tr>
|
387
|
-
<td
|
388
|
-
<td>a <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a>.
|
389
|
-
</td>
|
716
|
+
<td class="parameter_name"><p>color</p></td>
|
717
|
+
<td class="parameter_description"><p> return location for a <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a>. </p></td>
|
718
|
+
<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>
|
390
719
|
</tr>
|
391
720
|
<tr>
|
392
|
-
<td
|
393
|
-
<td
|
394
|
-
</td>
|
721
|
+
<td class="parameter_name"><p>hue</p></td>
|
722
|
+
<td class="parameter_description"><p>hue value, in the 0 .. 360 range</p></td>
|
723
|
+
<td class="parameter_annotations"> </td>
|
724
|
+
</tr>
|
725
|
+
<tr>
|
726
|
+
<td class="parameter_name"><p>luminance</p></td>
|
727
|
+
<td class="parameter_description"><p>luminance value, in the 0 .. 1 range</p></td>
|
728
|
+
<td class="parameter_annotations"> </td>
|
395
729
|
</tr>
|
396
730
|
<tr>
|
397
|
-
<td
|
398
|
-
<td>
|
399
|
-
<
|
731
|
+
<td class="parameter_name"><p>saturation</p></td>
|
732
|
+
<td class="parameter_description"><p>saturation value, in the 0 .. 1 range</p></td>
|
733
|
+
<td class="parameter_annotations"> </td>
|
400
734
|
</tr>
|
401
735
|
</tbody>
|
402
736
|
</table></div>
|
403
|
-
|
737
|
+
</div>
|
404
738
|
</div>
|
405
739
|
<hr>
|
406
740
|
<div class="refsect2">
|
407
|
-
<a name="clutter-color-
|
408
|
-
<pre class="programlisting"><span class="returnvalue">
|
409
|
-
<
|
410
|
-
|
411
|
-
</
|
412
|
-
<
|
413
|
-
|
414
|
-
|
415
|
-
|
416
|
-
|
741
|
+
<a name="clutter-color-to-hls"></a><h3>clutter_color_to_hls ()</h3>
|
742
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
743
|
+
clutter_color_to_hls (<em class="parameter"><code>const <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a> *color</code></em>,
|
744
|
+
<em class="parameter"><code><span class="type">gfloat</span> *hue</code></em>,
|
745
|
+
<em class="parameter"><code><span class="type">gfloat</span> *luminance</code></em>,
|
746
|
+
<em class="parameter"><code><span class="type">gfloat</span> *saturation</code></em>);</pre>
|
747
|
+
<p>Converts <em class="parameter"><code>color</code></em>
|
748
|
+
to the HLS format.</p>
|
749
|
+
<p>The <em class="parameter"><code>hue</code></em>
|
750
|
+
value is in the 0 .. 360 range. The <em class="parameter"><code>luminance</code></em>
|
751
|
+
and
|
752
|
+
<em class="parameter"><code>saturation</code></em>
|
753
|
+
values are in the 0 .. 1 range.</p>
|
754
|
+
<div class="refsect3">
|
755
|
+
<a name="id-1.7.2.2.6.14.6"></a><h4>Parameters</h4>
|
756
|
+
<div class="informaltable"><table width="100%" border="0">
|
417
757
|
<colgroup>
|
418
|
-
<col
|
419
|
-
<col>
|
758
|
+
<col width="150px" class="parameters_name">
|
759
|
+
<col class="parameters_description">
|
760
|
+
<col width="200px" class="parameters_annotations">
|
420
761
|
</colgroup>
|
421
762
|
<tbody>
|
422
763
|
<tr>
|
423
|
-
<td
|
424
|
-
<td>a <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a
|
425
|
-
</td>
|
764
|
+
<td class="parameter_name"><p>color</p></td>
|
765
|
+
<td class="parameter_description"><p>a <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a></p></td>
|
766
|
+
<td class="parameter_annotations"> </td>
|
767
|
+
</tr>
|
768
|
+
<tr>
|
769
|
+
<td class="parameter_name"><p>hue</p></td>
|
770
|
+
<td class="parameter_description"><p> return location for the hue value or <code class="literal">NULL</code>. </p></td>
|
771
|
+
<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>
|
426
772
|
</tr>
|
427
773
|
<tr>
|
428
|
-
<td
|
429
|
-
<td>
|
774
|
+
<td class="parameter_name"><p>luminance</p></td>
|
775
|
+
<td class="parameter_description"><p> return location for the luminance value or <code class="literal">NULL</code>. </p></td>
|
776
|
+
<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>
|
777
|
+
</tr>
|
778
|
+
<tr>
|
779
|
+
<td class="parameter_name"><p>saturation</p></td>
|
780
|
+
<td class="parameter_description"><p> return location for the saturation value or <code class="literal">NULL</code>. </p></td>
|
781
|
+
<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>
|
430
782
|
</tr>
|
431
783
|
</tbody>
|
432
784
|
</table></div>
|
433
|
-
|
785
|
+
</div>
|
434
786
|
</div>
|
435
787
|
<hr>
|
436
788
|
<div class="refsect2">
|
437
|
-
<a name="
|
438
|
-
<pre class="programlisting">
|
439
|
-
|
440
|
-
|
441
|
-
|
442
|
-
|
443
|
-
|
444
|
-
|
445
|
-
|
446
|
-
|
447
|
-
CLUTTER_COLOR_BLUE,
|
448
|
-
CLUTTER_COLOR_DARK_BLUE,
|
449
|
-
CLUTTER_COLOR_CYAN,
|
450
|
-
CLUTTER_COLOR_DARK_CYAN,
|
451
|
-
CLUTTER_COLOR_MAGENTA,
|
452
|
-
CLUTTER_COLOR_DARK_MAGENTA,
|
453
|
-
CLUTTER_COLOR_YELLOW,
|
454
|
-
CLUTTER_COLOR_DARK_YELLOW,
|
455
|
-
CLUTTER_COLOR_GRAY,
|
456
|
-
CLUTTER_COLOR_DARK_GRAY,
|
457
|
-
CLUTTER_COLOR_LIGHT_GRAY,
|
458
|
-
|
459
|
-
/* Tango icon palette */
|
460
|
-
CLUTTER_COLOR_BUTTER,
|
461
|
-
CLUTTER_COLOR_BUTTER_LIGHT,
|
462
|
-
CLUTTER_COLOR_BUTTER_DARK,
|
463
|
-
CLUTTER_COLOR_ORANGE,
|
464
|
-
CLUTTER_COLOR_ORANGE_LIGHT,
|
465
|
-
CLUTTER_COLOR_ORANGE_DARK,
|
466
|
-
CLUTTER_COLOR_CHOCOLATE,
|
467
|
-
CLUTTER_COLOR_CHOCOLATE_LIGHT,
|
468
|
-
CLUTTER_COLOR_CHOCOLATE_DARK,
|
469
|
-
CLUTTER_COLOR_CHAMELEON,
|
470
|
-
CLUTTER_COLOR_CHAMELEON_LIGHT,
|
471
|
-
CLUTTER_COLOR_CHAMELEON_DARK,
|
472
|
-
CLUTTER_COLOR_SKY_BLUE,
|
473
|
-
CLUTTER_COLOR_SKY_BLUE_LIGHT,
|
474
|
-
CLUTTER_COLOR_SKY_BLUE_DARK,
|
475
|
-
CLUTTER_COLOR_PLUM,
|
476
|
-
CLUTTER_COLOR_PLUM_LIGHT,
|
477
|
-
CLUTTER_COLOR_PLUM_DARK,
|
478
|
-
CLUTTER_COLOR_SCARLET_RED,
|
479
|
-
CLUTTER_COLOR_SCARLET_RED_LIGHT,
|
480
|
-
CLUTTER_COLOR_SCARLET_RED_DARK,
|
481
|
-
CLUTTER_COLOR_ALUMINIUM_1,
|
482
|
-
CLUTTER_COLOR_ALUMINIUM_2,
|
483
|
-
CLUTTER_COLOR_ALUMINIUM_3,
|
484
|
-
CLUTTER_COLOR_ALUMINIUM_4,
|
485
|
-
CLUTTER_COLOR_ALUMINIUM_5,
|
486
|
-
CLUTTER_COLOR_ALUMINIUM_6,
|
487
|
-
|
488
|
-
/* Fully transparent black */
|
489
|
-
CLUTTER_COLOR_TRANSPARENT
|
490
|
-
} ClutterStaticColor;
|
491
|
-
</pre>
|
492
|
-
<p>
|
493
|
-
Named colors, for accessing global colors defined by Clutter
|
494
|
-
</p>
|
495
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
789
|
+
<a name="clutter-color-from-pixel"></a><h3>clutter_color_from_pixel ()</h3>
|
790
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
791
|
+
clutter_color_from_pixel (<em class="parameter"><code><a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a> *color</code></em>,
|
792
|
+
<em class="parameter"><code><span class="type">guint32</span> pixel</code></em>);</pre>
|
793
|
+
<p>Converts <em class="parameter"><code>pixel</code></em>
|
794
|
+
from the packed representation of a four 8 bit channel
|
795
|
+
color to a <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a>.</p>
|
796
|
+
<div class="refsect3">
|
797
|
+
<a name="id-1.7.2.2.6.15.5"></a><h4>Parameters</h4>
|
798
|
+
<div class="informaltable"><table width="100%" border="0">
|
496
799
|
<colgroup>
|
497
|
-
<col
|
498
|
-
<col>
|
800
|
+
<col width="150px" class="parameters_name">
|
801
|
+
<col class="parameters_description">
|
802
|
+
<col width="200px" class="parameters_annotations">
|
499
803
|
</colgroup>
|
500
804
|
<tbody>
|
501
805
|
<tr>
|
502
|
-
<td
|
503
|
-
<td>
|
504
|
-
</td>
|
806
|
+
<td class="parameter_name"><p>color</p></td>
|
807
|
+
<td class="parameter_description"><p> return location for a <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a>. </p></td>
|
808
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Out parameter, where caller must allocate storage."><span class="acronym">out caller-allocates</span></acronym>]</span></td>
|
505
809
|
</tr>
|
506
810
|
<tr>
|
507
|
-
<td
|
508
|
-
<td>
|
509
|
-
</td>
|
811
|
+
<td class="parameter_name"><p>pixel</p></td>
|
812
|
+
<td class="parameter_description"><p>a 32 bit packed integer containing a color</p></td>
|
813
|
+
<td class="parameter_annotations"> </td>
|
510
814
|
</tr>
|
815
|
+
</tbody>
|
816
|
+
</table></div>
|
817
|
+
</div>
|
818
|
+
</div>
|
819
|
+
<hr>
|
820
|
+
<div class="refsect2">
|
821
|
+
<a name="clutter-color-to-pixel"></a><h3>clutter_color_to_pixel ()</h3>
|
822
|
+
<pre class="programlisting"><span class="returnvalue">guint32</span>
|
823
|
+
clutter_color_to_pixel (<em class="parameter"><code>const <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a> *color</code></em>);</pre>
|
824
|
+
<p>Converts <em class="parameter"><code>color</code></em>
|
825
|
+
into a packed 32 bit integer, containing
|
826
|
+
all the four 8 bit channels used by <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a>.</p>
|
827
|
+
<div class="refsect3">
|
828
|
+
<a name="id-1.7.2.2.6.16.5"></a><h4>Parameters</h4>
|
829
|
+
<div class="informaltable"><table width="100%" border="0">
|
830
|
+
<colgroup>
|
831
|
+
<col width="150px" class="parameters_name">
|
832
|
+
<col class="parameters_description">
|
833
|
+
<col width="200px" class="parameters_annotations">
|
834
|
+
</colgroup>
|
835
|
+
<tbody><tr>
|
836
|
+
<td class="parameter_name"><p>color</p></td>
|
837
|
+
<td class="parameter_description"><p>a <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a></p></td>
|
838
|
+
<td class="parameter_annotations"> </td>
|
839
|
+
</tr></tbody>
|
840
|
+
</table></div>
|
841
|
+
</div>
|
842
|
+
<div class="refsect3">
|
843
|
+
<a name="id-1.7.2.2.6.16.6"></a><h4>Returns</h4>
|
844
|
+
<p> a packed color</p>
|
845
|
+
<p></p>
|
846
|
+
</div>
|
847
|
+
</div>
|
848
|
+
<hr>
|
849
|
+
<div class="refsect2">
|
850
|
+
<a name="clutter-color-add"></a><h3>clutter_color_add ()</h3>
|
851
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
852
|
+
clutter_color_add (<em class="parameter"><code>const <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a> *a</code></em>,
|
853
|
+
<em class="parameter"><code>const <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a> *b</code></em>,
|
854
|
+
<em class="parameter"><code><a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a> *result</code></em>);</pre>
|
855
|
+
<p>Adds <em class="parameter"><code>a</code></em>
|
856
|
+
to <em class="parameter"><code>b</code></em>
|
857
|
+
and saves the resulting color inside <em class="parameter"><code>result</code></em>
|
858
|
+
.</p>
|
859
|
+
<p>The alpha channel of <em class="parameter"><code>result</code></em>
|
860
|
+
is set as as the maximum value
|
861
|
+
between the alpha channels of <em class="parameter"><code>a</code></em>
|
862
|
+
and <em class="parameter"><code>b</code></em>
|
863
|
+
.</p>
|
864
|
+
<div class="refsect3">
|
865
|
+
<a name="id-1.7.2.2.6.17.6"></a><h4>Parameters</h4>
|
866
|
+
<div class="informaltable"><table width="100%" border="0">
|
867
|
+
<colgroup>
|
868
|
+
<col width="150px" class="parameters_name">
|
869
|
+
<col class="parameters_description">
|
870
|
+
<col width="200px" class="parameters_annotations">
|
871
|
+
</colgroup>
|
872
|
+
<tbody>
|
511
873
|
<tr>
|
512
|
-
<td
|
513
|
-
<td>
|
514
|
-
</td>
|
874
|
+
<td class="parameter_name"><p>a</p></td>
|
875
|
+
<td class="parameter_description"><p>a <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a></p></td>
|
876
|
+
<td class="parameter_annotations"> </td>
|
515
877
|
</tr>
|
516
878
|
<tr>
|
517
|
-
<td
|
518
|
-
<td>
|
519
|
-
</td>
|
879
|
+
<td class="parameter_name"><p>b</p></td>
|
880
|
+
<td class="parameter_description"><p>a <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a></p></td>
|
881
|
+
<td class="parameter_annotations"> </td>
|
520
882
|
</tr>
|
521
883
|
<tr>
|
522
|
-
<td
|
523
|
-
<td>
|
524
|
-
</td>
|
884
|
+
<td class="parameter_name"><p>result</p></td>
|
885
|
+
<td class="parameter_description"><p> return location for the result. </p></td>
|
886
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Out parameter, where caller must allocate storage."><span class="acronym">out caller-allocates</span></acronym>]</span></td>
|
525
887
|
</tr>
|
888
|
+
</tbody>
|
889
|
+
</table></div>
|
890
|
+
</div>
|
891
|
+
</div>
|
892
|
+
<hr>
|
893
|
+
<div class="refsect2">
|
894
|
+
<a name="clutter-color-subtract"></a><h3>clutter_color_subtract ()</h3>
|
895
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
896
|
+
clutter_color_subtract (<em class="parameter"><code>const <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a> *a</code></em>,
|
897
|
+
<em class="parameter"><code>const <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a> *b</code></em>,
|
898
|
+
<em class="parameter"><code><a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a> *result</code></em>);</pre>
|
899
|
+
<p>Subtracts <em class="parameter"><code>b</code></em>
|
900
|
+
from <em class="parameter"><code>a</code></em>
|
901
|
+
and saves the resulting color inside <em class="parameter"><code>result</code></em>
|
902
|
+
.</p>
|
903
|
+
<p>This function assumes that the components of <em class="parameter"><code>a</code></em>
|
904
|
+
are greater than the
|
905
|
+
components of <em class="parameter"><code>b</code></em>
|
906
|
+
; the result is, otherwise, undefined.</p>
|
907
|
+
<p>The alpha channel of <em class="parameter"><code>result</code></em>
|
908
|
+
is set as the minimum value
|
909
|
+
between the alpha channels of <em class="parameter"><code>a</code></em>
|
910
|
+
and <em class="parameter"><code>b</code></em>
|
911
|
+
.</p>
|
912
|
+
<div class="refsect3">
|
913
|
+
<a name="id-1.7.2.2.6.18.7"></a><h4>Parameters</h4>
|
914
|
+
<div class="informaltable"><table width="100%" border="0">
|
915
|
+
<colgroup>
|
916
|
+
<col width="150px" class="parameters_name">
|
917
|
+
<col class="parameters_description">
|
918
|
+
<col width="200px" class="parameters_annotations">
|
919
|
+
</colgroup>
|
920
|
+
<tbody>
|
526
921
|
<tr>
|
527
|
-
<td
|
528
|
-
<td>
|
529
|
-
</td>
|
922
|
+
<td class="parameter_name"><p>a</p></td>
|
923
|
+
<td class="parameter_description"><p>a <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a></p></td>
|
924
|
+
<td class="parameter_annotations"> </td>
|
530
925
|
</tr>
|
531
926
|
<tr>
|
532
|
-
<td
|
533
|
-
<td>
|
534
|
-
</td>
|
927
|
+
<td class="parameter_name"><p>b</p></td>
|
928
|
+
<td class="parameter_description"><p>a <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a></p></td>
|
929
|
+
<td class="parameter_annotations"> </td>
|
535
930
|
</tr>
|
536
931
|
<tr>
|
537
|
-
<td
|
538
|
-
<td>
|
539
|
-
</td>
|
932
|
+
<td class="parameter_name"><p>result</p></td>
|
933
|
+
<td class="parameter_description"><p> return location for the result. </p></td>
|
934
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Out parameter, where caller must allocate storage."><span class="acronym">out caller-allocates</span></acronym>]</span></td>
|
540
935
|
</tr>
|
936
|
+
</tbody>
|
937
|
+
</table></div>
|
938
|
+
</div>
|
939
|
+
</div>
|
940
|
+
<hr>
|
941
|
+
<div class="refsect2">
|
942
|
+
<a name="clutter-color-lighten"></a><h3>clutter_color_lighten ()</h3>
|
943
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
944
|
+
clutter_color_lighten (<em class="parameter"><code>const <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a> *color</code></em>,
|
945
|
+
<em class="parameter"><code><a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a> *result</code></em>);</pre>
|
946
|
+
<p>Lightens <em class="parameter"><code>color</code></em>
|
947
|
+
by a fixed amount, and saves the changed color
|
948
|
+
in <em class="parameter"><code>result</code></em>
|
949
|
+
.</p>
|
950
|
+
<div class="refsect3">
|
951
|
+
<a name="id-1.7.2.2.6.19.5"></a><h4>Parameters</h4>
|
952
|
+
<div class="informaltable"><table width="100%" border="0">
|
953
|
+
<colgroup>
|
954
|
+
<col width="150px" class="parameters_name">
|
955
|
+
<col class="parameters_description">
|
956
|
+
<col width="200px" class="parameters_annotations">
|
957
|
+
</colgroup>
|
958
|
+
<tbody>
|
541
959
|
<tr>
|
542
|
-
<td
|
543
|
-
<td>
|
544
|
-
</td>
|
960
|
+
<td class="parameter_name"><p>color</p></td>
|
961
|
+
<td class="parameter_description"><p>a <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a></p></td>
|
962
|
+
<td class="parameter_annotations"> </td>
|
545
963
|
</tr>
|
546
964
|
<tr>
|
547
|
-
<td
|
548
|
-
<td>
|
549
|
-
</td>
|
965
|
+
<td class="parameter_name"><p>result</p></td>
|
966
|
+
<td class="parameter_description"><p> return location for the lighter color. </p></td>
|
967
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Out parameter, where caller must allocate storage."><span class="acronym">out caller-allocates</span></acronym>]</span></td>
|
968
|
+
</tr>
|
969
|
+
</tbody>
|
970
|
+
</table></div>
|
971
|
+
</div>
|
972
|
+
</div>
|
973
|
+
<hr>
|
974
|
+
<div class="refsect2">
|
975
|
+
<a name="clutter-color-darken"></a><h3>clutter_color_darken ()</h3>
|
976
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
977
|
+
clutter_color_darken (<em class="parameter"><code>const <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a> *color</code></em>,
|
978
|
+
<em class="parameter"><code><a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a> *result</code></em>);</pre>
|
979
|
+
<p>Darkens <em class="parameter"><code>color</code></em>
|
980
|
+
by a fixed amount, and saves the changed color
|
981
|
+
in <em class="parameter"><code>result</code></em>
|
982
|
+
.</p>
|
983
|
+
<div class="refsect3">
|
984
|
+
<a name="id-1.7.2.2.6.20.5"></a><h4>Parameters</h4>
|
985
|
+
<div class="informaltable"><table width="100%" border="0">
|
986
|
+
<colgroup>
|
987
|
+
<col width="150px" class="parameters_name">
|
988
|
+
<col class="parameters_description">
|
989
|
+
<col width="200px" class="parameters_annotations">
|
990
|
+
</colgroup>
|
991
|
+
<tbody>
|
992
|
+
<tr>
|
993
|
+
<td class="parameter_name"><p>color</p></td>
|
994
|
+
<td class="parameter_description"><p>a <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a></p></td>
|
995
|
+
<td class="parameter_annotations"> </td>
|
550
996
|
</tr>
|
551
997
|
<tr>
|
552
|
-
<td
|
553
|
-
<td>
|
554
|
-
</td>
|
998
|
+
<td class="parameter_name"><p>result</p></td>
|
999
|
+
<td class="parameter_description"><p> return location for the darker color. </p></td>
|
1000
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Out parameter, where caller must allocate storage."><span class="acronym">out caller-allocates</span></acronym>]</span></td>
|
555
1001
|
</tr>
|
1002
|
+
</tbody>
|
1003
|
+
</table></div>
|
1004
|
+
</div>
|
1005
|
+
</div>
|
1006
|
+
<hr>
|
1007
|
+
<div class="refsect2">
|
1008
|
+
<a name="clutter-color-shade"></a><h3>clutter_color_shade ()</h3>
|
1009
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1010
|
+
clutter_color_shade (<em class="parameter"><code>const <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a> *color</code></em>,
|
1011
|
+
<em class="parameter"><code><span class="type">gdouble</span> factor</code></em>,
|
1012
|
+
<em class="parameter"><code><a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a> *result</code></em>);</pre>
|
1013
|
+
<p>Shades <em class="parameter"><code>color</code></em>
|
1014
|
+
by <em class="parameter"><code>factor</code></em>
|
1015
|
+
and saves the modified color into <em class="parameter"><code>result</code></em>
|
1016
|
+
.</p>
|
1017
|
+
<div class="refsect3">
|
1018
|
+
<a name="id-1.7.2.2.6.21.5"></a><h4>Parameters</h4>
|
1019
|
+
<div class="informaltable"><table width="100%" border="0">
|
1020
|
+
<colgroup>
|
1021
|
+
<col width="150px" class="parameters_name">
|
1022
|
+
<col class="parameters_description">
|
1023
|
+
<col width="200px" class="parameters_annotations">
|
1024
|
+
</colgroup>
|
1025
|
+
<tbody>
|
556
1026
|
<tr>
|
557
|
-
<td
|
558
|
-
<td>
|
559
|
-
</td>
|
1027
|
+
<td class="parameter_name"><p>color</p></td>
|
1028
|
+
<td class="parameter_description"><p>a <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a></p></td>
|
1029
|
+
<td class="parameter_annotations"> </td>
|
560
1030
|
</tr>
|
561
1031
|
<tr>
|
562
|
-
<td
|
563
|
-
<td>
|
564
|
-
</td>
|
1032
|
+
<td class="parameter_name"><p>factor</p></td>
|
1033
|
+
<td class="parameter_description"><p>the shade factor to apply</p></td>
|
1034
|
+
<td class="parameter_annotations"> </td>
|
565
1035
|
</tr>
|
566
1036
|
<tr>
|
567
|
-
<td
|
568
|
-
<td>
|
569
|
-
</td>
|
1037
|
+
<td class="parameter_name"><p>result</p></td>
|
1038
|
+
<td class="parameter_description"><p> return location for the shaded color. </p></td>
|
1039
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Out parameter, where caller must allocate storage."><span class="acronym">out caller-allocates</span></acronym>]</span></td>
|
570
1040
|
</tr>
|
1041
|
+
</tbody>
|
1042
|
+
</table></div>
|
1043
|
+
</div>
|
1044
|
+
</div>
|
1045
|
+
<hr>
|
1046
|
+
<div class="refsect2">
|
1047
|
+
<a name="clutter-color-interpolate"></a><h3>clutter_color_interpolate ()</h3>
|
1048
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1049
|
+
clutter_color_interpolate (<em class="parameter"><code>const <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a> *initial</code></em>,
|
1050
|
+
<em class="parameter"><code>const <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a> *final</code></em>,
|
1051
|
+
<em class="parameter"><code><span class="type">gdouble</span> progress</code></em>,
|
1052
|
+
<em class="parameter"><code><a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a> *result</code></em>);</pre>
|
1053
|
+
<p>Interpolates between <em class="parameter"><code>initial</code></em>
|
1054
|
+
and <em class="parameter"><code>final</code></em>
|
1055
|
+
<a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a><!-- -->s
|
1056
|
+
using <em class="parameter"><code>progress</code></em>
|
1057
|
+
</p>
|
1058
|
+
<div class="refsect3">
|
1059
|
+
<a name="id-1.7.2.2.6.22.5"></a><h4>Parameters</h4>
|
1060
|
+
<div class="informaltable"><table width="100%" border="0">
|
1061
|
+
<colgroup>
|
1062
|
+
<col width="150px" class="parameters_name">
|
1063
|
+
<col class="parameters_description">
|
1064
|
+
<col width="200px" class="parameters_annotations">
|
1065
|
+
</colgroup>
|
1066
|
+
<tbody>
|
571
1067
|
<tr>
|
572
|
-
<td
|
573
|
-
<td>
|
574
|
-
</td>
|
1068
|
+
<td class="parameter_name"><p>initial</p></td>
|
1069
|
+
<td class="parameter_description"><p>the initial <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a></p></td>
|
1070
|
+
<td class="parameter_annotations"> </td>
|
575
1071
|
</tr>
|
576
1072
|
<tr>
|
577
|
-
<td
|
578
|
-
<td>
|
579
|
-
</td>
|
1073
|
+
<td class="parameter_name"><p>final</p></td>
|
1074
|
+
<td class="parameter_description"><p>the final <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a></p></td>
|
1075
|
+
<td class="parameter_annotations"> </td>
|
580
1076
|
</tr>
|
581
1077
|
<tr>
|
582
|
-
<td
|
583
|
-
<td>
|
584
|
-
</td>
|
1078
|
+
<td class="parameter_name"><p>progress</p></td>
|
1079
|
+
<td class="parameter_description"><p>the interpolation progress</p></td>
|
1080
|
+
<td class="parameter_annotations"> </td>
|
585
1081
|
</tr>
|
586
1082
|
<tr>
|
587
|
-
<td
|
588
|
-
<td>
|
589
|
-
</td>
|
1083
|
+
<td class="parameter_name"><p>result</p></td>
|
1084
|
+
<td class="parameter_description"><p> return location for the interpolation. </p></td>
|
1085
|
+
<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>
|
1086
|
+
</tr>
|
1087
|
+
</tbody>
|
1088
|
+
</table></div>
|
1089
|
+
</div>
|
1090
|
+
<p class="since">Since 1.6</p>
|
1091
|
+
</div>
|
1092
|
+
<hr>
|
1093
|
+
<div class="refsect2">
|
1094
|
+
<a name="clutter-param-spec-color"></a><h3>clutter_param_spec_color ()</h3>
|
1095
|
+
<pre class="programlisting"><span class="returnvalue">GParamSpec</span> *
|
1096
|
+
clutter_param_spec_color (<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
|
1097
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *nick</code></em>,
|
1098
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *blurb</code></em>,
|
1099
|
+
<em class="parameter"><code>const <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a> *default_value</code></em>,
|
1100
|
+
<em class="parameter"><code><span class="type">GParamFlags</span> flags</code></em>);</pre>
|
1101
|
+
<p>Creates a <span class="type">GParamSpec</span> for properties using <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a>.</p>
|
1102
|
+
<div class="refsect3">
|
1103
|
+
<a name="id-1.7.2.2.6.23.5"></a><h4>Parameters</h4>
|
1104
|
+
<div class="informaltable"><table width="100%" border="0">
|
1105
|
+
<colgroup>
|
1106
|
+
<col width="150px" class="parameters_name">
|
1107
|
+
<col class="parameters_description">
|
1108
|
+
<col width="200px" class="parameters_annotations">
|
1109
|
+
</colgroup>
|
1110
|
+
<tbody>
|
1111
|
+
<tr>
|
1112
|
+
<td class="parameter_name"><p>name</p></td>
|
1113
|
+
<td class="parameter_description"><p>name of the property</p></td>
|
1114
|
+
<td class="parameter_annotations"> </td>
|
590
1115
|
</tr>
|
591
1116
|
<tr>
|
592
|
-
<td
|
593
|
-
<td>
|
594
|
-
</td>
|
1117
|
+
<td class="parameter_name"><p>nick</p></td>
|
1118
|
+
<td class="parameter_description"><p>short name</p></td>
|
1119
|
+
<td class="parameter_annotations"> </td>
|
595
1120
|
</tr>
|
596
1121
|
<tr>
|
597
|
-
<td
|
598
|
-
<td>
|
599
|
-
</td>
|
1122
|
+
<td class="parameter_name"><p>blurb</p></td>
|
1123
|
+
<td class="parameter_description"><p>description (can be translatable)</p></td>
|
1124
|
+
<td class="parameter_annotations"> </td>
|
600
1125
|
</tr>
|
601
1126
|
<tr>
|
602
|
-
<td
|
603
|
-
<td>
|
604
|
-
</td>
|
1127
|
+
<td class="parameter_name"><p>default_value</p></td>
|
1128
|
+
<td class="parameter_description"><p>default value</p></td>
|
1129
|
+
<td class="parameter_annotations"> </td>
|
1130
|
+
</tr>
|
1131
|
+
<tr>
|
1132
|
+
<td class="parameter_name"><p>flags</p></td>
|
1133
|
+
<td class="parameter_description"><p>flags for the param spec</p></td>
|
1134
|
+
<td class="parameter_annotations"> </td>
|
605
1135
|
</tr>
|
1136
|
+
</tbody>
|
1137
|
+
</table></div>
|
1138
|
+
</div>
|
1139
|
+
<div class="refsect3">
|
1140
|
+
<a name="id-1.7.2.2.6.23.6"></a><h4>Returns</h4>
|
1141
|
+
<p> the newly created <span class="type">GParamSpec</span></p>
|
1142
|
+
<p></p>
|
1143
|
+
</div>
|
1144
|
+
<p class="since">Since 0.8.4</p>
|
1145
|
+
</div>
|
1146
|
+
<hr>
|
1147
|
+
<div class="refsect2">
|
1148
|
+
<a name="CLUTTER-VALUE-HOLDS-COLOR:CAPS"></a><h3>CLUTTER_VALUE_HOLDS_COLOR()</h3>
|
1149
|
+
<pre class="programlisting">#define CLUTTER_VALUE_HOLDS_COLOR(x) (G_VALUE_HOLDS ((x), CLUTTER_TYPE_COLOR))
|
1150
|
+
</pre>
|
1151
|
+
<p>Evaluates to <code class="literal">TRUE</code> if <em class="parameter"><code>x</code></em>
|
1152
|
+
holds a <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a><!-- -->.</p>
|
1153
|
+
<div class="refsect3">
|
1154
|
+
<a name="id-1.7.2.2.6.24.5"></a><h4>Parameters</h4>
|
1155
|
+
<div class="informaltable"><table width="100%" border="0">
|
1156
|
+
<colgroup>
|
1157
|
+
<col width="150px" class="parameters_name">
|
1158
|
+
<col class="parameters_description">
|
1159
|
+
<col width="200px" class="parameters_annotations">
|
1160
|
+
</colgroup>
|
1161
|
+
<tbody><tr>
|
1162
|
+
<td class="parameter_name"><p>x</p></td>
|
1163
|
+
<td class="parameter_description"><p>a <span class="type">GValue</span></p></td>
|
1164
|
+
<td class="parameter_annotations"> </td>
|
1165
|
+
</tr></tbody>
|
1166
|
+
</table></div>
|
1167
|
+
</div>
|
1168
|
+
<p class="since">Since 1.0</p>
|
1169
|
+
</div>
|
1170
|
+
<hr>
|
1171
|
+
<div class="refsect2">
|
1172
|
+
<a name="clutter-value-set-color"></a><h3>clutter_value_set_color ()</h3>
|
1173
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1174
|
+
clutter_value_set_color (<em class="parameter"><code><span class="type">GValue</span> *value</code></em>,
|
1175
|
+
<em class="parameter"><code>const <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a> *color</code></em>);</pre>
|
1176
|
+
<p>Sets <em class="parameter"><code>value</code></em>
|
1177
|
+
to <em class="parameter"><code>color</code></em>
|
1178
|
+
.</p>
|
1179
|
+
<div class="refsect3">
|
1180
|
+
<a name="id-1.7.2.2.6.25.5"></a><h4>Parameters</h4>
|
1181
|
+
<div class="informaltable"><table width="100%" border="0">
|
1182
|
+
<colgroup>
|
1183
|
+
<col width="150px" class="parameters_name">
|
1184
|
+
<col class="parameters_description">
|
1185
|
+
<col width="200px" class="parameters_annotations">
|
1186
|
+
</colgroup>
|
1187
|
+
<tbody>
|
1188
|
+
<tr>
|
1189
|
+
<td class="parameter_name"><p>value</p></td>
|
1190
|
+
<td class="parameter_description"><p>a <span class="type">GValue</span> initialized to <span class="type">CLUTTER_TYPE_COLOR</span></p></td>
|
1191
|
+
<td class="parameter_annotations"> </td>
|
1192
|
+
</tr>
|
1193
|
+
<tr>
|
1194
|
+
<td class="parameter_name"><p>color</p></td>
|
1195
|
+
<td class="parameter_description"><p>the color to set</p></td>
|
1196
|
+
<td class="parameter_annotations"> </td>
|
1197
|
+
</tr>
|
1198
|
+
</tbody>
|
1199
|
+
</table></div>
|
1200
|
+
</div>
|
1201
|
+
<p class="since">Since 0.8.4</p>
|
1202
|
+
</div>
|
1203
|
+
<hr>
|
1204
|
+
<div class="refsect2">
|
1205
|
+
<a name="clutter-value-get-color"></a><h3>clutter_value_get_color ()</h3>
|
1206
|
+
<pre class="programlisting">const <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="returnvalue">ClutterColor</span></a> *
|
1207
|
+
clutter_value_get_color (<em class="parameter"><code>const <span class="type">GValue</span> *value</code></em>);</pre>
|
1208
|
+
<p>Gets the <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a> contained in <em class="parameter"><code>value</code></em>
|
1209
|
+
.</p>
|
1210
|
+
<div class="refsect3">
|
1211
|
+
<a name="id-1.7.2.2.6.26.5"></a><h4>Parameters</h4>
|
1212
|
+
<div class="informaltable"><table width="100%" border="0">
|
1213
|
+
<colgroup>
|
1214
|
+
<col width="150px" class="parameters_name">
|
1215
|
+
<col class="parameters_description">
|
1216
|
+
<col width="200px" class="parameters_annotations">
|
1217
|
+
</colgroup>
|
1218
|
+
<tbody><tr>
|
1219
|
+
<td class="parameter_name"><p>value</p></td>
|
1220
|
+
<td class="parameter_description"><p>a <span class="type">GValue</span> initialized to <span class="type">CLUTTER_TYPE_COLOR</span></p></td>
|
1221
|
+
<td class="parameter_annotations"> </td>
|
1222
|
+
</tr></tbody>
|
1223
|
+
</table></div>
|
1224
|
+
</div>
|
1225
|
+
<div class="refsect3">
|
1226
|
+
<a name="id-1.7.2.2.6.26.6"></a><h4>Returns</h4>
|
1227
|
+
<p> the color inside the passed <span class="type">GValue</span>. </p>
|
1228
|
+
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
1229
|
+
</div>
|
1230
|
+
<p class="since">Since 0.8.4</p>
|
1231
|
+
</div>
|
1232
|
+
</div>
|
1233
|
+
<div class="refsect1">
|
1234
|
+
<a name="clutter-Colors.other_details"></a><h2>Types and Values</h2>
|
1235
|
+
<div class="refsect2">
|
1236
|
+
<a name="ClutterColor"></a><h3>ClutterColor</h3>
|
1237
|
+
<pre class="programlisting">typedef struct {
|
1238
|
+
guint8 red;
|
1239
|
+
guint8 green;
|
1240
|
+
guint8 blue;
|
1241
|
+
|
1242
|
+
guint8 alpha;
|
1243
|
+
} ClutterColor;
|
1244
|
+
</pre>
|
1245
|
+
<p>Color representation.</p>
|
1246
|
+
<div class="refsect3">
|
1247
|
+
<a name="id-1.7.2.2.7.2.5"></a><h4>Members</h4>
|
1248
|
+
<div class="informaltable"><table width="100%" border="0">
|
1249
|
+
<colgroup>
|
1250
|
+
<col width="300px" class="struct_members_name">
|
1251
|
+
<col class="struct_members_description">
|
1252
|
+
<col width="200px" class="struct_members_annotations">
|
1253
|
+
</colgroup>
|
1254
|
+
<tbody>
|
606
1255
|
<tr>
|
607
|
-
<td><p><
|
608
|
-
<td>
|
609
|
-
</td>
|
1256
|
+
<td class="struct_member_name"><p><span class="type">guint8</span> <em class="structfield"><code><a name="ClutterColor.red"></a>red</code></em>;</p></td>
|
1257
|
+
<td class="struct_member_description"><p>red component, between 0 and 255</p></td>
|
1258
|
+
<td class="struct_member_annotations"> </td>
|
610
1259
|
</tr>
|
611
1260
|
<tr>
|
612
|
-
<td><p><
|
613
|
-
<td>
|
614
|
-
</td>
|
1261
|
+
<td class="struct_member_name"><p><span class="type">guint8</span> <em class="structfield"><code><a name="ClutterColor.green"></a>green</code></em>;</p></td>
|
1262
|
+
<td class="struct_member_description"><p>green component, between 0 and 255</p></td>
|
1263
|
+
<td class="struct_member_annotations"> </td>
|
615
1264
|
</tr>
|
616
1265
|
<tr>
|
617
|
-
<td><p><
|
618
|
-
<td>
|
619
|
-
</td>
|
1266
|
+
<td class="struct_member_name"><p><span class="type">guint8</span> <em class="structfield"><code><a name="ClutterColor.blue"></a>blue</code></em>;</p></td>
|
1267
|
+
<td class="struct_member_description"><p>blue component, between 0 and 255</p></td>
|
1268
|
+
<td class="struct_member_annotations"> </td>
|
620
1269
|
</tr>
|
621
1270
|
<tr>
|
622
|
-
<td><p><
|
623
|
-
<td>
|
624
|
-
</td>
|
1271
|
+
<td class="struct_member_name"><p><span class="type">guint8</span> <em class="structfield"><code><a name="ClutterColor.alpha"></a>alpha</code></em>;</p></td>
|
1272
|
+
<td class="struct_member_description"><p>alpha component, between 0 and 255</p></td>
|
1273
|
+
<td class="struct_member_annotations"> </td>
|
625
1274
|
</tr>
|
1275
|
+
</tbody>
|
1276
|
+
</table></div>
|
1277
|
+
</div>
|
1278
|
+
</div>
|
1279
|
+
<hr>
|
1280
|
+
<div class="refsect2">
|
1281
|
+
<a name="ClutterStaticColor"></a><h3>enum ClutterStaticColor</h3>
|
1282
|
+
<p>Named colors, for accessing global colors defined by Clutter</p>
|
1283
|
+
<div class="refsect3">
|
1284
|
+
<a name="id-1.7.2.2.7.3.4"></a><h4>Members</h4>
|
1285
|
+
<div class="informaltable"><table width="100%" border="0">
|
1286
|
+
<colgroup>
|
1287
|
+
<col width="300px" class="enum_members_name">
|
1288
|
+
<col class="enum_members_description">
|
1289
|
+
<col width="200px" class="enum_members_annotations">
|
1290
|
+
</colgroup>
|
1291
|
+
<tbody>
|
626
1292
|
<tr>
|
627
|
-
<td><p><a name="CLUTTER-COLOR-
|
628
|
-
<td>
|
1293
|
+
<td class="enum_member_name"><p><a name="CLUTTER-COLOR-WHITE:CAPS"></a>CLUTTER_COLOR_WHITE</p></td>
|
1294
|
+
<td class="enum_member_description">
|
1295
|
+
<p>White color (ffffffff)</p>
|
629
1296
|
</td>
|
1297
|
+
<td class="enum_member_annotations"> </td>
|
630
1298
|
</tr>
|
631
1299
|
<tr>
|
632
|
-
<td><p><a name="CLUTTER-COLOR-
|
633
|
-
<td>
|
1300
|
+
<td class="enum_member_name"><p><a name="CLUTTER-COLOR-BLACK:CAPS"></a>CLUTTER_COLOR_BLACK</p></td>
|
1301
|
+
<td class="enum_member_description">
|
1302
|
+
<p>Black color (000000ff)</p>
|
634
1303
|
</td>
|
1304
|
+
<td class="enum_member_annotations"> </td>
|
635
1305
|
</tr>
|
636
1306
|
<tr>
|
637
|
-
<td><p><a name="CLUTTER-COLOR-
|
638
|
-
<td>
|
1307
|
+
<td class="enum_member_name"><p><a name="CLUTTER-COLOR-RED:CAPS"></a>CLUTTER_COLOR_RED</p></td>
|
1308
|
+
<td class="enum_member_description">
|
1309
|
+
<p>Red color (ff0000ff)</p>
|
639
1310
|
</td>
|
1311
|
+
<td class="enum_member_annotations"> </td>
|
640
1312
|
</tr>
|
641
1313
|
<tr>
|
642
|
-
<td><p><a name="CLUTTER-COLOR-
|
643
|
-
<td>
|
1314
|
+
<td class="enum_member_name"><p><a name="CLUTTER-COLOR-DARK-RED:CAPS"></a>CLUTTER_COLOR_DARK_RED</p></td>
|
1315
|
+
<td class="enum_member_description">
|
1316
|
+
<p>Dark red color (800000ff)</p>
|
644
1317
|
</td>
|
1318
|
+
<td class="enum_member_annotations"> </td>
|
645
1319
|
</tr>
|
646
1320
|
<tr>
|
647
|
-
<td><p><a name="CLUTTER-COLOR-
|
648
|
-
<td>
|
1321
|
+
<td class="enum_member_name"><p><a name="CLUTTER-COLOR-GREEN:CAPS"></a>CLUTTER_COLOR_GREEN</p></td>
|
1322
|
+
<td class="enum_member_description">
|
1323
|
+
<p>Green color (00ff00ff)</p>
|
649
1324
|
</td>
|
1325
|
+
<td class="enum_member_annotations"> </td>
|
650
1326
|
</tr>
|
651
1327
|
<tr>
|
652
|
-
<td><p><a name="CLUTTER-COLOR-
|
653
|
-
<td>
|
1328
|
+
<td class="enum_member_name"><p><a name="CLUTTER-COLOR-DARK-GREEN:CAPS"></a>CLUTTER_COLOR_DARK_GREEN</p></td>
|
1329
|
+
<td class="enum_member_description">
|
1330
|
+
<p>Dark green color (008000ff)</p>
|
654
1331
|
</td>
|
1332
|
+
<td class="enum_member_annotations"> </td>
|
655
1333
|
</tr>
|
656
1334
|
<tr>
|
657
|
-
<td><p><a name="CLUTTER-COLOR-
|
658
|
-
<td>
|
1335
|
+
<td class="enum_member_name"><p><a name="CLUTTER-COLOR-BLUE:CAPS"></a>CLUTTER_COLOR_BLUE</p></td>
|
1336
|
+
<td class="enum_member_description">
|
1337
|
+
<p>Blue color (0000ffff)</p>
|
659
1338
|
</td>
|
1339
|
+
<td class="enum_member_annotations"> </td>
|
660
1340
|
</tr>
|
661
1341
|
<tr>
|
662
|
-
<td><p><a name="CLUTTER-COLOR-
|
663
|
-
<td>
|
1342
|
+
<td class="enum_member_name"><p><a name="CLUTTER-COLOR-DARK-BLUE:CAPS"></a>CLUTTER_COLOR_DARK_BLUE</p></td>
|
1343
|
+
<td class="enum_member_description">
|
1344
|
+
<p>Dark blue color (000080ff)</p>
|
664
1345
|
</td>
|
1346
|
+
<td class="enum_member_annotations"> </td>
|
665
1347
|
</tr>
|
666
1348
|
<tr>
|
667
|
-
<td><p><a name="CLUTTER-COLOR-
|
668
|
-
<td>
|
1349
|
+
<td class="enum_member_name"><p><a name="CLUTTER-COLOR-CYAN:CAPS"></a>CLUTTER_COLOR_CYAN</p></td>
|
1350
|
+
<td class="enum_member_description">
|
1351
|
+
<p>Cyan color (00ffffff)</p>
|
669
1352
|
</td>
|
1353
|
+
<td class="enum_member_annotations"> </td>
|
670
1354
|
</tr>
|
671
1355
|
<tr>
|
672
|
-
<td><p><a name="CLUTTER-COLOR-
|
673
|
-
<td>
|
1356
|
+
<td class="enum_member_name"><p><a name="CLUTTER-COLOR-DARK-CYAN:CAPS"></a>CLUTTER_COLOR_DARK_CYAN</p></td>
|
1357
|
+
<td class="enum_member_description">
|
1358
|
+
<p>Dark cyan color (008080ff)</p>
|
674
1359
|
</td>
|
1360
|
+
<td class="enum_member_annotations"> </td>
|
675
1361
|
</tr>
|
676
1362
|
<tr>
|
677
|
-
<td><p><a name="CLUTTER-COLOR-
|
678
|
-
<td>
|
1363
|
+
<td class="enum_member_name"><p><a name="CLUTTER-COLOR-MAGENTA:CAPS"></a>CLUTTER_COLOR_MAGENTA</p></td>
|
1364
|
+
<td class="enum_member_description">
|
1365
|
+
<p>Magenta color (ff00ffff)</p>
|
679
1366
|
</td>
|
1367
|
+
<td class="enum_member_annotations"> </td>
|
680
1368
|
</tr>
|
681
1369
|
<tr>
|
682
|
-
<td><p><a name="CLUTTER-COLOR-
|
683
|
-
<td>
|
1370
|
+
<td class="enum_member_name"><p><a name="CLUTTER-COLOR-DARK-MAGENTA:CAPS"></a>CLUTTER_COLOR_DARK_MAGENTA</p></td>
|
1371
|
+
<td class="enum_member_description">
|
1372
|
+
<p>Dark magenta color (800080ff)</p>
|
684
1373
|
</td>
|
1374
|
+
<td class="enum_member_annotations"> </td>
|
685
1375
|
</tr>
|
686
1376
|
<tr>
|
687
|
-
<td><p><a name="CLUTTER-COLOR-
|
688
|
-
<td>
|
1377
|
+
<td class="enum_member_name"><p><a name="CLUTTER-COLOR-YELLOW:CAPS"></a>CLUTTER_COLOR_YELLOW</p></td>
|
1378
|
+
<td class="enum_member_description">
|
1379
|
+
<p>Yellow color (ffff00ff)</p>
|
689
1380
|
</td>
|
1381
|
+
<td class="enum_member_annotations"> </td>
|
690
1382
|
</tr>
|
691
1383
|
<tr>
|
692
|
-
<td><p><a name="CLUTTER-COLOR-
|
693
|
-
<td>
|
1384
|
+
<td class="enum_member_name"><p><a name="CLUTTER-COLOR-DARK-YELLOW:CAPS"></a>CLUTTER_COLOR_DARK_YELLOW</p></td>
|
1385
|
+
<td class="enum_member_description">
|
1386
|
+
<p>Dark yellow color (808000ff)</p>
|
694
1387
|
</td>
|
1388
|
+
<td class="enum_member_annotations"> </td>
|
695
1389
|
</tr>
|
696
1390
|
<tr>
|
697
|
-
<td><p><a name="CLUTTER-COLOR-
|
698
|
-
<td>
|
1391
|
+
<td class="enum_member_name"><p><a name="CLUTTER-COLOR-GRAY:CAPS"></a>CLUTTER_COLOR_GRAY</p></td>
|
1392
|
+
<td class="enum_member_description">
|
1393
|
+
<p>Gray color (a0a0a4ff)</p>
|
699
1394
|
</td>
|
1395
|
+
<td class="enum_member_annotations"> </td>
|
700
1396
|
</tr>
|
701
1397
|
<tr>
|
702
|
-
<td><p><a name="CLUTTER-COLOR-
|
703
|
-
<td>
|
1398
|
+
<td class="enum_member_name"><p><a name="CLUTTER-COLOR-DARK-GRAY:CAPS"></a>CLUTTER_COLOR_DARK_GRAY</p></td>
|
1399
|
+
<td class="enum_member_description">
|
1400
|
+
<p>Dark Gray color (808080ff)</p>
|
704
1401
|
</td>
|
1402
|
+
<td class="enum_member_annotations"> </td>
|
705
1403
|
</tr>
|
706
1404
|
<tr>
|
707
|
-
<td><p><a name="CLUTTER-COLOR-
|
708
|
-
<td>
|
1405
|
+
<td class="enum_member_name"><p><a name="CLUTTER-COLOR-LIGHT-GRAY:CAPS"></a>CLUTTER_COLOR_LIGHT_GRAY</p></td>
|
1406
|
+
<td class="enum_member_description">
|
1407
|
+
<p>Light gray color (c0c0c0ff)</p>
|
709
1408
|
</td>
|
1409
|
+
<td class="enum_member_annotations"> </td>
|
710
1410
|
</tr>
|
711
1411
|
<tr>
|
712
|
-
<td><p><a name="CLUTTER-COLOR-
|
713
|
-
<td>
|
1412
|
+
<td class="enum_member_name"><p><a name="CLUTTER-COLOR-BUTTER:CAPS"></a>CLUTTER_COLOR_BUTTER</p></td>
|
1413
|
+
<td class="enum_member_description">
|
1414
|
+
<p>Butter color (edd400ff)</p>
|
714
1415
|
</td>
|
1416
|
+
<td class="enum_member_annotations"> </td>
|
715
1417
|
</tr>
|
716
1418
|
<tr>
|
717
|
-
<td><p><a name="CLUTTER-COLOR-
|
718
|
-
<td>
|
1419
|
+
<td class="enum_member_name"><p><a name="CLUTTER-COLOR-BUTTER-LIGHT:CAPS"></a>CLUTTER_COLOR_BUTTER_LIGHT</p></td>
|
1420
|
+
<td class="enum_member_description">
|
1421
|
+
<p>Light butter color (fce94fff)</p>
|
719
1422
|
</td>
|
1423
|
+
<td class="enum_member_annotations"> </td>
|
720
1424
|
</tr>
|
721
1425
|
<tr>
|
722
|
-
<td><p><a name="CLUTTER-COLOR-
|
723
|
-
<td>
|
1426
|
+
<td class="enum_member_name"><p><a name="CLUTTER-COLOR-BUTTER-DARK:CAPS"></a>CLUTTER_COLOR_BUTTER_DARK</p></td>
|
1427
|
+
<td class="enum_member_description">
|
1428
|
+
<p>Dark butter color (c4a000ff)</p>
|
724
1429
|
</td>
|
725
|
-
</
|
726
|
-
</tbody>
|
727
|
-
</table></div>
|
728
|
-
<p class="since">Since 1.6</p>
|
729
|
-
</div>
|
730
|
-
<hr>
|
731
|
-
<div class="refsect2">
|
732
|
-
<a name="clutter-color-get-static"></a><h3>clutter_color_get_static ()</h3>
|
733
|
-
<pre class="programlisting">const <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="returnvalue">ClutterColor</span></a> * clutter_color_get_static (<em class="parameter"><code><a class="link" href="clutter-Colors.html#ClutterStaticColor" title="enum ClutterStaticColor"><span class="type">ClutterStaticColor</span></a> color</code></em>);</pre>
|
734
|
-
<p>
|
735
|
-
Retrieves a static color for the given <em class="parameter"><code>color</code></em> name
|
736
|
-
</p>
|
737
|
-
<p>
|
738
|
-
Static colors are created by Clutter and are guaranteed to always be
|
739
|
-
available and valid
|
740
|
-
</p>
|
741
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
742
|
-
<colgroup>
|
743
|
-
<col align="left" valign="top">
|
744
|
-
<col>
|
745
|
-
</colgroup>
|
746
|
-
<tbody>
|
747
|
-
<tr>
|
748
|
-
<td><p><span class="term"><em class="parameter"><code>color</code></em> :</span></p></td>
|
749
|
-
<td>the named global color</td>
|
1430
|
+
<td class="enum_member_annotations"> </td>
|
750
1431
|
</tr>
|
751
1432
|
<tr>
|
752
|
-
<td
|
753
|
-
<td>
|
754
|
-
|
755
|
-
</tr>
|
756
|
-
</tbody>
|
757
|
-
</table></div>
|
758
|
-
<p class="since">Since 1.6</p>
|
759
|
-
</div>
|
760
|
-
<hr>
|
761
|
-
<div class="refsect2">
|
762
|
-
<a name="clutter-color-from-string"></a><h3>clutter_color_from_string ()</h3>
|
763
|
-
<pre class="programlisting"><span class="returnvalue">gboolean</span> clutter_color_from_string (<em class="parameter"><code><a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a> *color</code></em>,
|
764
|
-
<em class="parameter"><code>const <span class="type">gchar</span> *str</code></em>);</pre>
|
765
|
-
<p>
|
766
|
-
Parses a string definition of a color, filling the
|
767
|
-
<em class="structfield"><code>red</code></em>, <em class="structfield"><code>green</code></em>,
|
768
|
-
<em class="structfield"><code>blue</code></em> and <em class="structfield"><code>alpha</code></em>
|
769
|
-
channels of <em class="parameter"><code>color</code></em>.
|
770
|
-
</p>
|
771
|
-
<p>
|
772
|
-
The <em class="parameter"><code>color</code></em> is not allocated.
|
773
|
-
</p>
|
774
|
-
<p>
|
775
|
-
The format of <em class="parameter"><code>str</code></em> can be either one of:
|
776
|
-
</p>
|
777
|
-
<p>
|
778
|
-
</p>
|
779
|
-
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
|
780
|
-
<li class="listitem"><p>a standard name (as taken from the X11 rgb.txt file)</p></li>
|
781
|
-
<li class="listitem"><p>an hexadecimal value in the form: <code class="literal">#rgb</code>,
|
782
|
-
<code class="literal">#rrggbb</code>, <code class="literal">#rgba</code> or
|
783
|
-
<code class="literal">#rrggbbaa</code></p></li>
|
784
|
-
<li class="listitem"><p>a RGB color in the form: <code class="literal">rgb(r, g, b)</code></p></li>
|
785
|
-
<li class="listitem"><p>a RGB color in the form: <code class="literal">rgba(r, g, b, a)</code></p></li>
|
786
|
-
<li class="listitem"><p>a HSL color in the form: <code class="literal">hsl(h, s, l)</code></p></li>
|
787
|
-
<li class="listitem"><p>a HSL color in the form: <code class="literal">hsla(h, s, l, a)</code></p></li>
|
788
|
-
</ul></div>
|
789
|
-
<p>
|
790
|
-
</p>
|
791
|
-
<p>
|
792
|
-
where 'r', 'g', 'b' and 'a' are (respectively) the red, green, blue color
|
793
|
-
intensities and the opacity. The 'h', 's' and 'l' are (respectively) the
|
794
|
-
hue, saturation and luminance values.
|
795
|
-
</p>
|
796
|
-
<p>
|
797
|
-
In the <code class="function">rgb()</code> and <code class="function">rgba()</code> formats, the 'r', 'g', and 'b' values are either
|
798
|
-
integers between 0 and 255, or percentage values in the range between 0%
|
799
|
-
and 100%; the percentages require the '%' character. The 'a' value, if
|
800
|
-
specified, can only be a floating point value between 0.0 and 1.0.
|
801
|
-
</p>
|
802
|
-
<p>
|
803
|
-
In the <code class="function">hls()</code> and <code class="function">hlsa()</code> formats, the 'h' value (hue) it's an angle between
|
804
|
-
0 and 360.0 degrees; the 'l' and 's' values (luminance and saturation) are
|
805
|
-
a floating point value between 0.0 and 1.0. The 'a' value, if specified,
|
806
|
-
can only be a floating point value between 0.0 and 1.0.
|
807
|
-
</p>
|
808
|
-
<p>
|
809
|
-
Whitespace inside the definitions is ignored; no leading whitespace
|
810
|
-
is allowed.
|
811
|
-
</p>
|
812
|
-
<p>
|
813
|
-
If the alpha component is not specified then it is assumed to be set to
|
814
|
-
be fully opaque.
|
815
|
-
</p>
|
816
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
817
|
-
<colgroup>
|
818
|
-
<col align="left" valign="top">
|
819
|
-
<col>
|
820
|
-
</colgroup>
|
821
|
-
<tbody>
|
822
|
-
<tr>
|
823
|
-
<td><p><span class="term"><em class="parameter"><code>color</code></em> :</span></p></td>
|
824
|
-
<td>return location for a <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a>. <span class="annotation">[<acronym title="Out parameter, where caller must allocate storage."><span class="acronym">out caller-allocates</span></acronym>]</span>
|
1433
|
+
<td class="enum_member_name"><p><a name="CLUTTER-COLOR-ORANGE:CAPS"></a>CLUTTER_COLOR_ORANGE</p></td>
|
1434
|
+
<td class="enum_member_description">
|
1435
|
+
<p>Orange color (f57900ff)</p>
|
825
1436
|
</td>
|
1437
|
+
<td class="enum_member_annotations"> </td>
|
826
1438
|
</tr>
|
827
1439
|
<tr>
|
828
|
-
<td
|
829
|
-
<td
|
830
|
-
</
|
831
|
-
<tr>
|
832
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
833
|
-
<td>
|
834
|
-
<code class="literal">TRUE</code> if parsing succeeded, and <code class="literal">FALSE</code> otherwise</td>
|
835
|
-
</tr>
|
836
|
-
</tbody>
|
837
|
-
</table></div>
|
838
|
-
<p class="since">Since 1.0</p>
|
839
|
-
</div>
|
840
|
-
<hr>
|
841
|
-
<div class="refsect2">
|
842
|
-
<a name="clutter-color-to-string"></a><h3>clutter_color_to_string ()</h3>
|
843
|
-
<pre class="programlisting"><span class="returnvalue">gchar</span> * clutter_color_to_string (<em class="parameter"><code>const <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a> *color</code></em>);</pre>
|
844
|
-
<p>
|
845
|
-
Returns a textual specification of <em class="parameter"><code>color</code></em> in the hexadecimal form
|
846
|
-
<code class="literal">#rrggbbaa</code>, where <code class="literal">r</code>,
|
847
|
-
<code class="literal">g</code>, <code class="literal">b</code> and <code class="literal">a</code> are
|
848
|
-
hexadecimal digits representing the red, green, blue and alpha components
|
849
|
-
respectively.
|
850
|
-
</p>
|
851
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
852
|
-
<colgroup>
|
853
|
-
<col align="left" valign="top">
|
854
|
-
<col>
|
855
|
-
</colgroup>
|
856
|
-
<tbody>
|
857
|
-
<tr>
|
858
|
-
<td><p><span class="term"><em class="parameter"><code>color</code></em> :</span></p></td>
|
859
|
-
<td>a <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a>
|
1440
|
+
<td class="enum_member_name"><p><a name="CLUTTER-COLOR-ORANGE-LIGHT:CAPS"></a>CLUTTER_COLOR_ORANGE_LIGHT</p></td>
|
1441
|
+
<td class="enum_member_description">
|
1442
|
+
<p>Light orange color (fcaf3fff)</p>
|
860
1443
|
</td>
|
1444
|
+
<td class="enum_member_annotations"> </td>
|
861
1445
|
</tr>
|
862
1446
|
<tr>
|
863
|
-
<td
|
864
|
-
<td
|
1447
|
+
<td class="enum_member_name"><p><a name="CLUTTER-COLOR-ORANGE-DARK:CAPS"></a>CLUTTER_COLOR_ORANGE_DARK</p></td>
|
1448
|
+
<td class="enum_member_description">
|
1449
|
+
<p>Dark orange color (ce5c00ff)</p>
|
865
1450
|
</td>
|
1451
|
+
<td class="enum_member_annotations"> </td>
|
866
1452
|
</tr>
|
867
|
-
</tbody>
|
868
|
-
</table></div>
|
869
|
-
<p class="since">Since 0.2</p>
|
870
|
-
</div>
|
871
|
-
<hr>
|
872
|
-
<div class="refsect2">
|
873
|
-
<a name="clutter-color-from-hls"></a><h3>clutter_color_from_hls ()</h3>
|
874
|
-
<pre class="programlisting"><span class="returnvalue">void</span> clutter_color_from_hls (<em class="parameter"><code><a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a> *color</code></em>,
|
875
|
-
<em class="parameter"><code><span class="type">gfloat</span> hue</code></em>,
|
876
|
-
<em class="parameter"><code><span class="type">gfloat</span> luminance</code></em>,
|
877
|
-
<em class="parameter"><code><span class="type">gfloat</span> saturation</code></em>);</pre>
|
878
|
-
<p>
|
879
|
-
Converts a color expressed in HLS (hue, luminance and saturation)
|
880
|
-
values into a <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a>.
|
881
|
-
</p>
|
882
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
883
|
-
<colgroup>
|
884
|
-
<col align="left" valign="top">
|
885
|
-
<col>
|
886
|
-
</colgroup>
|
887
|
-
<tbody>
|
888
1453
|
<tr>
|
889
|
-
<td
|
890
|
-
<td
|
1454
|
+
<td class="enum_member_name"><p><a name="CLUTTER-COLOR-CHOCOLATE:CAPS"></a>CLUTTER_COLOR_CHOCOLATE</p></td>
|
1455
|
+
<td class="enum_member_description">
|
1456
|
+
<p>Chocolate color (c17d11ff)</p>
|
891
1457
|
</td>
|
1458
|
+
<td class="enum_member_annotations"> </td>
|
892
1459
|
</tr>
|
893
1460
|
<tr>
|
894
|
-
<td
|
895
|
-
<td
|
896
|
-
</
|
897
|
-
<tr>
|
898
|
-
<td><p><span class="term"><em class="parameter"><code>luminance</code></em> :</span></p></td>
|
899
|
-
<td>luminance value, in the 0 .. 1 range</td>
|
900
|
-
</tr>
|
901
|
-
<tr>
|
902
|
-
<td><p><span class="term"><em class="parameter"><code>saturation</code></em> :</span></p></td>
|
903
|
-
<td>saturation value, in the 0 .. 1 range</td>
|
904
|
-
</tr>
|
905
|
-
</tbody>
|
906
|
-
</table></div>
|
907
|
-
</div>
|
908
|
-
<hr>
|
909
|
-
<div class="refsect2">
|
910
|
-
<a name="clutter-color-to-hls"></a><h3>clutter_color_to_hls ()</h3>
|
911
|
-
<pre class="programlisting"><span class="returnvalue">void</span> clutter_color_to_hls (<em class="parameter"><code>const <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a> *color</code></em>,
|
912
|
-
<em class="parameter"><code><span class="type">gfloat</span> *hue</code></em>,
|
913
|
-
<em class="parameter"><code><span class="type">gfloat</span> *luminance</code></em>,
|
914
|
-
<em class="parameter"><code><span class="type">gfloat</span> *saturation</code></em>);</pre>
|
915
|
-
<p>
|
916
|
-
Converts <em class="parameter"><code>color</code></em> to the HLS format.
|
917
|
-
</p>
|
918
|
-
<p>
|
919
|
-
The <em class="parameter"><code>hue</code></em> value is in the 0 .. 360 range. The <em class="parameter"><code>luminance</code></em> and
|
920
|
-
<em class="parameter"><code>saturation</code></em> values are in the 0 .. 1 range.
|
921
|
-
</p>
|
922
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
923
|
-
<colgroup>
|
924
|
-
<col align="left" valign="top">
|
925
|
-
<col>
|
926
|
-
</colgroup>
|
927
|
-
<tbody>
|
928
|
-
<tr>
|
929
|
-
<td><p><span class="term"><em class="parameter"><code>color</code></em> :</span></p></td>
|
930
|
-
<td>a <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a>
|
1461
|
+
<td class="enum_member_name"><p><a name="CLUTTER-COLOR-CHOCOLATE-LIGHT:CAPS"></a>CLUTTER_COLOR_CHOCOLATE_LIGHT</p></td>
|
1462
|
+
<td class="enum_member_description">
|
1463
|
+
<p>Light chocolate color (e9b96eff)</p>
|
931
1464
|
</td>
|
1465
|
+
<td class="enum_member_annotations"> </td>
|
932
1466
|
</tr>
|
933
1467
|
<tr>
|
934
|
-
<td
|
935
|
-
<td
|
1468
|
+
<td class="enum_member_name"><p><a name="CLUTTER-COLOR-CHOCOLATE-DARK:CAPS"></a>CLUTTER_COLOR_CHOCOLATE_DARK</p></td>
|
1469
|
+
<td class="enum_member_description">
|
1470
|
+
<p>Dark chocolate color (8f5902ff)</p>
|
936
1471
|
</td>
|
1472
|
+
<td class="enum_member_annotations"> </td>
|
937
1473
|
</tr>
|
938
1474
|
<tr>
|
939
|
-
<td
|
940
|
-
<td
|
1475
|
+
<td class="enum_member_name"><p><a name="CLUTTER-COLOR-CHAMELEON:CAPS"></a>CLUTTER_COLOR_CHAMELEON</p></td>
|
1476
|
+
<td class="enum_member_description">
|
1477
|
+
<p>Chameleon color (73d216ff)</p>
|
941
1478
|
</td>
|
1479
|
+
<td class="enum_member_annotations"> </td>
|
942
1480
|
</tr>
|
943
1481
|
<tr>
|
944
|
-
<td
|
945
|
-
<td
|
1482
|
+
<td class="enum_member_name"><p><a name="CLUTTER-COLOR-CHAMELEON-LIGHT:CAPS"></a>CLUTTER_COLOR_CHAMELEON_LIGHT</p></td>
|
1483
|
+
<td class="enum_member_description">
|
1484
|
+
<p>Light chameleon color (8ae234ff)</p>
|
946
1485
|
</td>
|
1486
|
+
<td class="enum_member_annotations"> </td>
|
947
1487
|
</tr>
|
948
|
-
</tbody>
|
949
|
-
</table></div>
|
950
|
-
</div>
|
951
|
-
<hr>
|
952
|
-
<div class="refsect2">
|
953
|
-
<a name="clutter-color-from-pixel"></a><h3>clutter_color_from_pixel ()</h3>
|
954
|
-
<pre class="programlisting"><span class="returnvalue">void</span> clutter_color_from_pixel (<em class="parameter"><code><a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a> *color</code></em>,
|
955
|
-
<em class="parameter"><code><span class="type">guint32</span> pixel</code></em>);</pre>
|
956
|
-
<p>
|
957
|
-
Converts <em class="parameter"><code>pixel</code></em> from the packed representation of a four 8 bit channel
|
958
|
-
color to a <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a>.
|
959
|
-
</p>
|
960
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
961
|
-
<colgroup>
|
962
|
-
<col align="left" valign="top">
|
963
|
-
<col>
|
964
|
-
</colgroup>
|
965
|
-
<tbody>
|
966
1488
|
<tr>
|
967
|
-
<td
|
968
|
-
<td
|
1489
|
+
<td class="enum_member_name"><p><a name="CLUTTER-COLOR-CHAMELEON-DARK:CAPS"></a>CLUTTER_COLOR_CHAMELEON_DARK</p></td>
|
1490
|
+
<td class="enum_member_description">
|
1491
|
+
<p>Dark chameleon color (4e9a06ff)</p>
|
969
1492
|
</td>
|
1493
|
+
<td class="enum_member_annotations"> </td>
|
970
1494
|
</tr>
|
971
1495
|
<tr>
|
972
|
-
<td
|
973
|
-
<td
|
974
|
-
</
|
975
|
-
</tbody>
|
976
|
-
</table></div>
|
977
|
-
</div>
|
978
|
-
<hr>
|
979
|
-
<div class="refsect2">
|
980
|
-
<a name="clutter-color-to-pixel"></a><h3>clutter_color_to_pixel ()</h3>
|
981
|
-
<pre class="programlisting"><span class="returnvalue">guint32</span> clutter_color_to_pixel (<em class="parameter"><code>const <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a> *color</code></em>);</pre>
|
982
|
-
<p>
|
983
|
-
Converts <em class="parameter"><code>color</code></em> into a packed 32 bit integer, containing
|
984
|
-
all the four 8 bit channels used by <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a>.
|
985
|
-
</p>
|
986
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
987
|
-
<colgroup>
|
988
|
-
<col align="left" valign="top">
|
989
|
-
<col>
|
990
|
-
</colgroup>
|
991
|
-
<tbody>
|
992
|
-
<tr>
|
993
|
-
<td><p><span class="term"><em class="parameter"><code>color</code></em> :</span></p></td>
|
994
|
-
<td>a <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a>
|
1496
|
+
<td class="enum_member_name"><p><a name="CLUTTER-COLOR-SKY-BLUE:CAPS"></a>CLUTTER_COLOR_SKY_BLUE</p></td>
|
1497
|
+
<td class="enum_member_description">
|
1498
|
+
<p>Sky color (3465a4ff)</p>
|
995
1499
|
</td>
|
1500
|
+
<td class="enum_member_annotations"> </td>
|
996
1501
|
</tr>
|
997
1502
|
<tr>
|
998
|
-
<td
|
999
|
-
<td
|
1000
|
-
</
|
1001
|
-
</tbody>
|
1002
|
-
</table></div>
|
1003
|
-
</div>
|
1004
|
-
<hr>
|
1005
|
-
<div class="refsect2">
|
1006
|
-
<a name="clutter-color-add"></a><h3>clutter_color_add ()</h3>
|
1007
|
-
<pre class="programlisting"><span class="returnvalue">void</span> clutter_color_add (<em class="parameter"><code>const <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a> *a</code></em>,
|
1008
|
-
<em class="parameter"><code>const <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a> *b</code></em>,
|
1009
|
-
<em class="parameter"><code><a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a> *result</code></em>);</pre>
|
1010
|
-
<p>
|
1011
|
-
Adds <em class="parameter"><code>a</code></em> to <em class="parameter"><code>b</code></em> and saves the resulting color inside <em class="parameter"><code>result</code></em>.
|
1012
|
-
</p>
|
1013
|
-
<p>
|
1014
|
-
The alpha channel of <em class="parameter"><code>result</code></em> is set as as the maximum value
|
1015
|
-
between the alpha channels of <em class="parameter"><code>a</code></em> and <em class="parameter"><code>b</code></em>.
|
1016
|
-
</p>
|
1017
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
1018
|
-
<colgroup>
|
1019
|
-
<col align="left" valign="top">
|
1020
|
-
<col>
|
1021
|
-
</colgroup>
|
1022
|
-
<tbody>
|
1023
|
-
<tr>
|
1024
|
-
<td><p><span class="term"><em class="parameter"><code>a</code></em> :</span></p></td>
|
1025
|
-
<td>a <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a>
|
1503
|
+
<td class="enum_member_name"><p><a name="CLUTTER-COLOR-SKY-BLUE-LIGHT:CAPS"></a>CLUTTER_COLOR_SKY_BLUE_LIGHT</p></td>
|
1504
|
+
<td class="enum_member_description">
|
1505
|
+
<p>Light sky color (729fcfff)</p>
|
1026
1506
|
</td>
|
1507
|
+
<td class="enum_member_annotations"> </td>
|
1027
1508
|
</tr>
|
1028
1509
|
<tr>
|
1029
|
-
<td
|
1030
|
-
<td
|
1510
|
+
<td class="enum_member_name"><p><a name="CLUTTER-COLOR-SKY-BLUE-DARK:CAPS"></a>CLUTTER_COLOR_SKY_BLUE_DARK</p></td>
|
1511
|
+
<td class="enum_member_description">
|
1512
|
+
<p>Dark sky color (204a87ff)</p>
|
1031
1513
|
</td>
|
1514
|
+
<td class="enum_member_annotations"> </td>
|
1032
1515
|
</tr>
|
1033
1516
|
<tr>
|
1034
|
-
<td
|
1035
|
-
<td
|
1517
|
+
<td class="enum_member_name"><p><a name="CLUTTER-COLOR-PLUM:CAPS"></a>CLUTTER_COLOR_PLUM</p></td>
|
1518
|
+
<td class="enum_member_description">
|
1519
|
+
<p>Plum color (75507bff)</p>
|
1036
1520
|
</td>
|
1521
|
+
<td class="enum_member_annotations"> </td>
|
1037
1522
|
</tr>
|
1038
|
-
</tbody>
|
1039
|
-
</table></div>
|
1040
|
-
</div>
|
1041
|
-
<hr>
|
1042
|
-
<div class="refsect2">
|
1043
|
-
<a name="clutter-color-subtract"></a><h3>clutter_color_subtract ()</h3>
|
1044
|
-
<pre class="programlisting"><span class="returnvalue">void</span> clutter_color_subtract (<em class="parameter"><code>const <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a> *a</code></em>,
|
1045
|
-
<em class="parameter"><code>const <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a> *b</code></em>,
|
1046
|
-
<em class="parameter"><code><a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a> *result</code></em>);</pre>
|
1047
|
-
<p>
|
1048
|
-
Subtracts <em class="parameter"><code>b</code></em> from <em class="parameter"><code>a</code></em> and saves the resulting color inside <em class="parameter"><code>result</code></em>.
|
1049
|
-
</p>
|
1050
|
-
<p>
|
1051
|
-
This function assumes that the components of <em class="parameter"><code>a</code></em> are greater than the
|
1052
|
-
components of <em class="parameter"><code>b</code></em>; the result is, otherwise, undefined.
|
1053
|
-
</p>
|
1054
|
-
<p>
|
1055
|
-
The alpha channel of <em class="parameter"><code>result</code></em> is set as the minimum value
|
1056
|
-
between the alpha channels of <em class="parameter"><code>a</code></em> and <em class="parameter"><code>b</code></em>.
|
1057
|
-
</p>
|
1058
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
1059
|
-
<colgroup>
|
1060
|
-
<col align="left" valign="top">
|
1061
|
-
<col>
|
1062
|
-
</colgroup>
|
1063
|
-
<tbody>
|
1064
1523
|
<tr>
|
1065
|
-
<td
|
1066
|
-
<td
|
1524
|
+
<td class="enum_member_name"><p><a name="CLUTTER-COLOR-PLUM-LIGHT:CAPS"></a>CLUTTER_COLOR_PLUM_LIGHT</p></td>
|
1525
|
+
<td class="enum_member_description">
|
1526
|
+
<p>Light plum color (ad7fa8ff)</p>
|
1067
1527
|
</td>
|
1528
|
+
<td class="enum_member_annotations"> </td>
|
1068
1529
|
</tr>
|
1069
1530
|
<tr>
|
1070
|
-
<td
|
1071
|
-
<td
|
1531
|
+
<td class="enum_member_name"><p><a name="CLUTTER-COLOR-PLUM-DARK:CAPS"></a>CLUTTER_COLOR_PLUM_DARK</p></td>
|
1532
|
+
<td class="enum_member_description">
|
1533
|
+
<p>Dark plum color (5c3566ff)</p>
|
1072
1534
|
</td>
|
1535
|
+
<td class="enum_member_annotations"> </td>
|
1073
1536
|
</tr>
|
1074
1537
|
<tr>
|
1075
|
-
<td
|
1076
|
-
<td
|
1538
|
+
<td class="enum_member_name"><p><a name="CLUTTER-COLOR-SCARLET-RED:CAPS"></a>CLUTTER_COLOR_SCARLET_RED</p></td>
|
1539
|
+
<td class="enum_member_description">
|
1540
|
+
<p>Scarlet red color (cc0000ff)</p>
|
1077
1541
|
</td>
|
1542
|
+
<td class="enum_member_annotations"> </td>
|
1078
1543
|
</tr>
|
1079
|
-
</tbody>
|
1080
|
-
</table></div>
|
1081
|
-
</div>
|
1082
|
-
<hr>
|
1083
|
-
<div class="refsect2">
|
1084
|
-
<a name="clutter-color-lighten"></a><h3>clutter_color_lighten ()</h3>
|
1085
|
-
<pre class="programlisting"><span class="returnvalue">void</span> clutter_color_lighten (<em class="parameter"><code>const <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a> *color</code></em>,
|
1086
|
-
<em class="parameter"><code><a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a> *result</code></em>);</pre>
|
1087
|
-
<p>
|
1088
|
-
Lightens <em class="parameter"><code>color</code></em> by a fixed amount, and saves the changed color
|
1089
|
-
in <em class="parameter"><code>result</code></em>.
|
1090
|
-
</p>
|
1091
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
1092
|
-
<colgroup>
|
1093
|
-
<col align="left" valign="top">
|
1094
|
-
<col>
|
1095
|
-
</colgroup>
|
1096
|
-
<tbody>
|
1097
1544
|
<tr>
|
1098
|
-
<td
|
1099
|
-
<td
|
1545
|
+
<td class="enum_member_name"><p><a name="CLUTTER-COLOR-SCARLET-RED-LIGHT:CAPS"></a>CLUTTER_COLOR_SCARLET_RED_LIGHT</p></td>
|
1546
|
+
<td class="enum_member_description">
|
1547
|
+
<p>Light scarlet red color (ef2929ff)</p>
|
1100
1548
|
</td>
|
1549
|
+
<td class="enum_member_annotations"> </td>
|
1101
1550
|
</tr>
|
1102
1551
|
<tr>
|
1103
|
-
<td
|
1104
|
-
<td
|
1552
|
+
<td class="enum_member_name"><p><a name="CLUTTER-COLOR-SCARLET-RED-DARK:CAPS"></a>CLUTTER_COLOR_SCARLET_RED_DARK</p></td>
|
1553
|
+
<td class="enum_member_description">
|
1554
|
+
<p>Dark scarlet red color (a40000ff)</p>
|
1105
1555
|
</td>
|
1556
|
+
<td class="enum_member_annotations"> </td>
|
1106
1557
|
</tr>
|
1107
|
-
</tbody>
|
1108
|
-
</table></div>
|
1109
|
-
</div>
|
1110
|
-
<hr>
|
1111
|
-
<div class="refsect2">
|
1112
|
-
<a name="clutter-color-darken"></a><h3>clutter_color_darken ()</h3>
|
1113
|
-
<pre class="programlisting"><span class="returnvalue">void</span> clutter_color_darken (<em class="parameter"><code>const <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a> *color</code></em>,
|
1114
|
-
<em class="parameter"><code><a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a> *result</code></em>);</pre>
|
1115
|
-
<p>
|
1116
|
-
Darkens <em class="parameter"><code>color</code></em> by a fixed amount, and saves the changed color
|
1117
|
-
in <em class="parameter"><code>result</code></em>.
|
1118
|
-
</p>
|
1119
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
1120
|
-
<colgroup>
|
1121
|
-
<col align="left" valign="top">
|
1122
|
-
<col>
|
1123
|
-
</colgroup>
|
1124
|
-
<tbody>
|
1125
1558
|
<tr>
|
1126
|
-
<td
|
1127
|
-
<td
|
1559
|
+
<td class="enum_member_name"><p><a name="CLUTTER-COLOR-ALUMINIUM-1:CAPS"></a>CLUTTER_COLOR_ALUMINIUM_1</p></td>
|
1560
|
+
<td class="enum_member_description">
|
1561
|
+
<p>Aluminium, first variant (eeeeecff)</p>
|
1128
1562
|
</td>
|
1563
|
+
<td class="enum_member_annotations"> </td>
|
1129
1564
|
</tr>
|
1130
1565
|
<tr>
|
1131
|
-
<td
|
1132
|
-
<td
|
1566
|
+
<td class="enum_member_name"><p><a name="CLUTTER-COLOR-ALUMINIUM-2:CAPS"></a>CLUTTER_COLOR_ALUMINIUM_2</p></td>
|
1567
|
+
<td class="enum_member_description">
|
1568
|
+
<p>Aluminium, second variant (d3d7cfff)</p>
|
1133
1569
|
</td>
|
1570
|
+
<td class="enum_member_annotations"> </td>
|
1134
1571
|
</tr>
|
1135
|
-
</tbody>
|
1136
|
-
</table></div>
|
1137
|
-
</div>
|
1138
|
-
<hr>
|
1139
|
-
<div class="refsect2">
|
1140
|
-
<a name="clutter-color-shade"></a><h3>clutter_color_shade ()</h3>
|
1141
|
-
<pre class="programlisting"><span class="returnvalue">void</span> clutter_color_shade (<em class="parameter"><code>const <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a> *color</code></em>,
|
1142
|
-
<em class="parameter"><code><span class="type">gdouble</span> factor</code></em>,
|
1143
|
-
<em class="parameter"><code><a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a> *result</code></em>);</pre>
|
1144
|
-
<p>
|
1145
|
-
Shades <em class="parameter"><code>color</code></em> by <em class="parameter"><code>factor</code></em> and saves the modified color into <em class="parameter"><code>result</code></em>.
|
1146
|
-
</p>
|
1147
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
1148
|
-
<colgroup>
|
1149
|
-
<col align="left" valign="top">
|
1150
|
-
<col>
|
1151
|
-
</colgroup>
|
1152
|
-
<tbody>
|
1153
1572
|
<tr>
|
1154
|
-
<td
|
1155
|
-
<td
|
1573
|
+
<td class="enum_member_name"><p><a name="CLUTTER-COLOR-ALUMINIUM-3:CAPS"></a>CLUTTER_COLOR_ALUMINIUM_3</p></td>
|
1574
|
+
<td class="enum_member_description">
|
1575
|
+
<p>Aluminium, third variant (babdb6ff)</p>
|
1156
1576
|
</td>
|
1577
|
+
<td class="enum_member_annotations"> </td>
|
1157
1578
|
</tr>
|
1158
1579
|
<tr>
|
1159
|
-
<td
|
1160
|
-
<td
|
1161
|
-
</
|
1162
|
-
<tr>
|
1163
|
-
<td><p><span class="term"><em class="parameter"><code>result</code></em> :</span></p></td>
|
1164
|
-
<td>return location for the shaded color. <span class="annotation">[<acronym title="Out parameter, where caller must allocate storage."><span class="acronym">out caller-allocates</span></acronym>]</span>
|
1580
|
+
<td class="enum_member_name"><p><a name="CLUTTER-COLOR-ALUMINIUM-4:CAPS"></a>CLUTTER_COLOR_ALUMINIUM_4</p></td>
|
1581
|
+
<td class="enum_member_description">
|
1582
|
+
<p>Aluminium, fourth variant (888a85ff)</p>
|
1165
1583
|
</td>
|
1584
|
+
<td class="enum_member_annotations"> </td>
|
1166
1585
|
</tr>
|
1167
|
-
</tbody>
|
1168
|
-
</table></div>
|
1169
|
-
</div>
|
1170
|
-
<hr>
|
1171
|
-
<div class="refsect2">
|
1172
|
-
<a name="clutter-color-interpolate"></a><h3>clutter_color_interpolate ()</h3>
|
1173
|
-
<pre class="programlisting"><span class="returnvalue">void</span> clutter_color_interpolate (<em class="parameter"><code>const <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a> *initial</code></em>,
|
1174
|
-
<em class="parameter"><code>const <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a> *final</code></em>,
|
1175
|
-
<em class="parameter"><code><span class="type">gdouble</span> progress</code></em>,
|
1176
|
-
<em class="parameter"><code><a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a> *result</code></em>);</pre>
|
1177
|
-
<p>
|
1178
|
-
Interpolates between <em class="parameter"><code>initial</code></em> and <em class="parameter"><code>final</code></em> <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a>s
|
1179
|
-
using <em class="parameter"><code>progress</code></em>
|
1180
|
-
</p>
|
1181
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
1182
|
-
<colgroup>
|
1183
|
-
<col align="left" valign="top">
|
1184
|
-
<col>
|
1185
|
-
</colgroup>
|
1186
|
-
<tbody>
|
1187
1586
|
<tr>
|
1188
|
-
<td
|
1189
|
-
<td
|
1587
|
+
<td class="enum_member_name"><p><a name="CLUTTER-COLOR-ALUMINIUM-5:CAPS"></a>CLUTTER_COLOR_ALUMINIUM_5</p></td>
|
1588
|
+
<td class="enum_member_description">
|
1589
|
+
<p>Aluminium, fifth variant (555753ff)</p>
|
1190
1590
|
</td>
|
1591
|
+
<td class="enum_member_annotations"> </td>
|
1191
1592
|
</tr>
|
1192
1593
|
<tr>
|
1193
|
-
<td
|
1194
|
-
<td
|
1594
|
+
<td class="enum_member_name"><p><a name="CLUTTER-COLOR-ALUMINIUM-6:CAPS"></a>CLUTTER_COLOR_ALUMINIUM_6</p></td>
|
1595
|
+
<td class="enum_member_description">
|
1596
|
+
<p>Aluminium, sixth variant (2e3436ff)</p>
|
1195
1597
|
</td>
|
1598
|
+
<td class="enum_member_annotations"> </td>
|
1196
1599
|
</tr>
|
1197
1600
|
<tr>
|
1198
|
-
<td
|
1199
|
-
<td
|
1200
|
-
</
|
1201
|
-
<tr>
|
1202
|
-
<td><p><span class="term"><em class="parameter"><code>result</code></em> :</span></p></td>
|
1203
|
-
<td>return location for the interpolation. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span>
|
1601
|
+
<td class="enum_member_name"><p><a name="CLUTTER-COLOR-TRANSPARENT:CAPS"></a>CLUTTER_COLOR_TRANSPARENT</p></td>
|
1602
|
+
<td class="enum_member_description">
|
1603
|
+
<p>Transparent color (00000000)</p>
|
1204
1604
|
</td>
|
1605
|
+
<td class="enum_member_annotations"> </td>
|
1205
1606
|
</tr>
|
1206
1607
|
</tbody>
|
1207
1608
|
</table></div>
|
1609
|
+
</div>
|
1208
1610
|
<p class="since">Since 1.6</p>
|
1209
1611
|
</div>
|
1210
1612
|
<hr>
|
@@ -1214,147 +1616,29 @@ using <em class="parameter"><code>progress</code></em>
|
|
1214
1616
|
ClutterColor *default_value;
|
1215
1617
|
};
|
1216
1618
|
</pre>
|
1217
|
-
<p>
|
1218
|
-
|
1219
|
-
|
1220
|
-
</
|
1221
|
-
<div class="
|
1619
|
+
<p>A <span class="type">GParamSpec</span> subclass for defining properties holding
|
1620
|
+
a <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a>.</p>
|
1621
|
+
<div class="refsect3">
|
1622
|
+
<a name="id-1.7.2.2.7.4.5"></a><h4>Members</h4>
|
1623
|
+
<div class="informaltable"><table width="100%" border="0">
|
1222
1624
|
<colgroup>
|
1223
|
-
<col
|
1224
|
-
<col>
|
1625
|
+
<col width="300px" class="struct_members_name">
|
1626
|
+
<col class="struct_members_description">
|
1627
|
+
<col width="200px" class="struct_members_annotations">
|
1225
1628
|
</colgroup>
|
1226
1629
|
<tbody><tr>
|
1227
|
-
<td
|
1228
|
-
<td>default color value</td>
|
1630
|
+
<td class="struct_member_name"><p><a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a> *<em class="structfield"><code><a name="ClutterParamSpecColor.default-value"></a>default_value</code></em>;</p></td>
|
1631
|
+
<td class="struct_member_description"><p>default color value</p></td>
|
1632
|
+
<td class="struct_member_annotations"> </td>
|
1229
1633
|
</tr></tbody>
|
1230
1634
|
</table></div>
|
1231
|
-
<p class="since">Since 1.0</p>
|
1232
|
-
</div>
|
1233
|
-
<hr>
|
1234
|
-
<div class="refsect2">
|
1235
|
-
<a name="clutter-param-spec-color"></a><h3>clutter_param_spec_color ()</h3>
|
1236
|
-
<pre class="programlisting"><span class="returnvalue">GParamSpec</span> * clutter_param_spec_color (<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
|
1237
|
-
<em class="parameter"><code>const <span class="type">gchar</span> *nick</code></em>,
|
1238
|
-
<em class="parameter"><code>const <span class="type">gchar</span> *blurb</code></em>,
|
1239
|
-
<em class="parameter"><code>const <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a> *default_value</code></em>,
|
1240
|
-
<em class="parameter"><code><span class="type">GParamFlags</span> flags</code></em>);</pre>
|
1241
|
-
<p>
|
1242
|
-
Creates a <span class="type">GParamSpec</span> for properties using <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a>.
|
1243
|
-
</p>
|
1244
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
1245
|
-
<colgroup>
|
1246
|
-
<col align="left" valign="top">
|
1247
|
-
<col>
|
1248
|
-
</colgroup>
|
1249
|
-
<tbody>
|
1250
|
-
<tr>
|
1251
|
-
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
|
1252
|
-
<td>name of the property</td>
|
1253
|
-
</tr>
|
1254
|
-
<tr>
|
1255
|
-
<td><p><span class="term"><em class="parameter"><code>nick</code></em> :</span></p></td>
|
1256
|
-
<td>short name</td>
|
1257
|
-
</tr>
|
1258
|
-
<tr>
|
1259
|
-
<td><p><span class="term"><em class="parameter"><code>blurb</code></em> :</span></p></td>
|
1260
|
-
<td>description (can be translatable)</td>
|
1261
|
-
</tr>
|
1262
|
-
<tr>
|
1263
|
-
<td><p><span class="term"><em class="parameter"><code>default_value</code></em> :</span></p></td>
|
1264
|
-
<td>default value</td>
|
1265
|
-
</tr>
|
1266
|
-
<tr>
|
1267
|
-
<td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td>
|
1268
|
-
<td>flags for the param spec</td>
|
1269
|
-
</tr>
|
1270
|
-
<tr>
|
1271
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1272
|
-
<td>the newly created <span class="type">GParamSpec</span>
|
1273
|
-
</td>
|
1274
|
-
</tr>
|
1275
|
-
</tbody>
|
1276
|
-
</table></div>
|
1277
|
-
<p class="since">Since 0.8.4</p>
|
1278
1635
|
</div>
|
1279
|
-
<hr>
|
1280
|
-
<div class="refsect2">
|
1281
|
-
<a name="CLUTTER-VALUE-HOLDS-COLOR:CAPS"></a><h3>CLUTTER_VALUE_HOLDS_COLOR()</h3>
|
1282
|
-
<pre class="programlisting">#define CLUTTER_VALUE_HOLDS_COLOR(x) (G_VALUE_HOLDS ((x), CLUTTER_TYPE_COLOR))
|
1283
|
-
</pre>
|
1284
|
-
<p>
|
1285
|
-
Evaluates to <code class="literal">TRUE</code> if <em class="parameter"><code>x</code></em> holds a <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a>.
|
1286
|
-
</p>
|
1287
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
1288
|
-
<colgroup>
|
1289
|
-
<col align="left" valign="top">
|
1290
|
-
<col>
|
1291
|
-
</colgroup>
|
1292
|
-
<tbody><tr>
|
1293
|
-
<td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
|
1294
|
-
<td>a <span class="type">GValue</span>
|
1295
|
-
</td>
|
1296
|
-
</tr></tbody>
|
1297
|
-
</table></div>
|
1298
1636
|
<p class="since">Since 1.0</p>
|
1299
1637
|
</div>
|
1300
|
-
<hr>
|
1301
|
-
<div class="refsect2">
|
1302
|
-
<a name="clutter-value-set-color"></a><h3>clutter_value_set_color ()</h3>
|
1303
|
-
<pre class="programlisting"><span class="returnvalue">void</span> clutter_value_set_color (<em class="parameter"><code><span class="type">GValue</span> *value</code></em>,
|
1304
|
-
<em class="parameter"><code>const <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a> *color</code></em>);</pre>
|
1305
|
-
<p>
|
1306
|
-
Sets <em class="parameter"><code>value</code></em> to <em class="parameter"><code>color</code></em>.
|
1307
|
-
</p>
|
1308
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
1309
|
-
<colgroup>
|
1310
|
-
<col align="left" valign="top">
|
1311
|
-
<col>
|
1312
|
-
</colgroup>
|
1313
|
-
<tbody>
|
1314
|
-
<tr>
|
1315
|
-
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
1316
|
-
<td>a <span class="type">GValue</span> initialized to <span class="type">CLUTTER_TYPE_COLOR</span>
|
1317
|
-
</td>
|
1318
|
-
</tr>
|
1319
|
-
<tr>
|
1320
|
-
<td><p><span class="term"><em class="parameter"><code>color</code></em> :</span></p></td>
|
1321
|
-
<td>the color to set</td>
|
1322
|
-
</tr>
|
1323
|
-
</tbody>
|
1324
|
-
</table></div>
|
1325
|
-
<p class="since">Since 0.8.4</p>
|
1326
|
-
</div>
|
1327
|
-
<hr>
|
1328
|
-
<div class="refsect2">
|
1329
|
-
<a name="clutter-value-get-color"></a><h3>clutter_value_get_color ()</h3>
|
1330
|
-
<pre class="programlisting">const <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="returnvalue">ClutterColor</span></a> * clutter_value_get_color (<em class="parameter"><code>const <span class="type">GValue</span> *value</code></em>);</pre>
|
1331
|
-
<p>
|
1332
|
-
Gets the <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a> contained in <em class="parameter"><code>value</code></em>.
|
1333
|
-
</p>
|
1334
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
1335
|
-
<colgroup>
|
1336
|
-
<col align="left" valign="top">
|
1337
|
-
<col>
|
1338
|
-
</colgroup>
|
1339
|
-
<tbody>
|
1340
|
-
<tr>
|
1341
|
-
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
1342
|
-
<td>a <span class="type">GValue</span> initialized to <span class="type">CLUTTER_TYPE_COLOR</span>
|
1343
|
-
</td>
|
1344
|
-
</tr>
|
1345
|
-
<tr>
|
1346
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1347
|
-
<td>the color inside the passed <span class="type">GValue</span>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
1348
|
-
</td>
|
1349
|
-
</tr>
|
1350
|
-
</tbody>
|
1351
|
-
</table></div>
|
1352
|
-
<p class="since">Since 0.8.4</p>
|
1353
|
-
</div>
|
1354
1638
|
</div>
|
1355
1639
|
</div>
|
1356
1640
|
<div class="footer">
|
1357
1641
|
<hr>
|
1358
|
-
Generated by GTK-Doc V1.
|
1642
|
+
Generated by GTK-Doc V1.20.1</div>
|
1359
1643
|
</body>
|
1360
1644
|
</html>
|