Class

ClutterColorState

Description [src]

class Clutter.ColorState : GObject.Object
{
  /* No available fields */
}

Color state of each ClutterActor

The ClutterColorState class contains the colorspace of each color states (e.g. sRGB colorspace).

Each ClutterActor would own such an object.

A single ClutterColorState object can be shared by multiple ClutterActor or maybe a separate color state for each ClutterActor (depending on whether ClutterColorState would be statefull or stateless).

ClutterColorState, if not set during construction, it will default to sRGB color state

The ClutterColorState would have API to get the colorspace, whether the actor content is in pq or not, and things like that.

Hierarchy

hierarchy this ClutterColorState ancestor_0 GObject ancestor_0--this

Ancestors

Instance methods

clutter_color_state_equals
No description available.

clutter_color_state_get_blending

Retrieves a variant of color_state that is suitable for blending. This usually is a variant with linear transfer characteristics. If color_state already is a ClutterColorState suitable for blending, then color_state is returned.

clutter_color_state_get_context
No description available.

clutter_color_state_get_id
No description available.

clutter_color_state_get_luminance
No description available.

clutter_color_state_hash
No description available.

clutter_color_state_required_format
No description available.

clutter_color_state_to_string
No description available.

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

Clutter.ColorState:context

The associated ClutterContext.

Signals

Clutter.ColorState::destroyed
No description available.

Signals inherited from GObject (1)
GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

Class structure

struct ClutterColorStateClass {
  GObjectClass parent_class;
  gboolean (* equals) (
    ClutterColorState* color_state,
    ClutterColorState* other_color_state
  );
  char* (* to_string) (
    ClutterColorState* color_state
  );
  ClutterEncodingRequiredFormat (* required_format) (
    ClutterColorState* color_state
  );
  ClutterColorState* (* get_blending) (
    ClutterColorState* color_state,
    gboolean force
  );
  guint (* hash) (
    ClutterColorState* color_state
  );
  const ClutterLuminance* (* get_luminance) (
    ClutterColorState* color_state
  );
  
}

No description available.

Class members
parent_class: GObjectClass

No description available.

equals: gboolean (* equals) ( ClutterColorState* color_state, ClutterColorState* other_color_state )

No description available.

to_string: char* (* to_string) ( ClutterColorState* color_state )

No description available.

required_format: ClutterEncodingRequiredFormat (* required_format) ( ClutterColorState* color_state )

No description available.

get_blending: ClutterColorState* (* get_blending) ( ClutterColorState* color_state, gboolean force )

No description available.

hash: guint (* hash) ( ClutterColorState* color_state )

No description available.

get_luminance: const ClutterLuminance* (* get_luminance) ( ClutterColorState* color_state )

No description available.

Virtual methods

Clutter.ColorStateClass.equals
No description available.

Clutter.ColorStateClass.get_blending

Retrieves a variant of color_state that is suitable for blending. This usually is a variant with linear transfer characteristics. If color_state already is a ClutterColorState suitable for blending, then color_state is returned.

Clutter.ColorStateClass.get_luminance
No description available.

Clutter.ColorStateClass.hash
No description available.

Clutter.ColorStateClass.required_format
No description available.

Clutter.ColorStateClass.to_string
No description available.