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

Method Rasterize

libraries/ZWidget/src/core/pathfill.cpp:123–131  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

121/////////////////////////////////////////////////////////////////////////////
122
123void PathFillDesc::Rasterize(uint8_t* dest, int width, int height, bool blend)
124{
125 if (!blend)
126 {
127 memset(dest, 0, width * height);
128 }
129 PathFillRasterizer rasterizer;
130 rasterizer.Rasterize(*this, dest, width, height);
131}
132
133/////////////////////////////////////////////////////////////////////////////
134

Callers 1

LoadGlyphMethod · 0.80

Calls 5

EndFunction · 0.85
FillFunction · 0.85
LineClass · 0.50
resizeMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected