Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.10.23
LEADTOOLS Vector C++ Class Library Help

VECTOR_ANTIALIASING

Show in webframe

typedef struct _VECTOR_ANTIALIASING
{
   L_UINT uThreshold;
   L_UINT uDim;
   L_UINT uFilter;

}VECTOR_ANTIALIASING, *pVECTOR_ANTIALIASING;

The VECTOR_ANTIALIASING structure is used in the vector display options to apply the anti-aliasing effect to the vector image being displayed.

Member

Description

uThreshold

Threshold value that indicates which pixels to smooth. The application of the anti-aliasing filter on the image associates a value with each pixel. Only pixels with values above this threshold are smoothed.

uDim

Value that indicates the size of the anti-aliasing mask. For example, a value of three indicates an anti-aliasing mask of 3 X 3.

uFilter

Flag that indicates the type of anti-aliasing filter to use. Possible values are:

 

Value

Meaning

 

ANTIALIAS_1

[0x0000] Anti-alias the bitmap vertically and horizontally.

 

ANTIALIAS_2

[0x0001] Anti-alias the bitmap in all directions.

 

ANTIALIAS_3

[0x0002] Anti-alias the bitmap in all directions. The filter used for this option is different from the filter used for the ANTIALIAS_2 option.

 

ANTIALIAS_DIAG

[0x0003] Anti-alias the bitmap diagonally.

 

ANTIALIAS_HORZ

[0x0004] Anti-alias the bitmap horizontally.

 

ANTIALIAS_VERT

[0x0005] Anti-alias the bitmap vertically.

Comments

pVECTOR_ANTIALIASING is a pointer to a VECTOR_ANTIALIASING structure. Where the function parameter type is pVECTOR_ANTIALIASING, you can declare a VECTOR_ANTIALIASING variable, update the structure's fields, and pass the variable's address in the parameter. Declaring a pVECTOR_ANTIALIASING variable is necessary only if your program requires a pointer.

This structure uses the data members the same way as the function LBitmap::AntiAlias. For more information about using LBitmap::AntiAlias, please refer to the LEADTOOLS Raster C++ Class Library Help File, Ltclibn.chm.

The VECTOR_ANTIALIASING structure is used with the VECTOR_DISPLAY_OPTIONS structure.

Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.