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

Method drawDrawable

source/windowing/StarCanvasWidget.cpp:41–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39}
40
41void CanvasWidget::drawDrawable(Drawable drawable, Vec2F const& screenPos) {
42 m_renderOps.append(make_tuple(std::move(drawable), screenPos));
43}
44
45void CanvasWidget::drawDrawables(List<Drawable> drawables, Vec2F const& screenPos) {
46 for (auto& drawable : drawables)

Callers 1

renderDrawableMethod · 0.45

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected