mirror of
https://github.com/UglyToad/PdfPig.git
synced 2025-09-18 18:27:55 +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 + height); // (x + width) (y + height) l
|
||||
LineTo(x, y + height); // x (y + height) l
|
||||
ClosePath(); // h
|
||||
CloseSubpath(); // h
|
||||
IsDrawnAsRectangle = true;
|
||||
}
|
||||
|
||||
@@ -212,7 +212,7 @@
|
||||
/// <summary>
|
||||
/// Close the path.
|
||||
/// </summary>
|
||||
public void ClosePath()
|
||||
public void CloseSubpath()
|
||||
{
|
||||
if (currentPosition.HasValue)
|
||||
{
|
||||
|
@@ -17,7 +17,7 @@
|
||||
|
||||
public static void Run(Type1BuildCharContext context)
|
||||
{
|
||||
context.Path.ClosePath();
|
||||
context.Path.CloseSubpath();
|
||||
context.Stack.Clear();
|
||||
}
|
||||
}
|
||||
|
@@ -431,7 +431,7 @@
|
||||
throw new ArgumentException("CloseSubpath(): first command not Move.");
|
||||
}
|
||||
|
||||
CurrentSubpath.ClosePath();
|
||||
CurrentSubpath.CloseSubpath();
|
||||
AddCurrentSubpath();
|
||||
return point;
|
||||
}
|
||||
@@ -458,7 +458,7 @@
|
||||
|
||||
if (close)
|
||||
{
|
||||
CurrentSubpath.ClosePath();
|
||||
CurrentSubpath.CloseSubpath();
|
||||
}
|
||||
|
||||
ClosePath();
|
||||
@@ -475,7 +475,7 @@
|
||||
|
||||
if (close)
|
||||
{
|
||||
CurrentSubpath.ClosePath();
|
||||
CurrentSubpath.CloseSubpath();
|
||||
}
|
||||
|
||||
ClosePath();
|
||||
@@ -493,7 +493,7 @@
|
||||
|
||||
if (close)
|
||||
{
|
||||
CurrentSubpath.ClosePath();
|
||||
CurrentSubpath.CloseSubpath();
|
||||
}
|
||||
|
||||
ClosePath();
|
||||
|
Reference in New Issue
Block a user