Structs

SDF output of a shape converted to an array of bytes using sdf_to_bitmap.

SDF output of a shape by [sdf_raster]

Enums

Functions

Rasterize a shape defined by lines

Samples a pixel value in sdf at (x, y). x and y being normalized coordinates between 0.0 and 1.0

Convert and SdfRaster into a SdfBitmap. A bitmap is usually what to you to send to store in a gpu texture.