MCPcopy Create free account
hub / github.com/LibreSprite/LibreSprite / drawAlignedUIString

Method drawAlignedUIString

src/ui/graphics.cpp:253–256  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

251}
252
253void Graphics::drawAlignedUIString(const std::string& str, gfx::Color fg, gfx::Color bg, const gfx::Rect& rc, int align)
254{
255 doUIStringAlgorithm(str, fg, bg, rc, align, true);
256}
257
258gfx::Size Graphics::measureChar(int chr)
259{

Callers 4

onPaintMethod · 0.80
onPaintMethod · 0.80
paintPopupWindowMethod · 0.80
paintTooltipMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected