Ignore:
Timestamp:
Apr 29, 2012, 12:24:38 PM (12 years ago)
Author:
chronos
Message:
 
Location:
GraphicTest
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • GraphicTest

    • Property svn:ignore
      •  

        old new  
        66GraphicTest.lrs
        77GraphicTest.rc
         8GraphicTest.lps
  • GraphicTest/UDrawMethod.pas

    r319 r356  
    1212type
    1313  TPaintObject = (poImage, poPaintBox, poOpenGL);
     14
    1415
    1516  { TDrawMethod }
     
    466467    for X := 0 to Size.X - 1 do begin
    467468      P^ := NoSwapBRComponent(Pixels[X, Y]) or $ff000000;
     469      //P^ := Pixels[X, Y] or $ff000000;
    468470      (*P^.red := Pixels[X, Y];
    469471      P^.green := Pixels[X, Y];
     
    476478  //BGRABitmap.Draw(Bitmap.Canvas, 0, 0, True);
    477479  BGRABitmap.Draw(PaintBox.Canvas, 0, 0, True);
    478 //  Bitmap.RawImage.Ass
    479480end;
    480481
     
    522523    PaintBox.Canvas.CopyRect(Rect(0, 0, Bitmap.Width, Bitmap.Height), TempBitmap.Canvas,
    523524      Rect(0, 0, TempBitmap.Width, TempBitmap.Height));
     525   // PaintBox.Canvas.Draw(0, 0, TempBitmap);
    524526    //BitBlt(hPaint, 0, 0, TempBitmap.Width, TempBitmap.Height, hBmp, 0, 0, srcCopy);
    525527end;
Note: See TracChangeset for help on using the changeset viewer.