GDI+ graphics path casting
-
Is there anyway that I can cast a graphics path to a bitmap? Im trying to make a freehand sketch program using John Buettner's example, the problem is that when changing the pen color and width it effects everything drawn into that path previously. I figured the best way to do it would be casting the graphicspath into bitmap format on mouseup and then resetting the graphicspath though after playing around with it quite a bit im still not sure how to go about it. Any help appreciated thanks.
-
Is there anyway that I can cast a graphics path to a bitmap? Im trying to make a freehand sketch program using John Buettner's example, the problem is that when changing the pen color and width it effects everything drawn into that path previously. I figured the best way to do it would be casting the graphicspath into bitmap format on mouseup and then resetting the graphicspath though after playing around with it quite a bit im still not sure how to go about it. Any help appreciated thanks.
Why not just save the pen size and colour information along side every path? cheers, -B