Quantcast
Channel: WriteableBitmapEx
Viewing all articles
Browse latest Browse all 360

Created Unassigned: drawing outside the bitmap area causing clamps [20735]

$
0
0
hi,
when drawing any shape outside the bitmap area, lines/pixels are being clammed into the boundaries.
and causing the shape to look different.
for example draw an ellipse close to the edge, you will see the start of the ellipse and in the edge a vertical/horizontal line.

suggestion :
1-to have a IsClamp property , by setting to False (default is TRUE) it will not draw the "missing pixels on the edges.
2- override drawing methods for this.


currently the only way I've managed to "avoid" this is by creating the bitmap big enough
but then i had to crop it based on the drawing logic.

regards,
benny.

Viewing all articles
Browse latest Browse all 360

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>