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

Method drawLine

src/OpenLoco/src/Graphics/SoftwareDrawingContext.cpp:1068–1072  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1066 }
1067
1068 void SoftwareDrawingContext::drawLine(const Ui::Point& a, const Ui::Point& b, PaletteIndex_t colour)
1069 {
1070 auto& rt = currentRenderTarget();
1071 return Impl::drawLine(rt, a, b, colour);
1072 }
1073
1074 void SoftwareDrawingContext::drawCircle(const Ui::Point& centre, int32_t radius, int32_t lineWidth, PaletteIndex_t colour)
1075 {

Callers 5

drawGraphLineSegmentsFunction · 0.80
drawRouteLineFunction · 0.80
drawRoutesOnMapFunction · 0.80
drawFunction · 0.80
drawFunction · 0.80

Calls 1

drawLineFunction · 0.85

Tested by

no test coverage detected