freya-engine 0.5.1

Abstract Freya's graphics APIs
Documentation
#[cfg(feature = "gl")]
pub use skia_safe::gpu::gl::{
    Format,
    FramebufferInfo,
    Interface,
};
#[cfg(feature = "metal")]
pub use skia_safe::gpu::mtl;
#[cfg(feature = "vulkan")]
pub use skia_safe::gpu::vk;
#[cfg(any(feature = "gl", feature = "vulkan", feature = "metal"))]
pub use skia_safe::gpu::{
    self,
    BackendRenderTarget,
    Budgeted,
    DirectContext,
    RecordingContext,
    SurfaceOrigin,
    backend_render_targets,
    direct_contexts,
    surfaces::{
        render_target,
        wrap_backend_render_target,
    },
};
pub use skia_safe::{
    AlphaType,
    Bitmap,
    BlendMode,
    BlurStyle,
    Borrows,
    Canvas,
    ClipOp,
    Color,
    Color4f,
    ColorSpace,
    ColorType,
    CubicResampler,
    Data,
    EncodedImageFormat,
    FilterMode,
    Font,
    FontArguments,
    FontHinting,
    FontMgr,
    FontStyle,
    GlyphId,
    HSV,
    IPoint,
    IRect,
    ISize,
    Image,
    ImageFilter,
    ImageInfo,
    M44,
    MaskFilter,
    Matrix,
    MipmapMode,
    Paint,
    PaintCap,
    PaintJoin,
    PaintStyle,
    Path,
    PathBuilder,
    PathDirection,
    PathEffect,
    PathFillType,
    Picture,
    PictureRecorder,
    PixelGeometry,
    Pixmap,
    Point,
    RGB,
    RRect,
    Rect,
    RuntimeEffect,
    SamplingOptions,
    Shader,
    Size,
    Surface,
    SurfaceProps,
    SurfacePropsFlags,
    TextBlob,
    TileMode,
    Typeface,
    V3,
    canvas::{
        GlyphPositions,
        SaveLayerRec,
    },
    color_filters,
    font::Edging as FontEdging,
    font_arguments::{
        VariationPosition,
        variation_position::Coordinate as VariationCoordinate,
    },
    font_style::{
        Slant,
        Weight,
        Width,
    },
    gradient::{
        self,
        Colors,
        Gradient,
        Interpolation,
    },
    graphics::{
        set_resource_cache_single_allocation_byte_limit,
        set_resource_cache_total_bytes_limit,
    },
    image_filters::{
        self,
        blur,
    },
    images::{
        self,
        raster_from_data,
    },
    path_builder::ArcSize,
    resources::LocalResourceProvider,
    rrect::Corner,
    runtime_effect::Uniform,
    shaders,
    surfaces::{
        raster_n32_premul,
        wrap_pixels,
    },
    svg,
    textlayout::{
        Decoration,
        FontCollection,
        FontFeature,
        LineMetrics,
        Paragraph,
        ParagraphBuilder,
        ParagraphStyle,
        PlaceholderAlignment,
        PlaceholderStyle,
        PositionWithAffinity,
        RectHeightStyle,
        RectWidthStyle,
        StrutStyle,
        TextAlign,
        TextBaseline,
        TextBox,
        TextDecoration,
        TextDecorationStyle,
        TextDirection,
        TextHeightBehavior,
        TextIndex,
        TextRange,
        TextShadow,
        TextStyle,
        TypefaceFontProvider,
        paragraph::GlyphClusterInfo,
    },
    wrapper::PointerWrapper,
};