Changeset 54 for trunk/Packages/Common/UMetaCanvas.pas
- Timestamp:
- Dec 24, 2022, 7:17:24 PM (23 months ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:ignore
-
old new 6 6 Tunneler.dbg 7 7 tunneler.lps 8 *.res 8 9 heaptrclog.trc 9 10 Components/Common/Languages/*.mo 10 Components/CoolTranslator/Demo/lib 11
-
- Property svn:ignore
-
trunk/Packages/Common/UMetaCanvas.pas
r51 r54 1 1 unit UMetaCanvas; 2 2 3 {$mode delphi}4 5 3 interface 6 4 7 5 uses 8 Classes, SysUtils, Graphics, Types, fgl;6 Classes, SysUtils, Graphics, Types, Generics.Collections; 9 7 10 8 type … … 19 17 end; 20 18 21 TCanvasObjects = class(T FPGObjectList<TCanvasObject>)19 TCanvasObjects = class(TObjectList<TCanvasObject>) 22 20 end; 23 21 … … 142 140 procedure RoundRect(const Rect: TRect; RX,RY: Integer); overload; 143 141 procedure TextOut(X,Y: Integer; const Text: String); override; 144 procedure Polygon(Points: PPoint; NumPts: Integer; Winding: boolean = False); override;142 procedure Polygon(Points: PPoint; NumPts: Integer; Winding: Boolean = False); override; 145 143 procedure Ellipse(x1, y1, x2, y2: Integer); override; 146 144 procedure StretchDraw(const DestRect: TRect; SrcGraphic: TGraphic); override; … … 502 500 end; 503 501 504 procedure TMetaCanvas.Polygon(Points: PPoint; NumPts: Integer; Winding: boolean502 procedure TMetaCanvas.Polygon(Points: PPoint; NumPts: Integer; Winding: Boolean 505 503 ); 506 504 var … … 508 506 I: Integer; 509 507 begin 508 APoints := nil; 510 509 SetLength(APoints, NumPts); 511 510 for I := 0 to High(APoints) do
Note:
See TracChangeset
for help on using the changeset viewer.