19 #ifndef FASTUIDRAW_FILL_RULE_HPP 20 #define FASTUIDRAW_FILL_RULE_HPP 58 typedef bool (*fill_rule_fcn)(int);
67 m_fill_rule(fill_rule)
76 m_fill_rule(function_from_enum(fill_rule))
83 return m_fill_rule && m_fill_rule(winding_number);
96 fill_rule_fcn m_fill_rule;
all classes and functions of FastUIDraw are in the namespace fastuidraw.
CustomFillRuleFunction(enum PainterEnums::fill_rule_t fill_rule)
CustomFillRuleFunction(fill_rule_fcn fill_rule)
virtual bool operator()(int winding_number) const =0
fill_rule_t
Enumerations specifying common fill rules.
virtual bool operator()(int winding_number) const
Class to specify a custom fill rule from a function.
Base class to specify a custom fill rule.