This commit is contained in:
parent
99cc264fb0
commit
f284d15352
@ -126,7 +126,7 @@ namespace Volian.Svg.Library
|
||||
public void DrawMacro(string macroDef, float x, float y, PdfContentByte cb)
|
||||
{
|
||||
_MyContentByte = cb;
|
||||
SvgMeasurement X = new SvgMeasurement(x-6, E_MeasurementUnits.PT); // Not sure why this is? seems to be a character too far to the right?
|
||||
SvgMeasurement X = new SvgMeasurement(x, E_MeasurementUnits.PT);
|
||||
SvgMeasurement Y = new SvgMeasurement(Height.GetSizeInPoints(72) - y, E_MeasurementUnits.PT);
|
||||
if (!this.LookUp.ContainsKey(macroDef)) return; // AEP - DU1 (missing C22 macro for AEP)
|
||||
SvgGroup macro = this[macroDef] as SvgGroup;
|
||||
@ -589,8 +589,8 @@ namespace Volian.Svg.Library
|
||||
switch (Justify)
|
||||
{
|
||||
//case SvgJustify.Left:
|
||||
//x=x;
|
||||
//break;
|
||||
// x = x;
|
||||
// break;
|
||||
case SvgJustify.Center:
|
||||
x-=w/2;
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user