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 to keep compatibility with FPC 2.4.2 until at least the next Lazarus release, but at least there will be hope ;-) 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. 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. -- Alexander S. Klenin -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
