MCPcopy Create free account
hub / github.com/LibreSprite/LibreSprite / composite_image

Function composite_image

src/render/render.cpp:1003–1016  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1001}
1002
1003void composite_image(Image* dst,
1004 const Image* src,
1005 const Palette* pal,
1006 const int x,
1007 const int y,
1008 const int opacity,
1009 const BlendMode blendMode)
1010{
1011 // As the background is not rendered in renderImage(), we don't need
1012 // to configure the Render instance's BgType.
1013 Render().renderImage(
1014 dst, src, pal, x, y, Zoom(1, 1),
1015 opacity, blendMode);
1016}
1017
1018} // namespace render

Callers 5

onExecuteMethod · 0.85
onExecuteMethod · 0.85
onExecuteMethod · 0.85
onExecuteMethod · 0.85
create_cel_copyFunction · 0.85

Calls 3

RenderClass · 0.85
renderImageMethod · 0.80
ZoomClass · 0.70

Tested by

no test coverage detected