freya_engine/
skia.rs

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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
pub use skia_safe::{
    canvas::SaveLayerRec,
    font_style::{
        Slant,
        Weight,
        Width,
    },
    gpu::{
        backend_render_targets,
        direct_contexts,
        gl::{
            Format,
            FramebufferInfo,
            Interface,
        },
        surfaces::wrap_backend_render_target,
        BackendRenderTarget,
        DirectContext,
        RecordingContext,
        SurfaceOrigin,
    },
    gradient_shader::GradientShaderColors,
    graphics::{
        set_resource_cache_single_allocation_byte_limit,
        set_resource_cache_total_bytes_limit,
    },
    image_filters::blur,
    images::raster_from_data,
    path::ArcSize,
    resources::LocalResourceProvider,
    rrect::Corner,
    runtime_effect::Uniform,
    surfaces::raster_n32_premul,
    svg,
    textlayout::{
        paragraph::GlyphClusterInfo,
        Decoration,
        FontCollection,
        FontFeature,
        LineMetrics,
        Paragraph,
        ParagraphBuilder,
        ParagraphStyle,
        PlaceholderStyle,
        PositionWithAffinity,
        RectHeightStyle,
        RectWidthStyle,
        StrutStyle,
        TextAlign as SkTextAlign,
        TextBaseline,
        TextBox,
        TextDecoration as SkTextDecoration,
        TextDecorationStyle as SkTextDecorationStyle,
        TextDirection,
        TextHeightBehavior as SkTextHeightBehavior,
        TextIndex,
        TextRange,
        TextShadow as SkTextShadow,
        TextStyle,
        TypefaceFontProvider,
    },
    wrapper::PointerWrapper,
    Bitmap,
    BlendMode,
    BlurStyle,
    Canvas,
    ClipOp,
    Color as SkColor,
    Color4f,
    ColorSpace,
    ColorType,
    CubicResampler,
    Data,
    EncodedImageFormat,
    FilterMode,
    FontArguments,
    FontMgr,
    FontStyle,
    IPoint,
    IRect,
    Image,
    ImageFilter,
    ImageInfo,
    MaskFilter,
    Matrix,
    MipmapMode,
    Paint,
    PaintStyle,
    Path,
    PathDirection,
    PathFillType,
    Pixmap,
    Point as SkPoint,
    RRect,
    Rect,
    RuntimeEffect,
    SamplingOptions,
    Shader,
    Surface,
    TileMode,
    Typeface,
    HSV,
    M44,
    RGB,
    V3,
};