コード例 #1
0
ファイル: PainterFeedback.cs プロジェクト: ventor3000/guppy2
 public override void DrawText(string txt, double x, double y, double size, double angle, TextAlign align)
 {
     if (txt != null)
     {
         GFXPath pth = MeasurePainter.GetTextPath(txt, x, y, size, angle, align, null);
         if (pth == null)
         {
             return;
         }
         InternalStrokePath(pth, null, false, true);
     }
 }
コード例 #2
0
ファイル: PainterFeedback.cs プロジェクト: ventor3000/guppy2
 public override GFXPath GetTextPath(string txt, double x, double y, double size, double angle, TextAlign align, Transform2d t)
 {
     return(MeasurePainter.GetTextPath(txt, x, y, size, angle, align, t));
 }