Exemplo n.º 1
0
        protected void DrawString(IGraphicsContext g, string s, Brush brush, int thickness, Point point, FontStyle fontStyle)
        {
            IDrawStringContext context = new DrawStringContext(s, thickness, StateColor, fontStyle);

            g.DrawString(context, brush, point, false);
        }
Exemplo n.º 2
0
        public void DrawString(string s, Brush brush, int thickness, Point point, bool centreAroundPoint)
        {
            DrawStringContext context = new DrawStringContext(s, thickness, color, FontStyle.Regular);

            DrawString(context, brush, point, centreAroundPoint);
        }
Exemplo n.º 3
0
 protected void DrawString(IGraphicsContext g, string s, Brush brush, int thickness, Point point, FontStyle fontStyle)
 {
     IDrawStringContext context = new DrawStringContext (s, thickness, StateColor, fontStyle);
     g.DrawString (context, brush, point, false);
 }