[gtkada] Using Gdk.RGB.Draw_RGB_Image
Pedro Diaz Jimenez
pdiaz88 at terra.es
Tue May 1 13:03:58 CEST 2001
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello all,
I'm having big trouble (possibly due to my lack of ADA programming skills)
to use the Gdk.RGB.Draw_RGB_Image procedure. The problem is in the
Gdk.RDG.RGB_Buffer parameter of the Call. I tried the following
buffer : Gdk.RGB.RGB_Buffer_Access;
.
.
.
buffer := new Gdk.RGB.RGB_Buffer; -- Won't work, I need to constraint the
- --array, right?
buffer := new Gdk.RGB.RGB_Buffer(1..256*3); -- Won't compile
i tried in a lot of ways, always ending in a compilation error or in a
STORAGE_ERROR excepcion. I'm clueness now, and I would greatly
apreciate a simple example of using this procedure to draw in a
Gdk.Drawable, or at least, how to instanciate properly the Gdk.Rgb.Rgb_Buffer
param
Thanks a lot
Pedro
- --
/*
* Pedro Diaz Jimenez
* pdiaz88 at terra.es
* pdiaz at acm.asoc.fi.upm.es
*
* Wanna see how 100000! looks like?:
* http://acm.asoc.fi.upm.es/~pdiaz/fact_100.000
*
* La sabiduria me persigue, pero yo soy mas rapido
*/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE67pgenu53feEYxlERAsDgAKDFE48RdeNcSAS/wLfhl5K5+tfGSgCeKcT6
ADsB7ywkNwtfiNkMAjlRYXA=
=bzJ6
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: public_key.asc
Type: application/pgp-keys
Size: 1379 bytes
Desc: not available
Url : /pipermail/gtkada/attachments/20010501/b000b969/attachment.key
More information about the gtkada
mailing list