Flutter Engine
The Flutter Engine
third_party
skia
tools
gpu
ganesh
AtlasTextOpTools.h
Go to the documentation of this file.
1
/*
2
* Copyright 2024 Google LLC
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
#ifndef skgpu_ganesh_AtlasTextOpPriv_DEFINED
9
#define skgpu_ganesh_AtlasTextOpPriv_DEFINED
10
11
#include "
src/gpu/ganesh/ops/GrOp.h
"
12
13
class
SkPaint
;
14
class
SkFont
;
15
class
SkMatrix
;
16
17
namespace
skgpu::ganesh
{
18
class
SurfaceDrawContext
;
19
20
class
AtlasTextOpTools
final {
21
public
:
22
static
GrOp::Owner
CreateOp
(
SurfaceDrawContext
*,
23
const
SkPaint
&,
24
const
SkFont
&,
25
const
SkMatrix
&,
26
const
char
*
text
,
27
int
x
,
28
int
y
);
29
30
private
:
31
AtlasTextOpTools
();
32
};
33
34
}
// namespace skgpu::ganesh
35
36
#endif
GrOp.h
GrOp::Owner
std::unique_ptr< GrOp > Owner
Definition:
GrOp.h:72
SkFont
Definition:
SkFont.h:35
SkMatrix
Definition:
SkMatrix.h:54
SkPaint
Definition:
SkPaint.h:44
skgpu::ganesh::AtlasTextOpTools
Definition:
AtlasTextOpTools.h:20
skgpu::ganesh::AtlasTextOpTools::CreateOp
static GrOp::Owner CreateOp(SurfaceDrawContext *, const SkPaint &, const SkFont &, const SkMatrix &, const char *text, int x, int y)
Definition:
AtlasTextOpTools.cpp:28
skgpu::ganesh::SurfaceDrawContext
Definition:
SurfaceDrawContext.h:65
text
std::u16string text
Definition:
keyboard_unittests.cc:332
y
double y
Definition:
mouse-input-test.cc:83
x
double x
Definition:
mouse-input-test.cc:82
skgpu::ganesh
Definition:
TessellateBench.cpp:24
Generated on Sun Jun 23 2024 21:56:50 for Flutter Engine by
1.9.4