cairo_fill_rule_t.Rd
#cairo_fill_rule_t is used to select how paths are filled. For both fill rules, whether or not a point is included in the fill is determined by taking a ray from that point to infinity and looking at intersections with the path. The ray can be in any direction, as long as it doesn't pass through the end point of a segment or have a tricky intersection such as intersecting tangent to the path. (Note that filling is not actually implemented in this way. This is just a description of the rule that is applied.)
cairo_fill_rule_t
An object of class list
of length 2.
The default fill rule is
New entries may be added in future versions.
Since: 1.0
If the path crosses the ray from left-to-right, counts +1. If the path crosses the ray from right to left, counts -1. (Left and right are determined from the perspective of looking along the ray from the starting point.) If the total count is non-zero, the point will be filled. (Since 1.0)
Counts the total number of intersections, without regard to the orientation of the contour. If the total number of intersections is odd, the point will be filled. (Since 1.0)
Other enum:
cairo_antialias_t
,
cairo_content_t
,
cairo_device_type_t
,
cairo_extend_t
,
cairo_filter_t
,
cairo_font_slant_t
,
cairo_font_type_t
,
cairo_font_weight_t
,
cairo_format_t
,
cairo_ft_synthesize_t
,
cairo_hint_metrics_t
,
cairo_hint_style_t
,
cairo_int_status_t
,
cairo_line_cap_t
,
cairo_line_join_t
,
cairo_operator_t
,
cairo_path_data_type_t
,
cairo_pattern_type_t
,
cairo_pdf_metadata_t
,
cairo_pdf_outline_flags_t
,
cairo_pdf_version_t
,
cairo_ps_level_t
,
cairo_region_overlap_t
,
cairo_status_t
,
cairo_subpixel_order_t
,
cairo_surface_observer_mode_t
,
cairo_surface_type_t
,
cairo_svg_unit_t
,
cairo_svg_version_t
,
cairo_text_cluster_flags_t
,
enum_find()
,
enum_lookup()