IPlotElemDisplayParams.h
Go to the documentation of this file.
1 /*--------------------------------------------------------------------------------------+
2 |
3 | Supplied under applicable software license agreement.
4 |
5 | Copyright (c) 2018 Bentley Systems, Incorporated. All rights reserved.
6 |
7 +---------------------------------------------------------------------------------------*/
8 #pragma once
9 
10 #include <Mstn\Plot\PlotApi.h>
11 
14 
19 enum class PlotEdpFillDisplay
21  {
22  Never = 0,
23  ByView = 1,
24  Always = 2,
25  Blanking = 3
26  };
27 
29 enum class PlotEdpLineJoin
30  {
31  None = 0,
32  Bevel = 1,
33  Miter = 2,
34  Round = 3
35  };
36 
38 enum class PlotEdpLineCap
39  {
40  None = 0,
41  Flat = 1,
42  Square = 2,
43  Round = 3,
44  Triangle = 4
45  };
46 
47 /*=================================================================================**/
52 {
54 virtual bool GetUseLineColorRGB() const = 0;
55 
57 virtual bool GetUseFillColorRGB() const = 0;
58 
60 virtual bool GetHasScreening() const = 0;
61 
63 virtual bool GetHasTransparency() const = 0;
64 
66 virtual bool GetHasLineJoin() const = 0;
67 
69 virtual bool GetHasLineCap() const = 0;
70 
72 virtual bool GetHasLineWeightMM() const = 0;
73 
75 virtual bool GetHasLineStyleParams() const = 0;
76 
79 virtual bool GetHasExtLineStyle() const = 0;
80 
83 virtual void SetHasExtLineStyle (bool value) = 0;
84 
86 virtual UInt32 GetColorIndex() const = 0;
87 
89 virtual void SetColorIndex (UInt32 value) = 0;
90 
92 virtual UInt32 GetWeightIndex() const = 0;
93 
95 virtual void SetWeightIndex (UInt32 value) = 0;
96 
98 virtual Int32 GetStyleIndex() const = 0;
99 
101 virtual void SetStyleIndex (Int32 value) = 0;
102 
104 virtual Int32 GetExtLineStyleIndex() const = 0;
105 
107 virtual void SetExtLineStyleIndex (Int32 value) = 0;
108 
110 virtual Int32 GetPriority() const = 0;
111 
113 virtual void SetPriority (Int32 value) = 0;
114 
116 virtual LineStyleParamsCP GetLineStyleParams() const = 0;
117 
119 virtual void SetLineStyleParams (LineStyleParamsCP value) = 0;
120 
122 virtual PlotEdpFillDisplay GetFillDisplay() const = 0;
123 
125 virtual void SetFillDisplay (PlotEdpFillDisplay value) = 0;
126 
128 virtual UInt32 GetFillColor() const = 0;
129 
131 virtual void SetFillColor (UInt32 value) = 0;
132 
134 virtual UInt32 GetFillColorTBGR() const = 0;
135 
137 virtual void SetFillColorTBGR (UInt32 value) = 0;
138 
140 virtual UInt32 GetLineColorTBGR() const = 0;
141 
143 virtual void SetLineColorTBGR (UInt32 value) = 0;
144 
146 virtual PlotEdpLineCap GetLineCap() const = 0;
147 
149 virtual void SetLineCap (PlotEdpLineCap value) = 0;
150 
152 virtual PlotEdpLineJoin GetLineJoin() const = 0;
153 
155 virtual void SetLineJoin (PlotEdpLineJoin value) = 0;
156 
158 virtual double GetScreening() const = 0;
159 
161 virtual void SetScreening (double value) = 0;
162 
164 virtual double GetWidthMM() const = 0;
165 
167 virtual void SetWidthMM (double value) = 0;
168 
170 virtual double GetTransparency() const = 0;
171 
173 virtual void SetTransparency (double value) = 0;
174 
176 virtual void SetZeroTransparency() = 0;
177 
179 virtual Int32 GetLevel() const = 0;
180 
182 virtual bool GetIgnoreLevelSymb() const = 0;
183 
185 virtual bool GetIsRenderable() const = 0;
186 
188 virtual bool GetIsOverrideColorDefined() const = 0;
189 
195 virtual void SetIsOverrideColorDefined (bool value) = 0;
196 
198 virtual bool GetIsOverrideFillColorDefined() const = 0;
199 
205 virtual void SetIsOverrideFillColorDefined (bool value) = 0;
206 
208 virtual bool GetIsOverrideWidthDefined() const = 0;
209 
215 virtual void SetIsOverrideWidthDefined (bool value) = 0;
216 
218 virtual bool GetIsOverrideStyleDefined() const = 0;
219 
225 virtual void SetIsOverrideStyleDefined (bool value) = 0;
226 };
227 
229 
232 
#define END_PRINT_NAMESPACE
Definition: MstnTypes.h:40
PlotEdpLineJoin
IPlotElemDisplayParams line join.
Definition: IPlotElemDisplayParams.h:29
Always fill/always behind other geometry. Only applicable to geometry within a single QvElem...
#define END_BENTLEY_MSTNPLATFORM_NAMESPACE
Definition: DgnPlatform.h:30
struct DgnPlatform::LineStyleParams const * LineStyleParamsCP
Definition: DgnPlatform.h:360
Locate interiors of regions, surfaces, and solids even in wireframe and even with fill display off...
#define bsiInterface
Definition: basedefs.h:31
#define BEGIN_BENTLEY_MSTNPLATFORM_NAMESPACE
Definition: DgnPlatform.h:29
#define BEGIN_PRINT_NAMESPACE
Definition: MstnTypes.h:39
uint32_t UInt32
Definition: Bentley.r.h:128
Locate interiors according to view attributes for fill display and render mode. (Default) ...
Element display parameters used during print resymbolization.
Definition: IPlotElemDisplayParams.h:51
int32_t Int32
Definition: Bentley.r.h:119
PlotEdpLineCap
IPlotElemDisplayParams line cap.
Definition: IPlotElemDisplayParams.h:38
PlotEdpFillDisplay
IPlotElemDisplayParams fill display mode.
Definition: IPlotElemDisplayParams.h:20

Copyright © 2017 Bentley Systems, Incorporated. All rights reserved.