Searched refs:_canvas (Results 1 – 12 of 12) sorted by relevance
/external/skqp/experimental/canvaskit/htmlcanvas/ |
D | canvas2dcontext.js | 2 this._canvas = skcanvas; 513 this._canvas.drawRect(CanvasKit.XYWHRect(x, y, width, height), this._paint); 535 this._canvas.clipPath(clip, CanvasKit.ClipOp.Intersect, true); 617 this._canvas.drawImageRect(img, srcRect, destRect, iPaint, false); 675 this._canvas.save(); 676 this._canvas.concat(this._shadowOffsetMatrix()); 677 this._canvas.drawPath(path, shadowPaint); 678 this._canvas.restore(); 681 this._canvas.drawPath(path, fillPaint); 687 this._canvas.drawRect(CanvasKit.XYWHRect(x, y, width, height), fillPaint); [all …]
|
/external/skia/modules/canvaskit/htmlcanvas/ |
D | canvas2dcontext.js | 2 this._canvas = skcanvas; 513 this._canvas.drawRect(CanvasKit.XYWHRect(x, y, width, height), this._paint); 535 this._canvas.clipPath(clip, CanvasKit.ClipOp.Intersect, true); 617 this._canvas.drawImageRect(img, srcRect, destRect, iPaint, false); 675 this._canvas.save(); 676 this._canvas.concat(this._shadowOffsetMatrix()); 677 this._canvas.drawPath(path, shadowPaint); 678 this._canvas.restore(); 681 this._canvas.drawPath(path, fillPaint); 687 this._canvas.drawRect(CanvasKit.XYWHRect(x, y, width, height), fillPaint); [all …]
|
/external/python/cpython2/Demo/tkinter/ttk/ |
D | ttkcalendar.py | 64 self._canvas['background'] = value 66 self._canvas.itemconfigure(self._canvas.text, item=value) 74 return self._canvas['background'] 76 return self._canvas.itemcget(self._canvas.text, 'fill') 120 self._canvas = canvas = Tkinter.Canvas(self._calendar, 153 canvas = self._canvas 190 self._canvas.place_forget() 198 self._canvas.place_forget()
|
/external/skia/experimental/wasm-skp-debugger/ |
D | cpu.js | 17 surface._canvas = canvas; 43 surface._canvas = null; 63 if (this._canvas) { 66 this._canvas.getContext('2d').putImageData(imageData, 0, 0);
|
/external/skia/modules/canvaskit/ |
D | cpu.js | 19 surface._canvas = canvas; 45 surface._canvas = null; 62 if (this._canvas) { 66 this._canvas.getContext('2d').putImageData(imageData, 0, 0);
|
/external/skqp/experimental/canvaskit/ |
D | cpu.js | 19 surface._canvas = canvas; 45 surface._canvas = null; 62 if (this._canvas) { 66 this._canvas.getContext('2d').putImageData(imageData, 0, 0);
|
/external/python/cpython2/Demo/turtle/ |
D | turtleDemo.py | 105 cwidth = self._canvas.winfo_width() 106 cheight = self._canvas.winfo_height() 107 self._canvas.xview_moveto(0.5*(self.canvwidth-cwidth)/self.canvwidth) 108 self._canvas.yview_moveto(0.5*(self.canvheight-cheight)/self.canvheight) 132 turtle._Screen._canvas = self._canvas = canvas = turtle.ScrolledCanvas( 136 canvas._canvas['borderwidth'] = 0 139 turtle.TurtleScreen.__init__(_s_, _s_._canvas) 140 self.scanvas = _s_._canvas
|
/external/python/cpython3/Lib/turtledemo/ |
D | __main__.py | 199 cwidth = self._canvas.winfo_width() 200 cheight = self._canvas.winfo_height() 201 self._canvas.xview_moveto(0.5*(self.canvwidth-cwidth)/self.canvwidth) 202 self._canvas.yview_moveto(0.5*(self.canvheight-cheight)/self.canvheight) 236 turtle._Screen._canvas = self._canvas = canvas = turtle.ScrolledCanvas( 240 canvas._canvas['borderwidth'] = 0 243 turtle.TurtleScreen.__init__(_s_, _s_._canvas) 244 self.scanvas = _s_._canvas
|
/external/python/cpython3/Tools/pynche/ |
D | StripViewer.py | 102 self._canvas = canvas 107 arrow = self._canvas.create_line( 114 text = self._canvas.create_text( 122 coords = list(self._canvas.coords(self._TAG)) 128 self._canvas.move(self._TAG, deltax, 0) 131 self._canvas.itemconfigure(self.__text, text=text) 138 arrow = self._canvas.create_line( 145 text = self._canvas.create_text( 154 coords = list(self._canvas.coords(self._TAG))
|
/external/python/cpython2/Tools/pynche/ |
D | StripViewer.py | 102 self._canvas = canvas 107 arrow = self._canvas.create_line( 114 text = self._canvas.create_text( 122 coords = self._canvas.coords(self._TAG) 128 self._canvas.move(self._TAG, deltax, 0) 131 self._canvas.itemconfigure(self.__text, text=text) 138 arrow = self._canvas.create_line( 145 text = self._canvas.create_text( 154 coords = self._canvas.coords(self._TAG)
|
/external/python/cpython2/Lib/lib-tk/ |
D | turtle.py | 366 self._canvas = TK.Canvas(master, width=width, height=height, 368 self.hscroll = TK.Scrollbar(master, command=self._canvas.xview, 370 self.vscroll = TK.Scrollbar(master, command=self._canvas.yview) 371 self._canvas.configure(xscrollcommand=self.hscroll.set, 375 self._canvas.grid(padx=1, in_ = self, pady=1, row=0, 392 self._canvas.config(bg=bg, 395 self._canvas.xview_moveto(0.5*(self.canvwidth - self.width + 30) / 397 self._canvas.yview_moveto(0.5*(self.canvheight- self.height + 30) / 405 cwidth = self._canvas.winfo_width() 406 cheight = self._canvas.winfo_height() [all …]
|
/external/python/cpython3/Lib/ |
D | turtle.py | 342 self._canvas = TK.Canvas(master, width=width, height=height, 344 self.hscroll = TK.Scrollbar(master, command=self._canvas.xview, 346 self.vscroll = TK.Scrollbar(master, command=self._canvas.yview) 347 self._canvas.configure(xscrollcommand=self.hscroll.set, 351 self._canvas.grid(padx=1, in_ = self, pady=1, row=0, 368 self._canvas.config(bg=bg, 371 self._canvas.xview_moveto(0.5*(self.canvwidth - self.width + 30) / 373 self._canvas.yview_moveto(0.5*(self.canvheight- self.height + 30) / 381 cwidth = self._canvas.winfo_width() 382 cheight = self._canvas.winfo_height() [all …]
|