Public Member Functions | |
| PainterImage (Image *pImage) | |
| void | SetPixel (int iX, int iY) |
| Color | GetPixel (int iX, int iY) |
| 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) |
| bool | IntersectWithClip (Rect &rRect) |
| bool | IntersectsWithClip (const Rect &rRect) |
| void | DrawEllipse (const Point &nCenter, int iRadiusX, int iRadiusY) |
| void | FillEllipse (const Point &nCenter, int iRadiusX, int iRadiusY) |
| Point | GetDeviceScrollOffset () |
| Image * | GetImage () |
| virtual Rect | GetBounds () |
| virtual void | Scroll (const Rect &rRect, const Point &pScrollBy) |
Use this Painter class to draw directly into an Image.
| PainterImage::PainterImage | ( | Image * | pImage | ) |
| void PainterImage::SetPixel | ( | int | iX, | |
| int | iY | |||
| ) |
| Color PainterImage::GetPixel | ( | int | iX, | |
| int | iY | |||
| ) |
| void PainterImage::FillRect | ( | Rect | rRect | ) | [virtual] |
Reimplemented from SkyGI::Painter.
Reimplemented from SkyGI::Painter.
Reimplemented from SkyGI::Painter.
Reimplemented from SkyGI::Painter.
| void PainterImage::DrawImageTile | ( | Image * | pImage, | |
| const Rect & | rDest, | |||
| const Rect & | rSource | |||
| ) | [virtual] |
Reimplemented from SkyGI::Painter.
Reimplemented from SkyGI::Painter.
| bool PainterImage::IntersectWithClip | ( | Rect & | rRect | ) | [virtual] |
Reimplemented from SkyGI::Painter.
| bool PainterImage::IntersectsWithClip | ( | const Rect & | rRect | ) | [virtual] |
Reimplemented from SkyGI::Painter.
| void PainterImage::DrawEllipse | ( | const Point & | nCenter, | |
| int | iRadiusX, | |||
| int | iRadiusY | |||
| ) | [virtual] |
Reimplemented from SkyGI::Painter.
| void PainterImage::FillEllipse | ( | const Point & | nCenter, | |
| int | iRadiusX, | |||
| int | iRadiusY | |||
| ) | [virtual] |
Reimplemented from SkyGI::Painter.
| Point PainterImage::GetDeviceScrollOffset | ( | ) | [virtual] |
Reimplemented from SkyGI::Painter.
| Image* SkyGI::PainterImage::GetImage | ( | ) | [inline] |
| Rect PainterImage::GetBounds | ( | ) | [virtual] |
Reimplemented from SkyGI::Painter.
Reimplemented from SkyGI::Painter.
1.5.1-p1