public StateCanvas() { _pen = new SolidPen(); _brush = new SolidBrush(); _renderingIntent = RenderingIntentType.RelativeColorimetric; _blendMode = PDF.BlendMode.Normal; _stringFormat = new StringFormat(); }
public static string PDFRenderingIntentToString(RenderingIntentType ri) { switch (ri) { case RenderingIntentType.AbsoluteColorimetric: return("AbsoluteColorimetric"); case RenderingIntentType.RelativeColorimetric: return("RelativeColorimetric"); case RenderingIntentType.Perceptual: return("Perceptual"); case RenderingIntentType.Saturation: return("Saturation"); } return(""); }