MCPcopy Create free account
hub / github.com/OneLoneCoder/olcPixelGameEngine / DrawPartialSprite

Method DrawPartialSprite

olcPixelGameEngine.h:3393–3396  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3391 }
3392
3393 void PixelGameEngine::DrawPartialSprite(const olc::vi2d& pos, Sprite* sprite, const olc::vi2d& sourcepos, const olc::vi2d& size, uint32_t scale, uint8_t flip)
3394 {
3395 DrawPartialSprite(pos.x, pos.y, sprite, sourcepos.x, sourcepos.y, size.x, size.y, scale, flip);
3396 }
3397
3398 void PixelGameEngine::DrawPartialSprite(int32_t x, int32_t y, Sprite* sprite, int32_t ox, int32_t oy, int32_t w, int32_t h, uint32_t scale, uint8_t flip)
3399 {

Callers

nothing calls this directly

Calls 1

GetPixelMethod · 0.80

Tested by

no test coverage detected