Home
last modified time | relevance | path

Searched refs:_canvas (Results 1 – 17 of 17) sorted by relevance

/third_party/skia/modules/canvaskit/htmlcanvas/
Dcanvas2dcontext.js2 this._canvas = skcanvas;
494 this._canvas.drawRect(CanvasKit.XYWHRect(x, y, width, height), this._paint);
516 this._canvas.clipPath(clip, CanvasKit.ClipOp.Intersect, true);
588 this._canvas.drawImageRect(img, srcRect, destRect, iPaint, false);
646 this._canvas.save();
648 this._canvas.drawPath(path, shadowPaint);
649 this._canvas.restore();
652 this._canvas.drawPath(path, fillPaint);
661 this._canvas.save();
663 this._canvas.drawRect(CanvasKit.XYWHRect(x, y, width, height), shadowPaint);
[all …]
/third_party/flutter/skia/modules/canvaskit/htmlcanvas/
Dcanvas2dcontext.js2 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 …]
/third_party/skia/modules/canvaskit/
Dcpu.js22 surface._canvas = canvas;
56 surface._canvas = null;
80 if (this._canvas) {
85 this._canvas.getContext('2d').putImageData(imageData, 0, 0);
87 this._canvas.getContext('2d').putImageData(imageData, 0, 0,
/third_party/flutter/skia/experimental/wasm-skp-debugger/
Dcpu.js16 surface._canvas = canvas;
42 surface._canvas = null;
62 if (this._canvas) {
65 this._canvas.getContext('2d').putImageData(imageData, 0, 0);
/third_party/skia/experimental/wasm-skp-debugger/
Dcpu.js16 surface._canvas = canvas;
43 surface._canvas = null;
63 if (this._canvas) {
66 this._canvas.getContext('2d').putImageData(imageData, 0, 0);
/third_party/flutter/skia/modules/canvaskit/
Dcpu.js19 surface._canvas = canvas;
45 surface._canvas = null;
62 if (this._canvas) {
66 this._canvas.getContext('2d').putImageData(imageData, 0, 0);
/third_party/skia/experimental/skottiekit/
Dcpu.js19 surface._canvas = canvas;
45 surface._canvas = null;
62 if (this._canvas) {
66 this._canvas.getContext('2d').putImageData(imageData, 0, 0);
/third_party/flutter/engine/flutter/lib/web_ui/lib/src/engine/compositor/
Dsurface.dart43 SkCanvas _canvas;
47 if (size == _canvas?.size) {
48 return _canvas;
57 _canvas = SkCanvas(skCanvas, htmlCanvas, surface, size);
58 return _canvas;
/third_party/flutter/engine/flutter/lib/web_ui/lib/src/engine/surface/
Dpicture.dart130 _canvas = canvas;
132 rootElement.append(_canvas.rootElement);
133 picture.recordingCanvas.apply(_canvas);
167 final BitmapCanvas oldCanvas = existingSurface._canvas;
191 if (_canvas is! BitmapCanvas) {
195 final BitmapCanvas bitmapCanvas = _canvas;
213 _canvas = DomCanvas();
215 rootElement.append(_canvas.rootElement);
216 picture.recordingCanvas.apply(_canvas);
236 _canvas = oldCanvas;
[all …]
Dsurface.dart361 if (surface._canvas is DomCanvas) {
366 if (surface._canvas is BitmapCanvas) {
/third_party/python/Lib/turtledemo/
D__main__.py206 cwidth = self._canvas.winfo_width()
207 cheight = self._canvas.winfo_height()
208 self._canvas.xview_moveto(0.5*(self.canvwidth-cwidth)/self.canvwidth)
209 self._canvas.yview_moveto(0.5*(self.canvheight-cheight)/self.canvheight)
243 turtle._Screen._canvas = self._canvas = canvas = turtle.ScrolledCanvas(
247 canvas._canvas['borderwidth'] = 0
250 turtle.TurtleScreen.__init__(_s_, _s_._canvas)
251 self.scanvas = _s_._canvas
/third_party/python/Tools/pynche/
DStripViewer.py102 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))
/third_party/python/Lib/
Dturtle.py343 self._canvas = TK.Canvas(master, width=width, height=height,
345 self.hscroll = TK.Scrollbar(master, command=self._canvas.xview,
347 self.vscroll = TK.Scrollbar(master, command=self._canvas.yview)
348 self._canvas.configure(xscrollcommand=self.hscroll.set,
352 self._canvas.grid(padx=1, in_ = self, pady=1, row=0,
369 self._canvas.config(bg=bg,
372 self._canvas.xview_moveto(0.5*(self.canvwidth - self.width + 30) /
374 self._canvas.yview_moveto(0.5*(self.canvheight- self.height + 30) /
382 cwidth = self._canvas.winfo_width()
383 cheight = self._canvas.winfo_height()
[all …]
/third_party/flutter/engine/flutter/lib/web_ui/lib/src/ui/
Dcanvas.dart99 engine.RecordingCanvas _canvas;
107 _canvas = engine.RecordingCanvas(cullRect);
108 return _canvas;
134 return Picture._(_canvas, cullRect);
156 engine.RecordingCanvas _canvas;
176 _canvas = recorder.beginRecording(cullRect);
188 _canvas.save();
311 _canvas.saveLayerWithoutBounds(paint);
315 _canvas.saveLayer(bounds, paint);
326 _canvas.restore();
[all …]
/third_party/flutter/engine/flutter/lib/web_ui/lib/src/engine/
Dbitmap_canvas.dart28 html.CanvasElement _canvas;
103 _canvas = html.CanvasElement(
107 _canvas.style
111 _ctx = _canvas.context2D;
112 rootElement.append(_canvas);
126 _canvas.width = _canvas.height = 0;
147 if (_canvas != null) {
148 _canvas.style.transformOrigin = '';
149 _canvas.style.transform = '';
206 html.CanvasElement get canvas => _canvas;
/third_party/flutter/flutter/packages/flutter/lib/src/rendering/
Dobject.dart197 assert(_canvas == null || _canvas.getSaveCount() == 1);
236 final bool hasCanvas = _canvas != null;
241 assert(_canvas != null);
245 assert(_canvas == null);
255 Canvas _canvas;
264 if (_canvas == null)
266 return _canvas;
273 _canvas = Canvas(_recorder);
312 _canvas = null;
/third_party/flutter/engine/flutter/shell/platform/fuchsia/flutter/
Dcompilation_trace.txt4193 package:flutter/src/rendering/object.dart,PaintingContext,get:_canvas
4207 package:flutter/src/rendering/object.dart,PaintingContext,set:_canvas