<commit_before>#[repr(i32)]
pub enum Filter {
  Fast = 0,
  Good = 1,
  Best = 2,
  Nearest = 3,
  Bilinear = 4,
  Gaussian = 5
}<commit_msg>Copied Cairo documentation for filter<commit_after>//! Describe filter type

///  cairo_filter_t is used to indicate what filtering should be applied when reading pixel values from patterns. See cairo_pattern_set_filter() for indicating the desired filter to be used with a particular pattern.
/// 
/// Since 1.0
#[repr(i32)]
pub enum Filter {
  /// A high-performance filter, with quality similar to CAIRO_FILTER_NEAREST (Since 1.0)
  Fast = 0,
  /// A reasonable-performance filter, with quality similar to CAIRO_FILTER_BILINEAR (Since 1.0)
  Good = 1,
  /// The highest-quality available, performance may not be suitable for interactive use. (Since 1.0)
  Best = 2,
  /// Nearest-neighbor filtering (Since 1.0)
  Nearest = 3,
  /// Linear interpolation in two dimensions (Since 1.0)
  Bilinear = 4,
  /// This filter value is currently unimplemented, and should not be used in current code. (Since 1.0)
  Gaussian = 5
}
{'fraction_non_alphanumeric': 0.09877704609595485, 'fraction_numerical': 0.028222013170272814, 'mean_word_length': 3.4518828451882846, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6305736', 'n_tokens_mistral': 355, 'n_tokens_neox': 324, 'n_words': 132}