Rank: Newbie
Groups: Guest
Joined: 3/17/2008(UTC) Posts: 8
|
I've a problem I'm not able to solve: I need to draw a line on a bitmapviewer and then to erase the line restoring background image. I cannot reload image because is big and there are other drawing addedd. The problem is to use a sort of XOR drawing. Is that possible? thank to all
|
|
|
|
Rank: Advanced Member
Groups: Guest
Joined: 1/31/2005(UTC) Posts: 458
Was thanked: 5 time(s) in 5 post(s)
|
Hello, Unfortunately, Graphics Mill for .NET does not support XOR drawing. I wonder, what feature are you trying to implement? Could you provide more details, maybe I will be able to suggest you another ways to solve this issue? You can submit case also if it is more convenient for you. Edited by user Thursday, May 22, 2008 1:24:33 PM(UTC)
| Reason: Not specified |
|
|
|
|
Rank: Newbie
Groups: Guest
Joined: 3/17/2008(UTC) Posts: 8
|
I simply need to draw a cross line on a bitmapviewer when I click the image with the mouse: if the user click again on the image I need to delete the previous cross line (showing the original background) and redraw the line in the new poisiton. Thank to all.
|
|
|
|
Rank: Advanced Member
Groups: Guest
Joined: 1/31/2005(UTC) Posts: 458
Was thanked: 5 time(s) in 5 post(s)
|
Hello, I think that it will be easier to implement this feature via Rubberband. If I understand you correctly, your cross-marks are not part of the image, so there are no need to actually draw them on it. I suggest you to implement custom rubberband object, which will store coordinates of the cross-mark and it will draw it on the specified place. You can find more detailed information about creating custom rubberbands in this article: http://www.aurigma.com/d...berbandsWindowsForms.htm Edited by user Wednesday, October 29, 2008 3:12:02 AM(UTC)
| Reason: Not specified |
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.