From 11:00 PM CST Friday, Apr 11th - 1:30 PM CST Saturday, Apr 12th, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabWindows/CVI

Content Type
Programming Language
Current manual
Table of Contents
Product DocumentationLabWindows/CVIATTR_ENABLE_ANTI_ALIASINGCurrent page
Table of Contents

ATTR_ENABLE_ANTI_ALIASING

ATTR_ENABLE_ANTI_ALIASING

Type: Control attribute
Description: Determines whether the control uses anti-aliasing. Anti-aliased drawings look smoother, but the drawing speed is significantly slower.

Note: If you enable anti-aliasing for a canvas control, thick lines are not rounded. This caveat, along with the slower drawing speed, might affect the manner in which you draw complex shapes.

LabWindows/CVI ignores this attribute for text you add using the PlotText, CanvasDrawText, and CanvasDrawTextAtPoint functions.

To enable anti-aliasing for transparent canvas controls, you must set the ATTR_DRAW_POLICY attribute to VAL_DIRECT_TO_SCREEN.

National Instruments recommends that you use anti-aliasing only for post-processed data.
Control Types: Canvases, graphs, strip charts.
Data Type: integer
Default Value: 0
LabWindows/CVI
Compatibility:
LabWindows/CVI 2012 and later

Values

0 False
1 True
In This Section
Was this information helpful?

Help us improve your future ni.com experience.

Did you find the documentation you were looking for?

Submit