Debian Codegraph @

ogr/ogr_featurestyle.h

raw symbols SCIP
1 /******************************************************************************
2 *
3 * Project: OpenGIS Simple Features Reference Implementation
4 * Purpose: Define of Feature Representation
5 * Author: Stephane Villeneuve, [email protected]
6 *
7 ******************************************************************************
8 * Copyright (c) 1999, Frank Warmerdam
9 *
10 * SPDX-License-Identifier: MIT
11 ****************************************************************************/
12
13 #ifndef OGR_FEATURESTYLE_INCLUDE
14 #define OGR_FEATURESTYLE_INCLUDEcxx . . $ `ogr/ogr_featurestyle.h:14:9`!
15
16 #include "cpl_conv.h"cxx . . $ `<file>/port/cpl_conv.h`/
17 #include "cpl_string.h"cxx . . $ `<file>/port/cpl_string.h`/
18 #include "ogr_core.h"cxx . . $ `<file>/ogr/ogr_core.h`/
19
20 class OGRFeaturecxx . . $ OGRFeature#;
21
22 /**
23 * \file ogr_featurestyle.h
24 *
25 * Simple feature style classes.
26 */
27
28 /*
29 * All OGRStyleTool param lists are defined in ogr_core.h.
30 */
31
32 /** OGR Style type */
33 typedef enum ogr_style_typecxx . . $ ogr_style_type#
34 {
35 OGRSTypeUnusedcxx . . $ OGRSTypeUnused. = -1,
36 OGRSTypeStringcxx . . $ OGRSTypeString.,
37 OGRSTypeDoublecxx . . $ OGRSTypeDouble.,
38 OGRSTypeIntegercxx . . $ OGRSTypeInteger.,
39 OGRSTypeBooleancxx . . $ OGRSTypeBoolean.
40 } OGRSTypecxx . . $ OGRSType#;
41
42 //! @cond Doxygen_Suppress
43 typedef struct ogr_style_paramcxx . . $ ogr_style_param#
44 {
45 int eParamcxx . . $ ogr_style_param#eParam.;
46 const char *pszTokencxx . . $ ogr_style_param#pszToken.;
47 GBoolcxx . . $ GBool# bGeorefcxx . . $ ogr_style_param#bGeoref.;
48 OGRSTypecxx . . $ OGRSType# eTypecxx . . $ ogr_style_param#eType.;
49 } OGRStyleParamIdcxx . . $ OGRStyleParamId#;
50
51 typedef struct ogr_style_valuecxx . . $ ogr_style_value#
52 {
53 char *pszValuecxx . . $ ogr_style_value#pszValue.;
54 double dfValuecxx . . $ ogr_style_value#dfValue.;
55 int nValuecxx . . $ ogr_style_value#nValue.; // Used for both integer and boolean types
56 GBoolcxx . . $ GBool# bValidcxx . . $ ogr_style_value#bValid.;
57 OGRSTUnitId eUnitcxx . . $ ogr_style_value#eUnit.;
58 } OGRStyleValuecxx . . $ OGRStyleValue#;
59
60 //! @endcond
61
62 // Every time a pszStyleString given in parameter is NULL,
63 // the StyleString defined in the Mgr will be use.
64
65 /**
66 * This class represents a style table
67 */
68 class CPL_DLLcxx . . $ `port/cpl_port.h:295:9`! OGRStyleTablecxx . . $ OGRStyleTable#
69 {
70 private:
71 char **m_papszStyleTablecxx . . $ OGRStyleTable#m_papszStyleTable. = nullptr;
72
73 CPLString osLastRequestedStyleNamecxx . . $ OGRStyleTable#osLastRequestedStyleName.{};
74 int iNextStylecxx . . $ OGRStyleTable#iNextStyle. = 0;
75
76 CPL_DISALLOW_COPY_ASSIGNcxx . . $ `port/cpl_port.h:1101:9`!(OGRStyleTable)
77
78 public:
79 OGRStyleTablecxx . . $ OGRStyleTable#OGRStyleTable(49f6e7a06ebc5aa8).();
80 ~cxx . . $ OGRStyleTable#`~OGRStyleTable`(49f6e7a06ebc5aa8).OGRStyleTablecxx . . $ OGRStyleTable#();
81 GBoolcxx . . $ GBool# AddStylecxx . . $ OGRStyleTable#AddStyle(5ae29d726ae57f88).(const char *pszName, const char *pszStyleString);
82 GBoolcxx . . $ GBool# RemoveStylecxx . . $ OGRStyleTable#RemoveStyle(5c4306d8553b3696).(const char *pszName);
83 GBoolcxx . . $ GBool# ModifyStylecxx . . $ OGRStyleTable#ModifyStyle(5ae29d726ae57f88).(const char *pszName, const char *pszStyleString);
84
85 GBoolcxx . . $ GBool# SaveStyleTablecxx . . $ OGRStyleTable#SaveStyleTable(5c4306d8553b3696).(const char *pszFilename);
86 GBoolcxx . . $ GBool# LoadStyleTablecxx . . $ OGRStyleTable#LoadStyleTable(5c4306d8553b3696).(const char *pszFilename);
87 const char *Findcxx . . $ OGRStyleTable#Find(fb58d2e09a2a1ce6).(const char *pszStyleString);
88 GBoolcxx . . $ GBool# IsExistcxx . . $ OGRStyleTable#IsExist(5c4306d8553b3696).(const char *pszName);
89 const char *GetStyleNamecxx . . $ OGRStyleTable#GetStyleName(fb58d2e09a2a1ce6).(const char *pszName);
90 void Printcxx . . $ OGRStyleTable#Print(8d4262d45fc644ab).(FILEcxx . . $ FILE# *fpOut);
91 void Clearcxx . . $ OGRStyleTable#Clear(49f6e7a06ebc5aa8).();
92 OGRStyleTablecxx . . $ OGRStyleTable# *Clonecxx . . $ OGRStyleTable#Clone(45d54a977ce7f6ea).();
93 void ResetStyleStringReadingcxx . . $ OGRStyleTable#ResetStyleStringReading(49f6e7a06ebc5aa8).();
94 const char *GetNextStylecxx . . $ OGRStyleTable#GetNextStyle(33a1f659e94feb42).();
95 const char *GetLastStyleNamecxx . . $ OGRStyleTable#GetLastStyleName(33a1f659e94feb42).();
96 };
97
98 class OGRStyleToolcxx . . $ OGRStyleTool#;
99
100 /**
101 * This class represents a style manager
102 */
103 class CPL_DLLcxx . . $ `port/cpl_port.h:295:9`! OGRStyleMgrcxx . . $ OGRStyleMgr#
104 {
105 private:
106 OGRStyleTablecxx . . $ OGRStyleTable# *m_poDataSetStyleTablecxx . . $ OGRStyleMgr#m_poDataSetStyleTable. = nullptr;
107 char *m_pszStyleStringcxx . . $ OGRStyleMgr#m_pszStyleString. = nullptr;
108
109 CPL_DISALLOW_COPY_ASSIGNcxx . . $ OGRStyleMgr#OGRStyleMgr(50126d725fd85f51).(OGRStyleMgr)
110
111 public:
112 explicit OGRStyleMgrcxx . . $ OGRStyleMgr#OGRStyleMgr(dac37a74c9edd45f).(OGRStyleTablecxx . . $ OGRStyleTable# *poDataSetStyleTable = nullptr);
113 ~cxx . . $ OGRStyleMgr#`~OGRStyleMgr`(49f6e7a06ebc5aa8).OGRStyleMgrcxx . . $ OGRStyleMgr#();
114
115 GBoolcxx . . $ GBool# SetFeatureStyleStringcxx . . $ OGRStyleMgr#SetFeatureStyleString(a79df145d81b79cf).(OGRFeaturecxx . . $ OGRFeature# *,
116 const char *pszStyleString = nullptr,
117 GBoolcxx . . $ GBool# bNoMatching = FALSEcxx . . $ `port/cpl_port.h:1180:9`!);
118 /* It will set in the given feature the pszStyleString with
119 the style or will set the style name found in
120 dataset StyleTable (if bNoMatching == FALSE). */
121
122 const char *InitFromFeaturecxx . . $ OGRStyleMgr#InitFromFeature(b91ef6b9dcdd714e).(OGRFeaturecxx . . $ OGRFeature# *);
123 GBoolcxx . . $ GBool# InitStyleStringcxx . . $ OGRStyleMgr#InitStyleString(5c4306d8553b3696).(const char *pszStyleString = nullptr);
124
125 const char *GetStyleNamecxx . . $ OGRStyleMgr#GetStyleName(fb58d2e09a2a1ce6).(const char *pszStyleString = nullptr);
126 const char *GetStyleByNamecxx . . $ OGRStyleMgr#GetStyleByName(fb58d2e09a2a1ce6).(const char *pszStyleName);
127
128 GBoolcxx . . $ GBool# AddStylecxx . . $ OGRStyleMgr#AddStyle(5ae29d726ae57f88).(const char *pszStyleName,
129 const char *pszStyleString = nullptr);
130
131 const char *GetStyleStringcxx . . $ OGRStyleMgr#GetStyleString(b91ef6b9dcdd714e).(OGRFeaturecxx . . $ OGRFeature# * = nullptr);
132
133 GBoolcxx . . $ GBool# AddPartcxx . . $ OGRStyleMgr#AddPart(f5001602adbc82ef).(OGRStyleToolcxx . . $ OGRStyleTool# *);
134 GBoolcxx . . $ GBool# AddPartcxx . . $ OGRStyleMgr#AddPart(5c4306d8553b3696).(const char *);
135
136 int GetPartCountcxx . . $ OGRStyleMgr#GetPartCount(5c4306d8553b3696).(const char *pszStyleString = nullptr);
137 OGRStyleToolcxx . . $ OGRStyleTool# *GetPartcxx . . $ OGRStyleMgr#GetPart(df35922318cb76c3).(int hPartId, const char *pszStyleString = nullptr);
138
139 /* It could have a reference counting process us for the OGRStyleTable, if
140 needed. */
141 //! @cond Doxygen_Suppress
142 OGRStyleTablecxx . . $ OGRStyleTable# *GetDataSetStyleTablecxx . . $ OGRStyleMgr#GetDataSetStyleTable(45d54a977ce7f6ea).()
143 {
144 return m_poDataSetStyleTablecxx . . $ OGRStyleMgr#m_poDataSetStyleTable.;
145 }
146
147 static OGRStyleToolcxx . . $ OGRStyleTool# *
148 CreateStyleToolFromStyleStringcxx . . $ OGRStyleMgr#CreateStyleToolFromStyleString(e92cedc031179da7).(const char *pszStyleString);
149 //! @endcond
150 };
151
152 /**
153 * This class represents a style tool
154 */
155 class CPL_DLLcxx . . $ `port/cpl_port.h:295:9`! OGRStyleToolcxx . . $ OGRStyleTool#
156 {
157 private:
158 GBoolcxx . . $ GBool# m_bModifiedcxx . . $ OGRStyleTool#m_bModified. = false;
159 GBoolcxx . . $ GBool# m_bParsedcxx . . $ OGRStyleTool#m_bParsed. = false;
160 double m_dfScalecxx . . $ OGRStyleTool#m_dfScale. = 1.0;
161 OGRSTUnitId m_eUnitcxx . . $ OGRStyleTool#m_eUnit. = OGRSTUMM;
162 OGRSTClassId m_eClassIdcxx . . $ OGRStyleTool#m_eClassId. = OGRSTCNone;
163 char *m_pszStyleStringcxx . . $ OGRStyleTool#m_pszStyleString. = nullptr;
164
165 virtual GBoolcxx . . $ GBool# Parsecxx . . $ OGRStyleTool#Parse(b126dc7c1de90089).() = 0;
166
167 CPL_DISALLOW_COPY_ASSIGNcxx . . $ `port/cpl_port.h:1101:9`!(OGRStyleTool)
168
169 protected:
170 #ifndef DOXYGEN_SKIP
171 GBoolcxx . . $ GBool# Parsecxx . . $ OGRStyleTool#Parse(7bd2f4f17745f2d0).(const OGRStyleParamIdcxx . . $ OGRStyleParamId# *pasStyle, OGRStyleValuecxx . . $ OGRStyleValue# *pasValue,
172 int nCount);
173 #endif
174
175 public:
176 OGRStyleToolcxx . . $ OGRStyleTool#OGRStyleTool(49f6e7a06ebc5aa8).()
177 : m_bModifiedcxx . . $ OGRStyleTool#m_bModified.(FALSEcxx . . $ `port/cpl_port.h:1180:9`!), m_bParsedcxx . . $ OGRStyleTool#m_bParsed.(FALSEcxx . . $ `port/cpl_port.h:1180:9`!), m_dfScalecxx . . $ OGRStyleTool#m_dfScale.(0.0),
178 m_eUnitcxx . . $ OGRStyleTool#m_eUnit.(OGRSTUGround), m_eClassIdcxx . . $ OGRStyleTool#m_eClassId.(OGRSTCNone),
179 m_pszStyleStringcxx . . $ OGRStyleTool#m_pszStyleString.(nullptr)
180 {
181 }
182
183 explicit OGRStyleToolcxx . . $ OGRStyleTool#OGRStyleTool(c4fcaf05a69af5a5).(OGRSTClassId eClassId);
184 virtual ~cxx . . $ OGRStyleTool#`~OGRStyleTool`(ced63f7c635d850d).OGRStyleToolcxx . . $ OGRStyleTool#();
185
186 static GBoolcxx . . $ GBool# GetRGBFromStringcxx . . $ OGRStyleTool#GetRGBFromString(31b803ede69c6b18).(const char *pszColor, int &nRed, int &nGreen,
187 int &nBlue, int &nTransparence);
188 static int GetSpecificIdcxx . . $ OGRStyleTool#GetSpecificId(5ae29d726ae57f88).(const char *pszId, const char *pszWanted);
189
190 #ifndef DOXYGEN_SKIP
191 GBoolcxx . . $ GBool# IsStyleModifiedcxx . . $ OGRStyleTool#IsStyleModified(b126dc7c1de90089).()
192 {
193 return m_bModifiedcxx . . $ OGRStyleTool#m_bModified.;
194 }
195
196 void StyleModifiedcxx . . $ OGRStyleTool#StyleModified(49f6e7a06ebc5aa8).()
197 {
198 m_bModifiedcxx . . $ OGRStyleTool#m_bModified. = TRUEcxx . . $ `port/cpl_port.h:1184:9`!;
199 }
200
201 GBoolcxx . . $ GBool# IsStyleParsedcxx . . $ OGRStyleTool#IsStyleParsed(b126dc7c1de90089).()
202 {
203 return m_bParsedcxx . . $ OGRStyleTool#m_bParsed.;
204 }
205
206 void StyleParsedcxx . . $ OGRStyleTool#StyleParsed(49f6e7a06ebc5aa8).()
207 {
208 m_bParsedcxx . . $ OGRStyleTool#m_bParsed. = TRUEcxx . . $ `port/cpl_port.h:1184:9`!;
209 }
210 #endif
211
212 OGRSTClassId GetTypecxx . . $ OGRStyleTool#GetType(8052caf53f6ed207).();
213
214 #ifndef DOXYGEN_SKIP
215 void SetInternalInputUnitFromParamcxx . . $ OGRStyleTool#SetInternalInputUnitFromParam(fda57c8427c60377).(char *pszString);
216 #endif
217
218 void SetUnitcxx . . $ OGRStyleTool#SetUnit(ed5870a629093d9e).(OGRSTUnitId,
219 double dfScale = 1.0); // the dfScale will be
220
221 // used if we are working with Ground
222 // Unit ( ground = paper * scale);
223
224 OGRSTUnitId GetUnitcxx . . $ OGRStyleTool#GetUnit(d7a0e7213a59537a).()
225 {
226 return m_eUnitcxx . . $ OGRStyleTool#m_eUnit.;
227 }
228
229 // There are two way to set the parameters in the Style, with generic
230 // methods (using a defined enumeration) or with the reel method specific
231 // for Each style tools.
232
233 virtual const char *GetStyleStringcxx . . $ OGRStyleTool#GetStyleString(33a1f659e94feb42).() = 0;
234 void SetStyleStringcxx . . $ OGRStyleTool#SetStyleString(85c52e162fed56f9).(const char *pszStyleString);
235 const char *GetStyleStringcxx . . $ OGRStyleTool#GetStyleString(527c705214634538).(const OGRStyleParamIdcxx . . $ OGRStyleParamId# *pasStyleParam,
236 OGRStyleValuecxx . . $ OGRStyleValue# *pasStyleValue, int nSize);
237
238 const char *GetParamStrcxx . . $ OGRStyleTool#GetParamStr(b514bf53ba7cc195).(const OGRStyleParamIdcxx . . $ OGRStyleParamId# &sStyleParam,
239 const OGRStyleValuecxx . . $ OGRStyleValue# &sStyleValue,
240 GBoolcxx . . $ GBool# &bValueIsNull);
241
242 int GetParamNumcxx . . $ OGRStyleTool#GetParamNum(617c624b608f2aa1).(const OGRStyleParamIdcxx . . $ OGRStyleParamId# &sStyleParam,
243 const OGRStyleValuecxx . . $ OGRStyleValue# &sStyleValue, GBoolcxx . . $ GBool# &bValueIsNull);
244
245 double GetParamDblcxx . . $ OGRStyleTool#GetParamDbl(b873dcba42880c42).(const OGRStyleParamIdcxx . . $ OGRStyleParamId# &sStyleParam,
246 const OGRStyleValuecxx . . $ OGRStyleValue# &sStyleValue, GBoolcxx . . $ GBool# &bValueIsNull);
247
248 double GetRawParamDblcxx . . $ OGRStyleTool#GetRawParamDbl(fbfbdae4275f1222).(const OGRStyleParamIdcxx . . $ OGRStyleParamId# &sStyleParam,
249 const OGRStyleValuecxx . . $ OGRStyleValue# &sStyleValue,
250 OGRSTUnitId &eRawUnit, GBoolcxx . . $ GBool# &bValueIsNull);
251
252 void SetParamStrcxx . . $ OGRStyleTool#SetParamStr(c095eb189e633cb3).(const OGRStyleParamIdcxx . . $ OGRStyleParamId# &sStyleParam,
253 OGRStyleValuecxx . . $ OGRStyleValue# &sStyleValue, const char *pszParamString);
254
255 void SetParamNumcxx . . $ OGRStyleTool#SetParamNum(7277b0d42533e261).(const OGRStyleParamIdcxx . . $ OGRStyleParamId# &sStyleParam,
256 OGRStyleValuecxx . . $ OGRStyleValue# &sStyleValue, int nParam);
257
258 void SetParamDblcxx . . $ OGRStyleTool#SetParamDbl(9679682b334f99d0).(const OGRStyleParamIdcxx . . $ OGRStyleParamId# &sStyleParam,
259 OGRStyleValuecxx . . $ OGRStyleValue# &sStyleValue, double dfParam);
260 #ifndef DOXYGEN_SKIP
261 double ComputeWithUnitcxx . . $ OGRStyleTool#ComputeWithUnit(9cf2672c7b7fdda7).(double, OGRSTUnitId);
262 int ComputeWithUnitcxx . . $ OGRStyleTool#ComputeWithUnit(1524abdaa6a1cf3f).(int, OGRSTUnitId);
263 #endif
264 };
265
266 //! @cond Doxygen_Suppress
267
268 /**
269 * This class represents a style pen
270 */
271 class CPL_DLLcxx . . $ `port/cpl_port.h:295:9`! OGRStylePencxx . . $ OGRStylePen# : public OGRStyleToolcxx . . $ OGRStyleTool#
272 {
273 private:
274 OGRStyleValuecxx . . $ OGRStyleValue# *m_pasStyleValuecxx . . $ OGRStylePen#m_pasStyleValue.;
275
276 GBoolcxx . . $ GBool# Parsecxx . . $ OGRStylePen#Parse(b126dc7c1de90089).() override;
277
278 CPL_DISALLOW_COPY_ASSIGNcxx . . $ `port/cpl_port.h:1101:9`!(OGRStylePen)
279
280 public:
281 OGRStylePencxx . . $ OGRStylePen#OGRStylePen(49f6e7a06ebc5aa8).();
282 ~cxx . . $ OGRStylePen#`~OGRStylePen`(ced63f7c635d850d).OGRStylePencxx . . $ OGRStylePen#() override;
283
284 /**********************************************************************/
285 /* Explicit fct for all parameters defined in the Drawing tools Pen */
286 /**********************************************************************/
287
288 const char *Colorcxx . . $ OGRStylePen#Color(b82f50771e6c26e2).(GBoolcxx . . $ GBool# &bDefault)
289 {
290 return GetParamStrcxx . . $ OGRStylePen#GetParamStr(bec66884059e77d2).(OGRSTPenColor, bDefault);
291 }
292
293 void SetColorcxx . . $ OGRStylePen#SetColor(85c52e162fed56f9).(const char *pszColor)
294 {
295 SetParamStrcxx . . $ OGRStylePen#SetParamStr(a3a05650e67d25b8).(OGRSTPenColor, pszColor);
296 }
297
298 double Widthcxx . . $ OGRStylePen#Width(88fc23358c96bb53).(GBoolcxx . . $ GBool# &bDefault)
299 {
300 return GetParamDblcxx . . $ OGRStylePen#GetParamDbl(22cf3a73e6acdaae).(OGRSTPenWidth, bDefault);
301 }
302
303 double RawWidthcxx . . $ OGRStylePen#RawWidth(1afc06f22edba22e).(OGRSTUnitId &eRawUnit, GBoolcxx . . $ GBool# &bDefault)
304 {
305 return GetRawParamDblcxx . . $ OGRStylePen#GetRawParamDbl(ad7bd83f9fcee9f8).(OGRSTPenWidth, eRawUnit, bDefault);
306 }
307
308 void SetWidthcxx . . $ OGRStylePen#SetWidth(ba8836b59fb42830).(double dfWidth)
309 {
310 SetParamDblcxx . . $ OGRStylePen#SetParamDbl(3f1ca804fbc5fe6e).(OGRSTPenWidth, dfWidth);
311 }
312
313 const char *Patterncxx . . $ OGRStylePen#Pattern(b82f50771e6c26e2).(GBoolcxx . . $ GBool# &bDefault)
314 {
315 return GetParamStrcxx . . $ OGRStylePen#GetParamStr(bec66884059e77d2).(OGRSTPenPattern, bDefault);
316 }
317
318 void SetPatterncxx . . $ OGRStylePen#SetPattern(85c52e162fed56f9).(const char *pszPattern)
319 {
320 SetParamStrcxx . . $ OGRStylePen#SetParamStr(a3a05650e67d25b8).(OGRSTPenPattern, pszPattern);
321 }
322
323 const char *Idcxx . . $ OGRStylePen#Id(b82f50771e6c26e2).(GBoolcxx . . $ GBool# &bDefault)
324 {
325 return GetParamStrcxx . . $ OGRStylePen#GetParamStr(bec66884059e77d2).(OGRSTPenId, bDefault);
326 }
327
328 void SetIdcxx . . $ OGRStylePen#SetId(85c52e162fed56f9).(const char *pszId)
329 {
330 SetParamStrcxx . . $ OGRStylePen#SetParamStr(a3a05650e67d25b8).(OGRSTPenId, pszId);
331 }
332
333 double PerpendicularOffsetcxx . . $ OGRStylePen#PerpendicularOffset(88fc23358c96bb53).(GBoolcxx . . $ GBool# &bDefault)
334 {
335 return GetParamDblcxx . . $ OGRStylePen#GetParamDbl(22cf3a73e6acdaae).(OGRSTPenPerOffset, bDefault);
336 }
337
338 void SetPerpendicularOffsetcxx . . $ OGRStylePen#SetPerpendicularOffset(ba8836b59fb42830).(double dfPerp)
339 {
340 SetParamDblcxx . . $ OGRStylePen#SetParamDbl(3f1ca804fbc5fe6e).(OGRSTPenPerOffset, dfPerp);
341 }
342
343 const char *Capcxx . . $ OGRStylePen#Cap(b82f50771e6c26e2).(GBoolcxx . . $ GBool# &bDefault)
344 {
345 return GetParamStrcxx . . $ OGRStylePen#GetParamStr(bec66884059e77d2).(OGRSTPenCap, bDefault);
346 }
347
348 void SetCapcxx . . $ OGRStylePen#SetCap(85c52e162fed56f9).(const char *pszCap)
349 {
350 SetParamStrcxx . . $ OGRStylePen#SetParamStr(a3a05650e67d25b8).(OGRSTPenCap, pszCap);
351 }
352
353 const char *Joincxx . . $ OGRStylePen#Join(b82f50771e6c26e2).(GBoolcxx . . $ GBool# &bDefault)
354 {
355 return GetParamStrcxx . . $ OGRStylePen#GetParamStr(bec66884059e77d2).(OGRSTPenJoin, bDefault);
356 }
357
358 void SetJoincxx . . $ OGRStylePen#SetJoin(85c52e162fed56f9).(const char *pszJoin)
359 {
360 SetParamStrcxx . . $ OGRStylePen#SetParamStr(a3a05650e67d25b8).(OGRSTPenJoin, pszJoin);
361 }
362
363 int Prioritycxx . . $ OGRStylePen#Priority(795be11dee30bb15).(GBoolcxx . . $ GBool# &bDefault)
364 {
365 return GetParamNumcxx . . $ OGRStylePen#GetParamNum(2ed229918f05b49).(OGRSTPenPriority, bDefault);
366 }
367
368 void SetPrioritycxx . . $ OGRStylePen#SetPriority(d4f767463ce0a6b3).(int nPriority)
369 {
370 SetParamNumcxx . . $ OGRStylePen#SetParamNum(d6c1feba55682e41).(OGRSTPenPriority, nPriority);
371 }
372
373 /*****************************************************************/
374
375 const char *GetParamStrcxx . . $ OGRStylePen#GetParamStr(bec66884059e77d2).(OGRSTPenParam eParam, GBoolcxx . . $ GBool# &bValueIsNull);
376 int GetParamNumcxx . . $ OGRStylePen#GetParamNum(2ed229918f05b49).(OGRSTPenParam eParam, GBoolcxx . . $ GBool# &bValueIsNull);
377 double GetParamDblcxx . . $ OGRStylePen#GetParamDbl(22cf3a73e6acdaae).(OGRSTPenParam eParam, GBoolcxx . . $ GBool# &bValueIsNull);
378 double GetRawParamDblcxx . . $ OGRStylePen#GetRawParamDbl(ad7bd83f9fcee9f8).(OGRSTPenParam eParam, OGRSTUnitId &eRawUnit,
379 GBoolcxx . . $ GBool# &bValueIsNull);
380 void SetParamStrcxx . . $ OGRStylePen#SetParamStr(a3a05650e67d25b8).(OGRSTPenParam eParam, const char *pszParamString);
381 void SetParamNumcxx . . $ OGRStylePen#SetParamNum(d6c1feba55682e41).(OGRSTPenParam eParam, int nParam);
382 void SetParamDblcxx . . $ OGRStylePen#SetParamDbl(3f1ca804fbc5fe6e).(OGRSTPenParam eParam, double dfParam);
383 const char *GetStyleStringcxx . . $ OGRStylePen#GetStyleString(33a1f659e94feb42).() override;
384 };
385
386 /**
387 * This class represents a style brush
388 */
389 class CPL_DLLcxx . . $ `port/cpl_port.h:295:9`! OGRStyleBrushcxx . . $ OGRStyleBrush# : public OGRStyleToolcxx . . $ OGRStyleTool#
390 {
391 private:
392 OGRStyleValuecxx . . $ OGRStyleValue# *m_pasStyleValuecxx . . $ OGRStyleBrush#m_pasStyleValue.;
393
394 GBoolcxx . . $ GBool# Parsecxx . . $ OGRStyleBrush#Parse(b126dc7c1de90089).() override;
395
396 CPL_DISALLOW_COPY_ASSIGNcxx . . $ `port/cpl_port.h:1101:9`!(OGRStyleBrush)
397
398 public:
399 OGRStyleBrushcxx . . $ OGRStyleBrush#OGRStyleBrush(49f6e7a06ebc5aa8).();
400 ~cxx . . $ OGRStyleBrush#`~OGRStyleBrush`(ced63f7c635d850d).OGRStyleBrushcxx . . $ OGRStyleBrush#() override;
401
402 /* Explicit fct for all parameters defined in the Drawing tools Brush */
403
404 const char *ForeColorcxx . . $ OGRStyleBrush#ForeColor(b82f50771e6c26e2).(GBoolcxx . . $ GBool# &bDefault)
405 {
406 return GetParamStrcxx . . $ OGRStyleBrush#GetParamStr(23cfb90ff00c587e).(OGRSTBrushFColor, bDefault);
407 }
408
409 void SetForeColorcxx . . $ OGRStyleBrush#SetForeColor(85c52e162fed56f9).(const char *pszColor)
410 {
411 SetParamStrcxx . . $ OGRStyleBrush#SetParamStr(6b7d20b3b5cd3e8a).(OGRSTBrushFColor, pszColor);
412 }
413
414 const char *BackColorcxx . . $ OGRStyleBrush#BackColor(b82f50771e6c26e2).(GBoolcxx . . $ GBool# &bDefault)
415 {
416 return GetParamStrcxx . . $ OGRStyleBrush#GetParamStr(23cfb90ff00c587e).(OGRSTBrushBColor, bDefault);
417 }
418
419 void SetBackColorcxx . . $ OGRStyleBrush#SetBackColor(85c52e162fed56f9).(const char *pszColor)
420 {
421 SetParamStrcxx . . $ OGRStyleBrush#SetParamStr(6b7d20b3b5cd3e8a).(OGRSTBrushBColor, pszColor);
422 }
423
424 const char *Idcxx . . $ OGRStyleBrush#Id(b82f50771e6c26e2).(GBoolcxx . . $ GBool# &bDefault)
425 {
426 return GetParamStrcxx . . $ OGRStyleBrush#GetParamStr(23cfb90ff00c587e).(OGRSTBrushId, bDefault);
427 }
428
429 void SetIdcxx . . $ OGRStyleBrush#SetId(85c52e162fed56f9).(const char *pszId)
430 {
431 SetParamStrcxx . . $ OGRStyleBrush#SetParamStr(6b7d20b3b5cd3e8a).(OGRSTBrushId, pszId);
432 }
433
434 double Anglecxx . . $ OGRStyleBrush#Angle(88fc23358c96bb53).(GBoolcxx . . $ GBool# &bDefault)
435 {
436 return GetParamDblcxx . . $ OGRStyleBrush#GetParamDbl(84f9885120c5a322).(OGRSTBrushAngle, bDefault);
437 }
438
439 void SetAnglecxx . . $ OGRStyleBrush#SetAngle(ba8836b59fb42830).(double dfAngle)
440 {
441 SetParamDblcxx . . $ OGRStyleBrush#SetParamDbl(b0b79fa7759ab90).(OGRSTBrushAngle, dfAngle);
442 }
443
444 double Sizecxx . . $ OGRStyleBrush#Size(88fc23358c96bb53).(GBoolcxx . . $ GBool# &bDefault)
445 {
446 return GetParamDblcxx . . $ OGRStyleBrush#GetParamDbl(84f9885120c5a322).(OGRSTBrushSize, bDefault);
447 }
448
449 void SetSizecxx . . $ OGRStyleBrush#SetSize(ba8836b59fb42830).(double dfSize)
450 {
451 SetParamDblcxx . . $ OGRStyleBrush#SetParamDbl(b0b79fa7759ab90).(OGRSTBrushSize, dfSize);
452 }
453
454 double SpacingXcxx . . $ OGRStyleBrush#SpacingX(88fc23358c96bb53).(GBoolcxx . . $ GBool# &bDefault)
455 {
456 return GetParamDblcxx . . $ OGRStyleBrush#GetParamDbl(84f9885120c5a322).(OGRSTBrushDx, bDefault);
457 }
458
459 void SetSpacingXcxx . . $ OGRStyleBrush#SetSpacingX(ba8836b59fb42830).(double dfX)
460 {
461 SetParamDblcxx . . $ OGRStyleBrush#SetParamDbl(b0b79fa7759ab90).(OGRSTBrushDx, dfX);
462 }
463
464 double SpacingYcxx . . $ OGRStyleBrush#SpacingY(88fc23358c96bb53).(GBoolcxx . . $ GBool# &bDefault)
465 {
466 return GetParamDblcxx . . $ OGRStyleBrush#GetParamDbl(84f9885120c5a322).(OGRSTBrushDy, bDefault);
467 }
468
469 void SetSpacingYcxx . . $ OGRStyleBrush#SetSpacingY(ba8836b59fb42830).(double dfY)
470 {
471 SetParamDblcxx . . $ OGRStyleBrush#SetParamDbl(b0b79fa7759ab90).(OGRSTBrushDy, dfY);
472 }
473
474 int Prioritycxx . . $ OGRStyleBrush#Priority(795be11dee30bb15).(GBoolcxx . . $ GBool# &bDefault)
475 {
476 return GetParamNumcxx . . $ OGRStyleBrush#GetParamNum(dcffaf8df54baddf).(OGRSTBrushPriority, bDefault);
477 }
478
479 void SetPrioritycxx . . $ OGRStyleBrush#SetPriority(d4f767463ce0a6b3).(int nPriority)
480 {
481 SetParamNumcxx . . $ OGRStyleBrush#SetParamNum(3517839749fd18ef).(OGRSTBrushPriority, nPriority);
482 }
483
484 /*****************************************************************/
485
486 const char *GetParamStrcxx . . $ OGRStyleBrush#GetParamStr(23cfb90ff00c587e).(OGRSTBrushParam eParam, GBoolcxx . . $ GBool# &bValueIsNull);
487 int GetParamNumcxx . . $ OGRStyleBrush#GetParamNum(dcffaf8df54baddf).(OGRSTBrushParam eParam, GBoolcxx . . $ GBool# &bValueIsNull);
488 double GetParamDblcxx . . $ OGRStyleBrush#GetParamDbl(84f9885120c5a322).(OGRSTBrushParam eParam, GBoolcxx . . $ GBool# &bValueIsNull);
489 void SetParamStrcxx . . $ OGRStyleBrush#SetParamStr(6b7d20b3b5cd3e8a).(OGRSTBrushParam eParam, const char *pszParamString);
490 void SetParamNumcxx . . $ OGRStyleBrush#SetParamNum(3517839749fd18ef).(OGRSTBrushParam eParam, int nParam);
491 void SetParamDblcxx . . $ OGRStyleBrush#SetParamDbl(b0b79fa7759ab90).(OGRSTBrushParam eParam, double dfParam);
492 const char *GetStyleStringcxx . . $ OGRStyleBrush#GetStyleString(33a1f659e94feb42).() override;
493 };
494
495 /**
496 * This class represents a style symbol
497 */
498 class CPL_DLLcxx . . $ `port/cpl_port.h:295:9`! OGRStyleSymbolcxx . . $ OGRStyleSymbol# : public OGRStyleToolcxx . . $ OGRStyleTool#
499 {
500 private:
501 OGRStyleValuecxx . . $ OGRStyleValue# *m_pasStyleValuecxx . . $ OGRStyleSymbol#m_pasStyleValue.;
502
503 GBoolcxx . . $ GBool# Parsecxx . . $ OGRStyleSymbol#Parse(b126dc7c1de90089).() override;
504
505 CPL_DISALLOW_COPY_ASSIGNcxx . . $ `port/cpl_port.h:1101:9`!(OGRStyleSymbol)
506
507 public:
508 OGRStyleSymbolcxx . . $ OGRStyleSymbol#OGRStyleSymbol(49f6e7a06ebc5aa8).();
509 ~cxx . . $ OGRStyleSymbol#`~OGRStyleSymbol`(ced63f7c635d850d).OGRStyleSymbolcxx . . $ OGRStyleSymbol#() override;
510
511 /*****************************************************************/
512 /* Explicit fct for all parameters defined in the Drawing tools */
513 /*****************************************************************/
514
515 const char *Idcxx . . $ OGRStyleSymbol#Id(b82f50771e6c26e2).(GBoolcxx . . $ GBool# &bDefault)
516 {
517 return GetParamStrcxx . . $ OGRStyleSymbol#GetParamStr(400e973f10914fa3).(OGRSTSymbolId, bDefault);
518 }
519
520 void SetIdcxx . . $ OGRStyleSymbol#SetId(85c52e162fed56f9).(const char *pszId)
521 {
522 SetParamStrcxx . . $ OGRStyleSymbol#SetParamStr(ea124747a102f14a).(OGRSTSymbolId, pszId);
523 }
524
525 double Anglecxx . . $ OGRStyleSymbol#Angle(88fc23358c96bb53).(GBoolcxx . . $ GBool# &bDefault)
526 {
527 return GetParamDblcxx . . $ OGRStyleSymbol#GetParamDbl(27bb34e9cc5cb0a7).(OGRSTSymbolAngle, bDefault);
528 }
529
530 void SetAnglecxx . . $ OGRStyleSymbol#SetAngle(ba8836b59fb42830).(double dfAngle)
531 {
532 SetParamDblcxx . . $ OGRStyleSymbol#SetParamDbl(bea2b71ef367edb3).(OGRSTSymbolAngle, dfAngle);
533 }
534
535 const char *Colorcxx . . $ OGRStyleSymbol#Color(b82f50771e6c26e2).(GBoolcxx . . $ GBool# &bDefault)
536 {
537 return GetParamStrcxx . . $ OGRStyleSymbol#GetParamStr(400e973f10914fa3).(OGRSTSymbolColor, bDefault);
538 }
539
540 void SetColorcxx . . $ OGRStyleSymbol#SetColor(85c52e162fed56f9).(const char *pszColor)
541 {
542 SetParamStrcxx . . $ OGRStyleSymbol#SetParamStr(ea124747a102f14a).(OGRSTSymbolColor, pszColor);
543 }
544
545 double Sizecxx . . $ OGRStyleSymbol#Size(88fc23358c96bb53).(GBoolcxx . . $ GBool# &bDefault)
546 {
547 return GetParamDblcxx . . $ OGRStyleSymbol#GetParamDbl(27bb34e9cc5cb0a7).(OGRSTSymbolSize, bDefault);
548 }
549
550 void SetSizecxx . . $ OGRStyleSymbol#SetSize(ba8836b59fb42830).(double dfSize)
551 {
552 SetParamDblcxx . . $ OGRStyleSymbol#SetParamDbl(bea2b71ef367edb3).(OGRSTSymbolSize, dfSize);
553 }
554
555 double SpacingXcxx . . $ OGRStyleSymbol#SpacingX(88fc23358c96bb53).(GBoolcxx . . $ GBool# &bDefault)
556 {
557 return GetParamDblcxx . . $ OGRStyleSymbol#GetParamDbl(27bb34e9cc5cb0a7).(OGRSTSymbolDx, bDefault);
558 }
559
560 void SetSpacingXcxx . . $ OGRStyleSymbol#SetSpacingX(ba8836b59fb42830).(double dfX)
561 {
562 SetParamDblcxx . . $ OGRStyleSymbol#SetParamDbl(bea2b71ef367edb3).(OGRSTSymbolDx, dfX);
563 }
564
565 double SpacingYcxx . . $ OGRStyleSymbol#SpacingY(88fc23358c96bb53).(GBoolcxx . . $ GBool# &bDefault)
566 {
567 return GetParamDblcxx . . $ OGRStyleSymbol#GetParamDbl(27bb34e9cc5cb0a7).(OGRSTSymbolDy, bDefault);
568 }
569
570 void SetSpacingYcxx . . $ OGRStyleSymbol#SetSpacingY(ba8836b59fb42830).(double dfY)
571 {
572 SetParamDblcxx . . $ OGRStyleSymbol#SetParamDbl(bea2b71ef367edb3).(OGRSTSymbolDy, dfY);
573 }
574
575 double Stepcxx . . $ OGRStyleSymbol#Step(88fc23358c96bb53).(GBoolcxx . . $ GBool# &bDefault)
576 {
577 return GetParamDblcxx . . $ OGRStyleSymbol#GetParamDbl(27bb34e9cc5cb0a7).(OGRSTSymbolStep, bDefault);
578 }
579
580 void SetStepcxx . . $ OGRStyleSymbol#SetStep(ba8836b59fb42830).(double dfStep)
581 {
582 SetParamDblcxx . . $ OGRStyleSymbol#SetParamDbl(bea2b71ef367edb3).(OGRSTSymbolStep, dfStep);
583 }
584
585 double Offsetcxx . . $ OGRStyleSymbol#Offset(88fc23358c96bb53).(GBoolcxx . . $ GBool# &bDefault)
586 {
587 return GetParamDblcxx . . $ OGRStyleSymbol#GetParamDbl(27bb34e9cc5cb0a7).(OGRSTSymbolOffset, bDefault);
588 }
589
590 void SetOffsetcxx . . $ OGRStyleSymbol#SetOffset(ba8836b59fb42830).(double dfOffset)
591 {
592 SetParamDblcxx . . $ OGRStyleSymbol#SetParamDbl(bea2b71ef367edb3).(OGRSTSymbolOffset, dfOffset);
593 }
594
595 double Perpcxx . . $ OGRStyleSymbol#Perp(88fc23358c96bb53).(GBoolcxx . . $ GBool# &bDefault)
596 {
597 return GetParamDblcxx . . $ OGRStyleSymbol#GetParamDbl(27bb34e9cc5cb0a7).(OGRSTSymbolPerp, bDefault);
598 }
599
600 void SetPerpcxx . . $ OGRStyleSymbol#SetPerp(ba8836b59fb42830).(double dfPerp)
601 {
602 SetParamDblcxx . . $ OGRStyleSymbol#SetParamDbl(bea2b71ef367edb3).(OGRSTSymbolPerp, dfPerp);
603 }
604
605 int Prioritycxx . . $ OGRStyleSymbol#Priority(795be11dee30bb15).(GBoolcxx . . $ GBool# &bDefault)
606 {
607 return GetParamNumcxx . . $ OGRStyleSymbol#GetParamNum(333f605a81dffaa).(OGRSTSymbolPriority, bDefault);
608 }
609
610 void SetPrioritycxx . . $ OGRStyleSymbol#SetPriority(d4f767463ce0a6b3).(int nPriority)
611 {
612 SetParamNumcxx . . $ OGRStyleSymbol#SetParamNum(4b5b2d99af5e1499).(OGRSTSymbolPriority, nPriority);
613 }
614
615 const char *FontNamecxx . . $ OGRStyleSymbol#FontName(b82f50771e6c26e2).(GBoolcxx . . $ GBool# &bDefault)
616 {
617 return GetParamStrcxx . . $ OGRStyleSymbol#GetParamStr(400e973f10914fa3).(OGRSTSymbolFontName, bDefault);
618 }
619
620 void SetFontNamecxx . . $ OGRStyleSymbol#SetFontName(85c52e162fed56f9).(const char *pszFontName)
621 {
622 SetParamStrcxx . . $ OGRStyleSymbol#SetParamStr(ea124747a102f14a).(OGRSTSymbolFontName, pszFontName);
623 }
624
625 const char *OColorcxx . . $ OGRStyleSymbol#OColor(b82f50771e6c26e2).(GBoolcxx . . $ GBool# &bDefault)
626 {
627 return GetParamStrcxx . . $ OGRStyleSymbol#GetParamStr(400e973f10914fa3).(OGRSTSymbolOColor, bDefault);
628 }
629
630 void SetOColorcxx . . $ OGRStyleSymbol#SetOColor(85c52e162fed56f9).(const char *pszColor)
631 {
632 SetParamStrcxx . . $ OGRStyleSymbol#SetParamStr(ea124747a102f14a).(OGRSTSymbolOColor, pszColor);
633 }
634
635 /*****************************************************************/
636
637 const char *GetParamStrcxx . . $ OGRStyleSymbol#GetParamStr(400e973f10914fa3).(OGRSTSymbolParam eParam, GBoolcxx . . $ GBool# &bValueIsNull);
638 int GetParamNumcxx . . $ OGRStyleSymbol#GetParamNum(333f605a81dffaa).(OGRSTSymbolParam eParam, GBoolcxx . . $ GBool# &bValueIsNull);
639 double GetParamDblcxx . . $ OGRStyleSymbol#GetParamDbl(27bb34e9cc5cb0a7).(OGRSTSymbolParam eParam, GBoolcxx . . $ GBool# &bValueIsNull);
640 void SetParamStrcxx . . $ OGRStyleSymbol#SetParamStr(ea124747a102f14a).(OGRSTSymbolParam eParam, const char *pszParamString);
641 void SetParamNumcxx . . $ OGRStyleSymbol#SetParamNum(4b5b2d99af5e1499).(OGRSTSymbolParam eParam, int nParam);
642 void SetParamDblcxx . . $ OGRStyleSymbol#SetParamDbl(bea2b71ef367edb3).(OGRSTSymbolParam eParam, double dfParam);
643 const char *GetStyleStringcxx . . $ OGRStyleSymbol#GetStyleString(33a1f659e94feb42).() override;
644 };
645
646 /**
647 * This class represents a style label
648 */
649 class CPL_DLLcxx . . $ `port/cpl_port.h:295:9`! OGRStyleLabelcxx . . $ OGRStyleLabel# : public OGRStyleToolcxx . . $ OGRStyleTool#
650 {
651 private:
652 OGRStyleValuecxx . . $ OGRStyleValue# *m_pasStyleValuecxx . . $ OGRStyleLabel#m_pasStyleValue.;
653
654 GBoolcxx . . $ GBool# Parsecxx . . $ OGRStyleLabel#Parse(b126dc7c1de90089).() override;
655
656 CPL_DISALLOW_COPY_ASSIGNcxx . . $ OGRStyleLabel#(OGRStyleLabel)
657
658 public:
659 OGRStyleLabelcxx . . $ OGRStyleLabel#OGRStyleLabel(49f6e7a06ebc5aa8).();
660 ~cxx . . $ OGRStyleLabel#`~OGRStyleLabel`(ced63f7c635d850d).OGRStyleLabelcxx . . $ OGRStyleLabel#() override;
661
662 /*****************************************************************/
663 /* Explicit fct for all parameters defined in the Drawing tools */
664 /*****************************************************************/
665
666 const char *FontNamecxx . . $ OGRStyleLabel#FontName(b82f50771e6c26e2).(GBoolcxx . . $ GBool# &bDefault)
667 {
668 return GetParamStrcxx . . $ OGRStyleLabel#GetParamStr(7e717d8504cdd639).(OGRSTLabelFontName, bDefault);
669 }
670
671 void SetFontNamecxx . . $ OGRStyleLabel#SetFontName(85c52e162fed56f9).(const char *pszFontName)
672 {
673 SetParamStrcxx . . $ OGRStyleLabel#SetParamStr(f1477437bfa2b922).(OGRSTLabelFontName, pszFontName);
674 }
675
676 double Sizecxx . . $ OGRStyleLabel#Size(88fc23358c96bb53).(GBoolcxx . . $ GBool# &bDefault)
677 {
678 return GetParamDblcxx . . $ OGRStyleLabel#GetParamDbl(c48536d54f3ffbff).(OGRSTLabelSize, bDefault);
679 }
680
681 void SetSizecxx . . $ OGRStyleLabel#SetSize(ba8836b59fb42830).(double dfSize)
682 {
683 SetParamDblcxx . . $ OGRStyleLabel#SetParamDbl(dd7a1e322d1dfb62).(OGRSTLabelSize, dfSize);
684 }
685
686 const char *TextStringcxx . . $ OGRStyleLabel#TextString(b82f50771e6c26e2).(GBoolcxx . . $ GBool# &bDefault)
687 {
688 return GetParamStrcxx . . $ OGRStyleLabel#GetParamStr(7e717d8504cdd639).(OGRSTLabelTextString, bDefault);
689 }
690
691 void SetTextStringcxx . . $ OGRStyleLabel#SetTextString(85c52e162fed56f9).(const char *pszTextString)
692 {
693 SetParamStrcxx . . $ OGRStyleLabel#SetParamStr(f1477437bfa2b922).(OGRSTLabelTextString, pszTextString);
694 }
695
696 double Anglecxx . . $ OGRStyleLabel#Angle(88fc23358c96bb53).(GBoolcxx . . $ GBool# &bDefault)
697 {
698 return GetParamDblcxx . . $ OGRStyleLabel#GetParamDbl(c48536d54f3ffbff).(OGRSTLabelAngle, bDefault);
699 }
700
701 void SetAnglecxx . . $ OGRStyleLabel#SetAngle(ba8836b59fb42830).(double dfAngle)
702 {
703 SetParamDblcxx . . $ OGRStyleLabel#SetParamDbl(dd7a1e322d1dfb62).(OGRSTLabelAngle, dfAngle);
704 }
705
706 const char *ForeColorcxx . . $ OGRStyleLabel#ForeColor(b82f50771e6c26e2).(GBoolcxx . . $ GBool# &bDefault)
707 {
708 return GetParamStrcxx . . $ OGRStyleLabel#GetParamStr(7e717d8504cdd639).(OGRSTLabelFColor, bDefault);
709 }
710
711 void SetForColorcxx . . $ OGRStyleLabel#SetForColor(85c52e162fed56f9).(const char *pszForColor)
712 {
713 SetParamStrcxx . . $ OGRStyleLabel#SetParamStr(f1477437bfa2b922).(OGRSTLabelFColor, pszForColor);
714 }
715
716 const char *BackColorcxx . . $ OGRStyleLabel#BackColor(b82f50771e6c26e2).(GBoolcxx . . $ GBool# &bDefault)
717 {
718 return GetParamStrcxx . . $ OGRStyleLabel#GetParamStr(7e717d8504cdd639).(OGRSTLabelBColor, bDefault);
719 }
720
721 void SetBackColorcxx . . $ OGRStyleLabel#SetBackColor(85c52e162fed56f9).(const char *pszBackColor)
722 {
723 SetParamStrcxx . . $ OGRStyleLabel#SetParamStr(f1477437bfa2b922).(OGRSTLabelBColor, pszBackColor);
724 }
725
726 const char *Placementcxx . . $ OGRStyleLabel#Placement(b82f50771e6c26e2).(GBoolcxx . . $ GBool# &bDefault)
727 {
728 return GetParamStrcxx . . $ OGRStyleLabel#GetParamStr(7e717d8504cdd639).(OGRSTLabelPlacement, bDefault);
729 }
730
731 void SetPlacementcxx . . $ OGRStyleLabel#SetPlacement(85c52e162fed56f9).(const char *pszPlacement)
732 {
733 SetParamStrcxx . . $ OGRStyleLabel#SetParamStr(f1477437bfa2b922).(OGRSTLabelPlacement, pszPlacement);
734 }
735
736 int Anchorcxx . . $ OGRStyleLabel#Anchor(795be11dee30bb15).(GBoolcxx . . $ GBool# &bDefault)
737 {
738 return GetParamNumcxx . . $ OGRStyleLabel#GetParamNum(846f11dddee1dcc4).(OGRSTLabelAnchor, bDefault);
739 }
740
741 void SetAnchorcxx . . $ OGRStyleLabel#SetAnchor(d4f767463ce0a6b3).(int nAnchor)
742 {
743 SetParamNumcxx . . $ OGRStyleLabel#SetParamNum(a9faeac89ece3a6d).(OGRSTLabelAnchor, nAnchor);
744 }
745
746 double SpacingXcxx . . $ OGRStyleLabel#SpacingX(88fc23358c96bb53).(GBoolcxx . . $ GBool# &bDefault)
747 {
748 return GetParamDblcxx . . $ OGRStyleLabel#GetParamDbl(c48536d54f3ffbff).(OGRSTLabelDx, bDefault);
749 }
750
751 void SetSpacingXcxx . . $ OGRStyleLabel#SetSpacingX(ba8836b59fb42830).(double dfX)
752 {
753 SetParamDblcxx . . $ OGRStyleLabel#SetParamDbl(dd7a1e322d1dfb62).(OGRSTLabelDx, dfX);
754 }
755
756 double SpacingYcxx . . $ OGRStyleLabel#SpacingY(88fc23358c96bb53).(GBoolcxx . . $ GBool# &bDefault)
757 {
758 return GetParamDblcxx . . $ OGRStyleLabel#GetParamDbl(c48536d54f3ffbff).(OGRSTLabelDy, bDefault);
759 }
760
761 void SetSpacingYcxx . . $ OGRStyleLabel#SetSpacingY(ba8836b59fb42830).(double dfY)
762 {
763 SetParamDblcxx . . $ OGRStyleLabel#SetParamDbl(dd7a1e322d1dfb62).(OGRSTLabelDy, dfY);
764 }
765
766 double Perpcxx . . $ OGRStyleLabel#Perp(88fc23358c96bb53).(GBoolcxx . . $ GBool# &bDefault)
767 {
768 return GetParamDblcxx . . $ OGRStyleLabel#GetParamDbl(c48536d54f3ffbff).(OGRSTLabelPerp, bDefault);
769 }
770
771 void SetPerpcxx . . $ OGRStyleLabel#SetPerp(ba8836b59fb42830).(double dfPerp)
772 {
773 SetParamDblcxx . . $ OGRStyleLabel#SetParamDbl(dd7a1e322d1dfb62).(OGRSTLabelPerp, dfPerp);
774 }
775
776 GBoolcxx . . $ GBool# Boldcxx . . $ OGRStyleLabel#Bold(795be11dee30bb15).(GBoolcxx . . $ GBool# &bDefault)
777 {
778 return GetParamNumcxx . . $ OGRStyleLabel#GetParamNum(846f11dddee1dcc4).(OGRSTLabelBold, bDefault);
779 }
780
781 void SetBoldcxx . . $ OGRStyleLabel#SetBold(d4f767463ce0a6b3).(GBoolcxx . . $ GBool# bBold)
782 {
783 SetParamNumcxx . . $ OGRStyleLabel#SetParamNum(a9faeac89ece3a6d).(OGRSTLabelBold, bBold);
784 }
785
786 GBoolcxx . . $ GBool# Italiccxx . . $ OGRStyleLabel#Italic(795be11dee30bb15).(GBoolcxx . . $ GBool# &bDefault)
787 {
788 return GetParamNumcxx . . $ OGRStyleLabel#GetParamNum(846f11dddee1dcc4).(OGRSTLabelItalic, bDefault);
789 }
790
791 void SetItaliccxx . . $ OGRStyleLabel#SetItalic(d4f767463ce0a6b3).(GBoolcxx . . $ GBool# bItalic)
792 {
793 SetParamNumcxx . . $ OGRStyleLabel#SetParamNum(a9faeac89ece3a6d).(OGRSTLabelItalic, bItalic);
794 }
795
796 GBoolcxx . . $ GBool# Underlinecxx . . $ OGRStyleLabel#Underline(795be11dee30bb15).(GBoolcxx . . $ GBool# &bDefault)
797 {
798 return GetParamNumcxx . . $ OGRStyleLabel#GetParamNum(846f11dddee1dcc4).(OGRSTLabelUnderline, bDefault);
799 }
800
801 void SetUnderlinecxx . . $ OGRStyleLabel#SetUnderline(d4f767463ce0a6b3).(GBoolcxx . . $ GBool# bUnderline)
802 {
803 SetParamNumcxx . . $ OGRStyleLabel#SetParamNum(a9faeac89ece3a6d).(OGRSTLabelUnderline, bUnderline);
804 }
805
806 int Prioritycxx . . $ OGRStyleLabel#Priority(795be11dee30bb15).(GBoolcxx . . $ GBool# &bDefault)
807 {
808 return GetParamNumcxx . . $ OGRStyleLabel#GetParamNum(846f11dddee1dcc4).(OGRSTLabelPriority, bDefault);
809 }
810
811 void SetPrioritycxx . . $ OGRStyleLabel#SetPriority(d4f767463ce0a6b3).(int nPriority)
812 {
813 SetParamNumcxx . . $ OGRStyleLabel#SetParamNum(a9faeac89ece3a6d).(OGRSTLabelPriority, nPriority);
814 }
815
816 GBoolcxx . . $ GBool# Strikeoutcxx . . $ OGRStyleLabel#Strikeout(795be11dee30bb15).(GBoolcxx . . $ GBool# &bDefault)
817 {
818 return GetParamNumcxx . . $ OGRStyleLabel#GetParamNum(846f11dddee1dcc4).(OGRSTLabelStrikeout, bDefault);
819 }
820
821 void SetStrikeoutcxx . . $ OGRStyleLabel#SetStrikeout(d4f767463ce0a6b3).(GBoolcxx . . $ GBool# bStrikeout)
822 {
823 SetParamNumcxx . . $ OGRStyleLabel#SetParamNum(a9faeac89ece3a6d).(OGRSTLabelStrikeout, bStrikeout);
824 }
825
826 double Stretchcxx . . $ OGRStyleLabel#Stretch(88fc23358c96bb53).(GBoolcxx . . $ GBool# &bDefault)
827 {
828 return GetParamDblcxx . . $ OGRStyleLabel#GetParamDbl(c48536d54f3ffbff).(OGRSTLabelStretch, bDefault);
829 }
830
831 void SetStretchcxx . . $ OGRStyleLabel#SetStretch(ba8836b59fb42830).(double dfStretch)
832 {
833 SetParamDblcxx . . $ OGRStyleLabel#SetParamDbl(dd7a1e322d1dfb62).(OGRSTLabelStretch, dfStretch);
834 }
835
836 const char *ShadowColorcxx . . $ OGRStyleLabel#ShadowColor(b82f50771e6c26e2).(GBoolcxx . . $ GBool# &bDefault)
837 {
838 return GetParamStrcxx . . $ OGRStyleLabel#GetParamStr(7e717d8504cdd639).(OGRSTLabelHColor, bDefault);
839 }
840
841 void SetShadowColorcxx . . $ OGRStyleLabel#SetShadowColor(85c52e162fed56f9).(const char *pszShadowColor)
842 {
843 SetParamStrcxx . . $ OGRStyleLabel#SetParamStr(f1477437bfa2b922).(OGRSTLabelHColor, pszShadowColor);
844 }
845
846 const char *OutlineColorcxx . . $ OGRStyleLabel#OutlineColor(b82f50771e6c26e2).(GBoolcxx . . $ GBool# &bDefault)
847 {
848 return GetParamStrcxx . . $ OGRStyleLabel#GetParamStr(7e717d8504cdd639).(OGRSTLabelOColor, bDefault);
849 }
850
851 void SetOutlineColorcxx . . $ OGRStyleLabel#SetOutlineColor(85c52e162fed56f9).(const char *pszOutlineColor)
852 {
853 SetParamStrcxx . . $ OGRStyleLabel#SetParamStr(f1477437bfa2b922).(OGRSTLabelOColor, pszOutlineColor);
854 }
855
856 /*****************************************************************/
857
858 const char *GetParamStrcxx . . $ OGRStyleLabel#GetParamStr(7e717d8504cdd639).(OGRSTLabelParam eParam, GBoolcxx . . $ GBool# &bValueIsNull);
859 int GetParamNumcxx . . $ OGRStyleLabel#GetParamNum(846f11dddee1dcc4).(OGRSTLabelParam eParam, GBoolcxx . . $ GBool# &bValueIsNull);
860 double GetParamDblcxx . . $ OGRStyleLabel#GetParamDbl(c48536d54f3ffbff).(OGRSTLabelParam eParam, GBoolcxx . . $ GBool# &bValueIsNull);
861 void SetParamStrcxx . . $ OGRStyleLabel#SetParamStr(f1477437bfa2b922).(OGRSTLabelParam eParam, const char *pszParamString);
862 void SetParamNumcxx . . $ OGRStyleLabel#SetParamNum(a9faeac89ece3a6d).(OGRSTLabelParam eParam, int nParam);
863 void SetParamDblcxx . . $ OGRStyleLabel#SetParamDbl(dd7a1e322d1dfb62).(OGRSTLabelParam eParam, double dfParam);
864 const char *GetStyleStringcxx . . $ OGRStyleLabel#GetStyleString(33a1f659e94feb42).() override;
865 };
866
867 //! @endcond
868
869 #endif /* OGR_FEATURESTYLE_INCLUDE */