38 setTarget(SDL_GetVideoSurface());
41 void SdlGuiGraphics::drawImage(
const gcn::Image* image, int32_t srcX, int32_t srcY, int32_t dstX, int32_t dstY, int32_t width, int32_t height) {
46 const gcn::ClipRectangle& clip = getCurrentClipArea();
47 Rect rect(dstX, dstY, width, height);
48 rect.
x += clip.xOffset;
49 rect.
y += clip.yOffset;
SdlGuiGraphics()
Constructor.
virtual void drawImage(const gcn::Image *image, int32_t srcX, int32_t srcY, int32_t dstX, int32_t dstY, int32_t width, int32_t height)
virtual void render(const Rect &rect, uint8_t alpha=255, uint8_t const *rgb=0)=0
Renders itself to the current render target (main screen or attached destination image) at the rectan...
ImagePtr getFIFEImage() const