Clip Path work with this code:
Drawables.push_back(Magick::DrawablePushClipPath(PathID));
Drawables.push_back(Magick::DrawablePath(Path));
Drawables.push_back(Magick::DrawablePopClipPath());
Drawables.push_back(Magick::DrawableClipPath(PathID));
Pattern should work in same kind:
Drawables.push_back(Magick::DrawablePushPattern(PatternID, 0, 0, 100, 100));
Drawables.push_back(Magick::DrawableRectangle(10, 10, 90, 90));
Drawables.push_back(Magick::DrawableFillColor(Magick::ColorRGB(1.0, 0.0, 0.0)));
Drawables.push_back(Magick::DrawablePopPattern());
Drawables.push_back(Magick::DrawablePattern(PatternID, 0, 0, 1000, 1000));
but i cannot find a DrawablePattern() function.
what am i doing wrong ?
How can i apply pattern ?
How to work with DrawablePattern ?
-
- Posts: 2
- Joined: 2015-12-30T04:53:26-07:00
- Authentication code: 1151
Re: How to work with DrawablePattern ?
You can only use those patterns as a Stroke/Fill pattern. I recently added this to IM7. Should be available in a couple of days in IM6 also.