#include "xfa/fwl/theme/cfwl_checkboxtp.h"
#include <math.h>
#include <array>
#include <iterator>
#include "core/fxge/cfx_path.h"
#include "xfa/fde/cfde_textout.h"
#include "xfa/fgas/graphics/cfgas_gecolor.h"
#include "xfa/fgas/graphics/cfgas_gegraphics.h"
#include "xfa/fgas/graphics/cfgas_gepath.h"
#include "xfa/fwl/cfwl_checkbox.h"
#include "xfa/fwl/cfwl_themebackground.h"
#include "xfa/fwl/cfwl_themetext.h"
#include "xfa/fwl/cfwl_widget.h"
namespace pdfium {
namespace {
constexpr int kSignPath = …;
CFX_PointF ScaleBezierPoint(const CFX_PointF& point) { … }
}
CFWL_CheckBoxTP::CFWL_CheckBoxTP() = default;
CFWL_CheckBoxTP::~CFWL_CheckBoxTP() = default;
void CFWL_CheckBoxTP::DrawText(const CFWL_ThemeText& pParams) { … }
void CFWL_CheckBoxTP::DrawSignCheck(CFGAS_GEGraphics* pGraphics,
const CFX_RectF& rtSign,
FX_ARGB argbFill,
const CFX_Matrix& matrix) { … }
void CFWL_CheckBoxTP::DrawSignCircle(CFGAS_GEGraphics* pGraphics,
const CFX_RectF& rtSign,
FX_ARGB argbFill,
const CFX_Matrix& matrix) { … }
void CFWL_CheckBoxTP::DrawSignCross(CFGAS_GEGraphics* pGraphics,
const CFX_RectF& rtSign,
FX_ARGB argbFill,
const CFX_Matrix& matrix) { … }
void CFWL_CheckBoxTP::DrawSignDiamond(CFGAS_GEGraphics* pGraphics,
const CFX_RectF& rtSign,
FX_ARGB argbFill,
const CFX_Matrix& matrix) { … }
void CFWL_CheckBoxTP::DrawSignSquare(CFGAS_GEGraphics* pGraphics,
const CFX_RectF& rtSign,
FX_ARGB argbFill,
const CFX_Matrix& matrix) { … }
void CFWL_CheckBoxTP::DrawSignStar(CFGAS_GEGraphics* pGraphics,
const CFX_RectF& rtSign,
FX_ARGB argbFill,
const CFX_Matrix& matrix) { … }
void CFWL_CheckBoxTP::EnsureCheckPathInitialized(float fCheckLen) { … }
void CFWL_CheckBoxTP::DrawBackground(const CFWL_ThemeBackground& pParams) { … }
void CFWL_CheckBoxTP::DrawCheckSign(CFWL_Widget* pWidget,
CFGAS_GEGraphics* pGraphics,
const CFX_RectF& pRtBox,
Mask<CFWL_PartState> iState,
const CFX_Matrix& matrix) { … }
}