#1 2012-11-16 15:48:34

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,183
Website

Several fixes and enhancements by Sinisa (sinisav)

Several fixes and enhancements by Sinisa (sinisav) have been committed to the Synopse PDF engine - THANKS FOR THE CONTRIBUTION!
See http://synopse.info/fossil/info/2bb4d7686e

Fixes are mostly for embeded metafiles:
- added World Transformation matrix
- fixed scaling objects (bitmaps, pen, text)
- fixed text positioning
- added region/clipping support
- added graphics/mapping mode
- add new enum items: EMR_POLYPOLYGON, EMR_POLYPOLYLINE, EMR_POLYPOLYGON16, EMR_POLYPOLYLINE16, EMR_GRADIENTFILL, EMR_MODIFYWORLDTRANSFORM, EMR_EXTCREATEPEN, EMR_SETMITERLIMIT, EMR_SETMETARGN, EMR_EXTSELECTCLIPRGN, EMR_INTERSECTCLIPRECT, EMR_SETMAPMODE, EMR_BEGINPATH, EMR_ENDPATH, EMR_ABORTPATH, EMR_CLOSEFIGURE, EMR_FILLPATH, EMR_STROKEPATH, EMR_STROKEANDFILLPATH, EMR_SETPOLYFILLMODE, EMR_SETSTRETCHBLTMODE, EMR_SETARCDIRECTION, EMR_POLYLINETO, EMR_POLYLINETO16
- fixed EMR_POLYBEZIER* and moveto action (new way to mark when processed - when coordinates are set to use Point(0,0) )
- fixed null pen and not stroke
- few more issues still remains (gradient fill, some text size issues...)

Thanks a lot for the contribution!
smile

Any feedback is welcome.

Offline

Board footer

Powered by FluxBB