Class DTextDrawable

Inherits from:
Object
Conforms to:
DDrawable
Declared in:
DTextScreen.h

Class Hierarchy

    Object
      |
      +---DTextDrawable

Class Description

The DTextDrawable class implements a class with the shared methods between the text screen class and the text surface class. It contains the methods for drawing, clipping, color.. The x and y positions start from zero, so the screen size is 0..maxX and 0..maxY (inclusive). ToDo: crossings between drawn lines, font class, drawing boxes, circles..

Direct subclasses:
DTextScreen, DTextSurface
Last modified:
23-Jul-2006 (DTextScreen.h)

Instance Variables

protected unsigned _maxX
the right x-position of the drawable
protected unsigned _maxY
the bottom y-position of the drawable
protected unsigned _attribute
the current color attributes
private unsigned _clipMinX
the left x-position for the clip area
private unsigned _clipMaxX
the right x-position for the clip area
private unsigned _clipMinY
the top y-position for the clip area
private unsigned _clipMaxY
the bottom y-position for the clip area
private unsigned _cursorX
the x-position of the cursor
private unsigned _cursorY
the y-position of the cursor
private BOOL _drawing
is drawing active ?
private DColor *_fgc
the foreground color
private DColor *_bgc
the background color
private int _lineType
the last line type

Method Index


generated 25-Jul-2006 by ObjcDoc 3.0.0