본문으로 건너뛰기
로딩중...
검색중...
일치하는것 없음
glsStyleModel.h
1#pragma once
2
3#include "gdk_dll/glsExport.h"
4#include "gdk_dll/glsTypes.h"
5
6#include <cstddef>
7#include <cstdint>
8
9namespace GDK {
10
11class glsFeatureLayer;
14class glsStyleCatalog;
15
26
36
50
53enum class glsChartType
54{
58};
59
63{
66};
67
71{
74};
75
83
91
109
122
127enum class glsLineJoin
128{
132};
133
145
156
167
176
192
210
216{
218 bool IncludeLower = true;
219 bool IncludeUpper = true;
220 // 2 bytes implicit padding here.
223 int ValueCount = 0;
224};
225
230static constexpr int GLS_MAX_IMAGE_URI = 260; // == Windows MAX_PATH
231static constexpr int GLS_MAX_IMAGE_ID = 128;
232static constexpr int GLS_MAX_ANGLE_COLUMN = 128;
233static constexpr int GLS_MAX_FONT_FAMILY = 128;
234static constexpr int GLS_MAX_FIELD_NAME = 128;
235static constexpr int GLS_MAX_EXPRESSION = 512;
236static constexpr int GLS_MAX_AFFIX = 128;
237static constexpr int GLS_MAX_CHART_LABEL = 256;
238static constexpr int GLS_MAX_DASH = 32;
239
245{
246 uint32_t Color = 0x00000000u;
247 bool Enabled = true;
252};
253
274
280{
282 bool Bold = false;
283 bool Italic = false;
284 bool Underline = false;
287};
288
319
347
354{
355 glsStyleFill Fill {0x800000FFu, true};
356};
357
358// Values are permanent (append only), as gdk::PolygonFillLayer::Kind.
369
390
428
460
466{
468 uint32_t Color = 0xFF4E79A7u;
470};
471
502
508{
510 bool Enabled = false;
511};
512
519{
520public:
521 struct Impl;
522
525
530 glsSymbolSet(const glsSymbolSet&) = delete;
531 glsSymbolSet& operator=(const glsSymbolSet&) = delete;
542 glsSymbolSet& operator=(glsSymbolSet&&) noexcept;
543
547 glsStatus GetLayerCount(int* outCount) const noexcept;
552 glsStatus GetLayerKindAt(int index, glsSymbolLayerKind* outKind) const noexcept;
555 glsStatus Clear() noexcept;
559 glsStatus RemoveLayerAt(int index) noexcept;
560
562
565
570 glsStatus AddMarker(const glsMarkerSymbolLayer* layer, int* outIndex) noexcept;
575 glsStatus GetMarkerAt(int index, glsMarkerSymbolLayer* outLayer) const noexcept;
580 glsStatus SetMarkerAt(int index, const glsMarkerSymbolLayer* layer) noexcept;
587 glsStatus GetMarkerAngleColumnAt(int index, char* buf, size_t bufSize, size_t* requiredSize) const noexcept;
592 glsStatus SetMarkerAngleColumnAt(int index, const char* value) noexcept;
599 glsStatus GetMarkerSweepColumnAt(int index, char* buf, size_t bufSize, size_t* requiredSize) const noexcept;
604 glsStatus SetMarkerSweepColumnAt(int index, const char* value) noexcept;
611 glsStatus GetMarkerImageIdAt(int index, char* buf, size_t bufSize, size_t* requiredSize) const noexcept;
618 glsStatus GetMarkerImageUriAt(int index, char* buf, size_t bufSize, size_t* requiredSize) const noexcept;
624 glsStatus SetMarkerImageAt(int index, const char* idUtf8, const char* uriUtf8) noexcept;
629 glsStatus HasMarkerFillTextureAt(int index, bool* outHasTexture) const noexcept;
636 glsStatus GetMarkerFillTextureIdAt(int index, char* buf, size_t bufSize, size_t* requiredSize) const noexcept;
643 glsStatus GetMarkerFillTextureUriAt(int index, char* buf, size_t bufSize, size_t* requiredSize) const noexcept;
649 glsStatus SetMarkerFillTextureAt(int index, const char* idUtf8, const char* uriUtf8) noexcept;
654
656
659
664 glsStatus AddLine(const glsLineSymbolLayer* layer, int* outIndex) noexcept;
669 glsStatus GetLineAt(int index, glsLineSymbolLayer* outLayer) const noexcept;
674 glsStatus SetLineAt(int index, const glsLineSymbolLayer* layer) noexcept;
679 glsStatus HasLineRepeatedMarkerAt(int index, bool* outHasMarker) const noexcept;
684 glsStatus GetLineRepeatedMarkerAt(int index, glsMarkerSymbolLayer* outMarker) const noexcept;
689 glsStatus SetLineRepeatedMarkerAt(int index, const glsMarkerSymbolLayer* marker) noexcept;
696 glsStatus GetLineRepeatedMarkerAngleColumnAt(int index, char* buf, size_t bufSize, size_t* requiredSize) const noexcept;
701 glsStatus SetLineRepeatedMarkerAngleColumnAt(int index, const char* value) noexcept;
712 glsStatus GetLineTextureIdAt(int index, char* buf, size_t bufSize, size_t* requiredSize) const noexcept;
719 glsStatus GetLineTextureUriAt(int index, char* buf, size_t bufSize, size_t* requiredSize) const noexcept;
725 glsStatus SetLineTextureAt(int index, const char* idUtf8, const char* uriUtf8) noexcept;
726
728
731
736 glsStatus AddPolygon(const glsPolygonSymbolLayer* layer, int* outIndex) noexcept;
741 glsStatus GetPolygonAt(int index, glsPolygonSymbolLayer* outLayer) const noexcept;
748 glsStatus SetPolygonAt(int index, const glsPolygonSymbolLayer* layer) noexcept;
753 glsStatus HasPolygonFillTextureAt(int index, bool* outHasTexture) const noexcept;
760 glsStatus GetPolygonFillTextureIdAt(int index, char* buf, size_t bufSize, size_t* requiredSize) const noexcept;
767 glsStatus GetPolygonFillTextureUriAt(int index, char* buf, size_t bufSize, size_t* requiredSize) const noexcept;
773 glsStatus SetPolygonFillTextureAt(int index, const char* idUtf8, const char* uriUtf8) noexcept;
782 glsStatus GetPolygonFillCountAt(int index, int* outCount) const noexcept;
788 glsStatus GetPolygonFillAt(int index, int fillIndex, glsPolygonFillLayer* outFill) const noexcept;
794 glsStatus SetPolygonFillAt(int index, int fillIndex, const glsPolygonFillLayer* fill) noexcept;
800 glsStatus AddPolygonFillAt(int index, const glsPolygonFillLayer* fill, int* outFillIndex) noexcept;
805 glsStatus RemovePolygonFillAt(int index, int fillIndex) noexcept;
809 glsStatus ClearPolygonFillsAt(int index) noexcept;
814 glsStatus GetPolygonOutlineCountAt(int index, int* outCount) const noexcept;
820 glsStatus GetPolygonOutlineAt(int index, int outlineIndex, glsLineSymbolLayer* outLayer) const noexcept;
826 glsStatus SetPolygonOutlineAt(int index, int outlineIndex, const glsLineSymbolLayer* layer) noexcept;
832 glsStatus AddPolygonOutlineAt(int index, const glsLineSymbolLayer* layer, int* outOutlineIndex) noexcept;
838 glsStatus HasPolygonOutlineRepeatedMarkerAt(int index, int outlineIndex, bool* outHasMarker) const noexcept;
844 glsStatus GetPolygonOutlineRepeatedMarkerAt(int index, int outlineIndex, glsMarkerSymbolLayer* outMarker) const noexcept;
850 glsStatus SetPolygonOutlineRepeatedMarkerAt(int index, int outlineIndex, const glsMarkerSymbolLayer* marker) noexcept;
859 int index,
860 int outlineIndex,
861 char* buf,
862 size_t bufSize,
863 size_t* requiredSize) const noexcept;
869 glsStatus SetPolygonOutlineRepeatedMarkerAngleColumnAt(int index, int outlineIndex, const char* value) noexcept;
874 glsStatus ClearPolygonOutlineRepeatedMarkerAt(int index, int outlineIndex) noexcept;
875
877
880
885 glsStatus AddText(const glsTextSymbolLayer* layer, int* outIndex) noexcept;
890 glsStatus GetTextAt(int index, glsTextSymbolLayer* outLayer) const noexcept;
895 glsStatus SetTextAt(int index, const glsTextSymbolLayer* layer) noexcept;
902 glsStatus GetTextFieldNameAt(int index, char* buf, size_t bufSize, size_t* requiredSize) const noexcept;
907 glsStatus SetTextFieldNameAt(int index, const char* value) noexcept;
914 glsStatus GetTextExpressionAt(int index, char* buf, size_t bufSize, size_t* requiredSize) const noexcept;
919 glsStatus SetTextExpressionAt(int index, const char* value) noexcept;
926 glsStatus GetTextPrefixAt(int index, char* buf, size_t bufSize, size_t* requiredSize) const noexcept;
931 glsStatus SetTextPrefixAt(int index, const char* value) noexcept;
938 glsStatus GetTextSuffixAt(int index, char* buf, size_t bufSize, size_t* requiredSize) const noexcept;
943 glsStatus SetTextSuffixAt(int index, const char* value) noexcept;
950 glsStatus GetTextFontFamilyAt(int index, char* buf, size_t bufSize, size_t* requiredSize) const noexcept;
955 glsStatus SetTextFontFamilyAt(int index, const char* value) noexcept;
962 glsStatus GetTextAngleColumnAt(int index, char* buf, size_t bufSize, size_t* requiredSize) const noexcept;
967 glsStatus SetTextAngleColumnAt(int index, const char* value) noexcept;
974 glsStatus GetTextImageIdAt(int index, char* buf, size_t bufSize, size_t* requiredSize) const noexcept;
981 glsStatus GetTextImageUriAt(int index, char* buf, size_t bufSize, size_t* requiredSize) const noexcept;
987 glsStatus SetTextImageAt(int index, const char* idUtf8, const char* uriUtf8) noexcept;
992 glsStatus HasTextBoxFillTextureAt(int index, bool* outHasTexture) const noexcept;
999 glsStatus GetTextBoxFillTextureIdAt(int index, char* buf, size_t bufSize, size_t* requiredSize) const noexcept;
1006 glsStatus GetTextBoxFillTextureUriAt(int index, char* buf, size_t bufSize, size_t* requiredSize) const noexcept;
1012 glsStatus SetTextBoxFillTextureAt(int index, const char* idUtf8, const char* uriUtf8) noexcept;
1017
1019
1022
1027 glsStatus AddExtrusion(const glsExtrusionSymbolLayer* layer, int* outIndex) noexcept;
1032 glsStatus GetExtrusionAt(int index, glsExtrusionSymbolLayer* outLayer) const noexcept;
1037 glsStatus SetExtrusionAt(int index, const glsExtrusionSymbolLayer* layer) noexcept;
1038
1040
1043
1048 glsStatus AddChart(const glsChartSymbolLayer* layer, int* outIndex) noexcept;
1053 glsStatus GetChartAt(int index, glsChartSymbolLayer* outLayer) const noexcept;
1058 glsStatus SetChartAt(int index, const glsChartSymbolLayer* layer) noexcept;
1063 glsStatus GetChartSegmentCountAt(int index, int* outCount) const noexcept;
1069 glsStatus GetChartSegmentAt(int index, int segment, glsChartSegment* outSegment) const noexcept;
1075 glsStatus SetChartSegmentAt(int index, int segment, const glsChartSegment* value) noexcept;
1081 glsStatus AddChartSegmentAt(int index, const glsChartSegment* value, int* outSegment) noexcept;
1086 glsStatus RemoveChartSegmentAt(int index, int segment) noexcept;
1088
1089private:
1090 Impl* impl_;
1091 explicit glsSymbolSet(Impl* impl) noexcept;
1092
1093 friend class glsFeatureRendererDefinition;
1094 friend class glsFeatureStyle;
1095 friend class glsStyleCatalog;
1096 friend GDK_DLL_API void glsReleaseSymbolSet(glsSymbolSet* symbolSet) noexcept;
1098 const char* symbolLayersJsonUtf8,
1099 glsGeometryType geometryType,
1100 const char* nameUtf8,
1101 glsSymbolSet** outSymbolSet) noexcept;
1103 const glsSymbolSet* symbols,
1104 const glsStylePreviewOptions* options,
1105 const char* baseFolderUtf8,
1106 glsStylePreviewImage* outInfo,
1107 unsigned char* buffer,
1108 int bufferSize,
1109 int* requiredSize) noexcept;
1110};
1111
1119{
1120public:
1121 struct Impl;
1122
1125
1143
1147 glsStatus GetKind(glsRendererKind* outKind) const noexcept;
1160 glsStatus ToJson(char* buf, size_t bufSize, size_t* requiredSize, bool pretty) const noexcept;
1172
1175
1193 glsStatus GetHeatmapJson(char* buffer, size_t size, size_t* required) const noexcept;
1199 glsStatus SetHeatmapJson(const char* json) noexcept;
1200
1202
1205
1211 glsStatus GetSingleSymbolName(char* buf, size_t bufSize, size_t* requiredSize) const noexcept;
1215 glsStatus SetSingleSymbolName(const char* nameUtf8) noexcept;
1219 glsStatus GetSingleSymbolSymbols(glsSymbolSet** outSymbols) const noexcept;
1224
1226
1229
1235 glsStatus GetCategorizedFieldName(char* buf, size_t bufSize, size_t* requiredSize) const noexcept;
1239 glsStatus SetCategorizedFieldName(const char* fieldNameUtf8) noexcept;
1243 glsStatus GetCategorizedClassCount(int* outCount) const noexcept;
1256 glsStatus AddCategorizedClass(const char* labelUtf8,
1257 const glsAttributeValue* value,
1258 const glsSymbolSet* symbols,
1259 bool enabled,
1260 int* outIndex) noexcept;
1267 glsStatus GetCategorizedClassLabelAt(int index, char* buf, size_t bufSize, size_t* requiredSize) const noexcept;
1272 glsStatus GetCategorizedClassValueAt(int index, glsAttributeValue* outValue) const noexcept;
1277 glsStatus GetCategorizedClassSymbolsAt(int index, glsSymbolSet** outSymbols) const noexcept;
1282 glsStatus SetCategorizedClassSymbolsAt(int index, const glsSymbolSet* symbols) noexcept;
1287 glsStatus GetCategorizedClassEnabledAt(int index, bool* outEnabled) const noexcept;
1292 glsStatus SetCategorizedClassEnabledAt(int index, bool enabled) noexcept;
1293
1295
1298
1304 glsStatus GetGraduatedFieldName(char* buf, size_t bufSize, size_t* requiredSize) const noexcept;
1308 glsStatus SetGraduatedFieldName(const char* fieldNameUtf8) noexcept;
1312 glsStatus GetGraduatedClassCount(int* outCount) const noexcept;
1326 glsStatus AddGraduatedClass(const char* labelUtf8,
1327 double lower,
1328 double upper,
1329 bool includeLower,
1330 bool includeUpper,
1331 const glsSymbolSet* symbols,
1332 bool enabled,
1333 int* outIndex) noexcept;
1340 glsStatus GetGraduatedClassLabelAt(int index, char* buf, size_t bufSize, size_t* requiredSize) const noexcept;
1348 glsStatus GetGraduatedClassRangeAt(int index, double* outLower, double* outUpper, bool* outIncludeLower, bool* outIncludeUpper) const noexcept;
1353 glsStatus GetGraduatedClassSymbolsAt(int index, glsSymbolSet** outSymbols) const noexcept;
1358 glsStatus SetGraduatedClassSymbolsAt(int index, const glsSymbolSet* symbols) noexcept;
1363 glsStatus GetGraduatedClassEnabledAt(int index, bool* outEnabled) const noexcept;
1368 glsStatus SetGraduatedClassEnabledAt(int index, bool enabled) noexcept;
1369
1371
1374
1378 glsStatus GetRuleCount(int* outCount) const noexcept;
1394 glsStatus AddRule(const char* nameUtf8,
1395 glsGeometryType geometryType,
1396 const char* whereClauseUtf8,
1397 double minScale,
1398 double maxScale,
1399 const glsSymbolSet* symbols,
1400 bool enabled,
1401 int* outIndex) noexcept;
1408 glsStatus GetRuleNameAt(int index, char* buf, size_t bufSize, size_t* requiredSize) const noexcept;
1415 glsStatus GetRuleWhereClauseAt(int index, char* buf, size_t bufSize, size_t* requiredSize) const noexcept;
1420 glsStatus GetRuleGeometryTypeAt(int index, glsGeometryType* outType) const noexcept;
1426 glsStatus GetRuleScaleRangeAt(int index, double* outMinScale, double* outMaxScale) const noexcept;
1431 glsStatus GetRuleSymbolsAt(int index, glsSymbolSet** outSymbols) const noexcept;
1436 glsStatus SetRuleSymbolsAt(int index, const glsSymbolSet* symbols) noexcept;
1441 glsStatus GetRuleEnabledAt(int index, bool* outEnabled) const noexcept;
1446 glsStatus SetRuleEnabledAt(int index, bool enabled) noexcept;
1451 glsStatus GetRulePredicateCountAt(int ruleIndex, int* outCount) const noexcept;
1455 glsStatus ClearRulePredicatesAt(int ruleIndex) noexcept;
1467 const glsStyleRulePredicate* predicate,
1468 const char* fieldNameUtf8,
1469 const glsAttributeValue* value,
1470 const glsAttributeValue* upperValue,
1471 int* outPredicateIndex) noexcept;
1478 int predicateIndex,
1479 const glsAttributeValue* value) noexcept;
1485 glsStatus GetRulePredicateAt(int ruleIndex, int predicateIndex, glsStyleRulePredicate* outPredicate) const noexcept;
1493 glsStatus GetRulePredicateFieldNameAt(int ruleIndex, int predicateIndex, char* buf, size_t bufSize, size_t* requiredSize) const noexcept;
1499 glsStatus GetRulePredicateValueAt(int ruleIndex, int predicateIndex, glsAttributeValue* outValue) const noexcept;
1505 glsStatus GetRulePredicateUpperValueAt(int ruleIndex, int predicateIndex, glsAttributeValue* outValue) const noexcept;
1512 glsStatus GetRulePredicateValueListAt(int ruleIndex, int predicateIndex, int valueIndex, glsAttributeValue* outValue) const noexcept;
1513
1515
1518
1536 glsStatus GetRendererLabelFieldName(char* buf, size_t bufSize, size_t* requiredSize) const noexcept;
1540 glsStatus SetRendererLabelFieldName(const char* value) noexcept;
1546 glsStatus GetRendererLabelExpression(char* buf, size_t bufSize, size_t* requiredSize) const noexcept;
1550 glsStatus SetRendererLabelExpression(const char* value) noexcept;
1556 glsStatus GetRendererLabelFontFamily(char* buf, size_t bufSize, size_t* requiredSize) const noexcept;
1560 glsStatus SetRendererLabelFontFamily(const char* value) noexcept;
1566 glsStatus GetRendererLabelPrefix(char* buf, size_t bufSize, size_t* requiredSize) const noexcept;
1570 glsStatus SetRendererLabelPrefix(const char* value) noexcept;
1576 glsStatus GetRendererLabelSuffix(char* buf, size_t bufSize, size_t* requiredSize) const noexcept;
1580 glsStatus SetRendererLabelSuffix(const char* value) noexcept;
1586 glsStatus GetRendererLabelAngleColumn(char* buf, size_t bufSize, size_t* requiredSize) const noexcept;
1590 glsStatus SetRendererLabelAngleColumn(const char* value) noexcept;
1596 glsStatus GetRendererLabelImageId(char* buf, size_t bufSize, size_t* requiredSize) const noexcept;
1602 glsStatus GetRendererLabelImageUri(char* buf, size_t bufSize, size_t* requiredSize) const noexcept;
1607 glsStatus SetRendererLabelImage(const char* idUtf8, const char* uriUtf8) noexcept;
1614 glsStatus HasRendererLabelBoxFillTexture(bool* outHasTexture) const noexcept;
1620 glsStatus GetRendererLabelBoxFillTextureId(char* buf, size_t bufSize, size_t* requiredSize) const noexcept;
1626 glsStatus GetRendererLabelBoxFillTextureUri(char* buf, size_t bufSize, size_t* requiredSize) const noexcept;
1631 glsStatus SetRendererLabelBoxFillTexture(const char* idUtf8, const char* uriUtf8) noexcept;
1636
1637private:
1638 Impl* impl_;
1639 explicit glsFeatureRendererDefinition(Impl* impl) noexcept;
1640
1641 friend class glsFeatureLayer;
1644 glsRendererKind kind,
1645 glsFeatureRendererDefinition** outDefinition) noexcept;
1647 const char* jsonUtf8,
1648 glsFeatureRendererDefinition** outDefinition) noexcept;
1649};
1650
1658{
1659public:
1660 struct Impl;
1661
1664
1669 glsFeatureStyle(const glsFeatureStyle&) = delete;
1670 glsFeatureStyle& operator=(const glsFeatureStyle&) = delete;
1681 glsFeatureStyle& operator=(glsFeatureStyle&&) noexcept;
1682
1691 glsStatus ToJson(char* buf, size_t bufSize, size_t* requiredSize, bool pretty) const noexcept;
1693
1696
1700 glsStatus GetRuleCount(int* outCount) const noexcept;
1712 glsStatus AddRule(const char* nameUtf8, glsGeometryType geometryType, const glsSymbolSet* symbols, int* outIndex) noexcept;
1725 glsStatus AddRule(const char* nameUtf8,
1726 glsGeometryType geometryType,
1727 const char* whereClauseUtf8,
1728 double minScale,
1729 double maxScale,
1730 const glsSymbolSet* symbols,
1731 bool enabled,
1732 int* outIndex) noexcept;
1739 glsStatus GetRuleNameAt(int index, char* buf, size_t bufSize, size_t* requiredSize) const noexcept;
1744 glsStatus GetRuleGeometryTypeAt(int index, glsGeometryType* outType) const noexcept;
1749 glsStatus GetRuleSymbolsAt(int index, glsSymbolSet** outSymbols) const noexcept;
1754 glsStatus SetRuleSymbolsAt(int index, const glsSymbolSet* symbols) noexcept;
1761 glsStatus GetRuleWhereClauseAt(int index, char* buf, size_t bufSize, size_t* requiredSize) const noexcept;
1767 glsStatus GetRuleScaleRangeAt(int index, double* outMinScale, double* outMaxScale) const noexcept;
1772 glsStatus GetRuleEnabledAt(int index, bool* outEnabled) const noexcept;
1777 glsStatus SetRuleEnabledAt(int index, bool enabled) noexcept;
1779
1782
1787 glsStatus GetRulePredicateCountAt(int ruleIndex, int* outCount) const noexcept;
1791 glsStatus ClearRulePredicatesAt(int ruleIndex) noexcept;
1803 const glsStyleRulePredicate* predicate,
1804 const char* fieldNameUtf8,
1805 const glsAttributeValue* value,
1806 const glsAttributeValue* upperValue,
1807 int* outPredicateIndex) noexcept;
1814 int predicateIndex,
1815 const glsAttributeValue* value) noexcept;
1821 glsStatus GetRulePredicateAt(int ruleIndex, int predicateIndex, glsStyleRulePredicate* outPredicate) const noexcept;
1829 glsStatus GetRulePredicateFieldNameAt(int ruleIndex, int predicateIndex, char* buf, size_t bufSize, size_t* requiredSize) const noexcept;
1835 glsStatus GetRulePredicateValueAt(int ruleIndex, int predicateIndex, glsAttributeValue* outValue) const noexcept;
1841 glsStatus GetRulePredicateUpperValueAt(int ruleIndex, int predicateIndex, glsAttributeValue* outValue) const noexcept;
1848 glsStatus GetRulePredicateValueListAt(int ruleIndex, int predicateIndex, int valueIndex, glsAttributeValue* outValue) const noexcept;
1849
1851
1854
1862 glsStatus GetSelection(glsStyleFill* outFill, glsStyleStroke* outOutline, bool* outDrawOnTop) const noexcept;
1870 glsStatus SetSelection(const glsStyleFill* fill, const glsStyleStroke* outline, bool drawOnTop) noexcept;
1872
1873private:
1874 Impl* impl_;
1875 explicit glsFeatureStyle(Impl* impl) noexcept;
1876
1877 friend class glsStyleCatalog;
1879 friend GDK_DLL_API glsStatus glsFeatureStyleFromJson(const char* jsonUtf8, glsFeatureStyle** outStyle) noexcept;
1881 const glsFeatureStyle* style,
1882 const glsStylePreviewOptions* options,
1883 const char* baseFolderUtf8,
1884 glsStylePreviewImage* outInfo,
1885 unsigned char* buffer,
1886 int bufferSize,
1887 int* requiredSize) noexcept;
1889 const glsFeatureStyle* style,
1890 const glsStylePreviewOptions* options,
1891 bool useStraightLineSample,
1892 const char* baseFolderUtf8,
1893 glsStylePreviewImage* outInfo,
1894 unsigned char* buffer,
1895 int bufferSize,
1896 int* requiredSize) noexcept;
1897};
1898
1911
1925 glsRendererKind kind,
1926 glsFeatureRendererDefinition** outDefinition) noexcept;
1940 const char* jsonUtf8,
1941 glsFeatureRendererDefinition** outDefinition) noexcept;
1949GDK_DLL_API glsStatus glsFeatureStyleFromJson(const char* jsonUtf8, glsFeatureStyle** outStyle) noexcept;
1960 const char* symbolLayersJsonUtf8,
1961 glsGeometryType geometryType,
1962 const char* nameUtf8,
1963 glsSymbolSet** outSymbolSet) noexcept;
1964
1965} // namespace GDK
벡터 데이터 소스를 스타일에 따라 그리는 피처 레이어입니다.
정의 glsFeatureLayer.h:17
레이어 스타일을 작성할 때 사용하는 피처 렌더러 정의입니다.
정의 glsStyleModel.h:1119
glsStatus GetCategorizedClassLabelAt(int index, char *buf, size_t bufSize, size_t *requiredSize) const noexcept
범주형 분류의 라벨을 조회합니다.
glsStatus GetRendererLabelFontFamily(char *buf, size_t bufSize, size_t *requiredSize) const noexcept
렌더러 라벨의 글꼴 패밀리 이름을 조회합니다.
glsStatus GetHeatmapSettings(glsHeatmapSettings *out) const noexcept
히트맵 정의의 수치 설정을 복사합니다.
friend glsStatus glsCreateFeatureRendererDefinition(glsRendererKind kind, glsFeatureRendererDefinition **outDefinition) noexcept
지정한 종류의 빈 렌더러 정의를 생성합니다.
glsStatus SetRendererLabelExpression(const char *value) noexcept
렌더러 라벨의 표현식을 설정합니다.
glsStatus GetRendererLabelImageId(char *buf, size_t bufSize, size_t *requiredSize) const noexcept
렌더러 라벨의 이미지 ID를 조회합니다.
glsStatus AddRule(const char *nameUtf8, glsGeometryType geometryType, const char *whereClauseUtf8, double minScale, double maxScale, const glsSymbolSet *symbols, bool enabled, int *outIndex) noexcept
규칙 기반 정의의 목록 끝에 규칙을 추가합니다.
glsStatus GetRuleEnabledAt(int index, bool *outEnabled) const noexcept
규칙을 그리는지 확인합니다.
glsStatus GetRulePredicateUpperValueAt(int ruleIndex, int predicateIndex, glsAttributeValue *outValue) const noexcept
Between 조건의 상한을 조회합니다.
glsStatus GetRuleCount(int *outCount) const noexcept
규칙 기반 정의의 규칙 개수를 조회합니다.
glsStatus GetRuleScaleRangeAt(int index, double *outMinScale, double *outMaxScale) const noexcept
규칙의 축척 분모 범위를 조회합니다.
glsStatus GetRendererLabelImageUri(char *buf, size_t bufSize, size_t *requiredSize) const noexcept
렌더러 라벨의 이미지 경로를 조회합니다.
glsStatus GetSingleSymbolName(char *buf, size_t bufSize, size_t *requiredSize) const noexcept
SingleSymbol 정의의 이름을 조회합니다.
glsStatus GetCategorizedClassValueAt(int index, glsAttributeValue *outValue) const noexcept
범주형 분류가 비교하는 값을 조회합니다.
glsStatus GetRendererLabelExpression(char *buf, size_t bufSize, size_t *requiredSize) const noexcept
렌더러 라벨의 표현식을 조회합니다.
glsStatus GetRendererLabelSuffix(char *buf, size_t bufSize, size_t *requiredSize) const noexcept
렌더러 라벨 뒤에 붙는 문자열을 조회합니다.
glsStatus GetRendererGeometryType(glsGeometryType *outType) const noexcept
렌더러 정의가 사용할 지오메트리 형식을 조회합니다.
glsStatus GetSingleSymbolSymbols(glsSymbolSet **outSymbols) const noexcept
SingleSymbol 정의의 심볼을 복사합니다.
glsStatus GetRuleSymbolsAt(int index, glsSymbolSet **outSymbols) const noexcept
규칙의 심볼을 복사합니다.
glsStatus AddCategorizedClass(const char *labelUtf8, const glsAttributeValue *value, const glsSymbolSet *symbols, bool enabled, int *outIndex) noexcept
속성 값과 일치하는 피처를 그릴 분류를 추가합니다.
glsStatus ClearRendererLabelImage() noexcept
렌더러 라벨의 이미지 ID와 경로를 지웁니다.
glsStatus ToJson(char *buf, size_t bufSize, size_t *requiredSize, bool pretty) const noexcept
렌더러 정의를 UTF-8 JSON으로 직렬화합니다.
glsStatus ClearRendererLabelBoxFillTexture() noexcept
렌더러 라벨 상자 채우기의 텍스처를 제거합니다.
glsStatus GetHeatmapJson(char *buffer, size_t size, size_t *required) const noexcept
히트맵 정의에서 heatmap 객체 전체를 간결한 JSON으로 읽습니다.
glsStatus SetSingleSymbolName(const char *nameUtf8) noexcept
SingleSymbol 정의의 이름을 설정합니다.
glsStatus SetRendererLabelPrefix(const char *value) noexcept
렌더러 라벨 앞에 붙일 문자열을 지정합니다.
glsStatus SetGraduatedClassSymbolsAt(int index, const glsSymbolSet *symbols) noexcept
구간형 분류의 심볼을 복사본으로 교체합니다.
glsStatus ClearCategorizedClasses() noexcept
범주형 정의의 모든 분류를 제거합니다.
glsStatus GetGraduatedClassCount(int *outCount) const noexcept
구간형 정의의 분류 개수를 조회합니다.
glsStatus SetCategorizedFieldName(const char *fieldNameUtf8) noexcept
범주형 정의에서 읽을 필드를 지정합니다.
glsStatus GetRuleNameAt(int index, char *buf, size_t bufSize, size_t *requiredSize) const noexcept
규칙의 이름을 조회합니다.
glsStatus SetRendererLabelBoxFillTexture(const char *idUtf8, const char *uriUtf8) noexcept
렌더러 라벨 상자의 채우기에 텍스처를 지정합니다.
glsStatus GetRendererLabelPrefix(char *buf, size_t bufSize, size_t *requiredSize) const noexcept
렌더러 라벨 앞에 붙는 문자열을 조회합니다.
glsStatus SetHeatmapJson(const char *json) noexcept
히트맵 정의 전체를 heatmap JSON 객체로 교체합니다.
glsFeatureRendererDefinition()
빈 SingleSymbol 렌더러 정의를 생성합니다.
glsStatus GetGraduatedClassLabelAt(int index, char *buf, size_t bufSize, size_t *requiredSize) const noexcept
구간형 분류의 라벨을 조회합니다.
glsStatus SetCategorizedClassSymbolsAt(int index, const glsSymbolSet *symbols) noexcept
범주형 분류의 심볼을 복사본으로 교체합니다.
glsStatus GetRulePredicateCountAt(int ruleIndex, int *outCount) const noexcept
규칙에 설정한 조건 개수를 조회합니다.
glsStatus GetGraduatedFieldName(char *buf, size_t bufSize, size_t *requiredSize) const noexcept
구간형 정의에서 읽을 수치 필드를 조회합니다.
glsStatus GetRendererLabelBoxFillTextureId(char *buf, size_t bufSize, size_t *requiredSize) const noexcept
렌더러 라벨 상자 채우기 텍스처 ID를 조회합니다.
friend glsStatus glsFeatureRendererDefinitionFromJson(const char *jsonUtf8, glsFeatureRendererDefinition **outDefinition) noexcept
UTF-8 JSON에서 렌더러 정의를 읽습니다.
glsStatus SetRendererGeometryType(glsGeometryType type) noexcept
렌더러 정의가 사용할 지오메트리 형식을 지정합니다.
glsStatus SetHeatmapSettings(const glsHeatmapSettings *settings) noexcept
히트맵 정의의 수치 설정을 교체합니다.
glsStatus SetKind(glsRendererKind kind) noexcept
지정한 종류의 빈 정의로 교체합니다.
glsStatus ClearGraduatedClasses() noexcept
구간형 정의의 모든 분류를 제거합니다.
glsStatus HasRendererLabelBoxFillTexture(bool *outHasTexture) const noexcept
렌더러 라벨 상자 채우기에 텍스처가 있는지 확인합니다.
glsStatus SetGraduatedFieldName(const char *fieldNameUtf8) noexcept
구간형 정의에서 읽을 수치 필드를 지정합니다.
glsStatus GetRendererLabelAngleColumn(char *buf, size_t bufSize, size_t *requiredSize) const noexcept
렌더러 라벨의 회전 각도 열 이름을 조회합니다.
~glsFeatureRendererDefinition()
렌더러 정의를 해제합니다.
glsStatus GetRendererLabelBoxFillTextureUri(char *buf, size_t bufSize, size_t *requiredSize) const noexcept
렌더러 라벨 상자 채우기 텍스처 경로를 조회합니다.
glsStatus SetRendererLabelFontFamily(const char *value) noexcept
렌더러 라벨의 글꼴 패밀리 이름을 지정합니다.
glsStatus GetCategorizedClassCount(int *outCount) const noexcept
범주형 정의의 분류 개수를 조회합니다.
glsStatus AddRulePredicateValueAt(int ruleIndex, int predicateIndex, const glsAttributeValue *value) noexcept
In 조건의 값 목록에 값을 추가합니다.
glsStatus GetRendererLabel(glsFullLabelStyle *outStyle) const noexcept
종류와 관계없이 렌더러 정의의 라벨을 복사합니다.
glsStatus GetGraduatedClassRangeAt(int index, double *outLower, double *outUpper, bool *outIncludeLower, bool *outIncludeUpper) const noexcept
구간형 분류의 하한·상한과 각각의 포함 여부를 조회합니다.
glsStatus GetRuleGeometryTypeAt(int index, glsGeometryType *outType) const noexcept
규칙의 지오메트리 형식을 조회합니다.
glsStatus GetRuleWhereClauseAt(int index, char *buf, size_t bufSize, size_t *requiredSize) const noexcept
규칙의 SQL 조건을 조회합니다.
glsStatus SetRuleSymbolsAt(int index, const glsSymbolSet *symbols) noexcept
규칙의 심볼을 복사본으로 교체합니다.
glsStatus GetKind(glsRendererKind *outKind) const noexcept
렌더러 정의의 종류를 조회합니다.
glsStatus SetRendererLabelImage(const char *idUtf8, const char *uriUtf8) noexcept
렌더러 라벨에 이미지 ID와 경로를 설정합니다.
glsStatus SetRuleEnabledAt(int index, bool enabled) noexcept
규칙을 그릴지 설정합니다.
glsStatus SetCategorizedClassEnabledAt(int index, bool enabled) noexcept
범주형 분류를 그릴지 설정합니다.
glsStatus ClearRules() noexcept
규칙 기반 정의의 모든 규칙을 제거합니다.
glsFeatureRendererDefinition(glsFeatureRendererDefinition &&) noexcept
다른 렌더러 정의를 인수합니다.
glsStatus GetRulePredicateValueListAt(int ruleIndex, int predicateIndex, int valueIndex, glsAttributeValue *outValue) const noexcept
In 조건의 목록에서 인덱스로 값을 조회합니다.
glsStatus GetCategorizedClassEnabledAt(int index, bool *outEnabled) const noexcept
범주형 분류를 그리는지 확인합니다.
glsStatus SetRendererLabel(const glsFullLabelStyle *style) noexcept
렌더러 정의의 라벨 설정을 적용합니다.
glsStatus GetRulePredicateValueAt(int ruleIndex, int predicateIndex, glsAttributeValue *outValue) const noexcept
조건의 비교값을 조회합니다.
glsStatus GetCategorizedFieldName(char *buf, size_t bufSize, size_t *requiredSize) const noexcept
범주형 정의에서 읽을 필드를 조회합니다.
glsStatus AddGraduatedClass(const char *labelUtf8, double lower, double upper, bool includeLower, bool includeUpper, const glsSymbolSet *symbols, bool enabled, int *outIndex) noexcept
수치 필드 값이 지정한 구간에 있는 피처를 그릴 분류를 추가합니다.
glsStatus GetRulePredicateAt(int ruleIndex, int predicateIndex, glsStyleRulePredicate *outPredicate) const noexcept
조건의 연산자, 플래그와 목록 크기를 조회합니다.
glsStatus SetGraduatedClassEnabledAt(int index, bool enabled) noexcept
구간형 분류를 그릴지 설정합니다.
glsStatus SetRendererLabelFieldName(const char *value) noexcept
렌더러 라벨에 표시할 필드 이름을 지정합니다.
glsStatus GetGraduatedClassEnabledAt(int index, bool *outEnabled) const noexcept
구간형 분류를 그리는지 확인합니다.
glsStatus SetRendererLabelAngleColumn(const char *value) noexcept
렌더러 라벨의 회전 각도 열 이름을 지정합니다.
glsStatus GetCategorizedClassSymbolsAt(int index, glsSymbolSet **outSymbols) const noexcept
범주형 분류의 심볼을 복사합니다.
glsStatus AddRulePredicateAt(int ruleIndex, const glsStyleRulePredicate *predicate, const char *fieldNameUtf8, const glsAttributeValue *value, const glsAttributeValue *upperValue, int *outPredicateIndex) noexcept
규칙에 속성 조건 하나를 추가합니다.
glsStatus ClearRulePredicatesAt(int ruleIndex) noexcept
규칙의 모든 조건을 제거합니다.
glsStatus GetRendererLabelFieldName(char *buf, size_t bufSize, size_t *requiredSize) const noexcept
렌더러 라벨의 필드 이름을 조회합니다.
glsStatus SetSingleSymbolSymbols(const glsSymbolSet *symbols) noexcept
SingleSymbol 정의의 심볼을 복사본으로 교체합니다.
glsStatus GetGraduatedClassSymbolsAt(int index, glsSymbolSet **outSymbols) const noexcept
구간형 분류의 심볼을 복사합니다.
friend void glsReleaseFeatureRendererDefinition(glsFeatureRendererDefinition *definition) noexcept
렌더러 정의를 해제합니다.
glsStatus SetRendererLabelSuffix(const char *value) noexcept
렌더러 라벨 뒤에 붙일 문자열을 지정합니다.
glsStatus GetRulePredicateFieldNameAt(int ruleIndex, int predicateIndex, char *buf, size_t bufSize, size_t *requiredSize) const noexcept
조건이 비교하는 속성 필드의 이름을 조회합니다.
순서가 있는 규칙 목록과 선택 스타일을 포함하는 피처 스타일입니다.
정의 glsStyleModel.h:1658
glsStatus GetSelection(glsStyleFill *outFill, glsStyleStroke *outOutline, bool *outDrawOnTop) const noexcept
선택 피처의 채우기, 윤곽 및 그리기 순서 플래그를 복사합니다.
friend glsStatus glsFeatureStyleFromJson(const char *jsonUtf8, glsFeatureStyle **outStyle) noexcept
UTF-8 JSON에서 피처 스타일을 읽습니다.
glsStatus AddRule(const char *nameUtf8, glsGeometryType geometryType, const glsSymbolSet *symbols, int *outIndex) noexcept
SQL 조건과 축척 제한이 없는 활성 규칙을 추가합니다.
glsFeatureStyle()
규칙이 없는 피처 스타일을 생성합니다.
friend void glsReleaseFeatureStyle(glsFeatureStyle *style) noexcept
피처 스타일을 해제합니다.
glsStatus GetRulePredicateValueAt(int ruleIndex, int predicateIndex, glsAttributeValue *outValue) const noexcept
조건의 비교값을 조회합니다.
glsStatus SetSelection(const glsStyleFill *fill, const glsStyleStroke *outline, bool drawOnTop) noexcept
선택 피처의 채우기, 윤곽 및 그리기 순서 플래그를 설정합니다.
glsFeatureStyle(glsFeatureStyle &&) noexcept
다른 스타일을 인수합니다.
glsStatus GetRuleGeometryTypeAt(int index, glsGeometryType *outType) const noexcept
규칙의 지오메트리 형식을 조회합니다.
glsStatus GetRuleEnabledAt(int index, bool *outEnabled) const noexcept
규칙을 그리는지 확인합니다.
glsStatus GetRulePredicateFieldNameAt(int ruleIndex, int predicateIndex, char *buf, size_t bufSize, size_t *requiredSize) const noexcept
조건이 비교하는 속성 필드의 이름을 조회합니다.
glsStatus AddRulePredicateAt(int ruleIndex, const glsStyleRulePredicate *predicate, const char *fieldNameUtf8, const glsAttributeValue *value, const glsAttributeValue *upperValue, int *outPredicateIndex) noexcept
규칙에 속성 조건 하나를 추가합니다.
glsStatus GetRulePredicateUpperValueAt(int ruleIndex, int predicateIndex, glsAttributeValue *outValue) const noexcept
Between 조건의 상한을 조회합니다.
glsStatus GetRuleWhereClauseAt(int index, char *buf, size_t bufSize, size_t *requiredSize) const noexcept
규칙의 SQL 조건을 조회합니다.
friend glsStatus glsRenderFeatureStylePreview(const glsFeatureStyle *style, const glsStylePreviewOptions *options, const char *baseFolderUtf8, glsStylePreviewImage *outInfo, unsigned char *buffer, int bufferSize, int *requiredSize) noexcept
샘플 피처에 피처 스타일 미리보기를 그립니다.
glsStatus GetRuleScaleRangeAt(int index, double *outMinScale, double *outMaxScale) const noexcept
규칙의 축척 분모 범위를 조회합니다.
glsStatus ToJson(char *buf, size_t bufSize, size_t *requiredSize, bool pretty) const noexcept
스타일을 UTF-8 JSON으로 직렬화합니다.
~glsFeatureStyle()
피처 스타일을 해제합니다.
glsStatus ClearRules() noexcept
모든 규칙을 제거합니다.
glsStatus ClearRulePredicatesAt(int ruleIndex) noexcept
규칙의 모든 조건을 제거합니다.
glsStatus GetRuleCount(int *outCount) const noexcept
규칙 개수를 조회합니다.
glsStatus SetRuleEnabledAt(int index, bool enabled) noexcept
규칙을 그릴지 설정합니다.
glsStatus GetRulePredicateValueListAt(int ruleIndex, int predicateIndex, int valueIndex, glsAttributeValue *outValue) const noexcept
In 조건의 값 목록에서 인덱스로 값을 조회합니다.
friend glsStatus glsRenderFeatureStylePreviewEx(const glsFeatureStyle *style, const glsStylePreviewOptions *options, bool useStraightLineSample, const char *baseFolderUtf8, glsStylePreviewImage *outInfo, unsigned char *buffer, int bufferSize, int *requiredSize) noexcept
피처 스타일 미리보기를 그리되 수평선 샘플을 선택할 수 있습니다.
glsStatus SetRuleSymbolsAt(int index, const glsSymbolSet *symbols) noexcept
규칙의 심볼을 복사본으로 교체합니다.
glsStatus GetRuleNameAt(int index, char *buf, size_t bufSize, size_t *requiredSize) const noexcept
규칙의 이름을 조회합니다.
glsStatus GetRulePredicateAt(int ruleIndex, int predicateIndex, glsStyleRulePredicate *outPredicate) const noexcept
조건의 연산자, 플래그와 목록 크기를 조회합니다.
glsStatus GetRuleSymbolsAt(int index, glsSymbolSet **outSymbols) const noexcept
규칙에 저장된 심볼을 복사합니다.
glsStatus AddRulePredicateValueAt(int ruleIndex, int predicateIndex, const glsAttributeValue *value) noexcept
In 조건의 값 목록에 값을 추가합니다.
glsStatus GetRulePredicateCountAt(int ruleIndex, int *outCount) const noexcept
규칙의 조건 개수를 조회합니다.
ID와 이름이 있는 피처 스타일 목록을 JSON으로 읽고 저장합니다.
정의 glsStyleCatalog.h:19
규칙이나 분류가 그리는 심볼 레이어의 순서 있는 목록입니다.
정의 glsStyleModel.h:519
glsStatus GetMarkerSweepColumnAt(int index, char *buf, size_t bufSize, size_t *requiredSize) const noexcept
쐐기 각도 열 이름을 생략 없이 읽습니다.
glsStatus GetLayerKindAt(int index, glsSymbolLayerKind *outKind) const noexcept
레이어의 종류를 조회합니다.
glsStatus SetTextImageAt(int index, const char *idUtf8, const char *uriUtf8) noexcept
텍스트 레이어에 라벨 이미지 ID와 경로를 설정합니다.
glsStatus SetPolygonOutlineRepeatedMarkerAt(int index, int outlineIndex, const glsMarkerSymbolLayer *marker) noexcept
폴리곤 윤곽의 반복 마커를 설정합니다.
glsStatus AddPolygonOutlineAt(int index, const glsLineSymbolLayer *layer, int *outOutlineIndex) noexcept
폴리곤에 윤곽을 하나 추가합니다.
glsStatus GetLineAt(int index, glsLineSymbolLayer *outLayer) const noexcept
마커를 포함한 전체 선 레이어를 복사합니다.
glsStatus GetPolygonOutlineRepeatedMarkerAt(int index, int outlineIndex, glsMarkerSymbolLayer *outMarker) const noexcept
폴리곤 윤곽의 반복 마커를 복사합니다.
glsStatus Clear() noexcept
모든 심볼 레이어를 제거합니다.
glsSymbolSet()
빈 심볼 세트를 생성합니다.
glsStatus AddPolygonFillAt(int index, const glsPolygonFillLayer *fill, int *outFillIndex) noexcept
폴리곤에 채우기를 추가합니다.
glsStatus SetLineRepeatedMarkerAt(int index, const glsMarkerSymbolLayer *marker) noexcept
선 레이어의 반복 마커를 설정합니다.
glsStatus SetMarkerFillTextureAt(int index, const char *idUtf8, const char *uriUtf8) noexcept
ID와 경로를 사용해 마커 채우기의 텍스처를 지정합니다.
~glsSymbolSet()
심볼 세트가 소유한 레이어를 해제합니다.
glsStatus GetChartAt(int index, glsChartSymbolLayer *outLayer) const noexcept
구성 요소 목록을 제외한 차트 레이어 설정을 복사합니다.
glsStatus SetMarkerAngleColumnAt(int index, const char *value) noexcept
마커의 회전 각도 열 이름을 설정합니다.
glsStatus GetMarkerAt(int index, glsMarkerSymbolLayer *outLayer) const noexcept
마커 레이어를 복사합니다.
glsStatus GetChartSegmentAt(int index, int segment, glsChartSegment *outSegment) const noexcept
인덱스로 차트 구성 요소를 복사합니다.
glsStatus SetTextSuffixAt(int index, const char *value) noexcept
텍스트 레이어의 라벨 뒤에 붙일 문자열을 설정합니다.
glsStatus AddText(const glsTextSymbolLayer *layer, int *outIndex) noexcept
텍스트 레이어를 끝에 추가합니다.
glsStatus ClearMarkerFillTextureAt(int index) noexcept
마커 채우기의 텍스처를 제거합니다.
glsStatus SetTextExpressionAt(int index, const char *value) noexcept
텍스트 레이어의 라벨 표현식을 설정합니다.
glsStatus RemoveLayerAt(int index) noexcept
레이어를 제거합니다.
glsStatus HasLineRepeatedMarkerAt(int index, bool *outHasMarker) const noexcept
선 레이어에 반복 마커가 있는지 확인합니다.
glsStatus SetPolygonOutlineRepeatedMarkerAngleColumnAt(int index, int outlineIndex, const char *value) noexcept
폴리곤 윤곽의 반복 마커 회전 각도 열 이름을 지정합니다.
glsStatus AddChart(const glsChartSymbolLayer *layer, int *outIndex) noexcept
구성 요소가 없는 차트 레이어를 목록 끝에 추가합니다.
glsStatus HasTextBoxFillTextureAt(int index, bool *outHasTexture) const noexcept
텍스트 상자 채우기에 텍스처가 있는지 확인합니다.
glsStatus GetMarkerAngleColumnAt(int index, char *buf, size_t bufSize, size_t *requiredSize) const noexcept
회전 각도 열 이름을 생략 없이 읽습니다.
glsStatus RemovePolygonFillAt(int index, int fillIndex) noexcept
폴리곤에서 지정한 채우기를 제거합니다.
friend void glsReleaseSymbolSet(glsSymbolSet *symbolSet) noexcept
심볼 세트를 해제합니다.
glsStatus SetChartAt(int index, const glsChartSymbolLayer *layer) noexcept
차트 레이어 설정을 교체합니다.
glsStatus HasMarkerFillTextureAt(int index, bool *outHasTexture) const noexcept
마커 채우기에 텍스처가 있는지 확인합니다.
glsStatus SetMarkerSweepColumnAt(int index, const char *value) noexcept
쐐기 각도 열 이름을 설정합니다.
glsStatus AddChartSegmentAt(int index, const glsChartSegment *value, int *outSegment) noexcept
차트 구성 요소를 목록 끝에 추가합니다.
glsStatus AddExtrusion(const glsExtrusionSymbolLayer *layer, int *outIndex) noexcept
돌출 레이어를 목록 끝에 추가합니다.
glsStatus GetPolygonFillTextureIdAt(int index, char *buf, size_t bufSize, size_t *requiredSize) const noexcept
폴리곤 첫 채우기의 텍스처 ID를 읽습니다.
glsStatus ClearPolygonOutlineRepeatedMarkerAt(int index, int outlineIndex) noexcept
폴리곤 윤곽에서 반복 마커를 제거합니다.
glsStatus GetPolygonFillAt(int index, int fillIndex, glsPolygonFillLayer *outFill) const noexcept
인덱스로 폴리곤 채우기를 복사합니다.
glsStatus GetLineTextureIdAt(int index, char *buf, size_t bufSize, size_t *requiredSize) const noexcept
선 텍스처 이미지 ID 전체를 읽습니다.
glsStatus SetMarkerAt(int index, const glsMarkerSymbolLayer *layer) noexcept
이미지와 텍스처, 열 이름을 포함한 마커 레이어를 교체합니다.
glsStatus ClearLineRepeatedMarkerAt(int index) noexcept
선 레이어에서 반복 마커를 제거합니다.
glsSymbolSet(glsSymbolSet &&) noexcept
다른 심볼 세트의 레이어 소유권을 인수합니다.
glsStatus GetLineTextureUriAt(int index, char *buf, size_t bufSize, size_t *requiredSize) const noexcept
선 텍스처 이미지 경로 전체를 읽습니다.
glsStatus GetMarkerImageUriAt(int index, char *buf, size_t bufSize, size_t *requiredSize) const noexcept
마커 이미지 경로 전체를 읽습니다.
glsStatus SetTextFieldNameAt(int index, const char *value) noexcept
텍스트 레이어의 라벨 필드 이름을 설정합니다.
glsStatus GetTextBoxFillTextureIdAt(int index, char *buf, size_t bufSize, size_t *requiredSize) const noexcept
텍스트 상자 채우기 텍스처의 ID를 읽습니다.
glsStatus SetPolygonFillTextureAt(int index, const char *idUtf8, const char *uriUtf8) noexcept
폴리곤 첫 채우기의 텍스처를 지정합니다.
glsStatus GetLayerCount(int *outCount) const noexcept
심볼 레이어의 개수를 조회합니다.
glsStatus SetTextPrefixAt(int index, const char *value) noexcept
텍스트 레이어의 라벨 앞에 붙일 문자열을 설정합니다.
glsStatus GetTextImageUriAt(int index, char *buf, size_t bufSize, size_t *requiredSize) const noexcept
텍스트 레이어의 라벨 이미지 경로 전체를 읽습니다.
glsStatus GetChartSegmentCountAt(int index, int *outCount) const noexcept
차트의 구성 요소 개수를 조회합니다.
glsStatus SetTextBoxFillTextureAt(int index, const char *idUtf8, const char *uriUtf8) noexcept
텍스트 상자의 채우기에 텍스처를 지정합니다.
glsStatus GetPolygonOutlineRepeatedMarkerAngleColumnAt(int index, int outlineIndex, char *buf, size_t bufSize, size_t *requiredSize) const noexcept
폴리곤 윤곽의 반복 마커 회전 각도 열 이름을 생략 없이 읽습니다.
glsStatus AddPolygon(const glsPolygonSymbolLayer *layer, int *outIndex) noexcept
폴리곤 레이어를 추가합니다.
glsStatus GetTextFieldNameAt(int index, char *buf, size_t bufSize, size_t *requiredSize) const noexcept
텍스트 레이어의 라벨 필드 이름을 생략 없이 읽습니다.
glsStatus SetLineAt(int index, const glsLineSymbolLayer *layer) noexcept
마커를 포함한 전체 선 레이어를 교체합니다.
glsStatus GetExtrusionAt(int index, glsExtrusionSymbolLayer *outLayer) const noexcept
돌출 레이어를 복사합니다.
glsStatus ClearTextBoxFillTextureAt(int index) noexcept
텍스트 상자 채우기의 텍스처를 제거합니다.
glsStatus GetTextPrefixAt(int index, char *buf, size_t bufSize, size_t *requiredSize) const noexcept
텍스트 레이어에 저장된 라벨 앞 문자열 전체를 읽습니다.
glsStatus GetMarkerFillTextureUriAt(int index, char *buf, size_t bufSize, size_t *requiredSize) const noexcept
마커 채우기 텍스처 경로를 읽습니다.
glsStatus GetPolygonFillCountAt(int index, int *outCount) const noexcept
폴리곤 채우기의 개수를 조회합니다.
friend glsStatus glsSymbolSetFromJsonSymbolLayers(const char *symbolLayersJsonUtf8, glsGeometryType geometryType, const char *nameUtf8, glsSymbolSet **outSymbolSet) noexcept
UTF-8 JSON의 심볼 레이어 배열을 새 심볼 세트로 읽습니다.
glsStatus GetMarkerImageIdAt(int index, char *buf, size_t bufSize, size_t *requiredSize) const noexcept
마커 이미지 ID 전체를 읽습니다.
glsStatus GetPolygonOutlineCountAt(int index, int *outCount) const noexcept
폴리곤 윤곽의 개수를 조회합니다.
glsStatus GetTextSuffixAt(int index, char *buf, size_t bufSize, size_t *requiredSize) const noexcept
텍스트 레이어에 저장된 라벨 뒤 문자열 전체를 읽습니다.
glsStatus AddMarker(const glsMarkerSymbolLayer *layer, int *outIndex) noexcept
마커 레이어를 목록 끝에 추가합니다.
glsStatus SetTextAngleColumnAt(int index, const char *value) noexcept
텍스트 레이어의 회전 각도 열 이름을 설정합니다.
glsStatus SetChartSegmentAt(int index, int segment, const glsChartSegment *value) noexcept
인덱스로 차트 구성 요소를 교체합니다.
glsStatus SetTextFontFamilyAt(int index, const char *value) noexcept
텍스트 레이어의 글꼴 패밀리 이름을 설정합니다.
glsStatus GetTextExpressionAt(int index, char *buf, size_t bufSize, size_t *requiredSize) const noexcept
텍스트 레이어의 라벨 표현식을 생략 없이 읽습니다.
glsStatus RemoveChartSegmentAt(int index, int segment) noexcept
인덱스로 차트의 구성 요소를 제거합니다.
glsStatus SetLineRepeatedMarkerAngleColumnAt(int index, const char *value) noexcept
반복 마커의 회전 각도 열 이름을 지정합니다.
glsStatus GetTextAt(int index, glsTextSymbolLayer *outLayer) const noexcept
텍스트 레이어를 복사합니다.
glsStatus AddLine(const glsLineSymbolLayer *layer, int *outIndex) noexcept
마커를 포함한 선 레이어를 목록 끝에 추가합니다.
glsStatus GetTextFontFamilyAt(int index, char *buf, size_t bufSize, size_t *requiredSize) const noexcept
텍스트 레이어의 글꼴 패밀리 이름을 생략 없이 읽습니다.
glsStatus GetLineRepeatedMarkerAt(int index, glsMarkerSymbolLayer *outMarker) const noexcept
선 레이어의 반복 마커를 복사합니다.
glsStatus SetLineTextureAt(int index, const char *idUtf8, const char *uriUtf8) noexcept
선 텍스처 이미지 ID와 경로를 설정합니다.
glsStatus ClearPolygonFillTextureAt(int index) noexcept
폴리곤 채우기가 있으면 첫 채우기의 텍스처를 제거합니다.
glsStatus ClearPolygonFillsAt(int index) noexcept
폴리곤의 모든 채우기를 제거합니다.
glsStatus SetPolygonOutlineAt(int index, int outlineIndex, const glsLineSymbolLayer *layer) noexcept
인덱스로 폴리곤 윤곽을 교체합니다.
glsStatus GetPolygonAt(int index, glsPolygonSymbolLayer *outLayer) const noexcept
폴리곤의 첫 채우기에서 색상, 표시 여부와 텍스처를 복사합니다.
glsStatus SetPolygonFillAt(int index, int fillIndex, const glsPolygonFillLayer *fill) noexcept
인덱스로 폴리곤 채우기를 교체합니다.
glsStatus GetTextBoxFillTextureUriAt(int index, char *buf, size_t bufSize, size_t *requiredSize) const noexcept
텍스트 상자 채우기 텍스처의 경로를 읽습니다.
glsStatus SetPolygonAt(int index, const glsPolygonSymbolLayer *layer) noexcept
폴리곤의 첫 채우기 색상, 표시 여부, 텍스처를 교체합니다.
glsStatus SetMarkerImageAt(int index, const char *idUtf8, const char *uriUtf8) noexcept
마커의 이미지 ID와 경로를 설정합니다.
glsStatus HasPolygonOutlineRepeatedMarkerAt(int index, int outlineIndex, bool *outHasMarker) const noexcept
폴리곤 윤곽에 반복 마커가 있는지 확인합니다.
glsStatus HasPolygonFillTextureAt(int index, bool *outHasTexture) const noexcept
폴리곤의 첫 채우기에 텍스처가 있는지 확인합니다.
glsStatus SetExtrusionAt(int index, const glsExtrusionSymbolLayer *layer) noexcept
돌출 레이어 설정을 교체합니다.
glsStatus GetPolygonFillTextureUriAt(int index, char *buf, size_t bufSize, size_t *requiredSize) const noexcept
폴리곤 첫 채우기의 텍스처 경로를 읽습니다.
glsStatus GetTextImageIdAt(int index, char *buf, size_t bufSize, size_t *requiredSize) const noexcept
텍스트 레이어의 라벨 이미지 ID 전체를 읽습니다.
glsStatus GetMarkerFillTextureIdAt(int index, char *buf, size_t bufSize, size_t *requiredSize) const noexcept
마커 채우기 텍스처 ID를 읽습니다.
glsStatus GetLineRepeatedMarkerAngleColumnAt(int index, char *buf, size_t bufSize, size_t *requiredSize) const noexcept
반복 마커의 회전 각도 열 이름을 생략 없이 읽습니다.
glsStatus SetTextAt(int index, const glsTextSymbolLayer *layer) noexcept
문자열, 라벨 이미지, 상자 텍스처를 포함한 텍스트 레이어를 교체합니다.
glsStatus GetTextAngleColumnAt(int index, char *buf, size_t bufSize, size_t *requiredSize) const noexcept
텍스트 레이어의 회전 각도 열 이름 전체를 읽습니다.
glsStatus GetPolygonOutlineAt(int index, int outlineIndex, glsLineSymbolLayer *outLayer) const noexcept
인덱스로 폴리곤 윤곽을 복사합니다.
friend glsStatus glsRenderSymbolSetPreview(const glsSymbolSet *symbols, const glsStylePreviewOptions *options, const char *baseFolderUtf8, glsStylePreviewImage *outInfo, unsigned char *buffer, int bufferSize, int *requiredSize) noexcept
심볼 세트의 미리보기를 그립니다.
SDK의 공유 라이브러리 심볼에 적용할 플랫폼별 선언 특성을 정의합니다.
공개 gdk_dll API가 공유하는 값 형식, 결과 코드, 호출 규약입니다.
glsGeometryType
지오메트리 또는 레이어 스키마의 지오메트리 유형입니다.
정의 glsTypes.h:189
glsLineDashStyle
선이나 외곽선의 사전 정의된 점선 패턴입니다.
정의 glsTypes.h:1106
glsLabelConflictMode
이미 배치한 레이블과 겹치는 레이블의 처리 방식입니다.
정의 glsTypes.h:1150
glsTextAnchor
상자의 모서리, 각 변의 중앙과 정중앙 중 하나를 지정합니다.
정의 glsTypes.h:1124
#define GDK_DLL_API
Windows에서는 SDK 심볼을 내보내거나 가져오고, 그 외 플랫폼에서는 SDK 빌드의 심볼을 공개합니다.
정의 glsExport.h:20
glsTextPlacementMode
피처에 레이블을 배치하는 방식입니다.
정의 glsTypes.h:1162
@ Solid
끊기지 않는 실선입니다.
정의 glsTypes.h:1108
@ Allow
겹치는 레이블도 그립니다.
정의 glsTypes.h:1152
@ Center
중앙입니다.
정의 glsTypes.h:1134
@ Parallel
선 레이블을 화면상 선에 따라 배치합니다. 상자, 이미지, 오프셋, 회전 또는 Center 이외의 기준점이 있는 경우 선의 각도로 회전할 수 있습니다....
정의 glsTypes.h:1168
@ Text
텍스트 입력입니다. String, Date, Time 및 DateTime이 NULL 외에 허용하는 종류입니다.
정의 glsAttributeValidation.h:32
static constexpr int GLS_MAX_DASH
glsStyleStroke::DashPatterns의 최대 원소 수입니다.
정의 glsStyleModel.h:238
void glsReleaseFeatureRendererDefinition(glsFeatureRendererDefinition *definition) noexcept
렌더러 정의를 해제합니다.
glsExtrusionHeightUnit
돌출 높이의 단위입니다.
정의 glsStyleModel.h:79
glsChartSizeMode
차트의 크기를 정하는 방식입니다.
정의 glsStyleModel.h:63
glsHeatmapRadiusUnit
히트맵 반경의 단위입니다.
정의 glsStyleModel.h:162
static constexpr int GLS_MAX_ANGLE_COLUMN
종료 NUL을 포함한 회전 및 쐐기 각도 열 이름의 바이트 용량입니다.
정의 glsStyleModel.h:232
glsMarkerShape
마커의 모양입니다.
정의 glsStyleModel.h:97
glsSymbolLayerKind
심볼 세트의 레이어 하나가 나타내는 종류입니다.
정의 glsStyleModel.h:42
static constexpr int GLS_MAX_IMAGE_URI
스타일 구조체의 이미지 경로 필드 용량입니다.
정의 glsStyleModel.h:230
static constexpr int GLS_MAX_AFFIX
종료 NUL을 포함한 glsTextSymbolLayer의 Prefix 및 Suffix 필드의 바이트 용량입니다.
정의 glsStyleModel.h:236
static constexpr int GLS_MAX_FIELD_NAME
종료 NUL을 포함한 필드 및 열 이름의 바이트 용량입니다.
정의 glsStyleModel.h:234
static constexpr int GLS_MAX_IMAGE_ID
종료 NUL을 포함한 이미지 ID 필드의 바이트 용량입니다.
정의 glsStyleModel.h:231
glsStatus glsFeatureRendererDefinitionFromJson(const char *jsonUtf8, glsFeatureRendererDefinition **outDefinition) noexcept
UTF-8 JSON에서 렌더러 정의를 읽습니다.
glsExtrusionPointShape
점을 돌출할 때 그리는 입체 모양입니다.
정의 glsStyleModel.h:87
glsStatus glsFeatureStyleFromJson(const char *jsonUtf8, glsFeatureStyle **outStyle) noexcept
UTF-8 JSON에서 피처 스타일을 읽습니다.
static constexpr int GLS_MAX_CHART_LABEL
종료 NUL을 포함한 glsChartSegment::Label의 바이트 용량입니다.
정의 glsStyleModel.h:237
glsStyleUnit
스타일 길이의 단위입니다.
정의 glsStyleModel.h:21
glsLineSymbolKind
선을 그리는 방식입니다.
정의 glsStyleModel.h:115
glsPolygonFillKind
폴리곤 채우기 하나의 방식입니다.
정의 glsStyleModel.h:364
glsChartType
차트 심볼 레이어가 그리는 차트 유형입니다.
정의 glsStyleModel.h:54
glsChartBarDirection
화면에서 막대를 늘리는 방향입니다.
정의 glsStyleModel.h:71
static constexpr int GLS_MAX_FONT_FAMILY
종료 NUL을 포함한 glsStyleFont::Family의 바이트 용량입니다.
정의 glsStyleModel.h:233
glsStatus glsCreateFeatureStyle(glsFeatureStyle **outStyle) noexcept
규칙이 없는 피처 스타일을 생성합니다.
glsLineCap
획의 끝 모양입니다.
정의 glsStyleModel.h:139
glsLineJoin
두 획 선분이 만나는 부분의 모양입니다.
정의 glsStyleModel.h:128
glsStatus glsCreateFeatureRendererDefinition(glsRendererKind kind, glsFeatureRendererDefinition **outDefinition) noexcept
지정한 종류의 빈 렌더러 정의를 생성합니다.
glsStylePredicateOp
규칙에서 사용할 속성 비교 연산자입니다.
정의 glsStyleModel.h:198
static constexpr int GLS_MAX_EXPRESSION
종료 NUL을 포함한 glsTextSymbolLayer::Expression의 바이트 용량입니다.
정의 glsStyleModel.h:235
glsRendererKind
피처 렌더러 정의의 종류입니다.
정의 glsStyleModel.h:149
glsStatus glsSymbolSetFromJsonSymbolLayers(const char *symbolLayersJsonUtf8, glsGeometryType geometryType, const char *nameUtf8, glsSymbolSet **outSymbolSet) noexcept
UTF-8 JSON의 심볼 레이어 배열을 새 심볼 세트로 읽습니다.
glsHeatmapRangeMode
히트맵에서 밀도를 색에 연결하는 방식입니다.
정의 glsStyleModel.h:172
void glsReleaseSymbolSet(glsSymbolSet *symbolSet) noexcept
심볼 세트를 해제합니다.
glsStatus glsCreateSymbolSet(glsSymbolSet **outSymbolSet) noexcept
빈 심볼 세트를 생성합니다.
void glsReleaseFeatureStyle(glsFeatureStyle *style) noexcept
피처 스타일을 해제합니다.
@ Meter
미터입니다. 피처 위치에서 지도 단위로 변환합니다. JSON에서 Meter 또는 알 수 없는 이름을 이 값으로 읽습니다.
정의 glsStyleModel.h:80
@ Fixed
Size 값으로 크기를 고정합니다. JSON에서 Fixed 또는 알 수 없는 이름을 이 값으로 읽습니다.
정의 glsStyleModel.h:64
@ Scaled
값에 따라 MaxValue까지 크기를 늘립니다. MaxValue가 양수가 아니면 Fixed처럼 그립니다. JSON 값은 Scaled입니다.
정의 glsStyleModel.h:65
@ Point
타이포그래피 포인트입니다. 값에 DPI를 곱하고 72로 나누어 픽셀로 변환합니다.
정의 glsStyleModel.h:164
@ X
대각선 십자입니다.
정의 glsStyleModel.h:103
@ Wedge
SweepDegrees 또는 SweepColumn 값으로 중심각을 정하는 부채꼴입니다.
정의 glsStyleModel.h:107
@ Circle
원형입니다.
정의 glsStyleModel.h:98
@ Triangle
위쪽을 향한 삼각형입니다.
정의 glsStyleModel.h:100
@ Diamond
마름모입니다.
정의 glsStyleModel.h:101
@ TriangleRight
오른쪽을 향한 삼각형입니다.
정의 glsStyleModel.h:105
@ Image
ImageUri가 가리키는 이미지 파일을 마커로 그립니다.
정의 glsStyleModel.h:104
@ Square
정사각형입니다.
정의 glsStyleModel.h:99
@ TriangleLeft
왼쪽을 향한 삼각형입니다.
정의 glsStyleModel.h:106
@ Cross
더하기 기호입니다.
정의 glsStyleModel.h:102
@ Marker
점 마커입니다. glsMarkerSymbolLayer를 사용하며 JSON의 type은 Marker입니다.
정의 glsStyleModel.h:43
@ Chart
원형 또는 막대 차트입니다. glsChartSymbolLayer를 사용하며 JSON의 type은 Chart입니다.
정의 glsStyleModel.h:48
@ Line
선 심볼입니다. glsLineSymbolLayer를 사용하며 JSON의 type은 Line입니다.
정의 glsStyleModel.h:44
@ Polygon
폴리곤의 채우기와 윤곽입니다. glsPolygonSymbolLayer를 사용하며 JSON의 type은 Polygon입니다.
정의 glsStyleModel.h:45
@ Extrusion
평면 모양을 2.5D로 돌출합니다. glsExtrusionSymbolLayer를 사용하며 JSON의 type은 Extrusion입니다.
정의 glsStyleModel.h:47
@ Cylinder
원기둥입니다. JSON에서 Cylinder 또는 알 수 없는 이름을 이 값으로 읽습니다.
정의 glsStyleModel.h:88
@ Box
상자 모양입니다. JSON 값은 Box입니다.
정의 glsStyleModel.h:89
@ Pixel
렌더링된 이미지의 픽셀 단위입니다.
정의 glsStyleModel.h:22
@ Point
타이포그래피 포인트입니다. 값에 DPI를 곱하고 72로 나누어 픽셀로 변환합니다.
정의 glsStyleModel.h:23
@ MapUnit
지도 좌표 참조계의 단위입니다. 예를 들어 EPSG:3857은 미터, EPSG:4326은 도입니다.
정의 glsStyleModel.h:24
@ DoubleLine
중심선 사이가 DoubleLineGap인 나란한 두 획입니다.
정의 glsStyleModel.h:118
@ Simple
획을 그린 선입니다.
정의 glsStyleModel.h:116
@ PerpendicularTick
MarkerStart부터 MarkerInterval 간격으로 가로지르는 눈금을 그립니다. 선 자체는 그리지 않습니다.
정의 glsStyleModel.h:119
@ RepeatedMarker
MarkerStart부터 MarkerInterval 간격으로 RepeatedMarker를 배치합니다.
정의 glsStyleModel.h:117
@ TextureStretch
TextureImageUri의 이미지를 선분마다 늘려 배치합니다. 이미지 높이는 획 너비입니다.
정의 glsStyleModel.h:120
@ Hatch
평행 해치 선입니다.
정의 glsStyleModel.h:366
@ Solid
단색 또는 채우기 텍스처의 이미지입니다.
정의 glsStyleModel.h:365
@ StackedBar
구성 요소를 한 막대에 쌓습니다. JSON 값은 StackedBar입니다.
정의 glsStyleModel.h:57
@ Pie
원형 차트입니다. HoleFraction이 양수이면 도넛을 그립니다. JSON에서 Pie 또는 알 수 없는 이름을 이 값으로 읽습니다.
정의 glsStyleModel.h:55
@ Bar
구성 요소별 막대를 나란히 그립니다. JSON 값은 Bar입니다.
정의 glsStyleModel.h:56
@ Up
막대가 위쪽으로 자랍니다. JSON에서 Up 또는 알 수 없는 이름을 이 값으로 읽습니다.
정의 glsStyleModel.h:72
@ Right
막대가 오른쪽으로 자랍니다. JSON 값은 Right입니다.
정의 glsStyleModel.h:73
@ Arrow
해당 끝에 화살촉을 붙이며 획은 평평하게 끝냅니다.
정의 glsStyleModel.h:143
@ Flat
끝점에서 평평하게 끝납니다.
정의 glsStyleModel.h:140
@ Round
끝점을 지나 반원으로 닫습니다.
정의 glsStyleModel.h:142
@ Bevel
모서리를 잘라 연결합니다.
정의 glsStyleModel.h:130
@ Round
둥근 모서리로 연결합니다.
정의 glsStyleModel.h:131
@ Miter
뾰족한 모서리로 연결합니다.
정의 glsStyleModel.h:129
@ NotEqual
필드가 비교값과 다릅니다.
정의 glsStyleModel.h:200
@ Between
필드가 하한과 상한 사이에 있습니다. 경계 포함은 IncludeLower 및 IncludeUpper를 따릅니다.
정의 glsStyleModel.h:207
@ GreaterOrEqual
필드가 비교값 이상입니다.
정의 glsStyleModel.h:204
@ IsNotNull
필드가 NULL이 아닙니다. 비교값을 받지 않습니다.
정의 glsStyleModel.h:206
@ LessOrEqual
필드가 비교값 이하입니다.
정의 glsStyleModel.h:202
@ LessThan
필드가 비교값보다 작습니다.
정의 glsStyleModel.h:201
@ In
필드가 목록에 있는 값과 같습니다. 빈 목록은 어떤 값과도 일치하지 않습니다.
정의 glsStyleModel.h:208
@ IsNull
필드가 NULL입니다. 비교값을 받지 않습니다.
정의 glsStyleModel.h:205
@ Equal
필드가 비교값과 같습니다.
정의 glsStyleModel.h:199
@ GreaterThan
필드가 비교값보다 큽니다.
정의 glsStyleModel.h:203
@ RuleBased
조건, 축척 범위와 심볼을 가진 규칙 목록으로 그립니다.
정의 glsStyleModel.h:153
@ SingleSymbol
모든 피처를 같은 심볼로 그립니다.
정의 glsStyleModel.h:150
@ Heatmap
점 밀도를 색상 표면으로 그립니다.
정의 glsStyleModel.h:154
@ Categorized
한 속성 필드의 값으로 심볼을 선택합니다.
정의 glsStyleModel.h:151
@ Graduated
한 속성 필드의 수치 구간으로 심볼을 선택합니다.
정의 glsStyleModel.h:152
@ Fixed
RangeMin을 첫 색상 정지점에, RangeMax를 마지막에 대응시킵니다.
정의 glsStyleModel.h:173
@ AutoView
0을 첫 색상 정지점에, 그린 뷰의 최대 밀도를 마지막에 대응시킵니다.
정의 glsStyleModel.h:174
glsGdk SDK의 네이티브 C++ API 이름 공간입니다.
정의 glsAttributeTable.h:5
형식 태그로 실제 값이 들어 있는 멤버를 지정하는 속성값입니다.
정의 glsTypes.h:1575
원형 차트의 조각 또는 막대 하나를 표현합니다.
정의 glsStyleModel.h:466
char Label[GLS_MAX_CHART_LABEL]
범례에 사용할 이름입니다. JSON 키는 label입니다.
정의 glsStyleModel.h:469
char FieldName[GLS_MAX_FIELD_NAME]
구성 요소 크기에 사용할 숫자 필드입니다. JSON 키는 field입니다.
정의 glsStyleModel.h:467
uint32_t Color
구성 요소의 색상입니다. 0xAARRGGBB 값이며 JSON 키는 color입니다.
정의 glsStyleModel.h:468
피처 기준점에 원형, 도넛, 막대 또는 누적 막대 차트를 그립니다.
정의 glsStyleModel.h:478
bool AllowOverlap
이미 배치한 차트와 겹쳐도 그립니다.
정의 glsStyleModel.h:497
int Priority
높은 우선순위의 차트를 먼저 배치합니다.
정의 glsStyleModel.h:500
glsStyleLength Size
원형 차트의 지름 또는 막대 길이입니다. Fixed에서는 가장 큰 막대가 이 길이입니다.
정의 glsStyleModel.h:482
glsChartType Type
차트의 종류입니다.
정의 glsStyleModel.h:479
bool Clockwise
참이면 원형 차트에서 조각을 시계 방향으로 배치합니다.
정의 glsStyleModel.h:489
glsChartSizeMode SizeMode
크기를 고정하거나 값에 따라 조절하는 방식입니다.
정의 glsStyleModel.h:480
glsChartBarDirection BarDirection
막대와 누적 막대가 자라는 방향입니다.
정의 glsStyleModel.h:493
bool BlocksLabels
배치한 차트가 라벨을 가릴 수 있는지 지정합니다. Disallow 또는 Avoid 라벨은 차트 위치가 사용 중이라고 봅니다. Allow 라벨은 아래·위·오른쪽·왼쪽 순으로 빈 자리를...
정의 glsStyleModel.h:499
float OffsetX
기준점에서 수평 이동할 픽셀 수입니다.
정의 glsStyleModel.h:495
float Opacity
차트의 불투명도입니다. 레이어 불투명도를 곱합니다.
정의 glsStyleModel.h:487
float StartAngleDegrees
원형 차트의 첫 조각이 시작하는 각도(도)입니다. 화면 오른쪽에서 반시계 방향이며 90도는 위쪽입니다.
정의 glsStyleModel.h:488
float HoleFraction
원형 차트 반경에 대한 구멍 반경의 비율입니다. 0~0.9로 제한하며 양수이면 도넛을 그립니다.
정의 glsStyleModel.h:490
glsStyleLength BarWidth
막대 및 누적 막대의 폭입니다.
정의 glsStyleModel.h:491
bool DrawAxis
막대 윤곽의 색상이 완전히 투명하지 않을 때 기본선을 그립니다. 막대 및 누적 막대에만 적용합니다.
정의 glsStyleModel.h:494
float OffsetY
기준점에서 수직 이동할 픽셀 수입니다. 양수는 아래 방향입니다.
정의 glsStyleModel.h:496
glsStyleLength MinSize
Scaled 원형 차트의 최소 지름입니다.
정의 glsStyleModel.h:483
double MaxValue
Scaled에서 Size로 표현할 값입니다. 원형 차트 지름은 값의 합의 제곱근에 따라 늘어나고 막대는 Size까지 선형으로 늘어납니다.
정의 glsStyleModel.h:485
glsStyleStroke Outline
구성 요소 윤곽의 획입니다.
정의 glsStyleModel.h:486
glsStyleLength BarSpacing
나란한 막대 사이의 간격입니다.
정의 glsStyleModel.h:492
피처 평면 모양을 비스듬히 올려 2.5D로 표현합니다.
정의 glsStyleModel.h:435
glsExtrusionPointShape PointShape
점을 돌출할 때 그릴 입체 모양입니다.
정의 glsStyleModel.h:452
glsStyleStroke Edge
돌출한 모양의 모서리 획입니다.
정의 glsStyleModel.h:450
char RadiusColumn[GLS_MAX_FIELD_NAME]
피처별 점 반경의 숫자 필드입니다. 비어 있거나 값이 0 이하이면 PointRadius를 사용합니다.
정의 glsStyleModel.h:456
bool ShadeWalls
벽이 조명을 향한 방향에 따라 명암을 그립니다.
정의 glsStyleModel.h:448
float DirectionDegrees
화면 오른쪽에서 반시계 방향으로 잰 기울임 방향(도)입니다. 90도는 위쪽입니다.
정의 glsStyleModel.h:443
glsStyleFill RoofFill
돌출한 도형의 윗면 채우기입니다.
정의 glsStyleModel.h:445
char HeightColumn[GLS_MAX_FIELD_NAME]
피처별 높이의 숫자 필드입니다. 비어 있으면 HeightValue를 사용합니다.
정의 glsStyleModel.h:437
double HeightValue
HeightColumn이 비어 있을 때 사용할 HeightUnit 단위의 높이입니다.
정의 glsStyleModel.h:438
bool HasWallColor
참이면 WallColor를 쓰며 거짓이면 RoofFill에서 벽 색상을 구합니다.
정의 glsStyleModel.h:446
glsStyleLength PointRadius
점을 돌출해 그린 입체의 반경입니다. MapUnit 반경은 HeightUnit으로 해석합니다.
정의 glsStyleModel.h:454
glsStyleLength LineThickness
선으로 만든 벽의 두께입니다. MapUnit 값은 HeightUnit으로 해석하며 0은 두께 없이 벽을 그립니다.
정의 glsStyleModel.h:458
float Opacity
돌출 전체의 불투명도입니다.
정의 glsStyleModel.h:451
uint32_t WallColor
HasWallColor가 참일 때 사용하는 벽 색상입니다.
정의 glsStyleModel.h:447
char BaseColumn[GLS_MAX_FIELD_NAME]
피처별 밑면 높이의 숫자 필드입니다. 비어 있거나 해당 값이 없으면 0입니다.
정의 glsStyleModel.h:440
glsExtrusionHeightUnit HeightUnit
높이의 단위입니다.
정의 glsStyleModel.h:442
float LightAzimuthDegrees
화면에서 위쪽을 0도로 하여 시계 방향으로 잰 조명의 방위각입니다.
정의 glsStyleModel.h:449
int PointSegments
원기둥의 측면 수입니다. 그릴 때 8~64로 제한합니다.
정의 glsStyleModel.h:457
bool DirectionFollowsMapRotation
지도 회전과 함께 기울임 방향과 조명 방향을 회전합니다.
정의 glsStyleModel.h:444
double HeightScale
높이와 밑면 높이에 곱하는 배율입니다.
정의 glsStyleModel.h:441
렌더러 정의의 라벨 스타일과 표시 여부입니다.
정의 glsStyleModel.h:508
glsTextSymbolLayer Text
라벨의 텍스트 스타일입니다.
정의 glsStyleModel.h:509
bool Enabled
참이면 라벨을 그립니다. JSON 키는 enabled입니다.
정의 glsStyleModel.h:510
히트맵 렌더러 정의의 수치 설정입니다.
정의 glsStyleModel.h:182
int CellSizePx
격자 셀 크기입니다. 1, 2 또는 4픽셀이며 JSON 키는 cellSizePx입니다.
정의 glsStyleModel.h:187
uint32_t StructSize
이 구조체의 크기입니다. 기본값을 유지하십시오.
정의 glsStyleModel.h:183
glsHeatmapRadiusUnit RadiusUnit
Radius의 단위입니다. JSON 키는 radiusUnit입니다.
정의 glsStyleModel.h:186
double Radius
RadiusUnit 단위의 커널 반경입니다. JSON 키는 radius입니다.
정의 glsStyleModel.h:185
double RangeMax
Fixed 범위의 최대 밀도입니다. JSON 키는 range.max입니다.
정의 glsStyleModel.h:190
double RangeMin
Fixed 범위의 최소 밀도입니다. JSON의 range.min에 해당합니다.
정의 glsStyleModel.h:190
glsHeatmapRangeMode RangeMode
밀도를 색상에 대응하는 방식입니다.
정의 glsStyleModel.h:188
uint32_t Version
배치 버전입니다. 1이어야 합니다.
정의 glsStyleModel.h:184
선과 폴리곤 윤곽에 사용할 선 심볼 레이어입니다.
정의 glsStyleModel.h:326
char TextureImageId[GLS_MAX_IMAGE_ID]
TextureStretch에서 사용하는 이미지 ID입니다. JSON의 textureImage.id입니다.
정의 glsStyleModel.h:336
glsStyleStroke Stroke
선의 획입니다. JSON 키는 stroke입니다.
정의 glsStyleModel.h:328
bool HasEndMarker
선에 끝 마커가 있으면 참입니다. 구조체를 설정할 때 거짓이면 끝 마커를 제거합니다.
정의 glsStyleModel.h:344
glsStyleLength TickLeftLength
PerpendicularTick의 왼쪽 눈금 길이입니다. JSON 키는 tickLeftLength입니다.
정의 glsStyleModel.h:333
glsLineSymbolKind Kind
선 그리기 방식입니다. JSON 키는 kind입니다.
정의 glsStyleModel.h:327
glsMarkerSymbolLayer StartMarker
열린 선의 각 부분의 시작점에 그릴 마커입니다. JSON 키는 startMarker입니다.
정의 glsStyleModel.h:343
glsStyleLength MarkerStart
RepeatedMarker 또는 PerpendicularTick에서 첫 마커나 눈금까지의 거리입니다. JSON 키는 markerStart입니다.
정의 glsStyleModel.h:329
glsStyleLength Offset
선에서 옆으로 이동할 거리입니다. JSON 키는 offset입니다.
정의 glsStyleModel.h:331
glsStyleLength TickRightLength
PerpendicularTick의 오른쪽 눈금 길이입니다.
정의 glsStyleModel.h:334
glsStyleLength DoubleLineGap
DoubleLine의 두 획 사이 간격입니다. JSON 키는 doubleLineGap입니다.
정의 glsStyleModel.h:332
char TextureImageUri[GLS_MAX_IMAGE_URI]
TextureStretch에서 사용하는 이미지 파일 경로입니다. JSON의 textureImage.uri입니다.
정의 glsStyleModel.h:338
glsMarkerSymbolLayer EndMarker
열린 선의 각 부분의 끝점에 그릴 마커입니다. JSON 키는 endMarker입니다.
정의 glsStyleModel.h:345
glsMarkerSymbolLayer RepeatedMarker
RepeatedMarker가 사용하는 마커 설정입니다. HasRepeatedMarker가 참일 때 적용하며 JSON 키는 repeatedMarker입니다.
정의 glsStyleModel.h:341
bool HasStartMarker
선에 시작 마커가 있으면 참입니다. 구조체를 설정할 때 거짓이면 시작 마커를 제거합니다.
정의 glsStyleModel.h:342
bool HasRepeatedMarker
선에 반복 마커가 있으면 참입니다. 구조체를 설정할 때 거짓이면 반복 마커를 제거합니다.
정의 glsStyleModel.h:340
glsStyleLength MarkerInterval
RepeatedMarker 또는 PerpendicularTick에서 마커나 눈금 사이의 간격입니다. JSON 키는 markerInterval입니다.
정의 glsStyleModel.h:330
점을 표현하는 마커 심볼 레이어입니다.
정의 glsStyleModel.h:294
char ImageUri[GLS_MAX_IMAGE_URI]
Shape가 Image일 때 이미지 파일 경로입니다. JSON의 image.uri입니다.
정의 glsStyleModel.h:311
char AngleColumn[GLS_MAX_ANGLE_COLUMN]
피처별 RotationDegrees에 더할 각도(도)의 필드 이름입니다. JSON의 angleColumn이 비어 있으면 생략합니다. 숫자와 각도로 파싱할 수 있는 문자열을 사용합니다...
정의 glsStyleModel.h:313
glsStyleFill Fill
도형 마커의 채우기입니다. JSON 키는 fill입니다.
정의 glsStyleModel.h:297
char ImageId[GLS_MAX_IMAGE_ID]
마커 이미지 ID입니다. JSON의 image.id입니다. 파일은 ImageUri로 읽습니다.
정의 glsStyleModel.h:309
uint32_t ImageTint
이미지 마커에서 원래 알파를 유지하며 이미지 색을 대체할 색입니다. JSON의 imageTint이며 HasImageTint가 참일 때만 사용합니다.
정의 glsStyleModel.h:303
glsMarkerShape Shape
마커 모양입니다. JSON 키는 shape입니다.
정의 glsStyleModel.h:295
bool HasImageTint
이미지 마커에 ImageTint를 적용하며 JSON에 imageTint가 있음을 나타냅니다.
정의 glsStyleModel.h:301
glsScreenPoint Offset
피처의 점에서 픽셀 단위로 이동합니다. 양수 Y는 아래 방향입니다. JSON의 offset 객체는 x와 y를 갖습니다.
정의 glsStyleModel.h:304
float RotationDegrees
고정 회전각(도)입니다.
정의 glsStyleModel.h:305
bool RotateWithMap
JSON의 rotateWithMap입니다. 도형 마커는 이 값을 무시합니다. 이미지 마커에 설정하면 지도, 선 마커 또는 미리보기에서 그리지 않습니다.
정의 glsStyleModel.h:307
char SweepColumn[GLS_MAX_ANGLE_COLUMN]
쐐기 마커에서 피처별 중심각을 정하는 숫자 필드입니다. JSON의 sweepColumn 값이 없거나 유한한 양수가 아니면 SweepDegrees를 사용합니다....
정의 glsStyleModel.h:317
glsStyleLength Size
마커 크기입니다. 이미지 마커는 이미지를 이 크기에 맞춥니다. JSON 키는 size입니다.
정의 glsStyleModel.h:296
glsStyleStroke Outline
도형 마커의 윤곽입니다.
정의 glsStyleModel.h:298
glsTextAnchor ImageAnchor
이미지 마커에서 피처 위치에 맞출 이미지 기준점입니다. JSON의 imageAnchor는 Center가 아닐 때만 씁니다.
정의 glsStyleModel.h:300
float SweepDegrees
쐐기 마커의 중심각(도)입니다. JSON 키는 sweepDegrees입니다.
정의 glsStyleModel.h:315
폴리곤 채우기 목록의 한 항목입니다.
정의 glsStyleModel.h:376
glsStyleLength HatchSpacing
해치 선 사이의 간격입니다. JSON 키는 hatchSpacing입니다.
정의 glsStyleModel.h:381
glsMarkerShape MarkerShape
격자 마커의 모양입니다. Image와 Wedge는 허용하지 않습니다. JSON의 markerShape에서 알 수 없는 이름은 Circle로 읽습니다.
정의 glsStyleModel.h:384
glsStyleLength MarkerSize
격자 마커의 크기입니다. JSON 키는 markerSize입니다.
정의 glsStyleModel.h:385
glsStyleFill Fill
색상과 표시 여부입니다. JSON 키는 color와 enabled이며 Solid에서만 texture를 사용합니다.
정의 glsStyleModel.h:378
glsStyleLength MarkerSpacingY
격자 마커 행 사이의 수직 거리입니다. JSON 키는 markerSpacingY입니다.
정의 glsStyleModel.h:387
glsPolygonFillKind Kind
채우기 종류입니다. JSON 키는 kind입니다.
정의 glsStyleModel.h:377
glsStyleLength MarkerSpacingX
격자 마커 사이의 수평 거리입니다. JSON 키는 markerSpacingX입니다.
정의 glsStyleModel.h:386
bool ColorFromSymbol
채우기와 함께 저장하는 colorFromSymbol 플래그입니다.
정의 glsStyleModel.h:379
glsStyleLength MarkerRowShift
격자의 매 두 번째 행에 적용할 수평 이동량입니다. JSON 키는 markerRowShift입니다.
정의 glsStyleModel.h:388
float HatchAngleDegrees
해치 선의 각도(도)입니다. 지도 동쪽에서 반시계 방향이며 JSON 키는 hatchAngle입니다.
정의 glsStyleModel.h:380
glsStyleLength HatchOffset
해치 선의 이동 거리입니다. JSON 키는 hatchOffset입니다.
정의 glsStyleModel.h:383
glsStyleLength HatchWidth
해치 선의 두께입니다. JSON 키는 hatchWidth입니다.
정의 glsStyleModel.h:382
폴리곤 심볼의 첫 채우기입니다.
정의 glsStyleModel.h:354
glsStyleFill Fill
첫 채우기의 색상, 표시 여부와 텍스처입니다.
정의 glsStyleModel.h:355
왼쪽 위가 원점인 기기 픽셀 좌표입니다.
정의 glsTypes.h:133
DLL 경계의 공개 함수가 반환하는 상태입니다.
정의 glsTypes.h:83
색상, 켜기 여부와 선택 텍스처를 가진 채우기입니다.
정의 glsStyleModel.h:245
char TextureId[GLS_MAX_IMAGE_ID]
채우기 텍스처의 이미지 ID입니다. JSON의 texture.id입니다. TextureId 또는 TextureUri가 비어 있지 않으면 텍스처를 사용합니다.
정의 glsStyleModel.h:249
bool Enabled
참이면 채우기를 그립니다.
정의 glsStyleModel.h:247
uint32_t Color
채우기 색상입니다. 0xAARRGGBB 값이며 JSON 키는 color입니다.
정의 glsStyleModel.h:246
char TextureUri[GLS_MAX_IMAGE_URI]
채우기 텍스처 이미지 경로입니다. JSON의 texture.uri입니다. 경로와 TextureId가 모두 비면 텍스처가 없습니다.
정의 glsStyleModel.h:251
텍스트 심볼과 라벨의 글꼴입니다.
정의 glsStyleModel.h:280
bool Italic
기울임꼴로 그립니다. JSON 키는 italic입니다.
정의 glsStyleModel.h:283
char Family[GLS_MAX_FONT_FAMILY]
UTF-8 글꼴 패밀리 이름입니다. JSON 키는 family입니다. 구조체를 설정할 때 비어 있으면 기본 패밀리 Arial을 유지합니다.
정의 glsStyleModel.h:286
bool Bold
굵게 그립니다. JSON 키는 bold입니다.
정의 glsStyleModel.h:282
bool Underline
밑줄을 그립니다.
정의 glsStyleModel.h:284
glsStyleLength Size
글꼴 크기입니다. JSON 키는 size입니다.
정의 glsStyleModel.h:281
수치와 단위를 가진 스타일 길이입니다.
정의 glsStyleModel.h:32
float Value
Unit 단위의 길이입니다. JSON 키는 value입니다.
정의 glsStyleModel.h:33
glsStyleUnit Unit
Value의 단위입니다. JSON 키는 unit입니다.
정의 glsStyleModel.h:34
렌더링된 미리보기 이미지의 버퍼 배치입니다.
정의 glsStylePreview.h:40
스타일 미리보기에서 이미지 크기와 그릴 내용을 지정합니다.
정의 glsStylePreview.h:16
규칙 조건 하나의 연산자와 플래그입니다.
정의 glsStyleModel.h:216
int ValueCount
In 조건의 값 개수입니다.
정의 glsStyleModel.h:223
bool IncludeUpper
Between에서 참이면 상한 자체도 포함합니다.
정의 glsStyleModel.h:219
glsStylePredicateOp Op
조건의 비교 연산자입니다.
정의 glsStyleModel.h:217
bool IncludeLower
Between에서 참이면 하한 자체도 포함합니다.
정의 glsStyleModel.h:218
색상, 너비, 대시, 연결점과 끝 모양을 가진 획입니다.
정의 glsStyleModel.h:259
float DashPatterns[GLS_MAX_DASH]
대시와 간격 길이(픽셀)가 번갈아 나오는 사용자 지정 패턴입니다. JSON 키는 dashPattern입니다. DashPatternNum이 양의 짝수이면 DashStyle 대신 사용합...
정의 glsStyleModel.h:272
glsLineDashStyle DashStyle
미리 정의된 대시 스타일입니다. JSON의 dashStyle은 Solid, Dash, Dot, DashDot, DashDotDot을 받으며 알 수 없는 이름은 Solid입니다....
정의 glsStyleModel.h:263
uint32_t Color
획 색상입니다. 0xAARRGGBB 값이며 JSON 키는 color입니다.
정의 glsStyleModel.h:260
int DashPatternNum
DashPatterns의 유효 항목 수입니다.
정의 glsStyleModel.h:270
glsStyleLength Width
획의 너비입니다.
정의 glsStyleModel.h:261
glsLineCap StartCap
양끝을 닫는 모양입니다. Arrow이면 시작점에 화살촉을 붙입니다. JSON 키는 startCap이며 glsLineCap의 제한을 따릅니다.
정의 glsStyleModel.h:266
glsLineJoin Join
선분 연결 방식입니다. JSON 키는 join입니다.
정의 glsStyleModel.h:265
glsLineCap EndCap
Arrow일 때 끝점에 화살촉을 붙입니다.
정의 glsStyleModel.h:267
float DashOffset
대시 패턴 내 시작 오프셋(픽셀)입니다. JSON 키는 dashOffset입니다.
정의 glsStyleModel.h:264
텍스트 라벨 심볼 레이어입니다.
정의 glsStyleModel.h:396
glsLabelConflictMode ConflictMode
이미 배치한 라벨과 겹칠 때의 처리 방식입니다. JSON의 conflictMode입니다. Allow는 그리되 차트의 BlocksLabels도 확인합니다....
정의 glsStyleModel.h:411
glsStyleFill BoxFill
라벨 상자의 채우기입니다. JSON의 boxFill이며, Text 심볼은 BoxEnabled가 참일 때만 저장합니다.
정의 glsStyleModel.h:403
bool HaloEnabled
라벨 둘레에 테두리를 그립니다. JSON 키는 haloEnabled입니다.
정의 glsStyleModel.h:401
glsTextPlacementMode Placement
라벨을 수평이나 선을 따라 배치합니다. JSON의 placement에서 알 수 없는 이름은 Parallel로 읽습니다.
정의 glsStyleModel.h:416
char Suffix[GLS_MAX_AFFIX]
라벨 텍스트 뒤에 붙이는 문자열입니다.
정의 glsStyleModel.h:422
glsStyleFont Font
라벨 글꼴입니다. JSON 키는 font입니다.
정의 glsStyleModel.h:397
glsStyleLength HaloSize
라벨 테두리 너비입니다. JSON 키는 haloSize입니다.
정의 glsStyleModel.h:400
uint32_t TextColor
라벨 색상입니다. 0xAARRGGBB 값이며 JSON 키는 textColor입니다.
정의 glsStyleModel.h:398
uint32_t HaloColor
라벨 테두리 색상입니다. JSON 키는 haloColor입니다.
정의 glsStyleModel.h:399
glsStyleStroke BoxOutline
라벨 상자의 윤곽입니다.
정의 glsStyleModel.h:404
float RotationDegrees
고정 회전각(도)입니다.
정의 glsStyleModel.h:414
int Priority
높은 우선순위의 라벨을 먼저 배치합니다. JSON 키는 priority입니다.
정의 glsStyleModel.h:412
char AngleColumn[GLS_MAX_ANGLE_COLUMN]
피처별 RotationDegrees에 더할 각도(도)의 필드 이름입니다. JSON의 angleColumn이 비어 있으면 생략합니다. 숫자와 각도로 파싱할 수 있는 문자열을 사용합니다...
정의 glsStyleModel.h:424
glsScreenPoint Offset
라벨의 이동량(픽셀)입니다. 양수 Y는 아래 방향입니다. JSON의 offset 객체는 x와 y를 갖습니다.
정의 glsStyleModel.h:408
bool BoxEnabled
텍스트 뒤에 상자를 그립니다. JSON 키는 boxEnabled입니다.
정의 glsStyleModel.h:402
char ImageUri[GLS_MAX_IMAGE_URI]
라벨 이미지 파일 경로입니다. JSON의 image.uri입니다.
정의 glsStyleModel.h:426
glsScreenPoint ImageOffset
라벨 이미지의 이동량(픽셀)입니다. JSON 키는 imageOffset입니다.
정의 glsStyleModel.h:413
char Expression[GLS_MAX_EXPRESSION]
FieldName이 비었을 때 사용하는 {field} 자리표시자가 포함된 표현식입니다. JSON 키는 expression입니다.
정의 glsStyleModel.h:420
glsTextAnchor Anchor
기준점에서 라벨을 배치할 우선 위치입니다.
정의 glsStyleModel.h:409
char Prefix[GLS_MAX_AFFIX]
라벨 텍스트 앞에 붙이는 문자열입니다. JSON 키는 prefix입니다.
정의 glsStyleModel.h:421
char ImageId[GLS_MAX_IMAGE_ID]
라벨 이미지 ID입니다. JSON의 image.id입니다.
정의 glsStyleModel.h:425
int DecimalPlaces
실수 필드의 표시 소수 자릿수입니다.
정의 glsStyleModel.h:407
char FieldName[GLS_MAX_FIELD_NAME]
라벨로 표시할 값의 필드입니다. JSON의 fieldName이 Expression보다 우선합니다.
정의 glsStyleModel.h:418