LabWindows/CVI

Table of Contents
  • LabWindows/CVI Fundamentals
  • Creating Applications
  • Distributing Applications
  • Library Reference
  • Programmer Reference
  • Hardware Information

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

Log in to get a better experience