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

Method drawTiledImage

source/windowing/StarCanvasWidget.cpp:50–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48}
49
50void CanvasWidget::drawTiledImage(String texName, float textureScale, Vec2D const& offset, RectF const& screenCoords, Vec4B const& color) {
51 m_renderOps.append(make_tuple(std::move(texName), textureScale, offset, screenCoords, color));
52}
53
54void CanvasWidget::drawLine(Vec2F const& begin, Vec2F const end, Vec4B const& color, float lineWidth) {
55 m_renderOps.append(make_tuple(begin, end, color, lineWidth));

Callers 1

makeMethod · 0.80

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected