This project is read-only.

drawing outside the boundaries

Feb 12, 2014 at 1:49 PM
first, this is a really great extension!

my problem is with drawing a shape(any shape type) outside my boundaries.
i created a writablebitmap instance in the size of 20,20.
now i want to draw a rectangle from 15,0 to 35,40.
i know its out the area... , its done due to good reasons.
when trying to draw this shape i see its drawing extra lines.
any way to avoid this ?
Feb 12, 2014 at 2:21 PM
Yes, it will be clamped to the boundaries. Maybe you can use the DrawLine and just use two lines? Or just use the source code, change the boundary check and use your custom build of WBX. :)
Feb 12, 2014 at 2:36 PM
mm, im drawing circles aslo.
any idea ?