Skip to content

Commit

Permalink
Small fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
RazrFalcon committed Jul 3, 2022
1 parent 51da728 commit d80df5e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion geom/Cargo.toml
Expand Up @@ -8,7 +8,7 @@ documentation = "https://docs.rs/tiny-skia-geom/"
readme = "README.md"
repository = "https://github.com/RazrFalcon/tiny-skia/geom"
license = "BSD-3-Clause"
keywords = ["graphics", "curve", "curves", "bezier", "geometry"]
keywords = ["graphics", "bezier", "paths", "dash", "stroke", "geometry"]
categories = ["graphics"]
workspace = ".."

Expand Down
6 changes: 3 additions & 3 deletions geom/README.md
@@ -1,7 +1,7 @@
# tiny-skia-geom
![Build Status](https://github.com/RazrFalcon/tiny-skia/workflows/Rust/badge.svg)
[![Crates.io](https://img.shields.io/crates/v/tiny-skia.svg)](https://crates.io/crates/tiny-skia-geom)
[![Documentation](https://docs.rs/tiny-skia/badge.svg)](https://docs.rs/tiny-skia-geom)
[![Crates.io](https://img.shields.io/crates/v/tiny-skia-geom.svg)](https://crates.io/crates/tiny-skia-geom)
[![Documentation](https://docs.rs/tiny-skia-geom/badge.svg)](https://docs.rs/tiny-skia-geom)
[![Rust 1.46+](https://img.shields.io/badge/rust-1.46+-orange.svg)](https://www.rust-lang.org)

`tiny-skia-geom` is a collection of geometry primitives used by
Expand All @@ -16,4 +16,4 @@ Note that all types use single precision floats (`f32`), just like [Skia](https:

## License

The same as used by [Skia]: [New BSD License](./LICENSE)
The same as used by [Skia](https://skia.org/): [New BSD License](./LICENSE)
3 changes: 2 additions & 1 deletion geom/src/path_builder.rs
Expand Up @@ -253,7 +253,8 @@ impl PathBuilder {
self.move_to_required = true;
}

pub(crate) fn last_point(&self) -> Option<Point> {
/// Returns the last point if any.
pub fn last_point(&self) -> Option<Point> {
self.points.last().cloned()
}

Expand Down

0 comments on commit d80df5e

Please sign in to comment.