Flutter Engine
The Flutter Engine
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
12
13class SkPaint;
14class SkFont;
15class SkMatrix;
16
17namespace skgpu::ganesh {
19
20class AtlasTextOpTools final {
21public:
23 const SkPaint&,
24 const SkFont&,
25 const SkMatrix&,
26 const char* text,
27 int x,
28 int y);
29
30private:
32};
33
34} // namespace skgpu::ganesh
35
36#endif
std::unique_ptr< GrOp > Owner
Definition: GrOp.h:72
Definition: SkFont.h:35
static GrOp::Owner CreateOp(SurfaceDrawContext *, const SkPaint &, const SkFont &, const SkMatrix &, const char *text, int x, int y)
std::u16string text
double y
double x