VECTORBRUSH

Summary

The VECTORBRUSH structure holds information about the brush used to draw a vector object.

Syntax

typedef struct _VECTORBRUSH 
{ 
   L_INT nSize; 
   VECTORBRUSHSTYLE VectorBrushStyle; 
   union 
   { 
      STANDARDBRUSH StandardBrush; 
      HATCHBRUSH HatchBrush; 
      PATTERNBRUSH PatternBrush; 
      GRADIENTBRUSH GradientBrush; 
   } BrushType; 
} VECTORBRUSH,  *pVECTORBRUSH; 

Members

L_INT nSize

Size of this structure. Used for versioning.

VECTORBRUSHSTYLE VectorBrushStyle

Value that indicates the brush style. Possible values are:

Value Meaning
VECTORBRUSH_STANDARD Standard brush
VECTORBRUSH_PATTERN Pattern brush
VECTORBRUSH_GRADIENT Gradient brush
VECTORBRUSH_HATCH Hatched brush

BrushType

Union of structures. The type of structure in this member depends on the value of the VectorBrushStyle member.

if VectorBrushStyle is: BrushType contains a structure of type:
VECTORBRUSH_STANDARD STANDARDBRUSH
VECTORBRUSH_PATTERN PATTERNBRUSH
VECTORBRUSH_GRADIENT GRADIENTBRUSH
VECTORBRUSH_HATCH HATCHDBRUSH

Usage

Data Types

Functions

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

LEADTOOLS Vector C++ Class Library Help

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