Article View: es.comp.os.ms-windows.programacion
Article #7580Re: Bitmap transparente
From: JORDI
Date: Tue, 01 Jul 1997 00:00
Date: Tue, 01 Jul 1997 00:00
126 lines
5195 bytes
5195 bytes
--------------E67601D2FADFAC1E015EE2D0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Alberto Fdez. Alonso wrote:
> ----- [ ecenaitu@arrakis.es (Inaki Ecenarro) ], escribi� :
>
> > estoy intentando dibujar un bitmap "transparente",
> [........]
>
> Echa un vistazo en la base de MS.
>
> http://www.microsoft.com/kb/
>
> Busca el articulo: Drawing Transparent Bitmaps
> Article ID: Q79212
>
> [B�scalo por el ID, es m�s rapido].
>
> Un Saludo.
>
> --
> Alberto Fern�ndez Alonso. Valladolid - Espa�a (Spain).
> Correo-E: albertof@redestb.es
Especifica un color en tus bitmaps (aquellos que seran transparentes) tal que
cuando
vayas a pintarlo, no lo pintes sino que te saltes esa posicion.
i=0;j=0;
WHILE i<MAX-I DO
WHILE j<MAX-J do
if NOT(color_bitmap(i,j)=TRANSPARENTE) then Pintar_Color
i++
j++
END;
END;
--
-----------------------------------------------------------------------------
Jordi
URL: http://www-fib.upc.es/~d9718863
e-mail: d9718863@est.fib.upc.es
P gina del J$B en: http://www-fib.upc.es/~d9718863/jb.htm
-----------------------------------------------------------------------------
"No es oro todo lo que reluce
ni toda la gente errante anda perdida (...)"
-----------------------------------------------------------------------------
"'Cause I'm a 21st Centurty digital boy
I don't know where I live but I have a lot of toys (...)"
-----------------------------------------------------------------------------
--------------E67601D2FADFAC1E015EE2D0
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit
<HTML>
Alberto Fdez. Alonso wrote:
<BLOCKQUOTE TYPE=CITE>----- [ ecenaitu@arrakis.es (Inaki Ecenarro) ], escribió
:
<P>> estoy intentando dibujar un bitmap "transparente",
<BR> [........]
<P> Echa un vistazo en la base
de MS.
<P> <A HREF="http://www.microsoft.com/kb/">http://www.microsoft.com/kb/</A>
<P> Busca el articulo:
Drawing Transparent Bitmaps
<BR>
Article ID: Q79212
<P> [Búscalo por el ID,
es más rapido].
<P> Un Saludo.
<P>--
<BR> Alberto Fernández Alonso. Valladolid - España (Spain).
<BR> Correo-E: albertof@redestb.es</BLOCKQUOTE>
Especifica un color en tus bitmaps (aquellos que seran transparentes)
tal que cuando
<BR>vayas a pintarlo, no lo pintes sino que te saltes esa posicion.
<BR> i=0;j=0;
<BR> WHILE i<MAX-I DO
<BR>
WHILE j<MAX-J do
<BR>
if NOT(color_bitmap(i,j)=TRANSPARENTE) then Pintar_Color
<BR>
i++
<BR>
j++
<BR>
END;
<BR> END;
<P>--
<BR>-----------------------------------------------------------------------------
<BR>Jordi
<P>URL: <A HREF="http://www-fib.upc.es/~d9718863">http://www-fib.upc.es/~d9718863</A>
<P>e-mail: d9718863@est.fib.upc.es
<P>P gina del J$B en: <A HREF="http://www-fib.upc.es/~d9718863/jb.htm">http://www-fib.upc.es/~d9718863/jb.htm</A>
<P>-----------------------------------------------------------------------------
<BR>"No es oro todo lo que reluce
<BR>
ni toda la gente errante anda perdida (...)"
<BR>-----------------------------------------------------------------------------
<BR>"'Cause I'm a 21st Centurty digital boy
<BR>
I don't know where I live but I have a lot of toys (...)"
<BR>-----------------------------------------------------------------------------</HTML>
--------------E67601D2FADFAC1E015EE2D0--
Technical Details
Message-ID:
<33B8E8EC.A9D98402@est.fib.upc.es>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<33af5b25.732754@news.arrakis.es> <33b61d8d.101600@news.redestb.es>Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII X-Google-Thread: 10d088,efc8dd148b9830e2 X-Google-Attributes: gid10d088,public From: JORDI <d9718863@est.fib.upc.es> Subject: Re: Bitmap transparente Date: 1997/07/01 Message-ID: <33B8E8EC.A9D98402@est.fib.upc.es> X-Deja-AN: 253830408 References: <33af5b25.732754@news.arrakis.es> <33b61d8d.101600@news.redestb.es> X-Priority: 3 (Normal) Organization: Universitat Politecnica de Catalunya Newsgroups: es.comp.os.ms-windows.programacion