<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://mitov.com/wiki/skins/common/feed.css?301"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://mitov.com/wiki/index.php?action=history&amp;feed=atom&amp;title=Method_function_IGDIPlus.IGPGraphicsPath.GetPathData%28%29_%3A_IGPPathData</id>
		<title>Method function IGDIPlus.IGPGraphicsPath.GetPathData() : IGPPathData - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://mitov.com/wiki/index.php?action=history&amp;feed=atom&amp;title=Method_function_IGDIPlus.IGPGraphicsPath.GetPathData%28%29_%3A_IGPPathData"/>
		<link rel="alternate" type="text/html" href="https://mitov.com/wiki/index.php?title=Method_function_IGDIPlus.IGPGraphicsPath.GetPathData()_:_IGPPathData&amp;action=history"/>
		<updated>2026-05-14T21:06:21Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.17.0</generator>

	<entry>
		<id>https://mitov.com/wiki/index.php?title=Method_function_IGDIPlus.IGPGraphicsPath.GetPathData()_:_IGPPathData&amp;diff=11537&amp;oldid=prev</id>
		<title>David Alm: Automated Syncronization with Documentation</title>
		<link rel="alternate" type="text/html" href="https://mitov.com/wiki/index.php?title=Method_function_IGDIPlus.IGPGraphicsPath.GetPathData()_:_IGPPathData&amp;diff=11537&amp;oldid=prev"/>
				<updated>2012-10-18T17:18:52Z</updated>
		
		<summary type="html">&lt;p&gt;Automated Syncronization with Documentation&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;b&amp;gt;&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;&lt;br /&gt;
This is a Beta Read Only version of this page. &lt;br /&gt;
Please review and send recommendations to [mailto:mitov@mitov.com mitov@mitov.com]. &lt;br /&gt;
We will enable the editing as soon as we are happy with the overall Wiki site.&lt;br /&gt;
&amp;lt;/span&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Class:''' [[Interface IGDIPlus.IGPGraphicsPath|IGPGraphicsPath]]&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
=== Delphi: ===&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
'''function''' GetPathData() : [[Interface IGDIPlus.IGPPathData|IGPPathData]];&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== C++ Builder: ===&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
[[Interface IGDIPlus.IGPPathData|IGPPathData]] '''__fastcall''' GetPathData();&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Visual C++ (MFC): ===&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
 GetPathData();&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Summary ==&lt;br /&gt;
Returns an [[Interface IGDIPlus.IGPPathData|IGPPathData]] interface to object containing an array of points and an array of point types from this path. &lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
Call this method to get an [[Interface IGDIPlus.IGPPathData|IGPPathData]] interface to object&lt;br /&gt;
 containing an array of points and an array of point types&lt;br /&gt;
 from this path. Together, these two arrays define the lines,&lt;br /&gt;
 curves, figures, and markers of this path.&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 Example:&lt;br /&gt;
 &lt;br /&gt;
 The following example creates and draws a path that has a&lt;br /&gt;
 line, a rectangle, an ellipse, and a curve. The code gets the&lt;br /&gt;
 path's points and types by passing the address of a PathData&lt;br /&gt;
 object to the GetPathData method. Then the code draws each of&lt;br /&gt;
 the path's data points.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
 var&lt;br /&gt;
   AGraphics : [[Interface IGDIPlus.IGPGraphics|IGPGraphics]];&lt;br /&gt;
   APath : [[Interface IGDIPlus.IGPGraphicsPath|IGPGraphicsPath]];&lt;br /&gt;
   APathData : [[Interface IGDIPlus.IGPPathData|IGPPathData]];&lt;br /&gt;
   ABrush : [[Interface IGDIPlus.IGPPen|IGPPen]];&lt;br /&gt;
   I : Integer;&lt;br /&gt;
 &lt;br /&gt;
 begin&lt;br /&gt;
   AGraphics := [[Class IGDIPlus.TGPGraphics|TGPGraphics]].Create( ACanvas );&lt;br /&gt;
   APath := TGLPath.Create();&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
 &amp;lt;code lang=&amp;quot;delphi&amp;quot;&amp;gt;&lt;br /&gt;
   APath.[[Method function IGDIPlus.IGPGraphicsPath.AddLine(TGPPoint;TGPPoint) : TGPGraphicsPath|AddLine]](20, 100, 150, 200);&lt;br /&gt;
   APath.[[Method function IGDIPlus.IGPGraphicsPath.AddRectangle(TGPRect) : TGPGraphicsPath|AddRectangle]](MakeRect(40, 30, 80, 60));&lt;br /&gt;
   APath.[[Method function IGDIPlus.IGPGraphicsPath.AddEllipse(TGPRect) : TGPGraphicsPath|AddEllipse]](MakeRect(200, 30, 200, 100));&lt;br /&gt;
   APath.[[Method function IGDIPlus.IGPGraphicsPath.AddCurve(array) : TGPGraphicsPath|AddCurve]]([&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
       MakePointF(200, 200),&lt;br /&gt;
       MakePointF(250, 240),&lt;br /&gt;
       MakePointF(200, 300),&lt;br /&gt;
       MakePointF(300, 310),&lt;br /&gt;
       MakePointF(250, 350)&lt;br /&gt;
       ]);&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
 &amp;lt;code lang=&amp;quot;delphi&amp;quot;&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
   // Draw the path.&lt;br /&gt;
   AGraphics.DrawPath( [[Class IGDIPlus.TGPPen|TGPPen]].Create( aclBlue ), &amp;amp;amp;path);&lt;br /&gt;
 &lt;br /&gt;
   // Get the path data.&lt;br /&gt;
   APathData := APath.GetPathData();&lt;br /&gt;
 &lt;br /&gt;
   // Draw the path's data points.&lt;br /&gt;
   ABrush := [[Class IGDIPlus.TGPSolidBrush|TGPSolidBrush]].Create( aclRed );&lt;br /&gt;
   for I := 0 to APathData.Count - 1 do&lt;br /&gt;
   {&lt;br /&gt;
      AGraphics.FillEllipse(&lt;br /&gt;
         ABrush,&lt;br /&gt;
         APathData.Points[ I ].X - 3.0,&lt;br /&gt;
         APathData.Points[ I ].Y - 3.0,&lt;br /&gt;
         6.0,&lt;br /&gt;
         6.0);&lt;br /&gt;
   }&lt;br /&gt;
 end;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
Remarks&lt;br /&gt;
A [[Interface IGDIPlus.IGPGraphicsPath|IGPGraphicsPath]] object has an array of points and an array&lt;br /&gt;
of types. Each element in the array of types is a byte that&lt;br /&gt;
specifies the point type and a set of flags for the&lt;br /&gt;
corresponding element in the array of points. Possible point&lt;br /&gt;
types and flags are listed in the [[Enum IGDIPlus.TGPPathPointType|TGPPathPointType]]&lt;br /&gt;
enumeration.&lt;/div&gt;</summary>
		<author><name>David Alm</name></author>	</entry>

	</feed>