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

Method drawInterfaceLine

source/windowing/StarGuiContext.cpp:203–205  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

201}
202
203void GuiContext::drawInterfaceLine(Vec2F const& begin, Vec2F const end, Vec4B const& color, float lineWidth) {
204 drawLine(begin * interfaceScale(), end * interfaceScale(), color, lineWidth * interfaceScale());
205}
206
207void GuiContext::drawInterfacePolyLines(PolyF poly, Vec4B const& color, float lineWidth) {
208 poly.scale(interfaceScale());

Callers 1

renderImplMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected