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()); }
public ClipRect(int width, int height) { this = new PdfImage.ClipRect(0, 0, width, height); }
public static string GetPdfName(string baseName, PdfImage.ClipRect clipMask) { return(baseName + "_" + (object)clipMask.X + "_" + (object)clipMask.Y + "_" + (object)clipMask.Width + "_" + (object)clipMask.Height); }