Esempio n. 1
0
 public PdfBoundingBox(PdfRect rect, double page_height, PdfXY upper_tile)
 {
     LLx = rect.UpperLeft.X + upper_tile.X;
     LLy = page_height - (rect.UpperLeft.Y + upper_tile.Y + rect.Area.Height);
     URx = rect.UpperLeft.X + upper_tile.X + rect.Area.Width;
     URy = page_height - (rect.UpperLeft.Y + upper_tile.Y);
 }
Esempio n. 2
0
 public PdfBoundingBox(PdfRect rect, double page_height)
 {
     LLx = rect.UpperLeft.X;
     LLy = page_height - (rect.UpperLeft.Y + rect.Area.Height);
     URx = rect.UpperLeft.X + rect.Area.Width;
     URy = page_height - rect.UpperLeft.Y;
 }