#include "third_party/blink/renderer/platform/fonts/shaping/shape_result_spacing.h"
#include "third_party/blink/renderer/platform/fonts/font.h"
#include "third_party/blink/renderer/platform/fonts/font_description.h"
#include "third_party/blink/renderer/platform/text/text_run.h"
namespace blink {
template <typename TextContainerType>
bool ShapeResultSpacing<TextContainerType>::SetSpacing(
const FontDescription& font_description) { … }
template <typename TextContainerType>
bool ShapeResultSpacing<TextContainerType>::SetSpacing(float letter_spacing,
float word_spacing) { … }
template <typename TextContainerType>
void ShapeResultSpacing<TextContainerType>::SetExpansion(
float expansion,
TextDirection direction,
bool allows_leading_expansion,
bool allows_trailing_expansion) { … }
template <typename TextContainerType>
void ShapeResultSpacing<TextContainerType>::SetSpacingAndExpansion(
const FontDescription& font_description) { … }
template <>
void ShapeResultSpacing<TextRun>::SetSpacingAndExpansion(
const FontDescription& font_description) { … }
template <typename TextContainerType>
void ShapeResultSpacing<TextContainerType>::ComputeExpansion(
bool allows_leading_expansion,
bool allows_trailing_expansion,
TextDirection direction) { … }
template <typename TextContainerType>
float ShapeResultSpacing<TextContainerType>::NextExpansion() { … }
template <typename TextContainerType>
float ShapeResultSpacing<TextContainerType>::ComputeSpacing(
const ComputeSpacingParameters& parameters,
float& offset) { … }
template class ShapeResultSpacing<TextRun>;
template class ShapeResultSpacing<String>;
}