diff --git a/crates/epaint/src/color.rs b/crates/epaint/src/color.rs index 289783c70fb..54106c10d3f 100644 --- a/crates/epaint/src/color.rs +++ b/crates/epaint/src/color.rs @@ -11,7 +11,7 @@ pub enum ColorMode { Solid(Color32), /// Provide a callback which takes in the path's bounding box and a position and converts it to a color. - /// When used with a path, the bounding box will have a margin of ``feathering + 1.0`` + /// When used with a path, the bounding box will have a margin of [`TessellationOptions::feathering_size_in_pixels`](`crate::tessellator::TessellationOptions::feathering_size_in_pixels`) /// /// **This cannot be serialized** #[cfg_attr(feature = "serde", serde(skip))] diff --git a/crates/epaint/src/stroke.rs b/crates/epaint/src/stroke.rs index cf95d1ed7a9..54d7fe20e56 100644 --- a/crates/epaint/src/stroke.rs +++ b/crates/epaint/src/stroke.rs @@ -81,7 +81,8 @@ impl PathStroke { } /// Create a new `PathStroke` with a UV function - /// The bounding box passed to the callback will have a margin of ``feathering + 1.0`` + /// + /// The bounding box passed to the callback will have a margin of [`TessellationOptions::feathering_size_in_pixels`](`crate::tessellator::TessellationOptions::feathering_size_in_pixels`) #[inline] pub fn new_uv( width: impl Into,