Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)

src/e/d/editxt-HEAD/editxt/controls/splitview.py   editxt(Download)
    def drawRect_(self, rect):
        img = self.bgimage
        rct = fn.NSMakeRect(0, 0, img.size().width, img.size().height)
        img.drawInRect_fromRect_operation_fraction_(
            self.bounds(), rct, ak.NSCompositeSourceAtop, 1.0)