Public Members |
 |  | | Graphics () |
 |  | | default constructor.
|
 |  | bool | lock () |
 |  | | EVERY GRAPHICAL OP LOCKS THE BView's LOOPER, WHICH IS A MAIN BOTTLENECK THAT WE SHOULD ADDRESS... More...
|
 |  | void | unlock () |
 |  | void | init ( KWnd* pWnd, rgb_color cfg, rgb_color cbg, BFont* fnt) |
 |  | | called by graInitGraphics, Graphics must already be locked.
|
 |  | void | restoreBrush () |
 |  | void | selectNullBrush () |
 |  | void | restorePen () |
 |  | void | selectNullPen () |
 |  | void | setFont ( BFont * fnt) |
 |  | void | setXORMode ( rgb_color xorClr) |
 |  | void | setPaintMode () |
 |  | bool | setBackground ( rgb_color irgb) |
 |  | bool | setForeground ( rgb_color irgb) |
 |  | bool | fillRect ( int x, int y, int w, int h, rgb_color clr) |
 |  | void | drawRect ( int x, int y, int w, int h ) |
 |  | void | drawLine ( int x1, int y1, int x2, int y2) |
 |  | void | drawText ( int x, int y, TCHAR* txt, int len) |
 |  | void | translate ( int x, int y) |
 |  | void | cleanUp () |
 |  | void | setClip ( int x, int y, int w, int h, bool set) |
 |  | | UNIMPLEMENTED.
|
 |  | BRegion | oldreg |
 |  | BRegion | newreg |
 |  | KWnd* | wnd |
 |  | BPoint | cliOff |
 |  | char | xor |
 |  | rgb_color | xclr |
 |  | int | x0 |
 |  | int | y0 |