freya_engine/
skia.rs

1#[cfg(feature = "metal")]
2pub use skia_safe::gpu::mtl;
3#[cfg(feature = "vulkan")]
4pub use skia_safe::gpu::vk;
5pub use skia_safe::{
6    AlphaType,
7    Bitmap,
8    BlendMode,
9    BlurStyle,
10    Canvas,
11    ClipOp,
12    Color,
13    Color4f,
14    ColorSpace,
15    ColorType,
16    CubicResampler,
17    Data,
18    EncodedImageFormat,
19    FilterMode,
20    FontArguments,
21    FontMgr,
22    FontStyle,
23    HSV,
24    IPoint,
25    IRect,
26    ISize,
27    Image,
28    ImageFilter,
29    ImageInfo,
30    M44,
31    MaskFilter,
32    Matrix,
33    MipmapMode,
34    Paint,
35    PaintStyle,
36    Path,
37    PathBuilder,
38    PathDirection,
39    PathFillType,
40    Pixmap,
41    Point,
42    RGB,
43    RRect,
44    Rect,
45    RuntimeEffect,
46    SamplingOptions,
47    Shader,
48    Surface,
49    TileMode,
50    Typeface,
51    V3,
52    canvas::SaveLayerRec,
53    font_style::{
54        Slant,
55        Weight,
56        Width,
57    },
58    gpu::{
59        self,
60        BackendRenderTarget,
61        Budgeted,
62        DirectContext,
63        RecordingContext,
64        SurfaceOrigin,
65        backend_render_targets,
66        direct_contexts,
67        gl::{
68            Format,
69            FramebufferInfo,
70            Interface,
71        },
72        surfaces::{
73            render_target,
74            wrap_backend_render_target,
75        },
76    },
77    gradient::{
78        Colors,
79        Gradient,
80        Interpolation,
81    },
82    gradient_shader::{
83        Flags,
84        GradientShaderColors,
85    },
86    graphics::{
87        set_resource_cache_single_allocation_byte_limit,
88        set_resource_cache_total_bytes_limit,
89    },
90    image_filters::blur,
91    images::raster_from_data,
92    path_builder::ArcSize,
93    resources::LocalResourceProvider,
94    rrect::Corner,
95    runtime_effect::Uniform,
96    shaders,
97    surfaces::raster_n32_premul,
98    svg,
99    textlayout::{
100        Decoration,
101        FontCollection,
102        FontFeature,
103        LineMetrics,
104        Paragraph,
105        ParagraphBuilder,
106        ParagraphStyle,
107        PlaceholderStyle,
108        PositionWithAffinity,
109        RectHeightStyle,
110        RectWidthStyle,
111        StrutStyle,
112        TextAlign,
113        TextBaseline,
114        TextBox,
115        TextDecoration,
116        TextDecorationStyle,
117        TextDirection,
118        TextHeightBehavior,
119        TextIndex,
120        TextRange,
121        TextShadow,
122        TextStyle,
123        TypefaceFontProvider,
124        paragraph::GlyphClusterInfo,
125    },
126    wrapper::PointerWrapper,
127};