[softwarelist] Re: Win OvPro funny

  • From: Dave Symes <dave@xxxxxxxxxxxxx>
  • To: davidpilling@xxxxxxxxxxxxx
  • Date: Tue, 04 Mar 2008 05:48:32 +0000 (GMT)

In article <qmHQQvElbHzHFwp7@xxxxxxxxxxxxxxxxxxx>,
   David Pilling <flist@xxxxxxxxxxxxxxxxxxx> wrote:
> In message <Nu8ZiZBOh+yHFw0x@xxxxxxxxxxxxxxxxxxx>, David Pilling 
> <flist@xxxxxxxxxxxxxxxxxxx> writes
> >In message <4f79f2a760dfs@xxxxxxxxxxxxx>, Dave Symes 
> ><dfs@xxxxxxxxxxxxx> writes
> >
> >>In  !Draw, Draw a line:
> >>Colour: Black. Width: 1mm. Endcap: Triangle. Width: 6. Height: 12.
> >>Insert into an OvPro graphic frame. Diplays line and endcap correctly.
> >>
> >>Save.
> >>Take to PC and Win version of OvPro 2.92  29 Oct 2007
> >>
> >>Load document into OvPro.
> >>The line displays but the endcap arrow does not.
> >
> >
> >Interesting. Why that might happen is simple enough. On RISC OS such 
> >lines are rendered by the "Draw module" (not to be confused with the 
> >DrawFile module) which is part of RISC OS, on Windows they're rendered 
> >by my own code. Chances are I've not emulated something correctly.
> >
> >I will investigate...

> I know what the problem is, and I've fixed it.

> In Draw files it is possible to create a line in which two (or more) 
> points have exactly the same co-ordinates. In other words one point is 
> redundant. The trouble was that my emulation of the Draw module depended 
> on the difference in position of the last two points in the line to work 
> out how to draw the arrow head.

> I have been caught out with this before.

> I'll put the fixed version on the web site tomorrow and tell you when it 
> is available. In the meantime, take out the extra point.

Aha! I see, I didn't realise I'd done an extra click to end the line, thus
adding a second end node on top of the first one.
Looking at it now in big zoom, I can see.

Excellent catch Mr P.
Cheers
Dave S

-- 

To unsubscribe or subscribe goto: //www.freelists.org/list/davidpilling

Other related posts: