I'm trying to get individual characters out of a QT polygon. Is there a way
to check that which polygons are connected to which strings.
font = QtGui.QFont("Arial", 40)
stringA = "This is a test"
path = QtGui.QPainterPath()
path.addText(QtCore.QPointF(0, 0), font, stringA)
poly = path.toSubpathPolygons()
This way I get the polygons. Then I want to check if each polygon in the
array is it inside the next one. For example if I have an " *i* " or an "
*o* " character they are created of 2 polygons. Is there a way to determine
this.
Janos
--
You received this message because you are subscribed to the Google Groups
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/python_inside_maya/dd4c694b-e1c0-475f-bd16-ea0d9dffec69%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.