08-05-2005 08:47 AM
08-05-2005 09:57 AM
I have to admit I don't understand what "current location of the origin" means either. I would expect the origin to always be 0,0.
08-06-2005 07:18 AM
08-06-2005 07:22 AM
08-06-2005 12:40 PM
08-06-2005 09:29 PM
08-07-2005 02:06 AM
Now I see. You can set the origin programmatically.
In that case, I have to agree with Altenbach - when changing the origin the point moves. If it was relative to the origin, the point would stay in its place and we would get a line of past points. I think they just got the documentation wrong - the point is always in absolute picture coordinates (relative to 0,0) regardless of where the origin is.
As for your question, there is no maximum value. You can draw a point which will be of the screen. Let's say your screen is 1024x768 and you filled it with your indicator. You can still draw a point at (2000,1500), you will just have to scroll or change the origin to see that point.
08-07-2005 07:12 PM
08-08-2005 02:07 AM
OK, I will correct my statement.
I didn't mean there is no limit, but that the actual point can be located after the edge of the picture control, but if you'll make the control larger, you will see it's there. Since the representation for the position is I16, the maximum value is probably 32,767, which I would call "no maximum value", because an image 32,000 pixels wide is something that's a bit hard to look at.