Ignore:
Timestamp:
Dec 22, 2016, 1:41:06 PM (8 years ago)
Author:
chronos
Message:
  • Modified: Created package FastGraphics from graphic library files.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/gbitmap/UFormMain.pas

    r23 r24  
    273273  Image: TFPixmap;
    274274begin
    275   Image := TFPixmap.Create;
     275  Image := TFPixmap.Create(nil);
    276276  with Image do begin
    277277    Size := Point(100, 100);
     
    288288procedure TForm1.FormShow(Sender: TObject);
    289289begin
    290   with ColorFormatManager do begin
    291     RegisterFormat(TColorFormatGray1);
    292     RegisterFormat(TColorFormatGray2);
    293     RegisterFormat(TColorFormatGray4);
    294     RegisterFormat(TColorFormatGray8);
    295     RegisterFormat(TColorFormatRGB8);
    296     RegisterFormat(TColorFormatRGBA8);
    297     RegisterFormat(TColorFormatRGB565);
    298   end;
    299290  ListBox1.ItemIndex := 0;
    300291end;
Note: See TracChangeset for help on using the changeset viewer.