[Lazarus] TCairoCanvas integration

petr.kristan at epos.cz petr.kristan at epos.cz
Thu Mar 11 16:50:36 CET 2010


On Thu, Mar 11, 2010 at 07:37:12AM -0800, Jesus Reyes wrote:
> 
> > > I place it into lcl/ along poscriptcanvas.pas.
> > 
> > lcl/ only contains platform independent sources (they must
> > use a
> > minimum of external libraries). Platform dependent things
> > should be
> > placed in lcl/interfaces/...
> > I think that non gtk users won't use cairo, so better place
> > it in
> > lcl/interfaces/gtk2.
> > 
> > 
> > Mattias
> > 
> > --
> 
> I think it would be good to make it an independent package available in Lazarus, not necessarily linked to the LCL or FPC and at the same time available to users from different OS and widgetsets, the quality and the multi backend ability is certainly something that not only gtk users want.

It sounds good.

I make CUPSPrinter switch:

Var
  CupsCanvasClass : TFilePrinterCanvas = TPostscriptPrinterCanvas;

and remaining can be easily independent.

Petr

-- 
Petr Kristan
.
EPOS PRO s.r.o., Bozeny Nemcove 2625, 530 02 Pardubice
tel: +420 466335223    Czech Republic (Eastern Europe) 
fax: +420 466510709




More information about the Lazarus mailing list