<commit_before>﻿<UserControl xmlns="https://github.com/perspex">
  <StackPanel Orientation="Vertical" Gap="4">
    <TextBlock Classes="h1">Canvas</TextBlock>
    <TextBlock Classes="h2">A panel which lays out its children by explicit coordinates</TextBlock>
    <Canvas Background="Yellow" Width="300" Height="400">
      <Rectangle Fill="Blue" Width="63" Height="41" Canvas.Left="40" Canvas.Top="31"/>
      <Ellipse Fill="Green" Width="58" Height="58" Canvas.Left="160" Canvas.Top="79"/>
      <Path Fill="Orange" Data="M 0,0 c 50,0 50,-50 c 50,0 50,50 h -50 v 50 l -50,-50 Z" Canvas.Left="30" Canvas.Top="250"/>
      <Line StartPoint="120,185" EndPoint="30,115" Stroke="Red" StrokeThickness="2"/>
      <Polygon Points="75,0 120,120 0,45 150,45 30,120" Stroke="DarkBlue" StrokeThickness="1" Fill="Violet" Canvas.Left="150" Canvas.Top="180"/>
      <Polyline Points="0,0 65,0 78,-26 91,39 104,-39 117,13 130,0 195,0" Stroke="Brown" Canvas.Left="30" Canvas.Top="350"/>
    </Canvas>
  </StackPanel>
</UserControl><commit_msg>Added sample usage of PathFigure in xaml in ControlCatalog<commit_after>﻿<UserControl xmlns="https://github.com/perspex">
  <StackPanel Orientation="Vertical" Gap="4">
    <TextBlock Classes="h1">Canvas</TextBlock>
    <TextBlock Classes="h2">A panel which lays out its children by explicit coordinates</TextBlock>
    <Canvas Background="Yellow" Width="300" Height="400">
      <Rectangle Fill="Blue" Width="63" Height="41" Canvas.Left="40" Canvas.Top="31"/>
      <Ellipse Fill="Green" Width="58" Height="58" Canvas.Left="88" Canvas.Top="100"/>
      <Path Fill="Orange" Data="M 0,0 c 50,0 50,-50 c 50,0 50,50 h -50 v 50 l -50,-50 Z" Canvas.Left="30" Canvas.Top="250"/>
      <Path Fill="OrangeRed" Canvas.Left="180" Canvas.Top="250">
        <Path.Data>
          <PathGeometry>
            <PathFigure StartPoint="0,0" IsClosed="True">
              <QuadraticBezierSegment Point1="50,0" Point2="50,-50" />
              <QuadraticBezierSegment Point1="100,-50" Point2="100,0" />
              <LineSegment Point="50,0" />
              <LineSegment Point="50,50" />
            </PathFigure>
          </PathGeometry>
        </Path.Data>
      </Path>
      <Line StartPoint="120,185" EndPoint="30,115" Stroke="Red" StrokeThickness="2"/>
      <Polygon Points="75,0 120,120 0,45 150,45 30,120" Stroke="DarkBlue" StrokeThickness="1" Fill="Violet" Canvas.Left="150" Canvas.Top="31"/>
      <Polyline Points="0,0 65,0 78,-26 91,39 104,-39 117,13 130,0 195,0" Stroke="Brown" Canvas.Left="30" Canvas.Top="350"/>
    </Canvas>
  </StackPanel>
</UserControl>
{'fraction_non_alphanumeric': 0.1826625386996904, 'fraction_numerical': 0.1153250773993808, 'mean_word_length': 3.9903474903474905, 'pattern_counts': {'":': 0, '<': 47, '<?xml version=': 0, '>': 47, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '4616977', 'n_tokens_mistral': 1106, 'n_tokens_neox': 887, 'n_words': 198}