[gtkada] Using Gdk.RGB.Draw_RGB_Image

Pedro Diaz Jimenez pdiaz88 at terra.es
Tue May 1 14:04:45 CEST 2001


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tuesday 01 May 2001 13:49, Preben Randhol wrote:
> Pedro Diaz Jimenez <pdiaz88 at terra.es> wrote on 01/05/2001 (13:06) :
> > buffer := new Gdk.RGB.RGB_Buffer; -- Won't work, I need to constraint the
> > - --array, right?
>
> What do you mean won't work? Won't compile?
It would compile, but end with an STORAGE_ERROR - object too large :(

The problem is that I don't know where to specify the size of the buffer, 
because after 
buffer := new Gdk.RGB.RGB_Buffer; 
I have a pointer to an (unconstrained?) array

I want to say something like: here is a pointer to an RGB_Buffer of size X 
with ranges X1..X2, so I can actually define the size of the image that is 
based on that buffer

Cheers
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

iD8DBQE67qZdnu53feEYxlERArUdAKDHUn4eTFlX4wwS/kR1cXbW3TIw3gCdHH6X
GjsKHmKYOquc/RoBIqR83X4=
=PRvo
-----END PGP SIGNATURE-----




More information about the gtkada mailing list