ATTR_ENABLE_ANTI_ALIASING
- Updated2023-02-21
- 1 minute(s) read
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 |