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

Method drawRect

source/windowing/StarCanvasWidget.cpp:58–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56}
57
58void CanvasWidget::drawRect(RectF const& coords, Vec4B const& color) {
59 m_renderOps.append(make_tuple(coords, color));
60}
61
62void CanvasWidget::drawPoly(PolyF const& poly, Vec4B const& color, float lineWidth) {
63 m_renderOps.append(make_tuple(poly, color, lineWidth));

Callers 1

makeMethod · 0.80

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected