Changeset 450 for GraphicTest/Methods/UBitmapRawImageDataPaintBox.pas
- Timestamp:
- Nov 23, 2012, 1:11:03 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GraphicTest/Methods/UBitmapRawImageDataPaintBox.pas
r449 r450 7 7 uses 8 8 Classes, SysUtils, UDrawMethod, UFastBitmap, Graphics, LCLType, 9 FPimage, IntfGraphics, GraphType ;9 FPimage, IntfGraphics, GraphType{$IFDEF windows}, Windows{$ENDIF}; 10 10 11 11 type … … 38 38 //PaintBox.Canvas.CopyRect(Rect(0, 0, PaintBox.Width, PaintBox.Height), TempBitmap.Canvas, 39 39 // Rect(0, 0, TempBitmap.Width, TempBitmap.Height)); 40 PaintBox.Canvas.Draw(0, 0, TempBitmap);41 //BitBlt(hPaint, 0, 0, TempBitmap.Width, TempBitmap.Height, hBmp, 0, 0, srcCopy);40 //PaintBox.Canvas.Draw(0, 0, TempBitmap); 41 BitBlt(hPaint, 0, 0, TempBitmap.Width, TempBitmap.Height, hBmp, 0, 0, srcCopy); 42 42 end; 43 43
Note:
See TracChangeset
for help on using the changeset viewer.