[−][src]Trait piet_common::Text
Associated Types
type FontBuilder: FontBuilder
type Font: Font
type TextLayoutBuilder: TextLayoutBuilder
type TextLayout: TextLayout
Required methods
fn new_font_by_name(&mut self, name: &str, size: f64) -> Self::FontBuilder
fn new_text_layout(
&mut self,
font: &Self::Font,
text: &str
) -> Self::TextLayoutBuilder
&mut self,
font: &Self::Font,
text: &str
) -> Self::TextLayoutBuilder
Implementations on Foreign Types
impl<'a> Text for CairoText<'a>
[src]
type Font = CairoFont
type FontBuilder = CairoFontBuilder
type TextLayout = CairoTextLayout
type TextLayoutBuilder = CairoTextLayoutBuilder
fn new_font_by_name(
&mut self,
name: &str,
size: f64
) -> <CairoText<'a> as Text>::FontBuilder
[src]
&mut self,
name: &str,
size: f64
) -> <CairoText<'a> as Text>::FontBuilder
fn new_text_layout(
&mut self,
font: &<CairoText<'a> as Text>::Font,
text: &str
) -> <CairoText<'a> as Text>::TextLayoutBuilder
[src]
&mut self,
font: &<CairoText<'a> as Text>::Font,
text: &str
) -> <CairoText<'a> as Text>::TextLayoutBuilder