[Lazarus] Move simple types away from Graphics unit

Alexander Klenin klenin at gmail.com
Sun Mar 27 13:46:46 CEST 2011


On Sun, Mar 27, 2011 at 22:21, Michael Van Canneyt
<michael at freepascal.org> wrote:
>
>
> 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.

Sure. maybe you can even add corresponfing properties (Pen.EndCap,
Pen.JoinStyle etc)
with empty implementations

-- 
Alexander S. Klenin




More information about the Lazarus mailing list