Vector Graphics
Vector shape rendering.
Classes
-
VectorPath— Represents a vector path containing curves and geometric shapes that can be rasterized to any dimension.
Structs
-
VectorGraphicsSettings— Settings that control how is a VectorPath drawn. -
VectorGraphicsPaint— Represents a solid color or a gradient to paint vector path fill or stroke. -
VectorGraphicsPaint::SolidPaint -
VectorGraphicsPaint::LinearGradientPaint -
VectorGraphicsPaint::BoxGradientPaint -
VectorGraphicsPaint::RadialGradientPaint -
VectorPathState— Represents all the common state of VectorPath, required for executing fill & stroke commands. -
VectorPathCommand— Represents a single command recorded by a VectorPath. -
VectorPathCommand::FillCommand— Draws the fill using the state at the provided index. -
VectorPathCommand::StrokeCommand— Draws the stroke using the state at the provided index. -
VectorPathCommand::SetDrawCursorCommand— Moves the cursor to a particular location without drawing anything . -
VectorPathCommand::SetPathSolidityCommand— Changes path solidity, which determines if we're drawing new solid shapes or holes in existing shapes. -
VectorPathCommand::DrawLineToCommand— Draws a line from the current cursor location to the provided cursor location. -
VectorPathCommand::DrawArcToCommand— Draws an arc from the current cursor location. -
VectorPathCommand::DrawCubicBezierToCommand— Draws a cubic bezier curve from the current cursor location. -
VectorPathCommand::DrawQuadraticBezierToCommand— Draws a quadratic bezier curve from the current cursor location. -
VectorPathCommand::DrawRectangleCommand— Draws a rectangle. -
VectorPathCommand::DrawRoundedRectangleCommand— Draws a rectangle with rounded corners. -
VectorPathCommand::DrawEllipseCommand— Draws an ellipse. -
VectorPathCommand::DrawArcCommand— Draws an arc.
Enums
-
VectorGraphicsRasterizationScaling— Determines how to scale path canvas when rasterizing for a particular size. -
VectorGraphicsPaintType— Type of paints supported by VectorPath. -
VectorGraphicsBlendMode— Determines how are vector paths internally blended with each other. -
VectorGraphicsPathWinding— Determines in what order are the path indices sent to the renderer. -
VectorGraphicsPathSolidity— Determines if the path we are drawing represents a solid path (default) or a hole in an existing path. -
VectorGraphicsLineCapType— Determines how is the start/end of a line drawn. -
VectorGraphicsLineJoinStyle— Determines how are sharp corners drawn. -
VectorPathCommandType— Types of commands as recorded by the vector path.
Internal
Symbols intended for engine-internal use. Not part of the public API.
Classes
-
render::VectorPathRenderable— Allows a vector path to be rasterized into pixels. -
render::VectorGraphicsMaterial— Material used for drawing NanoVG path elements. -
render::NVGVectorPathRenderable— VectorPathRenderable implementation that uses NanoVG for rasterizing a VectorPath.
Structs
-
NVGVertex— Represents a single vertex used for drawing NanoVG path elements. -
NVGRenderUniforms— Represents uniform parameters required for drawing a NanoVG path element. -
NVGRenderCommand— Contains information about drawing a single NanoVG path element. -
render::VectorGraphicsRenderUniformDefinition— Base class for all uniform buffers. -
render::VectorGraphicsRenderUniformDefinition::META_FirstEntry -
render::VectorGraphicsRenderUniformDefinition::META_NextEntry_gScissorMatrix -
render::VectorGraphicsRenderUniformDefinition::META_NextEntry_gPaintMatrix -
render::VectorGraphicsRenderUniformDefinition::META_NextEntry_gInnerColor -
render::VectorGraphicsRenderUniformDefinition::META_NextEntry_gOuterColor -
render::VectorGraphicsRenderUniformDefinition::META_NextEntry_gScissorExtents -
render::VectorGraphicsRenderUniformDefinition::META_NextEntry_gScissorScale -
render::VectorGraphicsRenderUniformDefinition::META_NextEntry_gExtent -
render::VectorGraphicsRenderUniformDefinition::META_NextEntry_gRadius -
render::VectorGraphicsRenderUniformDefinition::META_NextEntry_gFeather -
render::VectorGraphicsRenderUniformDefinition::META_NextEntry_gStrokeMultiplier -
render::VectorGraphicsRenderUniformDefinition::META_NextEntry_gStrokeThreshold -
render::VectorGraphicsViewUniformDefinition— Base class for all uniform buffers. -
render::VectorGraphicsViewUniformDefinition::META_FirstEntry -
render::VectorGraphicsViewUniformDefinition::META_NextEntry_gViewportOffset -
render::VectorGraphicsViewUniformDefinition::META_NextEntry_gInverseViewportHalfSize -
render::VectorGraphicsViewUniformDefinition::META_NextEntry_gViewportYFlip -
render::NVGPathRenderData— Mesh data and render commands required for rendering a NanoVG path. -
render::NVGVectorPathRenderable::RenderGpuBuffers— GPU buffers holding the vertex, index and uniform parameter information. -
render::NVGVectorPathRenderable::NVGRenderContext— Context that will be filled by NanoVG callbacks when executing NanoVG path commands.
Enums
-
NVGRenderCommandType— Type of command that determines how is a path element rendered. -
NVGDrawMode— Determines the shader variation to use for rendering a single pass of a path element.