7#include "fpdfsdk/pwl/cpwl_cbbutton.h"
11#include "core/fxge/cfx_fillrenderoptions.h"
12#include "core/fxge/cfx_path.h"
13#include "core/fxge/cfx_renderdevice.h"
17 std::unique_ptr<IPWL_FillerNotify::PerWindowData> pAttachedData)
33 constexpr float kComboBoxTriangleLength = 6.0f;
34 constexpr float kComboBoxTriangleHalfLength = kComboBoxTriangleLength / 2;
35 constexpr float kComboBoxTriangleQuarterLength = kComboBoxTriangleLength / 4;
37 kComboBoxTriangleLength) ||
39 kComboBoxTriangleHalfLength)) {
43 CFX_PointF ptCenter = GetCenterPoint();
44 CFX_PointF pt1(ptCenter.x - kComboBoxTriangleHalfLength,
45 ptCenter.y + kComboBoxTriangleQuarterLength);
46 CFX_PointF pt2(ptCenter.x + kComboBoxTriangleHalfLength,
47 ptCenter.y + kComboBoxTriangleQuarterLength);
48 CFX_PointF pt3(ptCenter.x, ptCenter.y - kComboBoxTriangleQuarterLength);
62 const CFX_PointF& point) {
74 const CFX_PointF& point) {
void AppendPoint(const CFX_PointF &point, Point::Type type)
bool DrawPath(const CFX_Path &path, const CFX_Matrix *pObject2Device, const CFX_GraphStateData *pGraphState, uint32_t fill_color, uint32_t stroke_color, const CFX_FillRenderOptions &fill_options)
CFX_FloatRect GetWindowRect() const
CPWL_Wnd * GetParentWindow() const
virtual void NotifyLButtonDown(CPWL_Wnd *child, const CFX_PointF &pos)
virtual bool OnLButtonUp(Mask< FWL_EVENTFLAG > nFlag, const CFX_PointF &point)
int32_t GetTransparency()
virtual void DrawThisAppearance(CFX_RenderDevice *pDevice, const CFX_Matrix &mtUser2Device)
static const CFX_Color kDefaultBlackColor
virtual bool OnLButtonDown(Mask< FWL_EVENTFLAG > nFlag, const CFX_PointF &point)
#define FXSYS_IsFloatBigger(fa, fb)
FX_COLORREF ToFXColor(int32_t nTransparency) const
static constexpr CFX_FillRenderOptions EvenOddOptions()