示例#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);
 }
示例#2
0
 public PdfRect(double x, double y, double width, double height)
 {
     UpperLeft = new PdfXY(x, y);
     Area = new PdfArea(width, height);
 }
示例#3
0
 public PdfRect(PdfXY upper_left, PdfArea area)
 {
     UpperLeft = upper_left;
     Area = area;
 }