void Surface::transBlitFrom(const Surface &src, const Common::Point &pt, bool flipped, int overrideColor, int scaleVal) { const Graphics::Surface &s = src._surface; transBlitFrom(s, pt, flipped, overrideColor, scaleVal); }
void Surface::transBlitFrom(const ImageFrame &src, const Common::Point &pt, bool flipped, int overrideColor, int scaleVal) { transBlitFrom(src._frame, pt + src._offset, flipped, overrideColor, scaleVal); }
void ASurface::sPlotB(SpriteFrame *frame, const Common::Rect &bounds) { ASurface flippedFrame; frame->flipHorizontal(flippedFrame); transBlitFrom(&flippedFrame, bounds); }
void ASurface::sPlotF(SpriteFrame *frame, const Common::Rect &bounds) { transBlitFrom(frame, bounds); }
void BaseSurface::sPlotB(SpriteFrame *frame, const Common::Rect &bounds) { transBlitFrom(*frame, Common::Rect(0, 0, frame->w, frame->h), bounds, TRANSPARENCY, true); }
void Surface::transBlitFrom(const ImageFrame &src, const Common::Point &pt, bool flipped, int overrideColor, int scaleVal) { Common::Point drawPt(pt.x + src.sDrawXOffset(scaleVal), pt.y + src.sDrawYOffset(scaleVal)); transBlitFrom(src._frame, drawPt, flipped, overrideColor, scaleVal); }