On Tue, 22 Mar 2011, Alexander Klenin wrote:
On Mon, Mar 21, 2011 at 22:08, <[email protected]> wrote:
For starters, the absence of following is most problematic:
Canvas.FillRect
Canvas.RadialPie
Font.Orientation
FillRect and RadialPie can be solved easily. The Font.Orientation can be
added as a property, I would have to look at FreeType to see how it can be
implemented. Consider it on the todo list. I can add the missing
properties/methods quickly, their implementations may take slightly longer
:-)
Yes, please at least add dummy Orientation property.
Unfortunately, I have tokeep compatibility with FPC 2.4.2 until at least
the next Lazarus release, but at least there will be hope ;-)
I have implemented FillRect. RadialPie is added but not yet functional.
I also added PolyBezier, but it is not yet functional.
I have implemented FPCanvas back-end, (see nogui demo since r29966),
and found the following additional problems:
1) TextSize/TextOut do not work at all (raise ENotImplemented).
2) Clipping is broken (try uncommenting a line after FIXME and see the result)
3) FPCanvasHelper.Assign not implemented -- there exist
DoCopyProps procedure which does the same, but is protected for some reason.
I will look at this.
4) Ploygon/Polyline interface is weaker than in TCanvas,
and so may require extra array copying
5) TFPImageCanvas has abstract methods(!).
Even standard drawing.pp demo from the fcl-image/examples gives warnings.
I will look at this as well :-)
Michael.
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus