Module beamui.graphics.swrast
Utilities for software rasterization.
Polygon rasterizer is a rework of stb_truetype.h rasterizers by Sean Barrett.
Clipping and line rasterization is partly from Rosetta Code.
Import line
import beamui .graphics .swrast;
Functions
Name | Description |
---|---|
rasterizeLine(p0, p1, params, plotter)
|
|
rasterizePolygons(points, contours, params, plotter)
|
|
rasterizeTrapezoidChain(chain, params, plotter)
|
Interfaces
Name | Description |
---|---|
Plotter
|
Structs
Name | Description |
---|---|
HorizEdge
|
|
RastParams
|
Enums
Name | Description |
---|---|
RastFillRule
|