Esempio n. 1
0
 public StateCanvas()
 {
     _pen             = new SolidPen();
     _brush           = new SolidBrush();
     _renderingIntent = RenderingIntentType.RelativeColorimetric;
     _blendMode       = PDF.BlendMode.Normal;
     _stringFormat    = new StringFormat();
 }
Esempio n. 2
0
        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("");
        }