LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to disable anti-aliasing in picture control?

Hi,
 
Is it possible to disable anti-aliasing in the picture control?
 
If you look at the attached example you will see in the first picture control with 6X zoom has anti-aliasing and the pixmap(2dArray) has no anti-aliasing.
 
And I found a bug in the draw rectangle, it is 1 pixel smaller in x and y .  
 
Thanks
 
Dany
LabVIEW ChampionArchitect
0 Kudos
Message 1 of 4
(3,262 Views)
Hi Dany,

If you remove the Draw Flattened Pixmap.vi, the image displays aliased.  You will need to increase the width of the pen that you are using to draw the lines.  Can you go into more detail about the bug you were talking about?
0 Kudos
Message 2 of 4
(3,247 Views)
If you check at the code the rectangle bound is 0,0,33,33 and the redline end point is 0,32 and they intersect at 0,32. You need to create the rectangle 1 pixel larger to get the good dimension.
 
For the zoom representation, finaly a will use the 2D array of color control to get a zoom view of my icon.
 
Thanks
 
Dany
 
  
LabVIEW ChampionArchitect
0 Kudos
Message 3 of 4
(3,230 Views)
I understand now.  I will be submitting your bug to R&D.
0 Kudos
Message 4 of 4
(3,214 Views)