Package: gdk

CStruct gdk-rgba

Superclasses

common-lisp:structure-object, common-lisp:t

Documented Subclasses

None

Details

The gdk-rgba structure is used to represent a (possibly translucent) color, in a way that is compatible with cairos notion of color.
(define-g-boxed-cstruct gdk-rgba "GdkRGBA"
  (red :double :initform 0.0d0)
  (green :double :initform 0.0d0)
  (blue :double :initform 0.0d0)
  (alpha :double :initform 0.0d0))  
red
The intensity of the red channel from 0.0 to 1.0 inclusive.
green
The intensity of the green channel from 0.0 to 1.0 inclusive.
blue
The intensity of the blue channel from 0.0 to 1.0 inclusive.
alpha
The opacity of the color from 0.0 for completely translucent to 1.0 for opaque.
 

Returned by

Slot Access Functions

2013-8-17