This commit is contained in:
@@ -35,7 +35,10 @@ namespace Volian.Print.Library
|
||||
System.Drawing.Color push = PrintOverride.SvgColor;
|
||||
PrintOverride.SvgColor = PrintOverride.TextColor == System.Drawing.Color.Empty ? System.Drawing.Color.Black : PrintOverride.TextColor;
|
||||
if (MyPageHelper != null && MyPageHelper.MySvg != null)
|
||||
MyPageHelper.MySvg.DrawMacro(MacroDef, XOffset, yLocation, cb);
|
||||
{
|
||||
// PageList items are located with respect to the left margin, macros are not.
|
||||
MyPageHelper.MySvg.DrawMacro(MacroDef, XOffset - MyPageHelper.MySvg.LeftMargin, yLocation, cb);
|
||||
}
|
||||
PrintOverride.SvgColor = push;
|
||||
if (textLayer != null) cb.EndLayer();
|
||||
return yPageStart;
|
||||
|
Reference in New Issue
Block a user