Changeset 356 for GraphicTest/UDrawMethod.pas
- Timestamp:
- Apr 29, 2012, 12:24:38 PM (13 years ago)
- Location:
- GraphicTest
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
GraphicTest
- Property svn:ignore
-
old new 6 6 GraphicTest.lrs 7 7 GraphicTest.rc 8 GraphicTest.lps
-
- Property svn:ignore
-
GraphicTest/UDrawMethod.pas
r319 r356 12 12 type 13 13 TPaintObject = (poImage, poPaintBox, poOpenGL); 14 14 15 15 16 { TDrawMethod } … … 466 467 for X := 0 to Size.X - 1 do begin 467 468 P^ := NoSwapBRComponent(Pixels[X, Y]) or $ff000000; 469 //P^ := Pixels[X, Y] or $ff000000; 468 470 (*P^.red := Pixels[X, Y]; 469 471 P^.green := Pixels[X, Y]; … … 476 478 //BGRABitmap.Draw(Bitmap.Canvas, 0, 0, True); 477 479 BGRABitmap.Draw(PaintBox.Canvas, 0, 0, True); 478 // Bitmap.RawImage.Ass479 480 end; 480 481 … … 522 523 PaintBox.Canvas.CopyRect(Rect(0, 0, Bitmap.Width, Bitmap.Height), TempBitmap.Canvas, 523 524 Rect(0, 0, TempBitmap.Width, TempBitmap.Height)); 525 // PaintBox.Canvas.Draw(0, 0, TempBitmap); 524 526 //BitBlt(hPaint, 0, 0, TempBitmap.Width, TempBitmap.Height, hBmp, 0, 0, srcCopy); 525 527 end;
Note:
See TracChangeset
for help on using the changeset viewer.