[Lazarus] TBitmapCanvas public

Salvatore Coppola coppolastudio at gmail.com
Fri Dec 12 08:44:13 CET 2008


2008/12/12 Marc Weustink <marc at dommelstein.net>

> Coppola Ing. Salvatore wrote:
> > Mattias Gärtner wrote:
> >> Zitat von Paul Ishenin <webpirat at mail.ru>:
> >>
> >>
> >>> Coppola Ing. Salvatore пишет:
> >>>
> >>>> Coppola Ing. Salvatore wrote:
> >>>>
> >>>>
> >>>>> Hi,
> >>>>> can the TBitmapCanvas be declared public (I mean before
> >>>>> "implementation") in the unit Graphics?
> >>>>>
> >>>>>
> >>>> I assume is NOT!
> >>>>
> >>>>
> >>> No, assume silence as nobody remember why it is so and nobody have time
> >>> to look :(
> >>>
> >> Because there was never a reason to make it public. Private things can
> be
> >> changed easier.
> >> Why should it be made public?
> >>
> >>
> >
> > There are some Printer Preview such as PagePrinter based on Windows
> > TMetafile and TMetafileCanvas. Replacing TMetafile with TBitmap and
> > TMetafileCanvas with TBitmapCanvas with some little change they can
> > works under Linux and other OS to.
>
> I do understand that a TMetafile needs a TMetafileCanvas and that it is
> therefore declared, however I don't see why a TBitmapCanvas is needed
> public when you have TBitmap.
>

OK I will try to understand better TBitmap
Thanks
Salvatore


> Marc
>
> _______________________________________________
> Lazarus mailing list
> Lazarus at lazarus.freepascal.org
> http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20081212/b258e2a4/attachment-0007.html>


More information about the Lazarus mailing list