This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > PainShop Pro Scripting > September 2007 > node values of single point





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author node values of single point
bruce wernick

2007-09-06, 6:17 am

I don't get this. A vector object with a single point at 90.5, 314.5 has
a path of 'None' and the node values do not appear in the ListOfObjects.

But, if I add another point to make a line, it works.

So, where are the node values of the single vector point stored?

Can someone give me a clue here.
Bruce


Vector object with Single point
-------------------------------
{'ListOfObjects': [{'TextExData': None, 'SymmetricShapeData': None,
'EllipseData': None, 'Child Count': 1, 'TextData': None, 'ObjectData':
{'Join': 0, 'ObjectName': u'0.2,50', 'Antialias': True, 'MiterLimit':
10, 'CreateAsVector': True, 'Stroke': {'Art': None, 'Color': (0, 0,
255), 'Pattern': None, 'Texture': None, 'Gradient': None, 'Identity':
u'Material'}, 'Visibility': True, 'Path': None, 'LineWidth': 2.0,
'LineStyle': {'UseSegmentCaps': False, 'Name': u'', 'FirstSegCap': None,
'FirstCap': (u'Butt', 7.21, 7.21), 'LastCap': (u'Butt', 1.0, 1.0),
'LastSegCap': None, 'Segments': None}, 'Fill': {'Art': None, 'Color':
None, 'Pattern': None, 'Texture': None, 'Gradient': None, 'Identity':
u'Material'}}, 'GroupName': None, 'Path': (0, 1, [2], False),
'RectangleData': None, 'ObjectType': u'Path'}]}


Vector object with Two points.
------------------------------
{'ListOfObjects': [{'TextExData': None, 'SymmetricShapeData': None,
'EllipseData': None, 'Child Count': 1, 'TextData': None, 'ObjectData':
{'Join': 0, 'ObjectName': u'0.2,50', 'Antialias': True, 'MiterLimit':
10, 'CreateAsVector': True, 'Stroke': {'Art': None, 'Color': (0, 0,
255), 'Pattern': None, 'Texture': None, 'Gradient': None, 'Identity':
u'Material'}, 'Visibility': True, 'Path': [(0, (90.5, 314.5)), (1,
(90.5, 314.5))], 'LineWidth': 2.0, 'LineStyle': {'UseSegmentCaps':
False, 'Name': u'', 'FirstSegCap': None, 'FirstCap': (u'Butt', 7.21,
7.21), 'LastCap': (u'Butt', 1.0, 1.0), 'LastSegCap': None, 'Segments':
None}, 'Fill': {'Art': None, 'Color': None, 'Pattern': None, 'Texture':
None, 'Gradient': None, 'Identity': u'Material'}}, 'GroupName': None,
'Path': (0, 1, [2], False), 'RectangleData': None, 'ObjectType': u'Path'}]}
Sponsored Links


Copyright 2003 - 2009 forum4designers.com  Software forum  Computer Hardware reviews