rootvg 0.1.0

A 2D vector graphics library optimized for GUIs
Documentation
#[derive(thiserror::Error, Debug)]
pub enum RenderError {
    #[cfg(feature = "text")]
    #[error("glyphon prepare error: {0}")]
    GlyphonPrepareError(#[from] crate::text::glyphon::PrepareError),

    #[cfg(feature = "text")]
    #[error("glyphon render error: {0}")]
    GlyphonRenderError(#[from] crate::text::glyphon::RenderError),

    #[cfg(feature = "custom-primitive")]
    #[error("custom pipeline prepare error: {0}")]
    CustomPipelinePrepareError(Box<dyn std::error::Error>),

    #[cfg(feature = "custom-primitive")]
    #[error("custom pipeline render error: {0}")]
    CustomPipelineRenderError(Box<dyn std::error::Error>),

    #[error("unkown render error")]
    Unkown,
}