UI Interest Group Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Silver Controls Antialiased parts

Solved!
Go to solution

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.

0 Kudos
Message 1 of 9
(8,406 Views)
Solution
Accepted by topic author viScience

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.


Christina Rogers
Principal Product Owner, LabVIEW R&D
0 Kudos
Message 2 of 9
(4,951 Views)

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

Message 3 of 9
(4,951 Views)

Are the super secret INI tokens the presentation in your link refers to to remain another National Instruments secret?

"All truths are easy to understand once they are discovered; the point is to discover them." -- Galileo Galilei

0 Kudos
Message 4 of 9
(4,951 Views)

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." 🙂


Christina Rogers
Principal Product Owner, LabVIEW R&D
0 Kudos
Message 5 of 9
(4,951 Views)
0 Kudos
Message 6 of 9
(4,951 Views)

I didn't think the supersecretprivatespecialstuff worked anymore (or that there was a need for it once scripting was released)

"All truths are easy to understand once they are discovered; the point is to discover them." -- Galileo Galilei

0 Kudos
Message 7 of 9
(4,951 Views)

Ah, you're talking about a different token. That's what I get for not following the link first.

0 Kudos
Message 8 of 9
(4,951 Views)

Who could resist activating a token with a name like that!

Troy - CLD "If a hammer is the only tool you have, everything starts to look like a nail." ~ Maslow/Kaplan - Law of the instrument
0 Kudos
Message 9 of 9
(4,951 Views)