Lines Matching refs:surface
20 const surface = CanvasKit.MakeCanvasSurface('test');
21 expect(surface).toBeTruthy('Could not make surface')
22 if (!surface) {
26 const canvas = surface.getCanvas();
68 surface.flush();
73 reportSurface(surface, 'path_api_example', done);
120 const surface = CanvasKit.MakeCanvasSurface('test');
121 expect(surface).toBeTruthy('Could not make surface')
122 if (!surface) {
126 const canvas = surface.getCanvas();
141 surface.flush();
145 reportSurface(surface, 'offset_path', done);
151 const surface = CanvasKit.MakeCanvasSurface('test');
152 expect(surface).toBeTruthy('Could not make surface')
153 if (!surface) {
157 const canvas = surface.getCanvas();
174 surface.flush();
178 reportSurface(surface, 'oval_path', done);
184 const surface = CanvasKit.MakeCanvasSurface('test');
185 expect(surface).toBeTruthy('Could not make surface')
186 if (!surface) {
190 const canvas = surface.getCanvas();
212 surface.flush();
216 reportSurface(surface, 'arcto_path', done);
223 const surface = CanvasKit.MakeCanvasSurface('test');
224 expect(surface).toBeTruthy('Could not make surface')
225 if (!surface) {
229 const canvas = surface.getCanvas();
257 surface.flush();
261 reportSurface(surface, 'path_relative', done);
337 const surface = CanvasKit.MakeCanvasSurface('test');
338 expect(surface).toBeTruthy('Could not make surface')
339 if (!surface) {
343 const canvas = surface.getCanvas();
362 surface.flush();
366 reportSurface(surface, 'drawpoly_path', done);