DICOMFILLSTYLE

typedef struct tagDICOMFILLSTYLE 
{ 
   L_UINT uStructSize; 
   L_UINT uFillOptions; 
   L_UINT16 uPatternOnColorCieLabValue[3]; 
   L_UINT16 uPatternOffColorCieLabValue[3]; 
   L_FLOAT fPatternOnOpacity; 
   L_FLOAT fPatternOffOpacity; 
   L_UINT uFillMode; 
   L_UCHAR uFillPattern[128]; 
   DICOMSHADOWSTYLE shadowStyle; 
} DICOMFILLSTYLE, *pDICOMFILLSTYLE; 

The DICOMFILLSTYLE describes the attributes of a "Fill Style Sequence" (0070,0233) item.

Members

uStructSize

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

uFillOptions

Flags that determine which optional (Type 3) structure members to apply. Possible values:

Value Meaning
DICANN_FILL_OPTIONS_NONE [0x0000] No optional fill 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 color. The units are specified in PCS-Values, and the value is encoded as CIELab.

uPatternOffColorCieLabValue

A color triplet value used to encode the background color. 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).

uFillMode

Flags that determine the texture of the closed object to be displayed. Possible values:

Value Meaning
DICANN_FILL_MODE_NONE [0x0000] No flag specified.
DICANN_FILL_MODE_SOLID [0x0001] The fill mode is solid.
DICANN_FILL_MODE_STIPPELED [0x0002] The fill mode is stippled.

uFillPattern

A binary fill pattern. A set bit corresponds to foreground. An unset bit corresponds to background. A 128 byte value defining a 32x32 1 bit matrix. This fill pattern is replicated in tiles inside the boundaries of the graphic type. The most significant bit corresponds to the leftmost pixel in the row. The fill pattern relates to display pixels where one bit value corresponds to one display pixel

Comments

The DICOMFILLSTYLE structure is part of the DICOMCOMPOUNDGRAPHIC structure.

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

LEADTOOLS DICOM C API Help