#include "fpdfsdk/pwl/cpwl_caret.h"
#include <sstream>
#include <utility>
#include "core/fxge/cfx_fillrenderoptions.h"
#include "core/fxge/cfx_graphstatedata.h"
#include "core/fxge/cfx_path.h"
#include "core/fxge/cfx_renderdevice.h"
CPWL_Caret::CPWL_Caret(
const CreateParams& cp,
std::unique_ptr<IPWL_FillerNotify::PerWindowData> pAttachedData)
: … { … }
CPWL_Caret::~CPWL_Caret() = default;
void CPWL_Caret::DrawThisAppearance(CFX_RenderDevice* pDevice,
const CFX_Matrix& mtUser2Device) { … }
void CPWL_Caret::OnTimerFired() { … }
CFX_FloatRect CPWL_Caret::GetCaretRect() const { … }
void CPWL_Caret::SetCaret(bool bVisible,
const CFX_PointF& ptHead,
const CFX_PointF& ptFoot) { … }
bool CPWL_Caret::InvalidateRect(const CFX_FloatRect* pRect) { … }
bool CPWL_Caret::SetVisible(bool bVisible) { … }