SkyGI::PainterScreen Class Reference

Inheritance diagram for SkyGI::PainterScreen:
[legend]
Collaboration diagram for SkyGI::PainterScreen:
[legend]
List of all members.

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 ()
WindowGetWindow ()
void Swap (Rect *rRect)
virtual Rect GetBounds ()
virtual void Scroll (const Rect &rRect, const Point &pScrollBy)
virtual void DrawGlyphImage (Image *pImage, const Point &pPos)

Detailed Description

PainterScreen

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.

See also:
Painter, PainterImage, PainterAgg


Constructor & Destructor Documentation

PainterScreen::PainterScreen ( Window pWindow  ) 


Member Function Documentation

void PainterScreen::FillRect ( Rect  rRect  )  [virtual]

Reimplemented from SkyGI::Painter.

void PainterScreen::DrawLine ( const Point pFrom,
const Point pTo 
) [virtual]

Reimplemented from SkyGI::Painter.

void PainterScreen::DrawImage ( Image pImage,
const Point pPos 
) [virtual]

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.

void PainterScreen::DrawGlyph ( sGlyph pGlyph,
const Point pPos 
) [virtual]

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.

void PainterScreen::Scroll ( const Rect rRect,
const Point pScrollBy 
) [virtual]

Reimplemented from SkyGI::Painter.

void PainterScreen::DrawGlyphImage ( Image pImage,
const Point pPos 
) [virtual]

Reimplemented from SkyGI::Painter.


Generated on Thu Dec 13 18:14:36 2007 for SkyGI by  doxygen 1.5.1-p1