#[cfg(any(target_os = "linux", target_os = "windows", target_os = "android"))]
pub use skia_safe::gpu::gl::{
Format,
FramebufferInfo,
Interface,
};
#[cfg(target_os = "macos")]
pub use skia_safe::gpu::mtl;
#[cfg(any(target_os = "linux", target_os = "windows"))]
pub use skia_safe::gpu::vk;
pub use skia_safe::{
AlphaType,
Bitmap,
BlendMode,
BlurStyle,
Canvas,
ClipOp,
Color,
Color4f,
ColorSpace,
ColorType,
CubicResampler,
Data,
EncodedImageFormat,
FilterMode,
Font,
FontArguments,
FontHinting,
FontMgr,
FontStyle,
HSV,
IPoint,
IRect,
ISize,
Image,
ImageFilter,
ImageInfo,
M44,
MaskFilter,
Matrix,
MipmapMode,
Paint,
PaintStyle,
Path,
PathBuilder,
PathDirection,
PathFillType,
Pixmap,
Point,
RGB,
RRect,
Rect,
RuntimeEffect,
SamplingOptions,
Shader,
Surface,
TextBlob,
TileMode,
Typeface,
V3,
canvas::SaveLayerRec,
font::Edging as FontEdging,
font_style::{
Slant,
Weight,
Width,
},
gpu::{
self,
BackendRenderTarget,
Budgeted,
DirectContext,
RecordingContext,
SurfaceOrigin,
backend_render_targets,
direct_contexts,
surfaces::{
render_target,
wrap_backend_render_target,
},
},
gradient::{
Colors,
Gradient,
Interpolation,
},
gradient_shader::{
Flags,
GradientShaderColors,
},
graphics::{
set_resource_cache_single_allocation_byte_limit,
set_resource_cache_total_bytes_limit,
},
image_filters::blur,
images::raster_from_data,
path_builder::ArcSize,
resources::LocalResourceProvider,
rrect::Corner,
runtime_effect::Uniform,
shaders,
surfaces::raster_n32_premul,
svg,
textlayout::{
Decoration,
FontCollection,
FontFeature,
LineMetrics,
Paragraph,
ParagraphBuilder,
ParagraphStyle,
PlaceholderStyle,
PositionWithAffinity,
RectHeightStyle,
RectWidthStyle,
StrutStyle,
TextAlign,
TextBaseline,
TextBox,
TextDecoration,
TextDecorationStyle,
TextDirection,
TextHeightBehavior,
TextIndex,
TextRange,
TextShadow,
TextStyle,
TypefaceFontProvider,
paragraph::GlyphClusterInfo,
},
wrapper::PointerWrapper,
};