On Wed, Apr 19, 2000 at 10:16:02AM -0400, Jason Mawdsley wrote:
> 
> > There should be a test for GM_ADVANCED but this just changes whether
> > (right,bottom) is inside or outside the rect.
> 
> > I think most of the other functions you've changed will work as they
> > are if you change {X|Y}LPTODP.  The curve functions are harder...
> 
> Yes, I will change them.

OK, I should have pointed (sorry) out that XLPTODP will need both x
and y in order to calculate the x' .  So obviously the functions will
change a little.  Of course you could just use LPToDP but this will be
slower and less convenient.

> I have been experimenting with bezier
> curves,
> and they will work with transformations nicely.  I just have not
> figured out
> an algorithim to caculate the control/end points yet.

Try bezarc1.pdf at
http://www.tinaja.com/cubic01.html

Also look at PATH_DoArcPart in graphics/path.c [I didn't write this so
I don't know what the algo is...]

> > I find the MM_LOENGLISH change very surprising, but I assume you've
> > tested it.
> 
> With the viewport as it was, my test program's gfx were too small.
> When I changed
> the viewport to its current settings, the graphics matched under wine
> and windows.

So should MM_HIENGLISH change too?

> > If you like I'll merge your stuff into what I did a re-submit it.
> You can do that if you want, but I will have to make these changes
> and re submit to the Corel tree as well.

OK, I'll let you get on with it.

Huw.
-- 
   Dr. Huw D M Davies              | Clarendon Laboratory
   [EMAIL PROTECTED]      | Parks Road
   Tel: +44 1865 272390            | Oxford OX1 3PU
   Fax: +44 1865 272400            | UK

Reply via email to