Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
PDFContentStream.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
17 private Object locker = new Object();
18 private HandleRef swigCPtr;
19 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
20 public PDFContentStream(IntPtr cPtr, bool cMemoryOwn) : base(GlobalsPINVOKE.PDFContentStream_SWIGUpcast(cPtr), cMemoryOwn) {
21 swigCPtr = new HandleRef(this, cPtr);
22 }
23
24 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
25 public static HandleRef getCPtr(PDFContentStream obj) {
26 return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
27 }
28
29 protected override void Dispose(bool disposing) {
30 lock(this) {
31 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
32 if (swigCMemOwn) {
33 swigCMemOwn = false;
35 }
36 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
37 }
38 base.Dispose(disposing);
39 }
40 }
41
42 public override bool isKindOf(PDFTypeId objType) {
43 bool ret = GlobalsPINVOKE.PDFContentStream_isKindOf(swigCPtr, (int)objType);
45 return ret;
46 }
47
48 public override PDFTypeId type() {
51 return ret;
52 }
53
55 MemoryManager mMan = MemoryManager.GetMemoryManager();
56 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #25
58
59 PDFContentStream ret = null;
60 if (null != mTrans)
61 {
62 mTrans.AddObject(Teigha.Core.Helpers.odCreateObjectInternal<PDFContentStream>(typeof(PDFContentStream), ptr, true));
63 ret = Teigha.Core.Helpers.odCreateObjectInternal<PDFContentStream>(typeof(PDFContentStream), ptr, false);
64 }
65 else
66 {
67 ret = Teigha.Core.Helpers.odCreateObjectInternal<PDFContentStream>(typeof(PDFContentStream), ptr, true);
68 }
69
71 return ret;
72}
73
75 MemoryManager mMan = MemoryManager.GetMemoryManager();
76 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #25
78
79 PDFContentStream ret = null;
80 if (null != mTrans)
81 {
82 mTrans.AddObject(Teigha.Core.Helpers.odCreateObjectInternal<PDFContentStream>(typeof(PDFContentStream), ptr, true));
83 ret = Teigha.Core.Helpers.odCreateObjectInternal<PDFContentStream>(typeof(PDFContentStream), ptr, false);
84 }
85 else
86 {
87 ret = Teigha.Core.Helpers.odCreateObjectInternal<PDFContentStream>(typeof(PDFContentStream), ptr, true);
88 }
89
91 return ret;
92}
93
94 public virtual void Do(PDFName pName) {
97 }
98
99 public virtual void q() {
102 }
103
104 public virtual void Q() {
107 }
108
109 public virtual void gs(PDFName pGS) {
112 }
113
114 public virtual void cm(double a, double b, double c, double d, double e, double f) {
115 GlobalsPINVOKE.PDFContentStream_cm(swigCPtr, a, b, c, d, e, f);
117 }
118
119 public virtual void w(double lw) {
122 }
123
124 public virtual void J(PDFLineCap linecap) {
125 GlobalsPINVOKE.PDFContentStream_J(swigCPtr, (int)linecap);
127 }
128
129 public virtual void j(PDFLineJoin linejoin) {
130 GlobalsPINVOKE.PDFContentStream_j(swigCPtr, (int)linejoin);
132 }
133
134 public virtual void d(PDFArray dashArray, UInt32 /*SIMPLETYPE*/ phase) {
135 GlobalsPINVOKE.PDFContentStream_d(swigCPtr, PDFArray.getCPtr(dashArray), phase /*SIMPLETYPE*/);
137 }
138
139 public virtual void cs(PDFName pColorSpace) {
140 GlobalsPINVOKE.PDFContentStream_cs(swigCPtr, PDFName.getCPtr(pColorSpace));
142 }
143
144 public virtual void CS(PDFName pColorSpace) {
145 GlobalsPINVOKE.PDFContentStream_CS(swigCPtr, PDFName.getCPtr(pColorSpace));
147 }
148
149 public virtual void sc(byte /*SIMPLETYPE*/ indx) {
150 GlobalsPINVOKE.PDFContentStream_sc(swigCPtr, indx /*SIMPLETYPE*/);
152 }
153
154 public virtual void SC(byte /*SIMPLETYPE*/ indx) {
155 GlobalsPINVOKE.PDFContentStream_SC(swigCPtr, indx /*SIMPLETYPE*/);
157 }
158
159 public virtual void RG(double r, double g, double b) {
160 GlobalsPINVOKE.PDFContentStream_RG(swigCPtr, r, g, b);
162 }
163
164 public virtual void rg(double r, double g, double b) {
165 GlobalsPINVOKE.PDFContentStream_rg(swigCPtr, r, g, b);
167 }
168
169 public virtual void g(double g) {
172 }
173
174 public virtual void G(double g) {
177 }
178
179 public virtual void m(double x, double y, bool bToInt) {
180 GlobalsPINVOKE.PDFContentStream_m__SWIG_0(swigCPtr, x, y, bToInt);
182 }
183
184 public virtual void m(double x, double y) {
187 }
188
189 public virtual void l(double x, double y, bool bToInt) {
190 GlobalsPINVOKE.PDFContentStream_l__SWIG_0(swigCPtr, x, y, bToInt);
192 }
193
194 public virtual void l(double x, double y) {
197 }
198
199 public virtual void c(double x1, double y1, double x2, double y2, double x3, double y3, bool bToInt) {
200 GlobalsPINVOKE.PDFContentStream_c__SWIG_0(swigCPtr, x1, y1, x2, y2, x3, y3, bToInt);
202 }
203
204 public virtual void c(double x1, double y1, double x2, double y2, double x3, double y3) {
205 GlobalsPINVOKE.PDFContentStream_c__SWIG_1(swigCPtr, x1, y1, x2, y2, x3, y3);
207 }
208
209 public virtual void v(double x2, double y2, double x3, double y3) {
210 GlobalsPINVOKE.PDFContentStream_v(swigCPtr, x2, y2, x3, y3);
212 }
213
214 public virtual void y(double x2, double y2, double x3, double y3) {
215 GlobalsPINVOKE.PDFContentStream_y(swigCPtr, x2, y2, x3, y3);
217 }
218
219 public virtual void re(double x, double y, double width, double height) {
220 GlobalsPINVOKE.PDFContentStream_re(swigCPtr, x, y, width, height);
222 }
223
224 public virtual void h() {
227 }
228
229 public virtual void S() {
232 }
233
234 public virtual void s() {
237 }
238
239 public virtual void f() {
242 }
243
244 public virtual void f_odd() {
247 }
248
249 public virtual void B() {
252 }
253
254 public virtual void B_odd() {
257 }
258
259 public virtual void b() {
262 }
263
264 public virtual void b_odd() {
267 }
268
269 public virtual void n() {
272 }
273
274 public virtual void W() {
277 }
278
279 public virtual void W_odd() {
282 }
283
284 public virtual void Tc(double charSpace) {
285 GlobalsPINVOKE.PDFContentStream_Tc(swigCPtr, charSpace);
287 }
288
289 public virtual void Tw(double wordSpace) {
290 GlobalsPINVOKE.PDFContentStream_Tw(swigCPtr, wordSpace);
292 }
293
294 public virtual void Tz(double scale) {
295 GlobalsPINVOKE.PDFContentStream_Tz(swigCPtr, scale);
297 }
298
299 public virtual void TL(double leading) {
300 GlobalsPINVOKE.PDFContentStream_TL(swigCPtr, leading);
302 }
303
304 public virtual void Tf(PDFName font, double size) {
305 GlobalsPINVOKE.PDFContentStream_Tf(swigCPtr, PDFName.getCPtr(font), size);
307 }
308
309 public virtual void Tr(UInt32 /*SIMPLETYPE*/ render) {
310 GlobalsPINVOKE.PDFContentStream_Tr(swigCPtr, render /*SIMPLETYPE*/);
312 }
313
314 public virtual void Ts(double rise) {
315 GlobalsPINVOKE.PDFContentStream_Ts(swigCPtr, rise);
317 }
318
319 public virtual void BT() {
322 }
323
324 public virtual void ET() {
327 }
328
329 public virtual void Td(double tx, double ty) {
330 GlobalsPINVOKE.PDFContentStream_Td(swigCPtr, tx, ty);
332 }
333
334 public virtual void TD(double tx, double ty) {
335 GlobalsPINVOKE.PDFContentStream_TD(swigCPtr, tx, ty);
337 }
338
339 public virtual void Tm(double a, double b, double c, double d, double e, double f) {
340 GlobalsPINVOKE.PDFContentStream_Tm(swigCPtr, a, b, c, d, e, f);
342 }
343
344 public virtual void T_star() {
347 }
348
349 public virtual void Tj(PDFTextString pStr) {
352 }
353
354 public virtual void TJ(PDFArray pStr) {
357 }
358
359 public virtual void BDC(PDFName pTag, PDFObject pProperties) {
362 }
363
364 public virtual void BMC(PDFName pTag) {
367 }
368
369 public virtual void EMC() {
372 }
373
374 public virtual void sh(PDFName pName) {
377 }
378
379}
380
381}
static global::System.Exception Retrieve()
static void PDFContentStream_b(global::System.Runtime.InteropServices.HandleRef jarg1)
static IntPtr PDFContentStream_createObject__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1)
static void PDFContentStream_gs(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2)
static void PDFContentStream_l__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, double jarg3, bool jarg4)
static void PDFContentStream_m__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, double jarg3)
static void PDFContentStream_Do(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2)
static void PDFContentStream_Tf(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2, double jarg3)
static void PDFContentStream_BDC(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2, HandleRef jarg3)
static void PDFContentStream_c__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, double jarg3, double jarg4, double jarg5, double jarg6, double jarg7)
static void PDFContentStream_Q(global::System.Runtime.InteropServices.HandleRef jarg1)
static void PDFContentStream_sh(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2)
static void PDFContentStream_G(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static void PDFContentStream_rg(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, double jarg3, double jarg4)
static void PDFContentStream_Tc(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static void PDFContentStream_f_odd(global::System.Runtime.InteropServices.HandleRef jarg1)
static void PDFContentStream_B(global::System.Runtime.InteropServices.HandleRef jarg1)
static void PDFContentStream_TJ(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2)
static void PDFContentStream_CS(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2)
static void PDFContentStream_Ts(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static void PDFContentStream_Tm(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, double jarg3, double jarg4, double jarg5, double jarg6, double jarg7)
static void PDFContentStream_B_odd(global::System.Runtime.InteropServices.HandleRef jarg1)
static void PDFContentStream_b_odd(global::System.Runtime.InteropServices.HandleRef jarg1)
static void PDFContentStream_Tz(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static void PDFContentStream_cm(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, double jarg3, double jarg4, double jarg5, double jarg6, double jarg7)
static void PDFContentStream_RG(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, double jarg3, double jarg4)
static void PDFContentStream_J(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static void PDFContentStream_l__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, double jarg3)
static void PDFContentStream_s(global::System.Runtime.InteropServices.HandleRef jarg1)
static void PDFContentStream_v(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, double jarg3, double jarg4, double jarg5)
static void PDFContentStream_T_star(global::System.Runtime.InteropServices.HandleRef jarg1)
static void PDFContentStream_n(global::System.Runtime.InteropServices.HandleRef jarg1)
static void PDFContentStream_re(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, double jarg3, double jarg4, double jarg5)
static void PDFContentStream_TL(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static void PDFContentStream_Tr(global::System.Runtime.InteropServices.HandleRef jarg1, UInt32 jarg2)
static void PDFContentStream_SC(global::System.Runtime.InteropServices.HandleRef jarg1, byte jarg2)
static void PDFContentStream_m__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, double jarg3, bool jarg4)
static void PDFContentStream_BT(global::System.Runtime.InteropServices.HandleRef jarg1)
static void PDFContentStream_y(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, double jarg3, double jarg4, double jarg5)
static void PDFContentStream_f(global::System.Runtime.InteropServices.HandleRef jarg1)
static void PDFContentStream_q(global::System.Runtime.InteropServices.HandleRef jarg1)
static int PDFContentStream_type(global::System.Runtime.InteropServices.HandleRef jarg1)
static void PDFContentStream_W_odd(global::System.Runtime.InteropServices.HandleRef jarg1)
static void PDFContentStream_Tw(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static bool PDFContentStream_isKindOf(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static void PDFContentStream_Tj(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2)
static void PDFContentStream_j(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static void PDFContentStream_Td(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, double jarg3)
static void PDFContentStream_S(global::System.Runtime.InteropServices.HandleRef jarg1)
static void PDFContentStream_W(global::System.Runtime.InteropServices.HandleRef jarg1)
static void PDFContentStream_h(global::System.Runtime.InteropServices.HandleRef jarg1)
static void PDFContentStream_ET(global::System.Runtime.InteropServices.HandleRef jarg1)
static void delete_PDFContentStream(global::System.Runtime.InteropServices.HandleRef jarg1)
static void PDFContentStream_w(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static void PDFContentStream_EMC(global::System.Runtime.InteropServices.HandleRef jarg1)
static void PDFContentStream_TD(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, double jarg3)
static void PDFContentStream_c__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, double jarg3, double jarg4, double jarg5, double jarg6, double jarg7, bool jarg8)
static void PDFContentStream_d(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2, UInt32 jarg3)
static void PDFContentStream_g(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static void PDFContentStream_sc(global::System.Runtime.InteropServices.HandleRef jarg1, byte jarg2)
static void PDFContentStream_BMC(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2)
static void PDFContentStream_cs(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2)
static IntPtr PDFContentStream_createObject__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static HandleRef getCPtr(PDFArray obj)
Definition: PDFArray.cs:25
virtual void SC(byte indx)
override bool isKindOf(PDFTypeId objType)
virtual void d(PDFArray dashArray, UInt32 phase)
virtual void sh(PDFName pName)
virtual void Tz(double scale)
virtual void w(double lw)
virtual void Tw(double wordSpace)
virtual void RG(double r, double g, double b)
static PDFContentStream createObject(PDFDocument pDoc, bool isIndirect)
virtual void Tm(double a, double b, double c, double d, double e, double f)
virtual void BMC(PDFName pTag)
virtual void l(double x, double y, bool bToInt)
virtual void rg(double r, double g, double b)
virtual void gs(PDFName pGS)
virtual void c(double x1, double y1, double x2, double y2, double x3, double y3, bool bToInt)
virtual void Tj(PDFTextString pStr)
virtual void j(PDFLineJoin linejoin)
virtual void l(double x, double y)
virtual void c(double x1, double y1, double x2, double y2, double x3, double y3)
virtual void cs(PDFName pColorSpace)
PDFContentStream(IntPtr cPtr, bool cMemoryOwn)
virtual void Td(double tx, double ty)
virtual void Tr(UInt32 render)
virtual void TJ(PDFArray pStr)
virtual void cm(double a, double b, double c, double d, double e, double f)
virtual void v(double x2, double y2, double x3, double y3)
static HandleRef getCPtr(PDFContentStream obj)
virtual void G(double g)
virtual void BDC(PDFName pTag, PDFObject pProperties)
virtual void y(double x2, double y2, double x3, double y3)
override PDFTypeId type()
virtual void Ts(double rise)
virtual void TL(double leading)
virtual void m(double x, double y, bool bToInt)
virtual void CS(PDFName pColorSpace)
virtual void Tc(double charSpace)
static PDFContentStream createObject(PDFDocument pDoc)
virtual void m(double x, double y)
virtual void Do(PDFName pName)
virtual void sc(byte indx)
virtual void Tf(PDFName font, double size)
virtual void g(double g)
virtual void J(PDFLineCap linecap)
virtual void TD(double tx, double ty)
virtual void re(double x, double y, double width, double height)
override void Dispose(bool disposing)
static HandleRef getCPtr(PDFDocument obj)
Definition: PDFDocument.cs:26
static HandleRef getCPtr(PDFName obj)
Definition: PDFName.cs:25
static HandleRef getCPtr(PDFObject obj)
Definition: PDFObject.cs:25
virtual bool isIndirect()
Definition: PDFObject.cs:77
static HandleRef getCPtr(PDFTextString obj)