Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ You can find its changes [documented below](#0112-2025-04-28).

This release has an [MSRV][] of 1.65.

### Fixed

- Documentation of `RoundedRect` no longer incorrectly specifies the corner radii are equal. ([#447][] by [@tomcur][])

## [0.11.2][] (2025-04-28)

This release has an [MSRV][] of 1.65.
Expand Down Expand Up @@ -123,6 +127,7 @@ Note: A changelog was not kept for or before this release
[#418]: https://github.com/linebender/kurbo/pull/418
[#428]: https://github.com/linebender/kurbo/pull/428
[#429]: https://github.com/linebender/kurbo/pull/429
[#447]: https://github.com/linebender/kurbo/pull/447

[Unreleased]: https://github.com/linebender/kurbo/compare/v0.11.2...HEAD
[0.11.0]: https://github.com/linebender/kurbo/releases/tag/v0.11.0
Expand Down
3 changes: 2 additions & 1 deletion kurbo/src/rounded_rect.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,11 @@ use crate::{arc::ArcAppendIter, Arc, PathEl, Point, Rect, RoundedRectRadii, Shap
#[cfg(not(feature = "std"))]
use crate::common::FloatFuncs;

/// A rectangle with equally rounded corners.
/// A rectangle with rounded corners.
///
/// By construction the rounded rectangle will have
/// non-negative dimensions and radii clamped to half size of the rect.
/// The rounded rectangle can have different radii for each corner.
///
/// The easiest way to create a `RoundedRect` is often to create a [`Rect`],
/// and then call [`to_rounded_rect`].
Expand Down
Loading