Exemplo n.º 1
0
 public VxsTextSpanPrinter(Painter painter, TextServiceClient txtClient)
 {
     _txtClient      = txtClient;
     _painter        = painter;
     _glyphMeshStore = new GlyphMeshStore()
     {
         FlipGlyphUpward = true
     };
     _glyphBitmapStore = new GlyphBitmapStore();
 }
Exemplo n.º 2
0
        public VxsTextPrinter(Painter painter, OpenFontTextService textService)
        {
            //
            _painter        = painter;
            _glyphMeshStore = new GlyphMeshStore();
            _glyphMeshStore.FlipGlyphUpward = true;
            this.PositionTechnique          = PositionTechnique.OpenFont;
            //
            _textServices = textService;
            ChangeFont(new RequestFont("Source Sans Pro", 10));

            _glyphBitmapStore = new GlyphBitmapStore();
            _glyphSvgStore    = new BitmapCacheForSvgGlyph();
        }