MCPcopy Create free account
hub / github.com/OpenLoco/OpenLoco / fillRect

Method fillRect

src/OpenLoco/src/Graphics/SoftwareDrawingContext.cpp:1044–1048  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1042 }
1043
1044 void SoftwareDrawingContext::fillRect(int16_t left, int16_t top, int16_t right, int16_t bottom, uint8_t colour, RectFlags flags)
1045 {
1046 auto& rt = currentRenderTarget();
1047 return Impl::fillRect(rt, left, top, right, bottom, colour, flags);
1048 }
1049
1050 void SoftwareDrawingContext::drawRect(int16_t x, int16_t y, uint16_t dx, uint16_t dy, uint8_t colour, RectFlags flags)
1051 {

Callers 15

drawMethod · 0.45
drawMethod · 0.45
draw_3Function · 0.45
drawMethod · 0.45
drawHScrollFunction · 0.45
drawVScrollFunction · 0.45
drawBoxedFunction · 0.45
drawMethod · 0.45
drawSearchBoxFunction · 0.45
drawScrollFunction · 0.45
drawVehicleOnMapFunction · 0.45

Calls 1

fillRectFunction · 0.85

Tested by 1

drawScrollFunction · 0.36