[Lazarus] Get JPEG from TAChart in CGI app

michael.vancanneyt at wisa.be michael.vancanneyt at wisa.be
Mon Mar 21 16:38:15 CET 2011



On Tue, 22 Mar 2011, Alexander Klenin wrote:

> On Mon, Mar 21, 2011 at 22:08,  <michael.vancanneyt at wisa.be> 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.




More information about the Lazarus mailing list