52 if (mTarget ==
nullptr ||
54 image->mSDLSurface ==
nullptr)
59 const SDL_Rect &imageRect = image->mBounds;
70 SDL_BlitSurface(image->mSDLSurface, &srcRect, mTarget, &dstRect);
75 SDL_BlitSurface(image->mSDLSurface, &srcRect, mTarget, &dstRect);
79 SurfaceImageHelper::combineSurface(image->mSDLSurface,
80 &srcRect, mTarget, &dstRect);
90 if (mTarget ==
nullptr ||
92 image->mSDLSurface ==
nullptr)
97 const SDL_Rect &imageRect = image->mBounds;
109 SDL_BlitSurface(image->mSDLSurface, &srcRect, mTarget, &dstRect);
112 SDL_BlitSurface(image->mSDLSurface, &srcRect, mTarget, &dstRect);
121 if (mTarget ==
nullptr ||
123 image->mSDLSurface ==
nullptr)
128 const SDL_Rect &rect = image->mBounds;
140 SDL_BlitSurface(image->mSDLSurface, &srcRect, mTarget, &dstRect);
145 SDL_BlitSurface(image->mSDLSurface, &srcRect, mTarget, &dstRect);
149 SurfaceImageHelper::combineSurface(image->mSDLSurface, &srcRect,
void copyImage(const Image *const image, int dstX, int dstY)
void drawImageCached(const Image *const image, int x, int y)
void drawImage(const Image *const image, int dstX, int dstY)
#define FUNC_BLOCK(name, id)