[Lazarus] Move simple types away from Graphics unit

Michael Van Canneyt michael at freepascal.org
Sun Mar 27 13:21:17 CEST 2011



On Sun, 27 Mar 2011, Alexander Klenin wrote:

> I am trying to write widgetset-independent version of TAChart
> (and encourage BGRABitmap author to do the same).
>
> To achieve that, Graphics unit should be removed from the dependencies.
> However, it contains various enumerations which I would like to continue using.
> For example: TFontStyle, TFontStyles, TPenEndCap, TPenJoinStyle.
>
> I would like those definitions moved to GraphType or, better yet, to FPCanvas.

If no-one of the Lazarus team objects, I can put them in FPCanvas, 
and then you can make the current definitions in Lazarus an alias for 
the FPCanvas types.

Michael.




More information about the Lazarus mailing list