enum_find: Find the name of the enum which contains the given member

Description Usage Arguments Value See Also Examples

View source: R/aaa-enum.R

Description

Find the name of the enum which contains the given member

Usage

1

Arguments

name

name of an enum member, taken from C e.g. 'CAIRO_FORMAT_ARGB32'

Value

character string wih name enum which contains this member, or NULL if member not found in any enum

See Also

Other enum: cairo_antialias_t, 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_lookup()

Examples

1
2
3
4
## Not run: 
enum_find('CAIRO_FORMAT_ARGB32')

## End(Not run)

coolbutuseless/cairocore documentation built on Aug. 31, 2020, 12:43 a.m.