Home
last modified time | relevance | path

Searched refs:kPicWidth (Results 1 – 2 of 2) sorted by relevance

/external/skia/gm/
Dmultipicturedraw.cpp23 constexpr int kPicWidth = kNumHexX * kHexSide; variable
62 SkCanvas* canvas = recorder.beginRecording(SkIntToScalar(kPicWidth), in make_hex_plane_picture()
166 SkCanvas* canvas = recorder.beginRecording(SkIntToScalar(kPicWidth), in make_tri_picture()
185 SkCanvas* canvas = recorder.beginRecording(SkIntToScalar(kPicWidth), in make_sub_picture()
219 SkCanvas* canvas = recorder.beginRecording(SkIntToScalar(kPicWidth), in make_sierpinski_picture()
226 canvas->translate(kPicWidth/2 - (i+1) * (kTriSide/2.0f), 0.0f); in make_sierpinski_picture()
327 canvas->translate(-SkIntToScalar(kPicWidth), -SkIntToScalar(kPicHeight)); in sierpinski()
355 SkCanvas* pictureCanvas = recorder.beginRecording(SkIntToScalar(kPicWidth), in create_content()
379 step.fSurf = create_compat_surface(finalCanvas, kPicWidth, kPicHeight); in simple()
393 const int kTileWidth = kPicWidth / kNumTilesX; in tiled()
[all …]
/external/skqp/gm/
Dmultipicturedraw.cpp23 constexpr int kPicWidth = kNumHexX * kHexSide; variable
62 SkCanvas* canvas = recorder.beginRecording(SkIntToScalar(kPicWidth), in make_hex_plane_picture()
166 SkCanvas* canvas = recorder.beginRecording(SkIntToScalar(kPicWidth), in make_tri_picture()
185 SkCanvas* canvas = recorder.beginRecording(SkIntToScalar(kPicWidth), in make_sub_picture()
219 SkCanvas* canvas = recorder.beginRecording(SkIntToScalar(kPicWidth), in make_sierpinski_picture()
226 canvas->translate(kPicWidth/2 - (i+1) * (kTriSide/2.0f), 0.0f); in make_sierpinski_picture()
327 canvas->translate(-SkIntToScalar(kPicWidth), -SkIntToScalar(kPicHeight)); in sierpinski()
355 SkCanvas* pictureCanvas = recorder.beginRecording(SkIntToScalar(kPicWidth), in create_content()
379 step.fSurf = create_compat_surface(finalCanvas, kPicWidth, kPicHeight); in simple()
393 const int kTileWidth = kPicWidth / kNumTilesX; in tiled()
[all …]