02-01-2013 10:37 AM
I have noticed that most of the silver control parts are made from antialiased images of some sort.
If you customize a silver gauge control you can see such things as a perfectly antialiased circle component
that can be resized and maintain its antialiased look. You can also drag this circle to a labview front panel to use
as a new antialiased circle decoration. My question is what graphics format is this using? How would I create
similiar antialiased decorations like a circle with a thicker line? The only vector based graphics format that I know of that
supports antialiasing is SVG but it does not seem to be usable in LV.
Solved! Go to Solution.
02-01-2013 10:59 AM
The Silver controls use some images that are similar to the ones on the Decorations palette. They are not image files but rather "native" parts that LabVIEW draws, so they behave like vector graphics.
You can find the new decorations (such as the anti-aliased circle) attached to this document: https://decibel.ni.com/content/docs/DOC-17431 in the "New 2011 Decorations.vi."
Note that the anti-aliasing and gradients in those Decorations are Windows-only.
Unfortunately, there is no circle with a thicker line. You might be able to "fake" that appearance by layering concentric circles.
02-01-2013 11:19 AM
I suppose one of these days all of the native decorations (and picture control) will become antialiased. I just hope I am not retired by then
02-01-2013 12:54 PM
Are the super secret INI tokens the presentation in your link refers to to remain another National Instruments secret?
02-01-2013 01:04 PM
I've been pretty much giving the INI token to anyone who sends me a private message and says "I understand that the secret menu items in the Control Editor could make wonky, insane controls but I want to play with them anyway." 🙂
02-01-2013 01:09 PM
One of the worst-kept secrets at NI: http://lavag.org/topic/15869-what-exactly-is-supersecretprivatespecialstuff-for/
02-01-2013 01:19 PM
I didn't think the supersecretprivatespecialstuff worked anymore (or that there was a need for it once scripting was released)
02-01-2013 01:25 PM
Ah, you're talking about a different token. That's what I get for not following the link first.
02-03-2013 03:52 PM
Who could resist activating a token with a name like that!