October 25, 200520 yr 1.If && is written as "ampersand amp; ampersand amp;"how is "or" written? 2.What are the parameters needed to draw a vector arc. I need a circular arc that spans 300-degrees.3.Okay, I lied about two question. Where can you find more details regarding vectors. A bit of info is found here but mostly it is a discussion between folk that already know vectors and it's hard to follow their conversation.Thanks,Glenn
October 25, 200520 yr Glenn,1. type "||"2. Arc vectors can't be drawn with a single command so far I've tested. However, as you may have found searching this forum, some tricks can be used to obtain something pretty much like of.3. Almost everything I learned about vectors was after reading dozens of messages from here. I don't know of simple tutorials for vector drawings in XML, though others maybe. It's a matter of time, patience and enthusiasm..Tom
October 25, 200520 yr Hi, you could draw a circle, then follow this code with a drawn 'filled-in' triangle with a 60 degree angle. This would act as a mask and block out that part of the circle you do not require.Or, you could use a mask bitmap. You just add the vector code to that part of the gauge where you would normally put a bitmap for the circle.cheers,nick
October 26, 200520 yr Thanks, guys,Nick, vectors would sure make for a popular tutorial, the first of its kind.Glenn
October 26, 200520 yr >Thanks, guys,>Nick, vectors would sure make for a popular tutorial, the>first of its kind.>GlennHi Glenn,Now that you know how to do it: what's holding you back in creating such a tutorial ??? :-lol I would be interested too ..Cheers, Rob
October 26, 200520 yr Such a tutorial would shorter than my article on health and hygiene, ie, if our butts and mouths were switched, we would eat less and bath more.Glenn
October 27, 200520 yr In ref. to the and/or question in the original post, you can just use "and" and "or" instead of the double ampersand or double pipe symbols. You might find it easier to read that way when working on the code. I've also found a few instances where using the symbols can cause issues in the parts xml file for interactive geometry in the VC.
October 28, 200520 yr Author Hi,Even more simple, use the "clip" command in the circle element.No need of bitmaps or masks etc.Jan"Beatus Ille Procul Negotiis" Jan "Beatus ille qui procul negotiis..."
October 28, 200520 yr Depends on the requirement I guess. Clip commands always remove a rectangle, whereas using a poly mask or better still a bitmap mask has more flexability,nick
October 28, 200520 yr Author Nick,Completely right.But if one only needs an arc mode in the HSI the "clip" is just easy.Jan"Beatus Ille Procul Negotiis" Jan "Beatus ille qui procul negotiis..."
Create an account or sign in to comment