Hi!

I will be submitting a patch for 8 of the X11DRV functions later
today.

I was wondering if you wanted to work on implementing the advanced
mode
support for the arc type functions(Arc,Pie,Chord etc), while I move
onto other EMF stuff.
This way we can avoid duplicating each other's efforts.

What do you think?!

______________________________

Jason Mawdsley
Macadamian Technologies
http://www.macadamian.com


----- Original Message -----
From: Huw D M Davies <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, April 14, 2000 5:56 AM
Subject: Re: EnhMetaFile fixes


On Thu, Apr 13, 2000 at 01:29:07PM -0400, Jason Mawdsley wrote:
> Hi Huw!
>
> I am currently working on adding support for World Transforms, for
the
> EMF work we are doing for Corel.
>
> I currently have X11DRV_Rectangle and X11DRV_LineTo working.  I have
> finished most of the other functions, but I have not tested them
yet.
>
> I have noticed that none of the functions that use XDrawArc( Pie,
> Chord etc ) will shear or rotate correctly.
>
> I believe X does not support rotating/shearing of Arcs, because of
the
> way the bounding rectangle is caculated.

Hi,

I started working on World Transforms last night; it seems we got to
about the same stage too - oh well.  I think the way to do sheared
arcs / ellipses is to approximate them to Beziers, transform the
control points and draw these - didn't get as far as this either but
it should work.  Not sure about bitmaps and such like at all.

Anyway it looks like the scaling in EnumEnhMetaFile is basically
right.  It needs to be modified if the MapMode is not initially
MM_TEXT but that's not too hard.

Good luck,

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