• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

DomCR / ACadSharp / 28004914840

23 Jun 2026 05:40AM UTC coverage: 76.868% (-0.3%) from 77.204%
28004914840

Pull #1019

github

web-flow
Merge 650fbff88 into 7f35d38e6
Pull Request #1019: Add mechanical entities and proxy graphics

8925 of 12557 branches covered (71.08%)

Branch coverage included in aggregate %.

513 of 899 new or added lines in 44 files covered. (57.06%)

6 existing lines in 1 file now uncovered.

32287 of 41057 relevant lines covered (78.64%)

155058.53 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

95.83
/src/ACadSharp/Entities/ProxyGraphics/ProxyUnicodeText2.cs
1
using CSMath;
2

3
namespace ACadSharp.Entities.ProxyGraphics;
4

5
public class ProxyUnicodeText2 : IProxyGeometry
6
{
NEW
7
        public GraphicsType GraphicsType { get { return GraphicsType.UnicodeText2; } }
×
8

9
        public XYZ StartPoint { get; set; }
4,956✔
10
        public XYZ Normal { get; set; }
4,956✔
11
        public XYZ TextDirection { get; set; }
4,956✔
12
        public string Text { get; set; }
9,912✔
13

14
        /// <summary>
15
        /// The length of the text in characters, or -1 if the text is zero terminated
16
        /// </summary>
17
        public int TextLength { get; set; } // The text length is often != -1 even if the string is zero terminated?
4,956✔
18

19
        /// <summary>
20
        /// If <see langword="true"/>, special patterns e.g. %% are not supposed to be interpreted
21
        /// </summary>
22
        public bool IsRaw { get; set; }
4,956✔
23
        public double Height { get; set; }
4,956✔
24
        public double WidthFactor { get; set; }
4,956✔
25
        public double ObliqueAngle { get; set; }
4,956✔
26
        public double TrackingPercentage { get; set; }
4,956✔
27

28
        public bool IsBackwards { get; set; }
4,956✔
29
        public bool IsUpsideDown { get; set; }
4,956✔
30
        public bool IsVertical { get; set; }
4,956✔
31
        public bool IsUnderlined { get; set; }
4,956✔
32
        public bool IsOverlined { get; set; }
4,956✔
33

34
        public TrueTypeFontDescriptor FontDescriptor { get; set; }
4,956✔
35

36
        public string BigFontFilename { get; set; }
4,956✔
37
}
38

39
public class TrueTypeFontDescriptor
40
{
41
        public bool IsBold { get; set; }
4,956✔
42
        public bool IsItalic { get; set; }
4,956✔
43
        public byte Charset { get; set; }
4,956✔
44
        public byte PitchAndFamily { get; set; }
4,956✔
45

46
        public string Typeface { get; set; }
9,912✔
47
        public string FontFilename { get; set; }
14,868✔
48
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc