pub struct GsvTextOutline { /* private fields */ }Expand description
Stroked text outline with optional transformation.
Composes ConvStroke<GsvText> (for stroke width) with
ConvTransform<ConvStroke<GsvText>> (for affine transform).
Port of C++ gsv_text_outline<Transformer>.
Implementations§
Source§impl GsvTextOutline
impl GsvTextOutline
pub fn new(text: GsvText, trans: TransAffine) -> Self
pub fn set_width(&mut self, w: f64)
pub fn set_transform(&mut self, trans: TransAffine)
Trait Implementations§
Source§impl VertexSource for GsvTextOutline
impl VertexSource for GsvTextOutline
Auto Trait Implementations§
impl Freeze for GsvTextOutline
impl RefUnwindSafe for GsvTextOutline
impl Send for GsvTextOutline
impl Sync for GsvTextOutline
impl Unpin for GsvTextOutline
impl UnwindSafe for GsvTextOutline
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more