mirror of
https://github.com/UglyToad/PdfPig.git
synced 2025-09-18 18:27:55 +08:00
remove static for local function (recommended by VS2019)
This commit is contained in:
@@ -911,7 +911,7 @@
|
|||||||
|
|
||||||
internal static string ToFullSvg(this PdfSubpath p, double height)
|
internal static string ToFullSvg(this PdfSubpath p, double height)
|
||||||
{
|
{
|
||||||
static string BboxToRect(PdfRectangle box, string stroke)
|
string BboxToRect(PdfRectangle box, string stroke)
|
||||||
{
|
{
|
||||||
var overallBbox = $"<rect x='{box.Left}' y='{box.Bottom}' width='{box.Width}' height='{box.Height}' stroke-width='2' fill='none' stroke='{stroke}'></rect>";
|
var overallBbox = $"<rect x='{box.Left}' y='{box.Bottom}' width='{box.Width}' height='{box.Height}' stroke-width='2' fill='none' stroke='{stroke}'></rect>";
|
||||||
return overallBbox;
|
return overallBbox;
|
||||||
|
Reference in New Issue
Block a user