[prev in list] [next in list] [prev in thread] [next in thread]
List: gambas-user
Subject: [Gambas-user] Warning with Gambas 3
From: Benoit Minisini <gambas () users ! sourceforge ! net>
Date: 2009-01-21 20:00:49
Message-ID: 200901212100.49706.gambas () users ! sourceforge ! net
[Download RAW message or body]
Hi,
Beware that in the latest revision of the development version, the syntax of
the Image constructor has changed.
Before, it was:
--------
New Image(Width As Integer, Height As Integer, Optional Transparent As
Boolean)
--------
Now, Image are always transparent, and the syntax is:
--------
New Image(Optional Width As Integer, Optional Height As Integer, Optional
Format As Integer, Optional Color As Integer)
--------
Format can be Image.Standard, or Image.Premultiplied, the latest meaning than
the color components are premultiplied by the alpha component.
Color is a color that will be used to initialize the image contents.
Otherwise, the contents is undefined.
Regards,
--
Benoit Minisini
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic