Changeset 424 for trunk/Packages/Common/UMetaCanvas.pas
- Timestamp:
- Apr 25, 2022, 6:22:53 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Packages/Common/UMetaCanvas.pas
r423 r424 4 4 5 5 uses 6 Classes, SysUtils, Graphics, Types, fgl;6 Classes, SysUtils, Graphics, Types, Generics.Collections; 7 7 8 8 type … … 17 17 end; 18 18 19 TCanvasObjects = class(T FPGObjectList<TCanvasObject>)19 TCanvasObjects = class(TObjectList<TCanvasObject>) 20 20 end; 21 21 … … 140 140 procedure RoundRect(const Rect: TRect; RX,RY: Integer); overload; 141 141 procedure TextOut(X,Y: Integer; const Text: String); override; 142 procedure Polygon(Points: PPoint; NumPts: Integer; Winding: boolean = False); override;142 procedure Polygon(Points: PPoint; NumPts: Integer; Winding: Boolean = False); override; 143 143 procedure Ellipse(x1, y1, x2, y2: Integer); override; 144 144 procedure StretchDraw(const DestRect: TRect; SrcGraphic: TGraphic); override; … … 500 500 end; 501 501 502 procedure TMetaCanvas.Polygon(Points: PPoint; NumPts: Integer; Winding: boolean502 procedure TMetaCanvas.Polygon(Points: PPoint; NumPts: Integer; Winding: Boolean 503 503 ); 504 504 var … … 506 506 I: Integer; 507 507 begin 508 APoints := nil; 508 509 SetLength(APoints, NumPts); 509 510 for I := 0 to High(APoints) do
Note:
See TracChangeset
for help on using the changeset viewer.