diff --git a/piet-coregraphics/src/lib.rs b/piet-coregraphics/src/lib.rs index 6e1e6c75..4343c2d8 100644 --- a/piet-coregraphics/src/lib.rs +++ b/piet-coregraphics/src/lib.rs @@ -392,7 +392,7 @@ impl<'a> RenderContext for CoreGraphicsContext<'a> { fn capture_image_area(&mut self, src_rect: impl Into) -> Result { let src_rect = src_rect.into(); - // When creating a CoreGraphicsContext, we a transformation matrix is applied to map + // When creating a CoreGraphicsContext, a transformation matrix is applied to map // between piet's coordinate system and CoreGraphic's coordinate system // (see [`CoreGraphicsContext::new_impl`] for details). Since the `src_rect` we receive // as parameter is in piet's coordinate system, we need to first convert it to the CG one, diff --git a/piet/src/samples/mod.rs b/piet/src/samples/mod.rs index 31f5d371..4c7f1657 100644 --- a/piet/src/samples/mod.rs +++ b/piet/src/samples/mod.rs @@ -32,7 +32,7 @@ mod picture_16; type BoxErr = Box; /// The total number of samples in this module. -pub const SAMPLE_COUNT: usize = 16; +pub const SAMPLE_COUNT: usize = 17; /// file we save an os fingerprint to pub const GENERATED_BY: &str = "GENERATED_BY";