#include "xfa/fxfa/parser/cxfa_fill.h"
#include "fxjs/xfa/cjx_node.h"
#include "xfa/fgas/graphics/cfgas_gegraphics.h"
#include "xfa/fxfa/parser/cxfa_color.h"
#include "xfa/fxfa/parser/cxfa_document.h"
#include "xfa/fxfa/parser/cxfa_linear.h"
#include "xfa/fxfa/parser/cxfa_node.h"
#include "xfa/fxfa/parser/cxfa_pattern.h"
#include "xfa/fxfa/parser/cxfa_radial.h"
#include "xfa/fxfa/parser/cxfa_stipple.h"
namespace {
const CXFA_Node::PropertyData kFillPropertyData[] = …;
const CXFA_Node::AttributeData kFillAttributeData[] = …;
}
CXFA_Fill::CXFA_Fill(CXFA_Document* doc, XFA_PacketType packet)
: … { … }
CXFA_Fill::~CXFA_Fill() = default;
bool CXFA_Fill::IsVisible() { … }
void CXFA_Fill::SetColor(FX_ARGB color) { … }
FX_ARGB CXFA_Fill::GetFillColor() const { … }
FX_ARGB CXFA_Fill::GetTextColor() const { … }
XFA_Element CXFA_Fill::GetType() const { … }
void CXFA_Fill::Draw(CFGAS_GEGraphics* pGS,
const CFGAS_GEPath& fillPath,
const CFX_RectF& rtWidget,
const CFX_Matrix& matrix) { … }
void CXFA_Fill::DrawStipple(CFGAS_GEGraphics* pGS,
const CFGAS_GEPath& fillPath,
const CFX_RectF& rtWidget,
const CFX_Matrix& matrix) { … }
void CXFA_Fill::DrawRadial(CFGAS_GEGraphics* pGS,
const CFGAS_GEPath& fillPath,
const CFX_RectF& rtWidget,
const CFX_Matrix& matrix) { … }
void CXFA_Fill::DrawLinear(CFGAS_GEGraphics* pGS,
const CFGAS_GEPath& fillPath,
const CFX_RectF& rtWidget,
const CFX_Matrix& matrix) { … }
void CXFA_Fill::DrawPattern(CFGAS_GEGraphics* pGS,
const CFGAS_GEPath& fillPath,
const CFX_RectF& rtWidget,
const CFX_Matrix& matrix) { … }