Welcome Guest! You need to login or register to make posts.

Notification

Icon
Error

Options
Go to last post Go to first unread
stefano1403  
#1 Posted : Monday, May 12, 2008 5:30:21 PM(UTC)
stefano1403

Rank: Newbie

Groups: Member
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
Alex Kon  
#2 Posted : Wednesday, May 14, 2008 4:31:37 PM(UTC)
Alex Kon

Rank: Advanced Member

Groups: Member
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

stefano1403  
#3 Posted : Wednesday, May 14, 2008 5:00:58 PM(UTC)
stefano1403

Rank: Newbie

Groups: Member
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.
Alex Kon  
#4 Posted : Thursday, May 15, 2008 4:42:12 PM(UTC)
Alex Kon

Rank: Advanced Member

Groups: Member
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

Users browsing this topic
Guest
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.