Public Member Functions | |
| PainterScreen (Window *pWindow) | |
| void | FillRect (Rect rRect) |
| void | DrawLine (const Point &pFrom, const Point &pTo) |
| void | DrawImage (Image *pImage, const Point &pPos) |
| void | DrawImage (Image *pImage, const Rect &rDest, const Rect &rSource) |
| void | DrawImageTile (Image *pImage, const Rect &rDest, const Rect &rSource) |
| void | DrawGlyph (sGlyph *pGlyph, const Point &pPos) |
| void | DrawEllipse (const Point &nCenter, int iRadiusX, int iRadiusY) |
| void | FillEllipse (const Point &nCenter, int iRadiusX, int iRadiusY) |
| bool | IntersectWithClip (Rect &rRect) |
| bool | IntersectsWithClip (const Rect &rRect) |
| Point | GetDeviceScrollOffset () |
| Window * | GetWindow () |
| void | Swap (Rect *rRect) |
| virtual Rect | GetBounds () |
| virtual void | Scroll (const Rect &rRect, const Point &pScrollBy) |
| virtual void | DrawGlyphImage (Image *pImage, const Point &pPos) |
Use this Painter class to draw directly in the window content. Every Window instance automatically creates such a PainterScreen class in the Windows constructor. You should use Window::GetPainter() to obtain the windows painter instead of createing one manually.
| PainterScreen::PainterScreen | ( | Window * | pWindow | ) |
| void PainterScreen::FillRect | ( | Rect | rRect | ) | [virtual] |
Reimplemented from SkyGI::Painter.
Reimplemented from SkyGI::Painter.
Reimplemented from SkyGI::Painter.
| void PainterScreen::DrawImage | ( | Image * | pImage, | |
| const Rect & | rDest, | |||
| const Rect & | rSource | |||
| ) | [virtual] |
Reimplemented from SkyGI::Painter.
| void PainterScreen::DrawImageTile | ( | Image * | pImage, | |
| const Rect & | rDest, | |||
| const Rect & | rSource | |||
| ) | [virtual] |
Reimplemented from SkyGI::Painter.
Reimplemented from SkyGI::Painter.
| void PainterScreen::DrawEllipse | ( | const Point & | nCenter, | |
| int | iRadiusX, | |||
| int | iRadiusY | |||
| ) | [virtual] |
Reimplemented from SkyGI::Painter.
| void PainterScreen::FillEllipse | ( | const Point & | nCenter, | |
| int | iRadiusX, | |||
| int | iRadiusY | |||
| ) | [virtual] |
Reimplemented from SkyGI::Painter.
| bool PainterScreen::IntersectWithClip | ( | Rect & | rRect | ) | [virtual] |
Reimplemented from SkyGI::Painter.
| bool PainterScreen::IntersectsWithClip | ( | const Rect & | rRect | ) | [virtual] |
Reimplemented from SkyGI::Painter.
| Point PainterScreen::GetDeviceScrollOffset | ( | ) | [virtual] |
Reimplemented from SkyGI::Painter.
| Window* SkyGI::PainterScreen::GetWindow | ( | ) | [inline] |
| void PainterScreen::Swap | ( | Rect * | rRect | ) | [virtual] |
Reimplemented from SkyGI::Painter.
| Rect PainterScreen::GetBounds | ( | ) | [virtual] |
Reimplemented from SkyGI::Painter.
Reimplemented from SkyGI::Painter.
Reimplemented from SkyGI::Painter.
1.5.1-p1