mirror of
https://github.com/typst/typst
synced 2025-08-15 07:28:32 +08:00
Re-order imports
This commit is contained in:
parent
385061256b
commit
03a395a69c
@ -1,3 +1,6 @@
|
|||||||
|
use std::collections::{BTreeMap, HashMap, HashSet};
|
||||||
|
use std::num::NonZeroU64;
|
||||||
|
|
||||||
use ecow::EcoVec;
|
use ecow::EcoVec;
|
||||||
use krilla::annotation::Annotation;
|
use krilla::annotation::Annotation;
|
||||||
use krilla::destination::{NamedDestination, XyzDestination};
|
use krilla::destination::{NamedDestination, XyzDestination};
|
||||||
@ -7,8 +10,6 @@ use krilla::page::PageLabel;
|
|||||||
use krilla::path::PathBuilder;
|
use krilla::path::PathBuilder;
|
||||||
use krilla::surface::Surface;
|
use krilla::surface::Surface;
|
||||||
use krilla::{Configuration, Document, PageSettings, SerializeSettings, ValidationError};
|
use krilla::{Configuration, Document, PageSettings, SerializeSettings, ValidationError};
|
||||||
use std::collections::{BTreeMap, HashMap, HashSet};
|
|
||||||
use std::num::NonZeroU64;
|
|
||||||
use typst_library::diag::{bail, error, SourceResult};
|
use typst_library::diag::{bail, error, SourceResult};
|
||||||
use typst_library::foundations::NativeElement;
|
use typst_library::foundations::NativeElement;
|
||||||
use typst_library::introspection::Location;
|
use typst_library::introspection::Location;
|
||||||
|
@ -1,6 +1,3 @@
|
|||||||
use crate::convert::{FrameContext, GlobalContext};
|
|
||||||
use crate::paint;
|
|
||||||
use crate::util::{convert_path, AbsExt, TransformExt};
|
|
||||||
use krilla::geom::Rect;
|
use krilla::geom::Rect;
|
||||||
use krilla::path::{Path, PathBuilder};
|
use krilla::path::{Path, PathBuilder};
|
||||||
use krilla::surface::Surface;
|
use krilla::surface::Surface;
|
||||||
@ -8,6 +5,10 @@ use typst_library::diag::SourceResult;
|
|||||||
use typst_library::visualize::{Geometry, Shape};
|
use typst_library::visualize::{Geometry, Shape};
|
||||||
use typst_syntax::Span;
|
use typst_syntax::Span;
|
||||||
|
|
||||||
|
use crate::convert::{FrameContext, GlobalContext};
|
||||||
|
use crate::paint;
|
||||||
|
use crate::util::{convert_path, AbsExt, TransformExt};
|
||||||
|
|
||||||
pub(crate) fn handle_shape(
|
pub(crate) fn handle_shape(
|
||||||
fc: &mut FrameContext,
|
fc: &mut FrameContext,
|
||||||
shape: &Shape,
|
shape: &Shape,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user