blob: 55d6de65542614a001ab215527869fc9bca9d70e [file]
// Copyright 2026 The PDFium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "core/fpdfdoc/cpvt_word.h"
CPVT_Word::CPVT_Word() = default;
CPVT_Word::CPVT_Word(uint16_t word,
FX_Charset charset,
const CFX_PointF& location,
float ascent,
float descent,
float width,
int32_t font_index,
float font_size,
bool is_rtl)
: word_(word),
charset_(charset),
location_(location),
ascent_(ascent),
descent_(descent),
width_(width),
font_index_(font_index),
font_size_(font_size),
is_rtl_(is_rtl) {}
CPVT_Word::CPVT_Word(const CPVT_Word&) = default;
CPVT_Word& CPVT_Word::operator=(const CPVT_Word&) = default;
CPVT_Word::~CPVT_Word() = default;