Skip to content
This repository has been archived by the owner on Jul 15, 2024. It is now read-only.

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
dfrg committed Jan 25, 2024
1 parent 5bba0d9 commit b651d20
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
8 changes: 6 additions & 2 deletions examples/edit_text.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ use parley::FontContext;
use tracing_subscriber::EnvFilter;
use unicode_segmentation::GraphemeCursor;
use vello::util::{RenderContext, RenderSurface};
use vello::{AaSupport, Renderer};
use vello::{
kurbo::{Affine, Point, Rect},
peniko::{Brush, Color, Fill},
RenderParams, RendererOptions, Scene, SceneBuilder,
};
use vello::{AaSupport, Renderer};

use glazier::kurbo::Size;
use glazier::{
Expand Down Expand Up @@ -206,7 +206,11 @@ impl WindowState {
let renderer_options = RendererOptions {
surface_format: Some(surface.format),
use_cpu: false,
antialiasing_support: AaSupport { area: true, msaa8: false, msaa16: false },
antialiasing_support: AaSupport {
area: true,
msaa8: false,
msaa16: false,
},
};
let render_params = RenderParams {
base_color: Color::BLACK,
Expand Down
2 changes: 1 addition & 1 deletion examples/pen.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ use std::f64::consts::PI;
use accesskit::TreeUpdate;
use kurbo::Ellipse;
use vello::util::{RenderContext, RenderSurface};
use vello::{AaSupport, Renderer};
use vello::{
kurbo::{Affine, BezPath, Point, Rect, Stroke},
peniko::{Brush, Color, Fill},
RenderParams, RendererOptions, Scene, SceneBuilder,
};
use vello::{AaSupport, Renderer};

use glazier::kurbo::Size;
use glazier::{
Expand Down
2 changes: 1 addition & 1 deletion examples/shello.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ use accesskit::TreeUpdate;
use parley::FontContext;
use tracing_subscriber::EnvFilter;
use vello::util::{RenderContext, RenderSurface};
use vello::{AaSupport, Renderer};
use vello::{
kurbo::{Affine, PathEl, Point, Rect, Stroke},
peniko::{Brush, Color, Fill, Mix},
RenderParams, RendererOptions, Scene, SceneBuilder,
};
use vello::{AaSupport, Renderer};

use glazier::kurbo::Size;
use glazier::{
Expand Down

0 comments on commit b651d20

Please sign in to comment.