Changeset 29 for trunk/Packages/FastGraphics/ColorFormats
- Timestamp:
- Dec 22, 2016, 9:46:17 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Packages/FastGraphics/ColorFormats/UColorRGB8.pas
r28 r29 56 56 procedure PaintToBitmap(Bitmap: TBitmap; Rect: TRect); override; 57 57 procedure LoadFromCanvas(Canvas: TCanvas); override; 58 procedure LoadFromBitmap(Bitmap: TBitmap); override; 58 59 function GetDataSize: Integer; override; 59 60 constructor Create; override; … … 170 171 end; 171 172 173 procedure TBPixmapRGB8.LoadFromBitmap(Bitmap: TBitmap); 174 begin 175 Pixmap.LoadFromBitmap(Bitmap, Pixmap.ColorToRGB8); 176 end; 177 172 178 function TBPixmapRGB8.GetDataSize: Integer; 173 179 begin
Note:
See TracChangeset
for help on using the changeset viewer.