Home | History | Annotate | Download | only in gm

Lines Matching defs:extents

31         int extents = 1000;
34 // We record a picture of huge vertical extents in which we clear the canvas to red, create
35 // a 'extents' by 'extents' round rect clip at a vertical offset of 'offset', then draw
37 SkCanvas* rec = recorder.beginRecording(100, offset + extents, NULL, 0);
41 SkIntToScalar(-extents),
42 SkIntToScalar(offset - extents),
43 SkIntToScalar(extents),
44 SkIntToScalar(offset + extents)
54 pict->draw(recorder.beginRecording(100, offset + extents, NULL, 0));
59 canvas->translate(SkIntToScalar(extents / 2),
60 SkIntToScalar(-(offset - extents / 2)));