prettify uses
use std::ptr;
use crate::prelude::*;
-use crate::{
- skia::{
+use crate::graphics;
+use crate::skia::{
Picture,
Matrix,
ColorType,
@@ -16,8 +16,6 @@ use crate::{
ISize,
Paint,
EncodedImageFormat
- },
- graphics
};
use rust_skia::{
C_SkImage_MakeFromPicture,
@@ -38,14 +36,14 @@ use rust_skia::{
C_SkImage_MakeFromNV12TexturesCopyWithExternalBackend,
SkImage_BitDepth,
GrSurfaceOrigin,
- SkImage_CachingHint
+ SkImage_CachingHint,
+ C_SkImage_refEncodedData,
+ C_SkImage_makeSubset,
+ C_SkImage_makeTextureImage,
+ C_SkImage_makeNonTextureImage,
+ C_SkImage_makeRasterImage,
+ C_SkImage_makeColorSpace
};
-use rust_skia::C_SkImage_refEncodedData;
-use rust_skia::C_SkImage_makeSubset;
-use rust_skia::C_SkImage_makeTextureImage;
-use rust_skia::C_SkImage_makeNonTextureImage;
-use rust_skia::C_SkImage_makeRasterImage;
-use rust_skia::C_SkImage_makeColorSpace;
pub type ImageBitDepth = EnumHandle<SkImage_BitDepth>;
