Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
LineStats.cs
Go to the documentation of this file.
1//------------------------------------------------------------------------------
2// <auto-generated />
3//
4// This file was automatically generated by SWIG (http://www.swig.org).
5// Version 4.0.2
6//
7// Do not make changes to this file unless you know what you are doing--modify
8// the SWIG interface file instead.
9//------------------------------------------------------------------------------
10
11namespace Teigha.Core {
12
13using System;
14using System.Runtime.InteropServices;
15
16public class LineStats : global::System.IDisposable {
17 private Object locker = new Object();
18 private HandleRef swigCPtr;
19 protected bool swigCMemOwn;
20 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
21 public LineStats(IntPtr cPtr, bool cMemoryOwn) {
22 swigCMemOwn = cMemoryOwn;
23 swigCPtr = new HandleRef(this, cPtr);
24 }
25 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
26 public static HandleRef getCPtr(LineStats obj) {
27 return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
28 }
29
30 ~LineStats() {
31 Dispose(false);
32 }
33
34 public void Dispose() {
35 Dispose(true);
36 global::System.GC.SuppressFinalize(this);
37 }
38
39 protected virtual void Dispose(bool disposing) {
40 lock(this) {
41 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
42 if (swigCMemOwn) {
43 swigCMemOwn = false;
45 }
46 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
47 }
48 }
49 }
50
51 public double m_Height {
52 set {
55 }
56 get {
57 double ret = GlobalsPINVOKE.LineStats_m_Height_get(swigCPtr);
59 return ret;
60 }
61 }
62
63 public double m_Width {
64 set {
67 }
68 get {
69 double ret = GlobalsPINVOKE.LineStats_m_Width_get(swigCPtr);
71 return ret;
72 }
73 }
74
75 public double m_MinY {
76 set {
79 }
80 get {
81 double ret = GlobalsPINVOKE.LineStats_m_MinY_get(swigCPtr);
83 return ret;
84 }
85 }
86
87 public double m_MaxY {
88 set {
91 }
92 get {
93 double ret = GlobalsPINVOKE.LineStats_m_MaxY_get(swigCPtr);
95 return ret;
96 }
97 }
98
99 public double m_MinX {
100 set {
103 }
104 get {
105 double ret = GlobalsPINVOKE.LineStats_m_MinX_get(swigCPtr);
107 return ret;
108 }
109 }
110
111 public double m_MaxX {
112 set {
115 }
116 get {
117 double ret = GlobalsPINVOKE.LineStats_m_MaxX_get(swigCPtr);
119 return ret;
120 }
121 }
122
123 public double m_TextSizeMaxY {
124 set {
127 }
128 get {
129 double ret = GlobalsPINVOKE.LineStats_m_TextSizeMaxY_get(swigCPtr);
131 return ret;
132 }
133 }
134
135 public double m_MaxTextSize {
136 set {
139 }
140 get {
141 double ret = GlobalsPINVOKE.LineStats_m_MaxTextSize_get(swigCPtr);
143 return ret;
144 }
145 }
146
147 public double m_StackedHeight {
148 set {
151 }
152 get {
153 double ret = GlobalsPINVOKE.LineStats_m_StackedHeight_get(swigCPtr);
155 return ret;
156 }
157 }
158
159 public double m_LastWordHeight {
160 set {
163 }
164 get {
165 double ret = GlobalsPINVOKE.LineStats_m_LastWordHeight_get(swigCPtr);
167 return ret;
168 }
169 }
170
172 set {
175 }
176 get {
179 return ret;
180 }
181 }
182
183 public LineStats(double h, double mts, double w) : this(GlobalsPINVOKE.new_LineStats__SWIG_0(h, mts, w), true) {
185 }
186
187 public LineStats(double h, double mts) : this(GlobalsPINVOKE.new_LineStats__SWIG_1(h, mts), true) {
189 }
190
191 public LineStats(double h) : this(GlobalsPINVOKE.new_LineStats__SWIG_2(h), true) {
193 }
194
195 public LineStats() : this(GlobalsPINVOKE.new_LineStats__SWIG_3(), true) {
197 }
198
199 public virtual double getHeightForAligned(int linespacingStyle) {
200 double ret = GlobalsPINVOKE.LineStats_getHeightForAligned(swigCPtr, linespacingStyle);
202 return ret;
203 }
204
205 public virtual double caclulateLineSpace(double linespacingFactor) {
206 double ret = GlobalsPINVOKE.LineStats_caclulateLineSpace(swigCPtr, linespacingFactor);
208 return ret;
209 }
210
211}
212
213}
static global::System.Exception Retrieve()
static double LineStats_m_MaxX_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static double LineStats_getHeightForAligned(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static void delete_LineStats(global::System.Runtime.InteropServices.HandleRef jarg1)
static void LineStats_m_TextSizeForLinespace_set(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static double LineStats_caclulateLineSpace(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static void LineStats_m_MinX_set(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static void LineStats_m_Width_set(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static void LineStats_m_MaxX_set(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static double LineStats_m_MinY_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static double LineStats_m_Width_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static double LineStats_m_TextSizeForLinespace_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void LineStats_m_Height_set(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static double LineStats_m_TextSizeMaxY_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void LineStats_m_MaxTextSize_set(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static double LineStats_m_Height_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void LineStats_m_MinY_set(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static void LineStats_m_MaxY_set(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static void LineStats_m_StackedHeight_set(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static double LineStats_m_LastWordHeight_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static double LineStats_m_MinX_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static double LineStats_m_MaxY_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static double LineStats_m_StackedHeight_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void LineStats_m_LastWordHeight_set(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static void LineStats_m_TextSizeMaxY_set(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static double LineStats_m_MaxTextSize_get(global::System.Runtime.InteropServices.HandleRef jarg1)
LineStats(IntPtr cPtr, bool cMemoryOwn)
Definition: LineStats.cs:21
virtual double caclulateLineSpace(double linespacingFactor)
Definition: LineStats.cs:205
LineStats(double h, double mts)
Definition: LineStats.cs:187
virtual void Dispose(bool disposing)
Definition: LineStats.cs:39
virtual double getHeightForAligned(int linespacingStyle)
Definition: LineStats.cs:199
static HandleRef getCPtr(LineStats obj)
Definition: LineStats.cs:26
LineStats(double h, double mts, double w)
Definition: LineStats.cs:183
double m_TextSizeForLinespace
Definition: LineStats.cs:171