On Fri, 5 Feb 2010 19:41:54 +0400
Vladimir Zhirov <[email protected]> wrote:

> Hi,
> 
> AggPas demo in <lazarus>\components is great, 
> but I've got a question about it.
> 
> <lazarus>\components\aggpas\lazarus\example\AggPasInLCLDemo2.lpr
> project shows painting on Agg canvas, and then on bitmap canvas.
> When painting is done on Agg canvas everything is fine, but 
> graphics that is paint on bitmap canvas appears in gray color
> instead of blue and red.

It is colorful under linux and mac. Maybe the rgba is wrong for windows.

 
> If I comment out all painting done via Agg and just draw on regular
> canvas, the colors are ok.
> 
> Is it expected behaviour or bug?

It's untested. Probably just a wrong pixel format somewhere.
Please create a bug report.

Mattias

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to