• Home
  • Raw
  • Download

Lines Matching refs:done

40         it('parses hex color strings', function(done) {  argument
41 LoadCanvasKit.then(catchException(done, () => {
51 done();
54 it('parses rgba color strings', function(done) { argument
55 LoadCanvasKit.then(catchException(done, () => {
65 done();
68 it('parses named color strings', function(done) { argument
69 LoadCanvasKit.then(catchException(done, () => {
77 done();
81 it('properly produces color strings', function(done) { argument
82 LoadCanvasKit.then(catchException(done, () => {
90 done();
94 it('can multiply colors by alpha', function(done) { argument
95 LoadCanvasKit.then(catchException(done, () => {
127 done();
133 it('can parse font sizes', function(done) { argument
134 LoadCanvasKit.then(catchException(done, () => {
183 done();
187 it('can parse font attributes', function(done) { argument
188 LoadCanvasKit.then(catchException(done, () => {
267 done();
272 function multipleCanvasTest(testname, done, test) { argument
290 done();
291 }).catch(reportError(done));
295 it('supports all the line types', function(done) { argument
296 LoadCanvasKit.then(catchException(done, () => {
297 multipleCanvasTest('all_line_drawing_operations', done, (canvas) => {
353 it('handles all the transforms as specified', function(done) { argument
354 LoadCanvasKit.then(catchException(done, () => {
355 multipleCanvasTest('all_matrix_operations', done, (canvas) => {
406 it('properly saves and restores states, even when drawing shadows', function(done) { argument
407 LoadCanvasKit.then(catchException(done, () => {
408 multipleCanvasTest('shadows_and_save_restore', done, (canvas) => {
466 it('fills/strokes rects and supports some global settings', function(done) { argument
467 LoadCanvasKit.then(catchException(done, () => {
468 multipleCanvasTest('global_dashed_rects', done, (canvas) => {
517 it('supports gradients, which respect clip/save/restore', function(done) { argument
518 LoadCanvasKit.then(catchException(done, () => {
519 multipleCanvasTest('gradients_clip', done, (canvas) => {
558 it('can draw png images', function(done) { argument
573 LoadCanvasKit.then(catchException(done, () => {
575 multipleCanvasTest('draw_image', done, (canvas) => {
595 it('can get and put pixels', function(done) { argument
596 LoadCanvasKit.then(catchException(done, () => {
597 multipleCanvasTest('get_put_imagedata', done, (canvas) => {
624 it('can make patterns', function(done) { argument
639 LoadCanvasKit.then(catchException(done, () => {
641 multipleCanvasTest('draw_patterns', done, (canvas) => {
675 it('can get and put pixels', function(done) { argument
676 LoadCanvasKit.then(catchException(done, () => {
720 multipleCanvasTest('points_in_path_stroke', done, (canvas) => {
764 it('can load custom fonts', function(done) { argument
781 LoadCanvasKit.then(catchException(done, () => {
783 multipleCanvasTest('custom_font', done, (canvas) => {
810 it('can read default properties', function(done) { argument
811 LoadCanvasKit.then(catchException(done, () => {
837 done();
843 it('supports all the line types', function(done) { argument
844 LoadCanvasKit.then(catchException(done, () => {
845 multipleCanvasTest('path2d_line_drawing_operations', done, (canvas) => {