iced-rs/iced · error
Stroke path
Error message
Stroke path
What it means
Error "Stroke path" thrown in iced-rs/iced.
Source
Thrown at wgpu/src/geometry.rs:228
options.end_cap = into_line_cap(stroke.line_cap);
options.line_join = into_line_join(stroke.line_join);
let path = if stroke.line_dash.segments.is_empty() {
Cow::Borrowed(path)
} else {
Cow::Owned(dashed(path, stroke.line_dash))
};
if self.transforms.current.is_identity() {
self.stroke_tessellator
.tessellate_path(path.raw(), &options, buffer.as_mut())
} else {
let path = path.transform(&self.transforms.current.0);
self.stroke_tessellator
.tessellate_path(path.raw(), &options, buffer.as_mut())
}
.expect("Stroke path");
}
fn stroke_rectangle<'a>(&mut self, top_left: Point, size: Size, stroke: impl Into<Stroke<'a>>) {
let stroke = stroke.into();
let mut buffer = self
.buffers
.get_stroke(&self.transforms.current.transform_style(stroke.style));
let top_left = self
.transforms
.current
.0
.transform_point(lyon::math::Point::new(top_left.x, top_left.y));
let size = self
.transforms
.currentView on GitHub (pinned to 2cffa99b39)
When it happens
Trigger: Thrown at wgpu/src/geometry.rs:228 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of iced-rs/iced@2cffa99b39 (2026-08-16).
Data as JSON: /api/errors/86e33d23e5494c68.
Report an issue: GitHub.