|
| RenderSurface (int width, int height, const Graphics::PixelFormat &format) |
|
| RenderSurface (Graphics::ManagedSurface *s, DisposeAfterUse::Flag disposeAfterUse=DisposeAfterUse::YES) |
|
bool | BeginPainting () |
| Begin painting to the buffer. MUST BE CALLED BEFORE DOING ANYTHING TO THE SURFACE!
|
|
bool | EndPainting () |
| Finish paining to the buffer.
|
|
void | SetOrigin (int32 x, int32 y) |
| Set the Origin of the Surface.
|
|
void | GetOrigin (int32 &x, int32 &y) const |
| Set the Origin of the Surface.
|
|
void | GetSurfaceDims (Rect &) const |
| Get the Surface Dimensions.
|
|
void | GetClippingRect (Rect &) const |
| Get Clipping Rectangle.
|
|
void | SetClippingRect (const Rect &) |
| Set Clipping Rectangle.
|
|
void | SetFlipped (bool flipped) |
| Flip the surface.
|
|
bool | IsFlipped () const |
| Has the render surface been flipped?
|
|
Graphics::ManagedSurface * | getRawSurface () const |
| Get a reference to the underlying surface that's being encapsulated.
|
|
void | fillRect (const Rect &r, uint32 color) |
| Fill the region with a color in the pixel format.
|
|
void | frameRect (const Rect &r, uint32 color) |
| Fill the region with a color in the pixel format.
|
|
void | drawLine (int32 sx, int32 sy, int32 ex, int32 ey, uint32 color) |
|
void | fill32 (uint32 rgb, int32 sx, int32 sy, int32 w, int32 h) |
| Fill the region with a color in the TEX32_PACK_RGB format.
|
|
void | fill32 (uint32 rgb, const Rect &r) |
| Fill the region with a color in the TEX32_PACK_RGB format.
|
|
void | fillBlended (uint32 rgba, const Rect &r) |
| Fill the region doing alpha blending with a color in the TEX32_PACK_RGBA format.
|
|
void | frameRect32 (uint32 rgb, const Rect &r) |
| Fill the region with a color in the TEX32_PACK_RGB format.
|
|
void | drawLine32 (uint32 rgb, int32 sx, int32 sy, int32 ex, int32 ey) |
|
void | Paint (const Shape *s, uint32 frame, int32 x, int32 y, bool mirrored=false) |
| Paint a Shape.
|
|
void | PaintTranslucent (const Shape *s, uint32 frame, int32 x, int32 y, bool mirrored=false) |
| Paint a Translucent Shape.
|
|
void | PaintInvisible (const Shape *s, uint32 frame, int32 x, int32 y, bool trans, bool mirrored) |
| Paint an Invisible Shape.
|
|
void | PaintHighlight (const Shape *s, uint32 frame, int32 x, int32 y, bool trans, bool mirrored, uint32 col32) |
| Paint a Highlighted Shape of using the 32 Bit Colour col32 (0xAARRGGBB Alpha is blend level)
|
|
void | PaintHighlightInvis (const Shape *s, uint32 frame, int32 x, int32 y, bool trans, bool mirrored, uint32 col32) |
| Paint a Invisible Highlighted Shape of using the 32 Bit Colour col32 (0xAARRGGBB Alpha is blend level)
|
|
void | Blit (const Graphics::ManagedSurface &src, const Common::Rect &srcRect, int32 dx, int32 dy, bool alpha_blend=false) |
| Blit a region from a Texture (Alpha == 0 -> skipped)
|
|
void | CrossKeyBlitMap (const Graphics::Surface &src, const Common::Rect &srcRect, int32 dx, int32 dy, const uint32 *map, const uint32 key) |
|
void | FadedBlit (const Graphics::ManagedSurface &src, const Common::Rect &srcRect, int32 dx, int32 dy, uint32 col32, bool alpha_blend=false) |
| Blit a region from a Texture with a Colour blend (AlphaTex == 0 -> skipped. AlphaCol32 -> Blend Factors)
|
|
void | MaskedBlit (const Graphics::ManagedSurface &src, const Common::Rect &srcRect, int32 dx, int32 dy, uint32 col32, bool alpha_blend=false) |
| Blit a region from a Texture with a Colour blend masked based on DestAlpha (AlphaTex == 0 || AlphaDest == 0 -> skipped. AlphaCol32 -> Blend Factors)
|
|