Expand description
Public Rust API for librsvg.
This gets re-exported from the toplevel lib.rs
.
Re-exports§
pub use crate::accept_language::AcceptLanguage;
pub use crate::accept_language::Language;
pub use crate::drawing_ctx::Viewport;
pub use crate::error::DefsLookupErrorKind;
pub use crate::error::ImplementationLimit;
pub use crate::error::LoadingError;
pub use crate::length::LengthUnit;
pub use crate::length::RsvgLength as Length;
Structs§
- Can render an
SvgHandle
to a Cairo context. - Contains the computed values of the
<svg>
element’swidth
,height
, andviewBox
. - Builder for loading an
SvgHandle
. - Handle used to hold SVG data in memory.
Enums§
- Errors that can happen while rendering or measuring an SVG document.
Constants§
Functions§
- Gets the user’s preferred locale from the environment and translates it to a
Locale
withLanguageRange
fallbacks.