| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,27 @@ | ||
|
|
||
| Functions to compute a Path's size | ||
| ---------------------------------- | ||
|
|
||
| Various functions were added to `~.bezier.BezierSegment` and `~.path.Path` to | ||
| allow computation of the shape/size of a `~.path.Path` and its composite Bezier | ||
| curves. | ||
|
|
||
| In addition to the fixes below, `~.bezier.BezierSegment` has gained more | ||
| documentation and usability improvements, including properties that contain its | ||
| dimension, degree, control_points, and more. | ||
|
|
||
| Better interface for Path segment iteration | ||
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
|
|
||
| `~.path.Path.iter_bezier` iterates through the `~.bezier.BezierSegment`'s that | ||
| make up the Path. This is much more useful typically than the existing | ||
| `~.path.Path.iter_segments` function, which returns the absolute minimum amount | ||
| of information possible to reconstruct the Path. | ||
|
|
||
| Fixed bug that computed a Path's Bbox incorrectly | ||
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
|
|
||
| Historically, `~.path.Path.get_extents` has always simply returned the Bbox of | ||
| a curve's control points, instead of the Bbox of the curve itself. While this is | ||
| a correct upper bound for the path's extents, it can differ dramatically from | ||
| the Path's actual extents for non-linear Bezier curves. |
| Back | FazBrowse Home | New Git URL |
Uh oh!
There was an error while loading. Please reload this page.