DICOMLINESTYLE

Summary

The DICOMLINESTYLE describes the attributes of a "Line Style Sequence" (0070,0232) item.

Syntax

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; 

Members

uStructSize

The size of the structure (use sizeof(DICOMLINESTYLE)).

uLineOptions

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.

uPatternOnColorCieLabValue

A color triplet value used to encode the foreground. The units are specified in PCS-Values, and the value is encoded as CIELab.

uPatternOffColorCieLabValue

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.

fPatternOnOpacity

Encodes the foreground opacity. The value is encoded as floating point alpha value (0.0-1.0).

fPatternOffOpacity

Encodes the background opacity. The value is encoded as floating point alpha value (0.0-1.0).

fLineThickness

Specifies the line thickness

uLineDashingStyle

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 line used.

uLinePattern

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.

shadowStyle

Used to specify the shadow style options DICOMSHADOWSTYLE

Usage

See Also

Functions

Topics

Example

For an example, refer to L_DicomGetCompoundGraphicCount.

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS DICOM C API Help

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.