Skip to content

Commit c5793e6

Browse files
committed
Merge pull request #4 from sakapon/v1.1
Support ICO format.
2 parents 95a03a7 + e163ae5 commit c5793e6

24 files changed

+235
-10
lines changed
14.1 KB
Binary file not shown.
120 KB
Binary file not shown.
-10.9 KB
Loading
223 Bytes
Loading
9.29 KB
Loading
26.3 KB
Loading
8.5 KB
Loading
82.2 KB
Loading

Images/Slimeknight-Warrior/MainWindow.xaml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
33
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
44
xmlns:ed="http://schemas.microsoft.com/expression/2010/drawing"
5-
x:Class="Image123.MainWindow"
5+
x:Class="XamlToImage.MainWindow"
66
Title="XAML to Image" Height="600" Width="900" FontSize="14">
77
<Canvas>
88
<Grid Canvas.Left="20" Canvas.Top="20">
@@ -30,9 +30,7 @@
3030
<Image Source="Slimeknight.jpg" Canvas.Left="20" Canvas.Top="10"/>
3131
<Ellipse Fill="#FFAAAAAA" Height="120" StrokeThickness="0" Width="120"/>
3232
<Ellipse Height="100" StrokeThickness="4" Width="100" Stroke="#FF333333" Canvas.Left="10" Canvas.Top="10"/>
33-
<Viewbox Canvas.Left="18" Canvas.Top="12" Stretch="Fill" Width="84" Height="96">
34-
<TextBlock Text="" FontSize="96" FontFamily="MS PMincho" FontWeight="Bold" Foreground="White" TextOptions.TextHintingMode="Animated"/>
35-
</Viewbox>
33+
<Path Data="M35.546875,44.921043 L35.546875,54.296043 L46.875,54.296043 L46.875,44.921043 z M16.796875,44.921043 L16.796875,54.296043 L28.125,54.296043 L28.125,44.921043 z M35.546875,31.639793 L35.546875,40.624168 L46.875,40.624168 L46.875,31.639793 z M16.796875,31.639793 L16.796875,40.624168 L28.125,40.624168 L28.125,31.639793 z M74.786377,12.889793 C84.824623,15.400375 89.84375,18.785789 89.84375,23.046043 C89.84375,25.650211 88.671875,26.952293 86.328125,26.952293 C84.58252,26.952293 83.241776,26.17308 82.305908,24.614647 C79.994705,21.013573 77.022293,18.045235 73.388672,15.709618 C72.119141,13.829735 72.585037,12.889793 74.786377,12.889793 z M6.8878174,6.0920038 C7.3659258,5.7471542 8.3170567,5.8707504 9.7412109,6.4627919 C17.569986,11.589745 21.484375,16.075829 21.484375,19.921043 C21.484375,22.785629 20.052082,24.217918 17.1875,24.217918 C15.576172,24.217918 14.294434,22.789696 13.342285,19.93325 C12.33317,16.140938 10.176595,12.340477 6.8725586,8.5318823 C6.4046221,7.250145 6.4097085,6.4368515 6.8878174,6.0920038 z M62.536621,3.9054184 L70.837402,5.5411601 C73.352051,7.8035355 73.026527,9.2907562 69.86084,10.002831 C69.632973,15.300682 70.011391,23.294258 70.996094,33.983543 L82.440186,33.269432 L87.115479,26.952293 L95.703125,31.865623 C97.526031,33.896061 97.347,35.379215 95.166016,36.315086 L71.09375,38.56118 C72.119141,47.93618 73.675537,55.915512 75.762939,62.499168 C79.46167,56.61945 83.085121,50.109032 86.633301,42.967918 L93.707275,48.247459 C97.381592,51.4986 96.166992,53.124168 90.063477,53.124168 C86.112465,58.804508 82.263184,63.825668 78.515625,68.187645 C82.019043,74.242332 85.581459,78.234032 89.202881,80.162743 C89.6464,80.105774 89.996338,79.894188 90.252686,79.527977 L93.756104,67.839745 C95.688881,65.841858 96.98893,65.89679 97.65625,68.004539 L96.057129,79.979637 C95.560707,81.778137 95.916748,83.259262 97.125244,84.422997 C98.520912,86.766747 98.038734,88.69342 95.678711,90.203026 C93.501785,90.483788 91.117348,90.064682 88.525391,88.945702 C82.316078,85.434143 77.335609,80.134262 73.583984,73.046043 C65.055336,82.587875 54.404701,89.619125 41.63208,94.139793 C38.877357,94.139793 38.301594,93.026917 39.904785,90.80117 C53.080238,84.856346 63.346352,77.110985 70.703125,67.565086 C67.06543,58.658024 64.880371,49.156883 64.147949,39.061668 L54.296875,39.769676 L54.296875,60.680321 C49.348957,64.236633 46.875,64.191879 46.875,60.546043 L46.875,58.592918 L35.546875,58.592918 L35.546875,67.186668 L49.780273,67.186668 L55.328369,61.717918 L62.524414,67.040184 C64.331055,69.058411 64.129639,70.539536 61.920166,71.483543 L35.546875,71.483543 L35.546875,91.930321 C30.598957,95.486633 28.124998,95.441879 28.125,91.796043 L28.125,71.483543 L5.46875,71.483543 L5.46875,67.186668 L28.125,67.186668 L28.125,58.592918 L16.796875,58.592918 L16.796875,61.461571 C11.848958,65.017883 9.375,64.973129 9.375,61.327293 L9.375,22.655418 L17.242432,27.342918 L46.160889,27.342918 L48.919678,23.827293 L55.419922,28.307274 C57.275391,30.496407 56.901039,31.928696 54.296875,32.604149 L54.296875,35.155418 L63.671875,34.856346 C62.630203,22.087791 62.251785,11.770821 62.536621,3.9054184 z M46.533203,3.9054184 L54.150391,7.5675273 C57.893875,10.082176 57.112625,11.707748 51.806641,12.444237 L41.851807,25.847557 C39.471436,26.844467 38.419594,26.240219 38.696289,24.034813 C41.296387,17.809227 43.908691,11.099434 46.533203,3.9054184 z M22.387695,3.1913071 C30.900063,8.1351547 35.15625,12.800278 35.15625,17.186668 C35.15625,20.311668 33.984375,21.874168 31.640625,21.874168 C29.740396,21.874168 28.446451,20.669746 27.758789,18.260887 C25.773111,13.052559 23.27067,8.9387894 20.251465,5.919579 C18.99007,3.535141 19.702148,2.6257172 22.387695,3.1913071 z" Fill="White" Height="95" Canvas.Left="20" Stretch="Fill" Canvas.Top="15" Width="82" Stroke="#FF333333" StrokeThickness="0.5"/>
3634
</Canvas>
3735
</Border>
3836
</Canvas>
120 KB
Binary file not shown.

0 commit comments

Comments
 (0)