R
robert.gosztyla
Guest
Hi
I've got code, which should do drawing clipping using regions. Regarding setting region code is very simple and typical taken from examples. Problem is when trying to draw clipped graphics, e.g. paths. When used simple syntax, like:
graphics.DrawPath(pen, path);
everything works, my drawing is clipped as should be. But trying to use more complicated method, like GraphicsPathIterator, then drawing is not visible, (is clipped completely)? e.g:
Gdiplus::GraphicsPath path;
pathIterator.Rewind();
while(0 != pathIterator.NextMarker(&path)) {
graphics.DrawPath(pen, &path);
When not clipped code using path iterators draws fine.
Continue reading...
I've got code, which should do drawing clipping using regions. Regarding setting region code is very simple and typical taken from examples. Problem is when trying to draw clipped graphics, e.g. paths. When used simple syntax, like:
graphics.DrawPath(pen, path);
everything works, my drawing is clipped as should be. But trying to use more complicated method, like GraphicsPathIterator, then drawing is not visible, (is clipped completely)? e.g:
Gdiplus::GraphicsPath path;
pathIterator.Rewind();
while(0 != pathIterator.NextMarker(&path)) {
graphics.DrawPath(pen, &path);
When not clipped code using path iterators draws fine.
Continue reading...