Flutter Engine
The Flutter Engine
third_party
skia
gm
circle_sizes.cpp
Go to the documentation of this file.
1
/*
2
* Copyright 2017 Google Inc.
3
*
4
* Use of this source code is governed by a BSD-style license that can be
5
* found in the LICENSE file.
6
*/
7
8
#include "
gm/gm.h
"
9
#include "
include/core/SkCanvas.h
"
10
#include "
include/core/SkPaint.h
"
11
12
// https://crbug.com/772953
13
DEF_SIMPLE_GM
(circle_sizes, canvas, 128, 128) {
14
SkPaint
p
;
15
p
.setAntiAlias(
true
);
16
for
(
int
i
= 0;
i
< 16; ++
i
) {
17
canvas->drawCircle({14.0f + 32.0f * (
i
% 4),
18
14.0f + 32.0f * (
i
/ 4)},
i
+ 1.0f,
p
);
19
}
20
}
SkCanvas.h
SkPaint.h
DEF_SIMPLE_GM
DEF_SIMPLE_GM(circle_sizes, canvas, 128, 128)
Definition:
circle_sizes.cpp:13
SkPaint
Definition:
SkPaint.h:44
i
int i
Definition:
fl_socket_accessible.cc:18
gm.h
dart_profiler_symbols.p
p
Definition:
dart_profiler_symbols.py:55
Generated on Sun Jun 23 2024 21:55:58 for Flutter Engine by
1.9.4