Changeset 210 for GraphicTest/UDrawMethod.pas
- Timestamp:
- Mar 19, 2011, 12:26:06 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GraphicTest/UDrawMethod.pas
r206 r210 133 133 P := PInteger(BGRABitmap.ScanLine[Y]); 134 134 for X := 0 to Size.X - 1 do begin 135 P^ := NoSwapBRComponent(Pixels[X, Y]) ;135 P^ := NoSwapBRComponent(Pixels[X, Y]) or $ff000000; 136 136 (*P^.red := Pixels[X, Y]; 137 137 P^.green := Pixels[X, Y]; … … 141 141 end; 142 142 end; 143 //BGRABitmap.InvalidateBitmap; // changed by direct access143 BGRABitmap.InvalidateBitmap; // changed by direct access 144 144 //BGRABitmap.Draw(Bitmap.Canvas, 0, 0, True); 145 145 BGRABitmap.Draw(PaintBox.Canvas, 0, 0, True);
Note:
See TracChangeset
for help on using the changeset viewer.