GC Class Reference

Inheritance diagram for GC:

ObjectG List of all members.

Detailed Description

The Graphics context representation.


Public Types

enum  
 Drawing modes. More...


Public Member Functions

 this (GdkGC *gc)
 Create a GC from a gdk gc.

GdkGC * getGDKgc ()
 Gets the gdk gc.

void getValues (GdkGCValues *values)
 Sets the GC values.

void setValues (GdkGCValues *values, GdkGCValuesMask values_mask)
 Sets the GC values limited to the values mask.

void setForeground (Color color)
 Sets the foreground color.

void setBackground (Color color)
 Sets the background color.

void setFunction (int funct)
 Sets the drawing function.


Static Public Attributes

enum GC:: { ... }  gObject
 Drawing modes.


Member Enumeration Documentation

anonymous enum
 

Drawing modes.


Member Function Documentation

GdkGC* GC.getGDKgc  ) 
 

Gets the gdk gc.

Returns:
the gdk gc

void GC.getValues GdkGCValues *  values  ) 
 

Sets the GC values.

Todo:
class GCValues
Parameters:
values 

void GC.setBackground Color  color  ) 
 

Sets the background color.

Parameters:
color the new ackground color

void GC.setForeground Color  color  ) 
 

Sets the foreground color.

Parameters:
color the new foreground color

void GC.setFunction int  funct  ) 
 

Sets the drawing function.

Parameters:
funct the new drawing function

void GC.setValues GdkGCValues *  values,
GdkGCValuesMask  values_mask
 

Sets the GC values limited to the values mask.

Todo:
class GCValues
Parameters:
values 
values_mask 

GC.this GdkGC *  gc  ) 
 

Create a GC from a gdk gc.

Parameters:
gc the GdkGC


Member Data Documentation

enum { ... } GC.gObject [static]
 

Drawing modes.

Reimplemented from ObjectG.


SourceForge.net Logo