Did I find the right examples for you? yes no Crawl my project Python Jobs
All Samples(4) | Call(4) | Derive(0) | Import(0)
src/s/k/SkeinFox-HEAD/2010-02-25_skeinforge_withRaftless/skeinforge_tools/analyze_plugins/vectorwrite.py SkeinFox(Download)
loopString += self.getSVGLoopString( loop ) + ' ' if len( loopString ) > 0: self.addLine( pathStart + loopString[ : - 1 ] + '"/>' ) def addPaths( self, colorName, paths, pathStart ):
pathString += self.getSVGPathString( path ) + ' ' if len( pathString ) > 0: self.addLine( pathStart + pathString[ : - 1 ] + '" fill="none" stroke="%s"/>' % colorName ) def addRotatedLoopLayer( self, z ):
self.addPaths( '#f00', rotatedBoundaryLayer.outerPerimeters, pathStart ) #red self.addPaths( '#f5c', rotatedBoundaryLayer.paths, pathStart ) #light violetred self.addLine( '\t\t</g>' ) def addToLoops( self ):
src/s/k/SkeinFox-HEAD/2010-02-25_skeinforge_withRaftless/skeinforge_tools/craft_plugins/carve.py SkeinFox(Download)
def addRotatedLoopLayerToOutput( self, layerIndex, rotatedBoundaryLayer ): "Add rotated boundary layer to the output." self.addLayerBegin( layerIndex, rotatedBoundaryLayer.z ) if rotatedBoundaryLayer.rotation != None: self.addLine('\t\t\t<!--bridgeRotation--> %s' % rotatedBoundaryLayer.rotation ) # Indicate the bridge rotation.