Forum | | | |  | quelqu'un une concept comment Je l' Bitmapspeicherbereich nachträglich changement peux - car hierbei wird oui qui grenier lediglich vorbereitet. KompilierenMarqueSéparationdeclare h&,i&
cls
declare b#
dim b#,80*80*4
clear b#
whileloop 500
px rnd(80),rnd(80),255,255,255
wend
h&=external("gdi32","CreateBitmap",80,80,1,32,b#)
print h&
print external("gdi32","SelectObject",%hdc,h&)
print h&
while 1
DrawPic H&, %mousex-30,%mousey-30; 0
px rnd(80),rnd(80),255,255,255
wend
waitkey
deleteobject h&
end
proc px
parameters x&,y&,r%,g%,b%
declare p&
p&=y&*320+x&*4
byte b#,p&=b%
byte b#,p&+1=g%
byte b#,p&+2=r%
endproc
je suis wohl betriebsblind.
Salve, iF. |
| | | | |
| |  Jörg Sellmeyer | peut-être so: KompilierenMarqueSéparationWhile 1
sleep 1
Case %mousepressed=1:H&=External("gdi32","CreateBitmap",Rnd(80),Rnd(80),1,32,B#)
Case %mousepressed=2:Break
Drawpic H&, %Mousex-30,%Mousey-30; 0
Px Rnd(80),Rnd(80),Rnd(255),Rnd(255),Rnd(255)
/a>
je hab mais je n'en sais rien comment sich cela sur den grenier auswirkt. |
| | | Windows XP SP2 XProfan X4... und hier mal was ganz anderes als Profan ...  | 12.08.2005 ▲ |
| |
| |  | Ne du erstellst oui toujours neue BMPs - oui c'est ca c'est oui ebend pas Sinn qui l'affaire.  |
| | | | |
| |  Frank Abbing | Hi iF.
Hatten wir oui Schonmal, ou bien? Du musst en supplément qui DIB-Funktionen nutzen. tiens pour sous DrawDibDraw() et den avec cela verwandten APIs.
peux es son, dass du une AA-effet construire veux? je suis avec deiner concept assez gescheitert et probiere es justement anders. Wird mais toujours besser... |
| | | | |
| |  Jörg Sellmeyer | | | | Windows XP SP2 XProfan X4... und hier mal was ganz anderes als Profan ...  | 13.08.2005 ▲ |
| |
| |  Frank Abbing | Hi.
AA = AntiAliasing  |
| | | | |
|
répondreOptions du sujet | 2.124 Views |
Themeninformationencet Thema hat 3 participant: |
|