MCPcopy
hub / github.com/scottbez1/splitflap / copy

Method copy

thirdparty/panelize.py:977–984  ·  view source on GitHub ↗
( self, trans )

Source from the content-addressed store, hash-verified

975 return area.is_inside( self.at )
976
977 def copy( self, trans ):
978 obj = GrText( self.obj_name )
979 obj.text = self.text
980 obj.set( "at", trans.vector( self.at ) )
981 obj.set( "layer", trans.layer( self.layer ) )
982 obj.set( "tstamp", self.tstamp.clone() )
983 obj.set( "effects", self.effects.copy( trans ) )
984 return obj
985
986
987class FpArc( KicadFatObj ):

Callers

nothing calls this directly

Calls 6

GrTextClass · 0.85
setMethod · 0.80
vectorMethod · 0.80
layerMethod · 0.80
cloneMethod · 0.45
copyMethod · 0.45

Tested by

no test coverage detected