mirror of
https://github.com/UglyToad/PdfPig.git
synced 2025-09-20 03:17:57 +08:00
Rename PdfSubpath.ClosePath() to PdfSubpath.CloseSubpath() to avoid confusion
This commit is contained in:
@@ -181,7 +181,7 @@
|
|||||||
LineTo(x + width, y); // (x + width) y l
|
LineTo(x + width, y); // (x + width) y l
|
||||||
LineTo(x + width, y + height); // (x + width) (y + height) l
|
LineTo(x + width, y + height); // (x + width) (y + height) l
|
||||||
LineTo(x, y + height); // x (y + height) l
|
LineTo(x, y + height); // x (y + height) l
|
||||||
ClosePath(); // h
|
CloseSubpath(); // h
|
||||||
IsDrawnAsRectangle = true;
|
IsDrawnAsRectangle = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -212,7 +212,7 @@
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Close the path.
|
/// Close the path.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public void ClosePath()
|
public void CloseSubpath()
|
||||||
{
|
{
|
||||||
if (currentPosition.HasValue)
|
if (currentPosition.HasValue)
|
||||||
{
|
{
|
||||||
|
@@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
public static void Run(Type1BuildCharContext context)
|
public static void Run(Type1BuildCharContext context)
|
||||||
{
|
{
|
||||||
context.Path.ClosePath();
|
context.Path.CloseSubpath();
|
||||||
context.Stack.Clear();
|
context.Stack.Clear();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -431,7 +431,7 @@
|
|||||||
throw new ArgumentException("CloseSubpath(): first command not Move.");
|
throw new ArgumentException("CloseSubpath(): first command not Move.");
|
||||||
}
|
}
|
||||||
|
|
||||||
CurrentSubpath.ClosePath();
|
CurrentSubpath.CloseSubpath();
|
||||||
AddCurrentSubpath();
|
AddCurrentSubpath();
|
||||||
return point;
|
return point;
|
||||||
}
|
}
|
||||||
@@ -458,7 +458,7 @@
|
|||||||
|
|
||||||
if (close)
|
if (close)
|
||||||
{
|
{
|
||||||
CurrentSubpath.ClosePath();
|
CurrentSubpath.CloseSubpath();
|
||||||
}
|
}
|
||||||
|
|
||||||
ClosePath();
|
ClosePath();
|
||||||
@@ -475,7 +475,7 @@
|
|||||||
|
|
||||||
if (close)
|
if (close)
|
||||||
{
|
{
|
||||||
CurrentSubpath.ClosePath();
|
CurrentSubpath.CloseSubpath();
|
||||||
}
|
}
|
||||||
|
|
||||||
ClosePath();
|
ClosePath();
|
||||||
@@ -493,7 +493,7 @@
|
|||||||
|
|
||||||
if (close)
|
if (close)
|
||||||
{
|
{
|
||||||
CurrentSubpath.ClosePath();
|
CurrentSubpath.CloseSubpath();
|
||||||
}
|
}
|
||||||
|
|
||||||
ClosePath();
|
ClosePath();
|
||||||
|
Reference in New Issue
Block a user