This commit is contained in:
Kathy Ruffing 2011-05-19 13:40:07 +00:00
parent 99cc264fb0
commit f284d15352

View File

@ -126,7 +126,7 @@ namespace Volian.Svg.Library
public void DrawMacro(string macroDef, float x, float y, PdfContentByte cb) public void DrawMacro(string macroDef, float x, float y, PdfContentByte cb)
{ {
_MyContentByte = 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); SvgMeasurement Y = new SvgMeasurement(Height.GetSizeInPoints(72) - y, E_MeasurementUnits.PT);
if (!this.LookUp.ContainsKey(macroDef)) return; // AEP - DU1 (missing C22 macro for AEP) if (!this.LookUp.ContainsKey(macroDef)) return; // AEP - DU1 (missing C22 macro for AEP)
SvgGroup macro = this[macroDef] as SvgGroup; SvgGroup macro = this[macroDef] as SvgGroup;