Ignore:
Timestamp:
Dec 23, 2016, 10:07:39 AM (8 years ago)
Author:
chronos
Message:
  • Modified: Drawing and loading using bitmap rawimage improvement.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Forms/UFormMain.pas

    r29 r30  
    4040    StatusBar1: TStatusBar;
    4141    Timer1: TTimer;
     42    ToolBar1: TToolBar;
     43    ToolButton1: TToolButton;
    4244    procedure FormActivate(Sender: TObject);
    4345    procedure FormClose(Sender: TObject; var CloseAction: TCloseAction);
     
    134136    View.DestRect := Bounds(0, 0, PaintBox1.Width, PaintBox1.Height);
    135137    //Bitmap.PaintToCanvas(TempBitmap.Canvas, View.SrcRect);
    136     //Bitmap.PaintToBitmap(TempBitmap, View.SrcRect);
     138    Bitmap.PaintToBitmap(TempBitmap, View.SrcRect);
    137139    //TempBitmap.EndUpdate(False);
    138140    PaintBox1.Canvas.StretchDraw(View.DestRect, TempBitmap);
Note: See TracChangeset for help on using the changeset viewer.