This commit is contained in:
2011-06-16 10:40:45 +00:00
parent c22b8fd262
commit 94a8eef558
2 changed files with 35 additions and 12 deletions

View File

@@ -100,11 +100,6 @@ namespace Volian.Svg.Library
{
float yOffset = 0; // = (cb.PdfWriter.CurrentPageNumber -1) * .8F * cb.PdfDocument.PageSize.Height;
float myY = yOffset + cb.PdfDocument.PageSize.Height - _Scale * (y.GetSizeInPixels(DPI) - YLowerLimit);
if (myY < .1F * cb.PdfDocument.PageSize.Height)
{
//cb.PdfDocument.NewPage();
myY += .8F * cb.PdfDocument.PageSize.Height;
}
return myY;
}
public float YY(SvgMeasurement y)