Flutter Engine
Loading...
Searching...
No Matches
placeholder_run.cc
Go to the documentation of this file.
1
// Copyright 2013 The Flutter Authors. All rights reserved.
2
// Use of this source code is governed by a BSD-style license that can be
3
// found in the LICENSE file.
4
5
#include "
placeholder_run.h
"
6
7
namespace
txt
{
8
9
PlaceholderRun::PlaceholderRun
() {}
10
11
PlaceholderRun::PlaceholderRun
(
double
width
,
12
double
height
,
13
PlaceholderAlignment
alignment,
14
TextBaseline
baseline,
15
double
baseline_offset)
16
:
width
(
width
),
17
height
(
height
),
18
alignment(alignment),
19
baseline(baseline),
20
baseline_offset(baseline_offset) {}
21
22
}
// namespace txt
txt::PlaceholderRun::PlaceholderRun
PlaceholderRun()
Definition
placeholder_run.cc:9
txt
Definition
paragraph_builder_skia.cc:15
txt::PlaceholderAlignment
PlaceholderAlignment
Where to vertically align the placeholder relative to the surrounding text.
Definition
placeholder_run.h:13
txt::TextBaseline
TextBaseline
Definition
text_baseline.h:10
placeholder_run.h
height
int32_t height
Definition
serialization_callbacks.cc:1
width
int32_t width
Definition
serialization_callbacks.cc:0
txt
src
txt
placeholder_run.cc
Generated on Thu Nov 6 2025 16:11:30 for Flutter Engine by
1.9.8