c
Import line: | Cogl = imports.gi.Cogl; |
GIR File: | Cogl-1.0.gir |
C documentation: | CoglColor |
Struct : | Color |
Properties | Defined By | |
---|---|---|
alpha : guint8
read only
|
Cogl.Color | |
blue : guint8
read only
|
Cogl.Color | |
green : guint8
read only
|
Cogl.Color | |
padding0 : guint32
read only
|
Cogl.Color | |
padding1 : guint32
read only
|
Cogl.Color | |
padding2 : guint32
read only
|
Cogl.Color | |
red : guint8
read only
|
Cogl.Color |
Method / Constructor | Defined By | |
---|---|---|
new Cogl.Color
()
Create a new Cogl.Color
Create a new Cogl.Color
|
||
free
()
:
none
|
Cogl.Color | |
get_alpha
()
:
gfloat
|
Cogl.Color | |
get_alpha_byte
()
:
guint8
|
Cogl.Color | |
get_alpha_float
()
:
gfloat
|
Cogl.Color | |
get_blue
()
:
gfloat
|
Cogl.Color | |
get_blue_byte
()
:
guint8
|
Cogl.Color | |
get_blue_float
()
:
gfloat
|
Cogl.Color | |
get_green
()
:
gfloat
|
Cogl.Color | |
get_green_byte
()
:
guint8
|
Cogl.Color | |
get_green_float
()
:
gfloat
|
Cogl.Color | |
get_red
()
:
gfloat
|
Cogl.Color | |
get_red_byte
()
:
guint8
|
Cogl.Color | |
get_red_float
()
:
gfloat
|
Cogl.Color | |
Cogl.Color | ||
init_from_4fv
(gfloat color_array)
:
none
|
Cogl.Color | |
Cogl.Color | ||
premultiply
()
:
none
|
Cogl.Color | |
set_alpha
(gfloat alpha)
:
none
|
Cogl.Color | |
set_alpha_byte
(guint8 alpha)
:
none
|
Cogl.Color | |
set_alpha_float
(gfloat alpha)
:
none
|
Cogl.Color | |
set_blue
(gfloat blue)
:
none
|
Cogl.Color | |
set_blue_byte
(guint8 blue)
:
none
|
Cogl.Color | |
set_blue_float
(gfloat blue)
:
none
|
Cogl.Color | |
Cogl.Color | ||
Cogl.Color | ||
set_green
(gfloat green)
:
none
|
Cogl.Color | |
set_green_byte
(guint8 green)
:
none
|
Cogl.Color | |
set_green_float
(gfloat green)
:
none
|
Cogl.Color | |
set_red
(gfloat red)
:
none
|
Cogl.Color | |
set_red_byte
(guint8 red)
:
none
|
Cogl.Color | |
set_red_float
(gfloat red)
:
none
|
Cogl.Color | |
unpremultiply
()
:
none
|
Cogl.Color |
None |
Class / Namespace | Method / Signal / Properties |
---|---|
Cogl
Method |
|
Cogl
Method |
|
Cogl
Method |
Cogl.set_source_color
(Color color)
:
none
|
Cogl.Material
Method |
get_ambient
(Color ambient)
:
none
|
Cogl.Material
Method |
get_color
()
:
Cogl.Color
|
Cogl.Material
Method |
get_diffuse
(Color diffuse)
:
none
|
Cogl.Material
Method |
get_emission
(Color emission)
:
none
|
Cogl.Material
Method |
get_specular
(Color specular)
:
none
|
Cogl.Material
Method |
set_ambient
(Color ambient)
:
none
|
Cogl.Material
Method |
set_ambient_and_diffuse
(Color color)
:
none
|
Cogl.Material
Method |
set_blend_constant
(Color constant_color)
:
none
|
Cogl.Material
Method |
set_color
(Color color)
:
none
|
Cogl.Material
Method |
set_diffuse
(Color diffuse)
:
none
|
Cogl.Material
Method |
set_emission
(Color emission)
:
none
|
Cogl.Material
Method |
|
Cogl.Material
Method |
set_specular
(Color specular)
:
none
|
Cogl.Pipeline
Method |
get_ambient
(Color ambient)
:
none
|
Cogl.Pipeline
Method |
get_color
()
:
Cogl.Color
|
Cogl.Pipeline
Method |
get_diffuse
(Color diffuse)
:
none
|
Cogl.Pipeline
Method |
get_emission
(Color emission)
:
none
|
Cogl.Pipeline
Method |
get_specular
(Color specular)
:
none
|
Cogl.Pipeline
Method |
set_ambient
(Color ambient)
:
none
|
Cogl.Pipeline
Method |
set_ambient_and_diffuse
(Color color)
:
none
|
Cogl.Pipeline
Method |
set_blend_constant
(Color constant_color)
:
none
|
Cogl.Pipeline
Method |
set_color
(Color color)
:
none
|
Cogl.Pipeline
Method |
set_diffuse
(Color diffuse)
:
none
|
Cogl.Pipeline
Method |
set_emission
(Color emission)
:
none
|
Cogl.Pipeline
Method |
|
Cogl.Pipeline
Method |
set_specular
(Color specular)
:
none
|