Flutter Engine
The Flutter Engine
third_party
skia
gm
bug615686.cpp
Go to the documentation of this file.
1
/*
2
* Copyright 2016 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
#include "
include/core/SkPathBuilder.h
"
12
13
DEF_SIMPLE_GM
(bug615686, canvas, 250, 250) {
14
SkPaint
p
;
15
p
.setAntiAlias(
true
);
16
p
.setStyle(
SkPaint::kStroke_Style
);
17
p
.setStrokeWidth(20);
18
canvas->drawPath(
SkPathBuilder
().moveTo(0, 0)
19
.cubicTo(200, 200, 0, 200, 200, 0)
20
.detach(),
p
);
21
}
SkCanvas.h
SkPaint.h
SkPathBuilder.h
DEF_SIMPLE_GM
DEF_SIMPLE_GM(bug615686, canvas, 250, 250)
Definition:
bug615686.cpp:13
SkPaint
Definition:
SkPaint.h:44
SkPaint::kStroke_Style
@ kStroke_Style
set to stroke geometry
Definition:
SkPaint.h:194
SkPathBuilder
Definition:
SkPathBuilder.h:25
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