Example #1
0
 public GLPainter()
 {
     CurrentFont = new RequestFont("tahoma", 14);
     UseVertexBufferObjectForRenderVx = true;
     //tools
     _pathRenderVxBuilder = PathRenderVxBuilder.CreateNew();
     _defaultBrush        = _currentBrush = new SolidBrush(Color.Black); //default brush
 }
Example #2
0
        public GLPainter()
        {
            //TODO: config default font
#if __MOBILE__
            //CurrentFont = new RequestFont("Droid Sans", 24);
            CurrentFont = new RequestFont("SOV_Thanamas", 24);
#else
            CurrentFont = new RequestFont("tahoma", 14);
#endif
            UseVertexBufferObjectForRenderVx = true;
            //tools
            _pathRenderVxBuilder  = new PathRenderVxBuilder();
            _defaultBrush         = _currentBrush = new SolidBrush(Color.Black); //default brush
            _pathRenderVxBuilder2 = new PathRenderVxBuilder2();
        }