<commit_before>//! Describe color/alpha for areas "outside" pattern's natural area

///  cairo_extend_t is used to describe how pattern color/alpha will be determined for areas "outside" the pattern's natural area, (for example, outside the surface bounds or outside the gradient geometry).
/// 
/// Mesh patterns are not affected by the extend mode.
/// 
/// The default extend mode is CAIRO_EXTEND_NONE for surface patterns and CAIRO_EXTEND_PAD for gradient patterns.
/// 
/// New entries may be added in future versions.
/// 
/// Since 1.0
#[repr(i32)]
pub enum Extend {
  /// pixels outside of the source pattern are fully transparent (Since 1.0)
  None = 0,
  /// the pattern is tiled by repeating (Since 1.0)
  Repeat = 1,
  /// the pattern is tiled by reflecting at the edges (Since 1.0; but only implemented for surface patterns since 1.6)
  Reflect = 2,
  /// pixels outside of the pattern copy the closest pixel from the source (Since 1.2; but only implemented for surface patterns since 1.6)
  Pad = 3,
}
<commit_msg>Replaced Cairo '_t' types with Rust-Cairo types<commit_after>//! Describe color/alpha for areas "outside" pattern's natural area

/// pattern::extend::Extend is used to describe how pattern color/alpha will be determined for areas "outside" the pattern's natural area, (for example, outside the surface bounds or outside the gradient geometry).
/// 
/// Mesh patterns are not affected by the extend mode.
/// 
/// The default extend mode is CAIRO_EXTEND_NONE for surface patterns and CAIRO_EXTEND_PAD for gradient patterns.
/// 
/// New entries may be added in future versions.
/// 
/// Since 1.0
#[repr(i32)]
pub enum Extend {
  /// pixels outside of the source pattern are fully transparent (Since 1.0)
  None = 0,
  /// the pattern is tiled by repeating (Since 1.0)
  Repeat = 1,
  /// the pattern is tiled by reflecting at the edges (Since 1.0; but only implemented for surface patterns since 1.6)
  Reflect = 2,
  /// pixels outside of the pattern copy the closest pixel from the source (Since 1.2; but only implemented for surface patterns since 1.6)
  Pad = 3,
}

{'fraction_non_alphanumeric': 0.09199237368922783, 'fraction_numerical': 0.019065776930409915, 'mean_word_length': 3.3457556935817805, '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': '2092551', 'n_tokens_mistral': 617, 'n_tokens_neox': 577, 'n_words': 292}