![]() |
Re: teil eines bitmaps in ein anderes kopieren
Da Du anscheinend nur ein Handle auf eine Bitmap hast und ich keine weitere Idee dazu (oder aktuell ein Brett vorm Kopf), muss ich leider passen :( .
|
Re: teil eines bitmaps in ein anderes kopieren
kann ich denn aus einem bitmaphandle irgendwie nen devicekontext erstellen??
|
Re: teil eines bitmaps in ein anderes kopieren
![]() ![]() |
Re: teil eines bitmaps in ein anderes kopieren
ansonsten sollte es auch so gehen:
Delphi-Quellcode:
var
lBitmap: TBitmap; begin lBitmap := TBitmap.Create(); try lBitmap.Handle := BitmapHandle; try //Now you can work with lBitmap.Canvas.Handle finally lBitmap.Handle := 0; end; finally lBitmap.Free; end; |
Re: teil eines bitmaps in ein anderes kopieren
Ist halt die Frage ob er direkt mit dem GDI arbeiten möchte/muss, oder sich das Polster von Delphi gönnen kann :)
|
Re: teil eines bitmaps in ein anderes kopieren
Zur Not in die Sourcen von TBitmap schauen, falls man daraus schlau wird.
|
Re: teil eines bitmaps in ein anderes kopieren
nee alles ohne tbitmap, nur winapi...
mit tbitmap, hab ichs schon ;-) |
Alle Zeitangaben in WEZ +1. Es ist jetzt 21:09 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz