Ignore:
Timestamp:
Dec 22, 2016, 2:34:33 PM (8 years ago)
Author:
chronos
Message:
  • Fixed: Memory leaks introduced by TFColor. TFColor now use reference counting as descendant of IFColor.
  • Added: Line drawing for TFPixmap class.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/gbitmap/Packages/FastGraphics/UGGraphics.pas

    r24 r25  
    192192    ((Canvas as TGCanvas<TGColor>).Bitmap as TGPixmap<TGColor>).Pixels[Trunc(Position.X + I * (Pos.X - Position.X) / Len),
    193193      Trunc(Position.Y + I * (Pos.Y - Position.Y) / Len)] := Color;
     194  Position := Pos;
    194195end;
    195196
Note: See TracChangeset for help on using the changeset viewer.