MCPcopy Create free account
hub / github.com/OpenXcom/OpenXcom / draw

Method draw

src/Engine/Surface.cpp:488–492  ·  view source on GitHub ↗

* Draws the graphic that the surface contains before it * gets blitted onto other surfaces. The surface is only * redrawn if the flag is set by a property change, to * avoid unecessary drawing. */

Source from the content-addressed store, hash-verified

486 * avoid unecessary drawing.
487 */
488void Surface::draw()
489{
490 _redraw = false;
491 clear();
492}
493
494/**
495 * Blits this surface onto another one, with its position

Callers 3

initMethod · 0.45
redrawTextMethod · 0.45
setPaletteMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected