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

Method drawImageRect

source/windowing/StarCanvasWidget.cpp:37–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35}
36
37void CanvasWidget::drawImageRect(String texName, RectF const& texCoords, RectF const& screenCoords, Vec4B const& color) {
38 m_renderOps.append(make_tuple(std::move(texName), texCoords, screenCoords, color));
39}
40
41void CanvasWidget::drawDrawable(Drawable drawable, Vec2F const& screenPos) {
42 m_renderOps.append(make_tuple(std::move(drawable), screenPos));

Callers 1

makeMethod · 0.80

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected