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

Method drawInterfaceDrawable

source/windowing/StarGuiContext.cpp:199–201  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

197}
198
199void GuiContext::drawInterfaceDrawable(Drawable drawable, Vec2F const& screenPos, Vec4B const& color) {
200 drawDrawable(std::move(drawable), screenPos * interfaceScale(), (float)interfaceScale(), color);
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());

Callers 2

renderImplMethod · 0.80
renderImplMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected