Home
last modified time | relevance | path

Searched refs:Canvas (Results 1 – 25 of 254) sorted by relevance

1234567891011

/third_party/flutter/engine/flutter/lib/ui/painting/
Dcanvas.cc28 IMPLEMENT_WRAPPERTYPEINFO(ui, Canvas);
31 V(Canvas, save) \
32 V(Canvas, saveLayerWithoutBounds) \
33 V(Canvas, saveLayer) \
34 V(Canvas, restore) \
35 V(Canvas, getSaveCount) \
36 V(Canvas, translate) \
37 V(Canvas, scale) \
38 V(Canvas, rotate) \
39 V(Canvas, skew) \
[all …]
Dcanvas.h25 class Canvas : public RefCountedDartWrappable<Canvas> {
27 FML_FRIEND_MAKE_REF_COUNTED(Canvas);
30 static fml::RefPtr<Canvas> Create(PictureRecorder* recorder,
36 ~Canvas() override;
173 explicit Canvas(SkCanvas* canvas);
Dpicture_recorder.h16 class Canvas; variable
32 void set_canvas(fml::RefPtr<Canvas> canvas) { canvas_ = std::move(canvas); } in set_canvas()
41 fml::RefPtr<Canvas> canvas_;
/third_party/flutter/engine/flutter/testing/dart/
Dcanvas_test.dart13 typedef CanvasCallback = void Function(Canvas canvas);
17 callback(Canvas(PictureRecorder(), const Rect.fromLTRB(0.0, 0.0, 0.0, 0.0)));
32 final Canvas recorderCanvas = Canvas(recorder);
37 try { Canvas(null, null); } catch (error) { } // ignore: empty_catches
38 try { Canvas(null, rect); } catch (error) { } // ignore: empty_catches
39 try { Canvas(PictureRecorder(), null); } catch (error) { } // ignore: empty_catches
40 try { Canvas(PictureRecorder(), rect); } catch (error) { } // ignore: empty_catches
49 testCanvas((Canvas canvas) => canvas.clipPath(path));
50 testCanvas((Canvas canvas) => canvas.clipRect(rect));
51 testCanvas((Canvas canvas) => canvas.clipRRect(rrect));
[all …]
/third_party/skia/modules/canvaskit/
Dinterface.js451 CanvasKit.Canvas.prototype.clear = function(color4f) { class
457 CanvasKit.Canvas.prototype.clipRRect = function(rrect, op, antialias) {
463 CanvasKit.Canvas.prototype.clipRect = function(rect, op, antialias) {
471 CanvasKit.Canvas.prototype.concat = function(matr) {
477 CanvasKit.Canvas.prototype.drawArc = function(oval, startAngle, sweepAngle, useCenter, paint) {
487 CanvasKit.Canvas.prototype.drawAtlas = function(atlas, srcRects, dstXforms, paint,
543 CanvasKit.Canvas.prototype.drawCircle = function(cx, cy, r, paint) {
548 CanvasKit.Canvas.prototype.drawColor = function(color4f, mode) {
558 CanvasKit.Canvas.prototype.drawColorInt = function(color, mode) {
563 CanvasKit.Canvas.prototype.drawColorComponents = function(r, g, b, a, mode) {
[all …]
/third_party/flutter/skia/platform_tools/android/apps/skar_java/src/main/java/com/google/skar/examples/helloskar/rendering/
DDrawManager.java23 import android.graphics.Canvas;
108 public void drawCircle(Canvas canvas) { in drawCircle()
128 public void drawAnimatedRoundRect(Canvas canvas, float radius) { in drawAnimatedRoundRect()
144 public void drawRect(Canvas canvas) { in drawRect()
161 public void drawText(Canvas canvas, String text) { in drawText()
187 public void drawFingerPainting(Canvas canvas) { in drawFingerPainting()
255 public void drawPointCloud(Canvas canvas, PointCloud cloud) { in drawPointCloud()
286 public void drawPlanes(Canvas canvas, Pose cameraPose, Collection<Plane> allPlanes) { in drawPlanes()
321 private void drawPlaneOutline(Canvas canvas, android.graphics.Matrix mvpv, Plane plane) { in drawPlaneOutline()
365 private void drawPlaneWithShader(Canvas canvas, android.graphics.Matrix mvpv, Plane plane) { in drawPlaneWithShader()
/third_party/flutter/flutter/packages/flutter/test/rendering/
Dmock_canvas.dart22 /// void function(Canvas canvas);
73 typedef _CanvasPainterFunction = void Function(Canvas canvas);
85 /// Calls are skipped until a call to [Canvas.transform] is found. The call's
87 /// no call to [Canvas.transform] is found, then the matcher fails.
100 /// Calls are skipped until a call to [Canvas.translate] is found. The call's
102 /// no call to [Canvas.translate] is found, then the matcher fails.
107 /// Calls are skipped until a call to [Canvas.scale] is found. The call's
109 /// no call to [Canvas.scale] is found, then the matcher fails.
114 /// Calls are skipped until a call to [Canvas.rotate] is found. If the `angle`
116 /// fails to match, or if no call to [Canvas.rotate] is found, then the
[all …]
Drecording_canvas.dart40 /// A [Canvas] for tests that records its method calls.
43 /// to record the [Canvas] method calls made by a renderer. For example:
54 /// [Canvas] methods the test is checking and squirrels away the parameters
59 class TestRecordingCanvas implements Canvas {
99 final Canvas canvas;
/third_party/skia/platform_tools/android/apps/AndroidKit/src/main/java/org/skia/androidkit/
DSurface.java14 import org.skia.androidkit.Canvas;
49 public Canvas getCanvas() { in getCanvas()
52 return new Canvas(this, nGetNativeCanvas(mNativeInstance)); in getCanvas()
DSkottieAnimation.java10 import org.skia.androidkit.Canvas;
76 public void render(Canvas canvas) { in render()
/third_party/skia/platform_tools/android/apps/androidkitdemo/src/main/java/org/skia/androidkitdemo1/samples/
DSample.java10 import org.skia.androidkit.Canvas;
16 public void render(Canvas canvas, long t, float left, float top, float right, float bottom); in render()
DImageShaderSample.java12 import org.skia.androidkit.Canvas;
34 public void render(Canvas canvas, long t, float left, float top, float right, float bottom) { in render()
DRuntimeSample.java14 import org.skia.androidkit.Canvas;
37 public void render(Canvas canvas, long ms, float left, float top, float right, float bottom) { in render()
DSkottieSample.java14 import org.skia.androidkit.Canvas;
38 public void render(Canvas canvas, long ms, float left, float top, float right, float bottom) { in render()
/third_party/flutter/flutter/packages/flutter/test/painting/
Dbox_decoration_test.dart19 (Canvas canvas) {
32 (Canvas canvas) {
61 (Canvas canvas) {
/third_party/cef/libcef/browser/views/
Dmenu_button_view.cc39 SetDrawStringsFlags(IsFocusable() ? gfx::Canvas::SHOW_PREFIX in Initialize()
40 : gfx::Canvas::HIDE_PREFIX); in Initialize()
Dmenu_button_impl.cc55 ->SetDrawStringsFlags(focusable ? gfx::Canvas::SHOW_PREFIX in SetFocusable()
56 : gfx::Canvas::HIDE_PREFIX); in SetFocusable()
/third_party/python/Lib/turtledemo/
Dtwo_canvases.py13 cv1 = TK.Canvas(root, width=300, height=200, bg="#ddffff")
14 cv2 = TK.Canvas(root, width=300, height=200, bg="#ffeeee")
/third_party/skia/platform_tools/android/apps/AndroidKit/src/main/java/org/skia/androidkit/util/
DSurfaceRenderer.java12 import org.skia.androidkit.Canvas;
38 protected abstract void onRenderFrame(Canvas canvas, long ms); in onRenderFrame()
/third_party/skia/third_party/externals/oboe/apps/OboeTester/app/src/main/java/com/google/sample/oboe/manualtest/
DVolumeBarView.java22 import android.graphics.Canvas;
60 protected void onDraw(Canvas canvas) { in onDraw()
/third_party/flutter/skia/platform_tools/android/apps/skar_java/src/main/java/com/google/skar/examples/helloskar/app/
DHelloCanvasAR.java21 import android.graphics.Canvas;
312 Canvas canvas = null; in onDrawFrame()
479 private void drawPlanes(Canvas canvas, Camera camera) { in drawPlanes()
483 private void drawPointCloud(Canvas canvas, PointCloud cloud) { in drawPointCloud()
487 private void drawModels(Canvas canvas) { in drawModels()
516 private void drawFingerPainting(Canvas canvas) { in drawFingerPainting()
/third_party/skia/platform_tools/android/apps/androidkitdemo/src/main/java/org/skia/androidkitdemo1/
DTextActivity.java9 import org.skia.androidkit.Canvas;
55 protected void onRenderFrame(Canvas canvas, long ms) { in onRenderFrame()
DAnimationActivity.java58 protected void onRenderFrame(Canvas canvas, long ms) { in onRenderFrame()
76 private void drawRect(Canvas canvas, float cx, float cy, Shader shader) { in drawRect()
/third_party/flutter/flutter/examples/layers/raw/
Dshader_warm_up.dart16 final ui.Canvas canvas = ui.Canvas(recorder, paintBounds);
/third_party/flutter/engine/flutter/shell/platform/embedder/fixtures/
Dmain.dart186 Canvas canvas = Canvas(baseRecorder);
211 Canvas canvas = Canvas(baseRecorder);

1234567891011