A 32-bit color value. Used to fill or stroke paths with solid color.
A initialized NanoVG context - the central type which all operations rely on.
A builder that configures and constructs a NanoVG context.
Controls how filling in a path should look.
A handle to a font. Fonts are managed by the NanoVG context itself. View this type only as a 'reference' to a font.
A frame which can draw paths. All NanoVG path drawing operations are done on a frame.
An owned image.
Image pattern paint used to fill or stroke paths with image pattern.
Define intersection scissor which gets intersected with 'with' Scissor. Pixels drawn outside of this intersection are clipped. When 'with' Scissor or this Intersection have rotation, the intersection will be an approximation.
A path, the main type for most NanoVG drawing operations.
Options which control how a path is rendered.
A scissor defines a region on the screen in which drawing operations are allowed. Pixels drawn outside of this region are clipped.
Controls how stroking a path should look.
Struct to store min and max bounds when measuring text with text_bounds or text_box_bounds
Iterator over rows in text Returned by Context::text_break_lines
Iterator over text glyph positions, calculated by Context::text_glyph_positions
Struct to store measured text metrics computed with Context::text_metrics
Options which control the visual appearance of a text.
Holds computed values for given row.
Represents a transformation in 2D space.
Define how to clip specified region.
Gradient paint used to fill or stroke paths with gradient.
Controls how the end of line is drawn.
Controls how lines are joined together.
Winding enum that holds either Direction or Solidity enum These two are identical aliases. They are here for different meanings in different contexts