cairo_antialias_t.Rd
Specifies the type of antialiasing to do when rendering text or shapes.
cairo_antialias_t
An object of class list
of length 7.
As it is not necessarily clear from the above what advantages a particular antialias method provides, since 1.12, there is also a set of hints: CAIRO_ANTIALIAS_FAST: Allow the backend to degrade raster quality for speed CAIRO_ANTIALIAS_GOOD: A balance between speed and quality CAIRO_ANTIALIAS_BEST: A high-fidelity, but potentially slow, raster mode
These make no guarantee on how the backend will perform its rasterisation (if it even rasterises!), nor that they have any differing effect other than to enable some form of antialiasing. In the case of glyph rendering, CAIRO_ANTIALIAS_FAST and CAIRO_ANTIALIAS_GOOD will be mapped to CAIRO_ANTIALIAS_GRAY, with CAIRO_ANTALIAS_BEST being equivalent to CAIRO_ANTIALIAS_SUBPIXEL.
The interpretation of CAIRO_ANTIALIAS_DEFAULT is left entirely up to the backend, typically this will be similar to CAIRO_ANTIALIAS_GOOD.
Since: 1.0
Use the default antialiasing for the subsystem and target device, since 1.0
Use a bilevel alpha mask, since 1.0
Perform single-color antialiasing (using shades of gray for black text on a white background, for example), since 1.0
Perform antialiasing by taking advantage of the order of subpixel elements on devices such as LCD panels, since 1.0
Hint that the backend should perform some antialiasing but prefer speed over quality, since 1.12
The backend should balance quality against performance, since 1.12
Hint that the backend should render at the highest quality, sacrificing speed if necessary, since 1.12
Other enum:
cairo_content_t
,
cairo_device_type_t
,
cairo_extend_t
,
cairo_fill_rule_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()