ElementPropertyUtils.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\MstnTypes.h>
11 
12 
15 
16 /*=================================================================================**/
20 {
21 public:
22 
26 MSCORE_EXPORT static void ApplyActiveSettings (EditElementHandleR eeh);
27 
31 MSCORE_EXPORT static void ApplyActiveAreaSettings(EditElementHandleR eeh, int fillMode);
32 
33 /*---------------------------------------------------------------------------------**/
42 MSCORE_EXPORT static bool ApplyActiveAreaFill (EditElementHandleR eeh, int fillMode);
43 
44 /*---------------------------------------------------------------------------------**/
52 MSCORE_EXPORT static bool ApplyActiveSolidFill (EditElementHandleR eeh);
53 
54 /*---------------------------------------------------------------------------------**/
62 MSCORE_EXPORT static bool ApplyActiveGradientFill (EditElementHandleR eeh);
63 
64 /*---------------------------------------------------------------------------------**/
80 MSCORE_EXPORT static bool ApplyActivePattern (EditElementHandleR eeh, PatternParamsP paramsP, DwgHatchDefLineP hatchDefLinesP, int option, DPoint3dP originP, RotMatrixP rMatrix, int line1, int line2, int index = 0);
81 
82 }; // ElementPropertyUtils
83 
86 
3x3 matrix commonly used for pure rotations, but in general may also have scales and non-perpendicula...
Definition: rotmatrix.h:21
#define END_BENTLEY_MSTNPLATFORM_NAMESPACE
Definition: DgnPlatform.h:30
Each member of the PatternParams structure has a corresponding bit in PatternParamsModifierFlags that...
Definition: AreaPattern.h:116
#define BEGIN_BENTLEY_MSTNPLATFORM_NAMESPACE
Definition: DgnPlatform.h:29
A writeable "handle" to an MSElement.
Definition: ElementHandle.h:470
3d point coordinates.
Definition: dpoint3d.h:19
#define BEGIN_ELEMENT_NAMESPACE
Definition: MstnTypes.h:19
Definition: ElementPropertyUtils.h:19
DWG Style Hatch Definition.
Definition: AreaPattern.h:29
#define END_ELEMENT_NAMESPACE
Definition: MstnTypes.h:20

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