 |
NAVTOR SDK
v.3.0
Software Development Kit for fast and efficient development of ECDIS, ECS and generic marine applications
|
|
Go to the documentation of this file. 1 #ifndef SDK_2D_GRAPHICS_CONSTS_H_
11 #define SDK_2D_GRAPHICS_CONSTS_H_
13 #include <base/inc/sdk_pshpack1.h>
103 SDK_PACK(
struct FontMetrics
107 float font_cap_height;
120 } TextAntiAliasingMode;
128 } TextReadingDirection;
137 } TextVerticalAlignment;
146 } TextHorizontalAlignment;
249 const LineDashPattern& pattern,
const float& limit,
const float& offset)
254 StrokeStyleOptions(
const LineCapStyle& start_cap,
const LineCapStyle& end_cap,
255 const LineCapStyle& cap,
const LineJoinStyle& join,
256 const LineDashPattern& pattern,
const float& limit,
const float& offset)
260 } StrokeStyleOptions;
269 } BitmapBrushExtendMode;
273 #include <base/inc/sdk_poppack.h>
275 #endif // SDK_2D_GRAPHICS_CONSTS_H_
@ FontStretch_SemiExpanded
Semi-expanded font.
Definition: 2d_graphics_consts.h:194
@ kPixelFormat_Index_8
index, 8 bits with additional information in palette
Definition: 2d_graphics_consts.h:28
@ BitmapBrushExtendMode_Clamp
Clamp mode.
Definition: 2d_graphics_consts.h:266
@ FontWeight_Bold
Bold font.
Definition: 2d_graphics_consts.h:167
@ AntiAliasingMode_PerPrimitive
Anti-aliasing is per-primitive.
Definition: 2d_graphics_consts.h:98
PixelFormats
Supported pixel formats for render targets.
Definition: 2d_graphics_consts.h:24
@ kPixelFormat_RGBA_8888
RGBA, 32 bits.
Definition: 2d_graphics_consts.h:26
@ FontStretch_ExtraCondensed
Extra condensed font.
Definition: 2d_graphics_consts.h:190
AntiAliasingMode
Possible anti-aliasing modes.
Definition: 2d_graphics_consts.h:95
@ FontWeight_ExtraLight
Extra light font.
Definition: 2d_graphics_consts.h:162
@ LineJoinStyle_Round
Rounded style.
Definition: 2d_graphics_consts.h:216
@ LineDashPattern_DashDot
Dash-dotted line.
Definition: 2d_graphics_consts.h:226
@ FillModeType_Unknown
Unknown fill mode type.
Definition: 2d_graphics_consts.h:43
@ TextWordWrapping_NoWrapping
No word wrapping for texts.
Definition: 2d_graphics_consts.h:152
@ FontStretch_Default
Default font stretch.
Definition: 2d_graphics_consts.h:188
@ TextAntiAliasingMode_GrayScale
Grayscale anti-aliasing.
Definition: 2d_graphics_consts.h:118
@ LineCapStyle_Square
Square line cap style.
Definition: 2d_graphics_consts.h:205
@ FontStretch_Condensed
Condensed font.
Definition: 2d_graphics_consts.h:191
@ BitmapBrushExtendMode_Repeat
Repeat mode.
Definition: 2d_graphics_consts.h:267
@ LineDashPattern_Dash
Dashed line.
Definition: 2d_graphics_consts.h:224
@ FontWeight_Default
Default font weight.
Definition: 2d_graphics_consts.h:160
@ FontStyle_Oblique
Oblique font.
Definition: 2d_graphics_consts.h:180
PathCompareResult
Possible results of graphics path compare methods.
Definition: 2d_graphics_consts.h:76
@ FinishFigureRule_CloseFigure
Figure should be closed.
Definition: 2d_graphics_consts.h:61
FillModeType
Fill mode for 2D operations.
Definition: 2d_graphics_consts.h:41
@ PathSimplifyMode_LinesAndCubicBezier
Use lines and cubic Bezier curves.
Definition: 2d_graphics_consts.h:90
@ LineDashPattern_DashDotDot
Dash-dot-dot pattern.
Definition: 2d_graphics_consts.h:227
@ FontWeight_Light
Light font.
Definition: 2d_graphics_consts.h:163
@ FillModeType_EvenOdd
Fill mode by checking even/odd intersection count.
Definition: 2d_graphics_consts.h:44
@ TextWordWrapping_Wrap
Break words if they overflows text layout.
Definition: 2d_graphics_consts.h:153
@ FontStretch_SemiCondensed
Semi-condensed font.
Definition: 2d_graphics_consts.h:192
@ TextAntiAliasingMode_ClearType
ClearType anti-aliasing.
Definition: 2d_graphics_consts.h:119
@ kPixelFormat_BGRA_8888
BGRA, 32 bits.
Definition: 2d_graphics_consts.h:27
@ StartFigureStyle_Filled
Filled figure.
Definition: 2d_graphics_consts.h:52
@ AntiAliasingMode_None
Anti-aliasing is disabled.
Definition: 2d_graphics_consts.h:97
@ FontWeight_Thin
Thin font.
Definition: 2d_graphics_consts.h:161
@ FontStretch_UltraCondensed
Ultra condensed font.
Definition: 2d_graphics_consts.h:189
@ FontStyle_Normal
Normal font.
Definition: 2d_graphics_consts.h:178
@ PathCombineMode_AND
Intersection of two paths.
Definition: 2d_graphics_consts.h:69
@ TextAntiAliasingMode_None
Text anti-aliasing is disabled.
Definition: 2d_graphics_consts.h:117
@ FontWeight_Normal
Normal font.
Definition: 2d_graphics_consts.h:164
@ FillModeType_Winding
Fill mode by checking left-to-right or right-to-left segment intersection count.
Definition: 2d_graphics_consts.h:45
Set of parameters for stroke style definition.
Definition: 2d_graphics_consts.h:233
@ TextHorizontalAlignment_Begin
Align text to leading edge (to left, if reading direction from left to right)
Definition: 2d_graphics_consts.h:143
PathCombineMode
Possible modes for combining two paths.
Definition: 2d_graphics_consts.h:66
float dash_offset
Dash offset from start point, in appropriate measurement units.
Definition: 2d_graphics_consts.h:241
StartFigureStyle
New figure style (see I2DGraphicsPathEditor::StartFigure)
Definition: 2d_graphics_consts.h:50
@ StartFigureStyle_Hollow
Hollow figure.
Definition: 2d_graphics_consts.h:53
TextHorizontalAlignment
Text horizontal alignment type.
Definition: 2d_graphics_consts.h:141
LineDashPattern dash_pattern
Dash pattern for line.
Definition: 2d_graphics_consts.h:239
@ FontWeight_ExtraBold
Extra-bold font.
Definition: 2d_graphics_consts.h:168
@ PathCompareResult_NoIntersection
Both of paths does not intersects at all.
Definition: 2d_graphics_consts.h:79
@ FinishFigureRule_LeaveOpened
Figure should be opened.
Definition: 2d_graphics_consts.h:60
TextVerticalAlignment
Text vertical alignment type.
Definition: 2d_graphics_consts.h:132
@ TextVerticalAlignment_Center
Align text to center.
Definition: 2d_graphics_consts.h:135
@ LineCapStyle_Triangle
Triangle line cap style.
Definition: 2d_graphics_consts.h:207
@ LineDashPattern_UserDefined
User defined pattern for line.
Definition: 2d_graphics_consts.h:228
@ LineDashPattern_Dot
Dotted line.
Definition: 2d_graphics_consts.h:225
@ LineJoinStyle_Miter
Miter style.
Definition: 2d_graphics_consts.h:214
LineCapStyle
Possible cap styles for line.
Definition: 2d_graphics_consts.h:202
LineJoinStyle
Describes possible types of line join styles.
Definition: 2d_graphics_consts.h:212
@ TextHorizontalAlignment_End
Align text to trailing edge (to right, if reading direction from left to right)
Definition: 2d_graphics_consts.h:145
LineCapStyle line_start_cap
Line start cap style.
Definition: 2d_graphics_consts.h:235
@ PathCompareResult_Unknown
Can't compare two graphics paths.
Definition: 2d_graphics_consts.h:78
@ LineCapStyle_Round
Round line cap style.
Definition: 2d_graphics_consts.h:206
LineCapStyle line_end_cap
Line end cap style.
Definition: 2d_graphics_consts.h:236
@ FontWeight_Medium
Medium font.
Definition: 2d_graphics_consts.h:165
@ FontWeight_Heavy
Heavy font.
Definition: 2d_graphics_consts.h:169
@ TextReadingDirection_LeftToRight
Left-to-right reading direction.
Definition: 2d_graphics_consts.h:126
@ FontStyle_Italic
Italic font.
Definition: 2d_graphics_consts.h:179
@ FontWeight_SemiBold
Semi-bold font.
Definition: 2d_graphics_consts.h:166
@ FontStretch_Expanded
Expanded font.
Definition: 2d_graphics_consts.h:195
@ BitmapBrushExtendMode_Mirror
Mirror mode.
Definition: 2d_graphics_consts.h:268
static const float kDefaultDPI
Default DPI value.
Definition: 2d_graphics_consts.h:20
@ PathCompareResult_Intersection
Graphic paths intersects, but neither completely contains the other.
Definition: 2d_graphics_consts.h:82
LineDashPattern
Describes possible types of dash pattern for line.
Definition: 2d_graphics_consts.h:221
TextWordWrapping
Text word wrapping types.
Definition: 2d_graphics_consts.h:150
BitmapBrushExtendMode
Describes possible of extend modes for bitmap based brushes.
Definition: 2d_graphics_consts.h:264
MeasurementUnits
Measurement unit types.
Definition: 2d_graphics_consts.h:33
FontStyle
Possible font styles.
Definition: 2d_graphics_consts.h:175
@ TextReadingDirection_RightToLeft
Right-to-left reading direction.
Definition: 2d_graphics_consts.h:127
@ LineDashPattern_Solid
Solid line.
Definition: 2d_graphics_consts.h:223
TextAntiAliasingMode
Possible text anti-aliasing modes.
Definition: 2d_graphics_consts.h:115
@ FontStretch_Normal
Normal font.
Definition: 2d_graphics_consts.h:193
@ FontStretch_ExtraExpanded
Extra expanded font.
Definition: 2d_graphics_consts.h:196
float miter_limit
Miter limit, in appropriate measurement units.
Definition: 2d_graphics_consts.h:240
PathSimplifyMode
Possible modes for graphics path simplification.
Definition: 2d_graphics_consts.h:87
@ PathSimplifyMode_Lines
Use only lines for simplification.
Definition: 2d_graphics_consts.h:89
@ FontStyle_Default
Default font style.
Definition: 2d_graphics_consts.h:177
@ TextVerticalAlignment_Bottom
Align text to bottom.
Definition: 2d_graphics_consts.h:136
FontWeight
Possible font weights.
Definition: 2d_graphics_consts.h:158
@ PathCombineMode_XOR
XOR operation for paths.
Definition: 2d_graphics_consts.h:70
@ PathCombineMode_EXCLUDE
Exclude common part of first and second paths from first path.
Definition: 2d_graphics_consts.h:71
@ PathCombineMode_OR
Union of two paths.
Definition: 2d_graphics_consts.h:68
FinishFigureRule
Figure finish rule (see I2DGraphicsPathEditor::FinishFigure)
Definition: 2d_graphics_consts.h:58
@ MeasurementUnits_Pixels
Device-independent pixels.
Definition: 2d_graphics_consts.h:35
FontStretch
Possible font stretches.
Definition: 2d_graphics_consts.h:186
LineCapStyle dash_cap
Dash cap style.
Definition: 2d_graphics_consts.h:237
@ FontStretch_UltraExpanded
Ultra expanded font.
Definition: 2d_graphics_consts.h:197
@ PathCompareResult_GivenPathInside
Passed input graphics path fully contains given graphics path.
Definition: 2d_graphics_consts.h:81
@ LineCapStyle_Flat
Flat line cap style.
Definition: 2d_graphics_consts.h:204
@ LineJoinStyle_Bevel
Bevel style.
Definition: 2d_graphics_consts.h:215
@ PathCompareResult_InputPathInside
Given graphics path fully contains passed input graphics path.
Definition: 2d_graphics_consts.h:80
@ TextVerticalAlignment_Top
Align text to top.
Definition: 2d_graphics_consts.h:134
@ TextHorizontalAlignment_Center
Align text to center.
Definition: 2d_graphics_consts.h:144
@ MeasurementUnits_Millimeters
Millimeters.
Definition: 2d_graphics_consts.h:36
LineJoinStyle line_join_style
Line join style.
Definition: 2d_graphics_consts.h:238
TextReadingDirection
Text reading direction types.
Definition: 2d_graphics_consts.h:124