Ignore:
Timestamp:
Nov 23, 2012, 1:11:03 PM (12 years ago)
Author:
chronos
Message:
  • Added: Test using Graphics32 package TGR32Image class.
  • Modified: Used packages are now located uncompressed in Packages subfolder.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • GraphicTest/Methods/UBitmapRawImageDataPaintBox.pas

    r449 r450  
    77uses
    88  Classes, SysUtils, UDrawMethod, UFastBitmap, Graphics, LCLType,
    9   FPimage, IntfGraphics, GraphType;
     9  FPimage, IntfGraphics, GraphType{$IFDEF windows}, Windows{$ENDIF};
    1010
    1111type
     
    3838  //PaintBox.Canvas.CopyRect(Rect(0, 0, PaintBox.Width, PaintBox.Height), TempBitmap.Canvas,
    3939  //  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);
    4242end;
    4343
Note: See TracChangeset for help on using the changeset viewer.