[previous] [up] [next]     [contents] [index]
Next: begin-drawing Up: Class Reference Previous: ok?

wx:dc%

Superclass: wx:object%

A wx:dc% object is a device context onto which graphics and text can be drawn. It represents a number of output devices in a generic way; e.g. a canvas has a device context and a printer also has a device context.

An instance of wx:dc% cannot be created directly. Instead, instances of wx:dc% subclasses can be created, such as wx:memory-dc%.

The drawing methods, such as draw-rectangle, accept inexact real values as arguments, but the results are only defined when the drawing coordinates are in the range -16383 to 16383. This restriction applies to the coordinates both before and after offsets and scaling factors are applied.

Methods:



PLT