internal void Initialize( ) { // State parameters initialization. blendMode = ExtGState.DefaultBlendMode; charSpace = 0; ctm = GetInitialCtm(); fillColor = colors::DeviceGrayColor.Default; fillColorSpace = colors::DeviceGrayColorSpace.Default; font = null; fontSize = 0; lead = 0; lineCap = LineCapEnum.Butt; lineDash = new LineDash(); lineJoin = LineJoinEnum.Miter; lineWidth = 1; miterLimit = 10; renderMode = TextRenderModeEnum.Fill; rise = 0; scale = 100; strokeColor = colors::DeviceGrayColor.Default; strokeColorSpace = colors::DeviceGrayColorSpace.Default; tlm = new Matrix(); tm = new Matrix(); wordSpace = 0; // Rendering context initialization. Graphics renderContext = Scanner.RenderContext; if (renderContext != null) { renderContext.Transform = ctm; } }
public TextStyle( Font font, double fontSize, TextRenderModeEnum renderMode, Color strokeColor, ColorSpace strokeColorSpace, Color fillColor, ColorSpace fillColorSpace ) { this.font = font; this.fontSize = fontSize; this.renderMode = renderMode; this.strokeColor = strokeColor; this.strokeColorSpace = strokeColorSpace; this.fillColor = fillColor; this.fillColorSpace = fillColorSpace; }
public TextStyle( Font font, float fontSize, TextRenderModeEnum renderMode, Color strokeColor, ColorSpace strokeColorSpace, Color fillColor, ColorSpace fillColorSpace ) { this.font = font; this.fontSize = fontSize; this.renderMode = renderMode; this.strokeColor = strokeColor; this.strokeColorSpace = strokeColorSpace; this.fillColor = fillColor; this.fillColorSpace = fillColorSpace; }
public TextStyle( Font font, double fontSize, TextRenderModeEnum renderMode, Color strokeColor, ColorSpace strokeColorSpace, Color fillColor, ColorSpace fillColorSpace, double scaleX, double scaleY ) { this.font = font; this.fontSize = fontSize; this.renderMode = renderMode; this.strokeColor = strokeColor; this.strokeColorSpace = strokeColorSpace; this.fillColor = fillColor; this.fillColorSpace = fillColorSpace; this.scaleX = scaleX; this.scaleY = scaleY; }
public SetTextRenderMode( TextRenderModeEnum value ) : base(OperatorKeyword, new PdfInteger((int)value)) { }
public SetTextRenderMode( TextRenderModeEnum value ) : base(OperatorKeyword, PdfInteger.Get((int)value)) { }