
Public Types | |
enum | Cap : uint { Butt = 0x00000000, Square = 0x00000001, Round = 0x00000002, Mitre = 0x00000003 } |
enum | Default : uint { Default.Solid = 0x00000000, Default.DashDot = 0x00000001, Default.Dashed = 0x00000002, Default.Dotted = 0x00000003, Default.Dash2Dot = 0x00000004, Default.Dash3Dot = 0x00000005, Default.LongDash = 0x00000006, Default.LongDashShortDash = 0x00000007, Default.LongDash2ShortDash = 0x00000008, Default.FineDot = 0x00000009 } |
enum | InsetBehavior : uint { InsetBehavior.Overlap = 0x00000000, InsetBehavior.Trim = 0x00000001, InsetBehavior.Inline = 0x00000002 } |
enum | Join : uint { Join.Mitre = 0x00000000, Join.Round = 0x00000001, Join.Bevel = 0x00000002 } |
enum | Justification : uint { Center = 0x00000000, Stretch = 0x00000001 } |
enum | Modifier : uint { Modifier.GlyphName = 0x00000000, Modifier.Enumerated = 0x00000001 } |
enum | SizeUnits : uint { SizeUnits.ObjectSpace = 0x00000000, SizeUnits.SubscreenRelative = 0x00000001, SizeUnits.WindowRelative = 0x00000002, SizeUnits.WorldSpace = 0x00000003, SizeUnits.Points = 0x00000004, SizeUnits.Pixels = 0x00000005, SizeUnits.ScaleFactor = 0x00000006 } |
Public Member Functions | |
virtual void | Dispose () |
LinePattern (HPS.LinePattern in_that) | |
Protected Member Functions | |
virtual void | deleteCptr () |
Protected Attributes | |
bool | cMemOwn |
HandleRef | cptr |
Detailed Description
The LinePattern class is a concept class for line-pattern-related enum classes.
Member Enumeration Documentation
◆ Cap
|
strong |
Enumerates the predefined cap types that can be used at the ends of line segments within a line pattern.
◆ Default
|
strong |
Enumerates the predefined line patterns in Visualize. These can be accessed via the LinePatternKit.GetDefault function and their appearance can be seen here. Hardware acceleration for line patterns is available when the following conditions are met:You are using the DirectX11 or OpenGL2 driver You are using Visualize 2015 or later Segment-level display lists are active The line weight is 1 The following line patterns can be hardware accelerated: Dashed, Dotted, DashDot, Dash2Dot, Dash3Dot, LongDash, FineDot. The pattern does not continue along adjacent edges. The pattern is restarted for each edge.
◆ InsetBehavior
|
strong |
Enumerates how glyphs interact with other line pattern elements within a line pattern.
Enumerator | |
---|---|
Overlap | Glyphs will overlap with surrounding line pattern elements. Line pattern elements adjacent to glyphs will not be trimmed. |
Trim | Glyphs will overlap with surrounding line pattern elements. Line pattern elements adjacent to glyphs will be trimmed. |
Inline | Glyphs will not overlap with surrounding line pattern elements, and adjacent line pattern elements will not be trimmed. |
◆ Join
|
strong |
Enumerates the types of join to use for a line pattern. Joins will always be mitred at the half angle for the smaller angle defined by two line segments. This enumeration defines what the join will look like for the larger angle defined by two line segments.
◆ Justification
|
strong |
Enumerates the justfication modes for a line pattern. These are used to attempt to make the line pattern appear evenly spaced between end points of a line.
◆ Modifier
|
strong |
◆ SizeUnits
|
strong |
Enumerates the units used when specifying length, weight and offsets for line patterns.
Enumerator | |
---|---|
ObjectSpace | Object space units ignoring any scaling components in modelling matrices. |
SubscreenRelative | Fraction of the height of the outermost window. |
WindowRelative | Fraction of the height of the local window. |
WorldSpace | Object space units including any scaling components in modelling matrices and cameras. |
Points | Points units typically used for text size. 1 point corresponds to 1/72 inch. |
Pixels | Number of pixels. |
ScaleFactor | Fraction of the default line width. A value of 1 corresponds to 0.1 percent of the screen size. |
The documentation for this class was generated from the following file:
- internals/hps_core/source/cs/HPS.LinePattern.cs