MCPcopy Index your code
hub / github.com/pyfa-org/Pyfa / CopyRegion

Method CopyRegion

gui/chrome_tabs.py:690–696  ·  view source on GitHub ↗
(self, region)

Source from the content-addressed store, hash-verified

688 return region
689
690 def CopyRegion(self, region):
691 rect = region.GetBox()
692
693 new_region = wx.Region(rect.X, rect.Y, rect.Width, rect.Height)
694 new_region.Intersect(region)
695
696 return new_region
697
698 def GetRegion(self):
699 return self.CopyRegion(self.region)

Callers 1

GetRegionMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected