VECTOR_ANTIALIASING

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.

Members

L_UINT 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.

L_UINT 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.

L_UINT 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 L_AntiAliasBitmap. For more information about using L_AntiAliasBitmap, please refer to the LEADTOOLS Raster C API Help File.

The VECTOR_ANTIALIASING structure is used with the VECTOR_DISPLAY_OPTIONS structure.

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

LEADTOOLS Vector C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.