MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / drawInterfacePolyLines

Method drawInterfacePolyLines

source/windowing/StarGuiContext.cpp:207–210  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

205}
206
207void GuiContext::drawInterfacePolyLines(PolyF poly, Vec4B const& color, float lineWidth) {
208 poly.scale(interfaceScale());
209 drawPolyLines(poly, color, lineWidth * interfaceScale());
210}
211
212void GuiContext::drawInterfaceQuad(RectF const& screenCoords, Vec4B const& color) {
213 drawQuad(screenCoords.scaled(interfaceScale()), color);

Callers 2

renderPolyMethod · 0.80
renderImplMethod · 0.80

Calls 1

scaleMethod · 0.45

Tested by

no test coverage detected