summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser/cxfa_filldata.h
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fxfa/parser/cxfa_filldata.h')
-rw-r--r--xfa/fxfa/parser/cxfa_filldata.h30
1 files changed, 23 insertions, 7 deletions
diff --git a/xfa/fxfa/parser/cxfa_filldata.h b/xfa/fxfa/parser/cxfa_filldata.h
index 7faca4a95a..6890952c25 100644
--- a/xfa/fxfa/parser/cxfa_filldata.h
+++ b/xfa/fxfa/parser/cxfa_filldata.h
@@ -18,14 +18,30 @@ class CXFA_FillData : public CXFA_DataData {
explicit CXFA_FillData(CXFA_Node* pNode);
~CXFA_FillData() override;
- int32_t GetPresence();
- FX_ARGB GetColor(bool bText = false);
- XFA_Element GetFillType();
- int32_t GetPattern(FX_ARGB& foreColor);
- int32_t GetStipple(FX_ARGB& stippleColor);
- int32_t GetLinear(FX_ARGB& endColor);
- int32_t GetRadial(FX_ARGB& endColor);
+ bool IsVisible() const;
+
+ FX_ARGB GetColor(bool bText) const;
void SetColor(FX_ARGB color);
+
+ XFA_Element GetFillType() const;
+
+ XFA_ATTRIBUTEENUM GetPatternType() const;
+ FX_ARGB GetPatternColor() const;
+
+ XFA_ATTRIBUTEENUM GetLinearType() const;
+ FX_ARGB GetLinearColor() const;
+
+ int32_t GetStippleRate() const;
+ FX_ARGB GetStippleColor() const;
+
+ bool IsRadialToEdge() const;
+ FX_ARGB GetRadialColor() const;
+
+ private:
+ CXFA_Node* GetStipple() const;
+ CXFA_Node* GetRadial() const;
+ CXFA_Node* GetLinear() const;
+ CXFA_Node* GetPattern() const;
};
#endif // XFA_FXFA_PARSER_CXFA_FILLDATA_H_