MCPcopy Create free account
hub / github.com/ZDoom/Raze / DrawLayoutImage

Method DrawLayoutImage

libraries/ZWidget/src/core/span_layout.cpp:108–111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

106}
107
108void SpanLayout::DrawLayoutImage(Canvas* canvas, Line& line, LineSegment& segment, double x, double y)
109{
110 canvas->drawImage(segment.image, Point(x + segment.x_position, y + line.ascender - segment.ascender));
111}
112
113void SpanLayout::DrawLayoutText(Canvas* canvas, Line& line, LineSegment& segment, double x, double y)
114{

Callers

nothing calls this directly

Calls 2

drawImageMethod · 0.80
PointClass · 0.50

Tested by

no test coverage detected