Esempio n. 1
0
 public override void AddImage(Image image, float a, float b, float c, float d, float e, float f, bool inlineImage)
 {
     if (!colorized && (!image.IsMask() || !(image.Bpc == 1 || image.Bpc > 0xff)))
         throw new DocumentException("Not colorized Typed3 fonts only accept mask images.");
     base.AddImage(image, a, b, c, d, e, f, inlineImage);
 }
Esempio n. 2
0
 public override void AddImage(Image image, float a, float b, float c, float d, float e, float f, bool inlineImage) {
     if (!colorized && (!image.IsMask() || !(image.Bpc == 1 || image.Bpc > 0xff)))
         throw new DocumentException(MessageLocalization.GetComposedMessage("not.colorized.typed3.fonts.only.accept.mask.images"));
     base.AddImage(image, a, b, c, d, e, f, inlineImage);
 }