Hi Phil
yes - there are several ways it could be implemented
Hi Phil
yes - there are several ways it could be implemented
-------------------------------
Nothing lasts forever...
If you are talking about nibbling into a line, then you are right, but really that's not the correct logical operation for an eraser with respect to a line. Effectively an eraser will sever the line if it crosses it. It doesn't just remove existing nodes, it will add nodes to ensure that the line being severed ends at the correct place. You can see that in my example the severed lines have the correct end caps that have been chosen for the line.
If you want to nibble the shape of the line, make it a shape, then nibble. I'll make an example if you wish.
As others have remarked Xara almost has the required functionality in place. If I drag the eraser across my shapes and lines it leaves a white shape in it's wake. When I let go that shape is essentially subtracted from any editable shapes and lines it crosses.
edit - replying here to post #32
no need Paul - that was my starting point too for vector
which was why I was confused at first, until I realised John was taking you at your word and describing what a true eraser would have to do in a vector environment, ie erase anything it crossed over length or width...
a true eraser of lines would erase width as well as length
-------------------------------
Nothing lasts forever...
What we draw on screen is an interpretation of a logical entity. It could be a line or a shape. If we say that something is a line, it still has a shape representing the line on screen. The eraser tool will know that this is a line and treat it as such rather than operate on the depiction of the line as an on-screen shape. If we want the eraser to treat the line as a shape, then we should make it a shape, so I don't see any ambiguity at all.
If there's any confusion about my examples, they were all made using a non-Xara vector eraser on vector shapes and lines.
John.
edit - to Paul:
so we can freehand draw with shapes in real time? - no, not in xara we can't [well apart from
some restricted workarounds] - there is the problem for the fast organic stuff
-------------------------------
Nothing lasts forever...
Last edited by pauland; 04 August 2011 at 10:15 PM. Reason: having fun
Bookmarks