1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
//! Support for piet Web back-end.
pub use *;
pub type Piet<'a> = ;
/// The associated brush type for this backend.
///
/// This type matches `RenderContext::Brush`
pub type Brush = Brush;
/// The associated text factory for this backend.
///
/// This type matches `RenderContext::Text`
pub type PietText<'a> = ;
/// The associated font type for this backend.
///
/// This type matches `RenderContext::Text::Font`
pub type PietFont = WebFont;
/// The associated font builder for this backend.
///
/// This type matches `RenderContext::Text::FontBuilder`
pub type PietFontBuilder<'a> = WebFontBuilder;
/// The associated text layout type for this backend.
///
/// This type matches `RenderContext::Text::TextLayout`
pub type PietTextLayout = WebTextLayout;
/// The associated text layout builder for this backend.
///
/// This type matches `RenderContext::Text::TextLayoutBuilder`
pub type PietTextLayoutBuilder<'a> = WebTextLayoutBuilder;
/// The associated image type for this backend.
///
/// This type matches `RenderContext::Image`
pub type Image = WebImage;