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