def parseSVGByXMLElement(self, xmlElement):
		"Parse SVG by xmlElement."
		self.sliceDictionary = svg_writer.getSliceDictionary(xmlElement)
		self.yAxisPointingUpward = euclidean.getBooleanFromDictionary(False, self.sliceDictionary, 'yAxisPointingUpward')
		self.processXMLElement(xmlElement)
		if not self.yAxisPointingUpward:
			for rotatedLoopLayer in self.rotatedLoopLayers:
				self.flipDirectLayer(rotatedLoopLayer)
示例#2
0
	def parseSVGByElementNode(self, elementNode):
		"Parse SVG by elementNode."
		self.sliceDictionary = svg_writer.getSliceDictionary(elementNode)
		self.yAxisPointingUpward = euclidean.getBooleanFromDictionary(False, self.sliceDictionary, 'yAxisPointingUpward')
		self.processElementNode(elementNode)
		if not self.yAxisPointingUpward:
			for loopLayer in self.loopLayers:
				self.flipDirectLayer(loopLayer)
示例#3
0
	def parseSVGByElementNode(self, elementNode):
		"Parse SVG by elementNode."
		self.sliceDictionary = svg_writer.getSliceDictionary(elementNode)
		self.yAxisPointingUpward = euclidean.getBooleanFromDictionary(False, self.sliceDictionary, 'yAxisPointingUpward')
		self.processElementNode(elementNode)
		if not self.yAxisPointingUpward:
			for loopLayer in self.loopLayers:
				self.flipDirectLayer(loopLayer)
示例#4
0
 def parseSVGByXMLElement(self, xmlElement):
     "Parse SVG by xmlElement."
     self.sliceDictionary = svg_writer.getSliceDictionary(xmlElement)
     self.yAxisPointingUpward = euclidean.getBooleanFromDictionary(
         False, self.sliceDictionary, 'yAxisPointingUpward')
     self.processXMLElement(xmlElement)
     if not self.yAxisPointingUpward:
         for rotatedLoopLayer in self.rotatedLoopLayers:
             self.flipDirectLayer(rotatedLoopLayer)
示例#5
0
文件: group.py 项目: folksjos/RepG
	def getVisible(self):
		"Get visible."
		return euclidean.getBooleanFromDictionary(self.getAttributeDictionary(), 'visible')
示例#6
0
	def getVisible(self):
		"Get visible."
		return euclidean.getBooleanFromDictionary(True, self.getAttributes(), 'visible')
示例#7
0
文件: group.py 项目: mezl/ReplicatorG
 def getVisible(self):
     "Get visible."
     return euclidean.getBooleanFromDictionary(True, self.getAttributes(), "visible")