Esempio n. 1
0
 public PdfImage(string baseName, IBitmap bitmap, bool ownsBitmap, PdfImage.ClipRect clipMask)
 {
     this.ibitmap_0  = bitmap;
     this.bool_0     = ownsBitmap;
     this.clipRect_0 = clipMask;
     this.string_0   = PdfImage.GetPdfName(baseName, clipMask);
     this.AddFilter((IFilter) new FlateFilter());
 }
Esempio n. 2
0
 public ClipRect(int width, int height)
 {
     this = new PdfImage.ClipRect(0, 0, width, height);
 }
Esempio n. 3
0
 public static string GetPdfName(string baseName, PdfImage.ClipRect clipMask)
 {
     return(baseName + "_" + (object)clipMask.X + "_" + (object)clipMask.Y + "_" + (object)clipMask.Width + "_" + (object)clipMask.Height);
 }