Skip to content

Commit

Permalink
Adding SegmentedContour
Browse files Browse the repository at this point in the history
Adding a utility class for TessRenderPath to turn a RawPath into a segmented contour that it can then triangulate. More of the "move towards composition vs inheritance" work. Also removes old ContourRenderPath as this effectively replaces the logic it tried to implement via inheritance.

This mostly moves that old code around, in doing so it also adopts the new path iteration which leaves the "quad" case for the segmenter unhandled, which is ok for now as none of our render paths currently have quad commands.

Diffs=
98647c98c Change based on feedback
1db72a148 Adding SegmentedContour and removing old contour_render_path
  • Loading branch information
luigi-rosso committed Jul 27, 2022
1 parent c244c61 commit 2696146
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .rive_head
Original file line number Diff line number Diff line change
@@ -1 +1 @@
d5a92b315d2ba25377a7bb9d6824d4381c16b80a
98647c98c4f4c241b9b9cd4bedefcf1044207582
2 changes: 1 addition & 1 deletion submodules/rive-cpp

0 comments on commit 2696146

Please sign in to comment.