Home
last modified time | relevance | path

Searched refs:toImage (Results 1 – 25 of 28) sorted by relevance

12

/third_party/qrcodegen/java/
DQrCodeGeneratorDemo.java62 BufferedImage img = toImage(qr, 10, 4); // Convert to bitmap image in doBasicDemo()
79 writePng(toImage(qr, 13, 1), "pi-digits-QR.png"); in doVarietyDemo()
83 writePng(toImage(qr, 10, 2), "alphanumeric-QR.png"); in doVarietyDemo()
87 writePng(toImage(qr, 10, 3), "unicode-QR.png"); in doVarietyDemo()
98 writePng(toImage(qr, 6, 10), "alice-wonderland-QR.png"); in doVarietyDemo()
111 writePng(toImage(qr, 10, 3), "sqrt2-monolithic-QR.png"); in doSegmentDemo()
117 writePng(toImage(qr, 10, 3), "sqrt2-segmented-QR.png"); in doSegmentDemo()
124 writePng(toImage(qr, 8, 5), "phi-monolithic-QR.png"); in doSegmentDemo()
131 writePng(toImage(qr, 8, 5), "phi-segmented-QR.png"); in doSegmentDemo()
136 writePng(toImage(qr, 9, 4, 0xFFFFE0, 0x303080), "madoka-utf8-QR.png"); in doSegmentDemo()
[all …]
/third_party/flutter/engine/flutter/lib/web_ui/lib/src/engine/compositor/
Dpicture.dart28 Future<ui.Image> toImage(int width, int height) {
29 // TODO: implement toImage
Dlayer_scene_builder.dart18 Future<ui.Image> toImage(int width, int height) => null;
/third_party/flutter/engine/flutter/lib/ui/compositing/
Dscene.cc18 V(Scene, toImage) \
50 Dart_Handle Scene::toImage(uint32_t width, in toImage() function in flutter::Scene
Dscene.h34 Dart_Handle toImage(uint32_t width,
/third_party/flutter/engine/flutter/lib/ui/painting/
Dpicture.h27 fml::RefPtr<CanvasImage> toImage(int width, int height);
Dpicture.cc22 fml::RefPtr<CanvasImage> Picture::toImage(int width, int height) { in toImage() function in flutter::Picture
/third_party/flutter/flutter/packages/flutter/test/rendering/
Dproxy_box_test.dart171 ui.Image image = await boundary.toImage();
179 image = await boundary.toImage(pixelRatio: 2.0);
209 image = await boundary.toImage();
223 image = await layer.toImage(Offset.zero & const Size(20.0, 20.0));
231 image = await layer.toImage(const Offset(-10.0, -10.0) & const Size(30.0, 30.0));
241 … image = await layer.toImage(const Offset(-10.0, -10.0) & const Size(30.0, 30.0), pixelRatio: 2.0);
Dlayers_test.dart521 test('ContainerLayer.toImage can render interior layer', () {
532 grandChild.toImage(const Rect.fromLTRB(0, 0, 10, 10));
/third_party/flutter/engine/flutter/testing/dart/
Dcanvas_test.dart35 final Image image = await picture.toImage(1, 1);
135 test('Simple .toImage', () async {
146 final Image image = await picture.toImage(100, 100);
Dcolor_filter_test.dart37 final Image image = await picture.toImage(width, height);
Dencoding_test.dart86 return await recorder.endRecording().toImage(_kWidth, _kWidth);
/third_party/flutter/flutter/packages/flutter_test/test/
Dreference_image_test.dart18 return picture.toImage(width, height);
/third_party/flutter/flutter/packages/flutter/test/widgets/
Dopacity_test.dart196 await offsetLayer.toImage(const Rect.fromLTRB(0.0, 0.0, 1.0, 1.0));
Dwidget_inspector_test.dart2026 layer.toImage(renderObject.semanticBounds.inflate(50.0)),
2036 layer.toImage(
2047 layer.toImage(
Dheroes_test.dart22 return picture.toImage(300, 300);
/third_party/qrcodegen/
DReadme.markdown55 BufferedImage img = toImage(qr0, 4, 10); // See QrCodeGeneratorDemo
/third_party/flutter/flutter/packages/flutter/lib/src/painting/
Dshader_warm_up.dart90 await picture.toImage(size.width.ceil(), size.height.ceil());
/third_party/flutter/flutter/packages/flutter/lib/src/widgets/
Dwidget_inspector.dart514 /// To use [toImage], the render object must have gone through the paint phase
531 /// * [RenderRepaintBoundary.toImage] for a similar API for [RenderObject]s
533 /// * [OffsetLayer.toImage] for a similar API at the layer level.
534 /// * [dart:ui.Scene.toImage] for more information about the image returned.
535 static Future<ui.Image> toImage(
595 return data.containerLayer.toImage(renderBounds, pixelRatio: pixelRatio);
1721 return _ScreenshotPaintingContext.toImage(
/third_party/flutter/flutter/packages/flutter/lib/src/rendering/
Dlayer.dart155 // 2. When rendering an interior layer (e.g. `OffsetLayer.toImage`). In
575 // to render a subtree (e.g. `OffsetLayer.toImage`).
1025 /// * [RenderRepaintBoundary.toImage] for a similar API at the render object level.
1026 /// * [dart:ui.Scene.toImage] for more information about the image returned.
1027 Future<ui.Image> toImage(Rect bounds, { double pixelRatio = 1.0 }) async {
1043 return await scene.toImage(
Dproxy_box.dart2822 /// To use [toImage], the render object must have gone through the paint phase
2849 /// ui.Image image = await boundary.toImage();
2873 /// * [OffsetLayer.toImage] for a similar API at the layer level.
2874 /// * [dart:ui.Scene.toImage] for more information about the image returned.
2875 Future<ui.Image> toImage({ double pixelRatio = 1.0 }) {
2878 return offsetLayer.toImage(Offset.zero & size, pixelRatio: pixelRatio);
/third_party/flutter/engine/flutter/lib/web_ui/lib/src/ui/
Dcompositing.dart24 Future<Image> toImage(int width, int height) {
28 throw UnsupportedError('toImage is not supported on the Web');
/third_party/flutter/flutter/packages/flutter_test/lib/src/
Daccessibility.dart204 image = await layer.toImage(renderView.paintBounds, pixelRatio: 1 / 3);
Dmatchers.dart361 /// ui.Image referenceImage = picture.toImage(50, 50);
1624 return layer.toImage(renderObject.paintBounds);
/third_party/flutter/engine/flutter/lib/ui/
Dcompositing.dart25 Future<Image> toImage(int width, int height) {

12