Gdk.GC Class
Represents a graphics context

See Also: GC Members

Syntax

public class GC : GLib.Object

Remarks

The Gdk.GC class is used to represent a graphics context.

A number of resources are used when performing graphics operations. Most information about performing graphics (for example, foreground color, background color, line style, and so on) is stored in resources called graphics contexts (GCs). Most graphics operations take a GC as an argument.

Graphics operations can be performed to either windows (Gdk.Window) or pixmaps (Gdk.Pixmap), which collectively are called drawables (Gdk.Drawable). Each drawable exists on a single screen. A GC is created for a specific screen and drawable depth and can only be used with drawables of matching screen and depth.

Requirements

Namespace: Gdk
Assembly: gdk-sharp (in gdk-sharp.dll)
Assembly Versions: 2.12.0.0