typedef struct tagDICOMLINESTYLE
{
L_UINT uStructSize;
L_UINT uLineOptions;
L_UINT16 uPatternOnColorCieLabValue[3];
L_UINT16 uPatternOffColorCieLabValue[3];
L_FLOAT fPatternOnOpacity;
L_FLOAT fPatternOffOpacity;
L_FLOAT fLineThickness;
L_UINT uLineDashingStyle;
L_UINT uLinePattern;
DICOMSHADOWSTYLE shadowStyle;
} DICOMLINESTYLE, *pDICOMLINESTYLE;
The DICOMLINESTYLE describes the attributes of a "Line Style Sequence" (0070,0232) item.
The size of the structure (use sizeof(DICOMLINESTYLE)).
Flags that determine which optional (Type 3) structure members to apply. Possible values:
Value | Meaning |
---|---|
DICANN_LINE_OPTIONS_NONE | [0x0000] No optional line options. |
DICANN_FILL_OPTIONS_PATTERN_OFF_COLOR_CIELAB_VALUE | [0x0001] The uPatternOffColorCieLabValue member is to be used. |
DICANN_FILL_OPTIONS_PATTERN_OFF_OPACITY | [0x0002] The fPatternOffOpacity member is to be used. |
A color triplet value used to encode the foreground. The units are specified in PCS-Values, and the value is encoded as CIELab.
A color triplet value used to encode the color of parts of the line that are off, i.e., the background. The units are specified in PCS-Values, and the value is encoded as CIELab.
Encodes the foreground opacity. The value is encoded as floating point alpha value (0.0-1.0).
Encodes the background opacity. The value is encoded as floating point alpha value (0.0-1.0).
Specifies the line thickness
Flags that determine the line dashing style. Possible values:
Value | Meaning |
---|---|
DICANN_LINE_DASH_STYLE_NONE | [0x0000] No line dash style options. |
DICANN_LINE_DASH_STYLE_SOLID | [0x0001] Solid line. |
DICANN_LINE_DASH_STYLE_DASHED | [0x0002] dashed lineused. |
Pattern that defines the line dashing style. The Line Pattern is a 32 bit value. If the bit inside the pattern is set to 1 the foreground color is drawn, else the background color is drawn.
Used to specify the shadow style options DICOMSHADOWSTYLE
The DICOMLINESTYLE structure is part of the DICOMCOMPOUNDGRAPHIC structure.
For an example, refer to L_DicomGetCompoundGraphicCount.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document