how to create a clipping group? - Printable Version +- Hot Door CORE Forum (http://hotdoorcore.com/forum) +-- Forum: All forums (http://hotdoorcore.com/forum/forumdisplay.php?fid=1) +--- Forum: General discussion (http://hotdoorcore.com/forum/forumdisplay.php?fid=3) +--- Thread: how to create a clipping group? (/showthread.php?tid=353) |
how to create a clipping group? - Rick Johnson - 08-10-2023 I'm having some trouble creating a clipping group with CORE. I have an Art group containing several paths, and I want to use the top closed path as a clipping mask. I set the group to become a clipping group like this: Code: clipGrp.setIsClipGroup(true); The variable isClip is set to true, but the group is not in fact a clip group. Its ArtType is still a plain group and nothing is clipped. Is there another step I need to do? RE: how to create a clipping group? - Rick Johnson - 08-10-2023 I found code for the SDK and adapted that to CORE. clipMask is the clipping path and objGrp is the group that contains all of the paths. Code: clipMask.reorder(hdi::core::PlaceInsideOnTop, &objGrp); |