1
<Canvas xmlns="http://schemas.microsoft.com/client/2007" Width="400" Height="400" Background="Black">
2
<InkPresenter Width="400" Height="400" Background="White">
6
<!-- no drawing attributes == small black point -->
9
<StylusPointCollection>
10
<StylusPoint X="20" Y="20" />
11
</StylusPointCollection>
12
</Stroke.StylusPoints>
15
<!-- drawing attributes (transparent colors) == no point -->
17
<Stroke.DrawingAttributes>
18
<DrawingAttributes Color="#00000000" OutlineColor="#00000000" Height="1" Width="1"/>
19
</Stroke.DrawingAttributes>
21
<StylusPointCollection>
22
<StylusPoint X="40" Y="20" />
23
</StylusPointCollection>
24
</Stroke.StylusPoints>
27
<!-- drawing attributes (black with transparent outline) == very small grey point -->
29
<Stroke.DrawingAttributes>
30
<DrawingAttributes Color="#FF000000" OutlineColor="#00000000" Height="1" Width="1"/>
31
</Stroke.DrawingAttributes>
33
<StylusPointCollection>
34
<StylusPoint X="60" Y="20" />
35
</StylusPointCollection>
36
</Stroke.StylusPoints>
39
<!-- drawing attributes (transparent with black outline) == quite big black point -->
41
<Stroke.DrawingAttributes>
42
<DrawingAttributes Color="#00000000" OutlineColor="#FF000000" Height="1" Width="1"/>
43
</Stroke.DrawingAttributes>
45
<StylusPointCollection>
46
<StylusPoint X="80" Y="20" />
47
</StylusPointCollection>
48
</Stroke.StylusPoints>
51
<!-- drawing attributes (transparent with black outline) == identical to above (quite big black point) -->
53
<Stroke.DrawingAttributes>
54
<DrawingAttributes Color="#FF000000" OutlineColor="#FF000000" Height="1" Width="1"/>
55
</Stroke.DrawingAttributes>
57
<StylusPointCollection>
58
<StylusPoint X="100" Y="20" />
59
</StylusPointCollection>
60
</Stroke.StylusPoints>
63
<!-- drawing attributes (black with transparent outline) == invisible -->
65
<Stroke.DrawingAttributes>
66
<DrawingAttributes Color="#FF000000" OutlineColor="#00000000" Height="0" Width="0"/>
67
</Stroke.DrawingAttributes>
69
<StylusPointCollection>
70
<StylusPoint X="120" Y="20" />
71
</StylusPointCollection>
72
</Stroke.StylusPoints>
75
<!-- drawing attributes (transparent with black outline) == small black point (but bigger than no drawing attributes) -->
77
<Stroke.DrawingAttributes>
78
<DrawingAttributes Color="#00000000" OutlineColor="#FF000000" Height="0" Width="0"/>
79
</Stroke.DrawingAttributes>
81
<StylusPointCollection>
82
<StylusPoint X="140" Y="20" />
83
</StylusPointCollection>
84
</Stroke.StylusPoints>
87
<!-- drawing attributes (transparent with black outline) == identical to above (quite big black point) -->
89
<Stroke.DrawingAttributes>
90
<DrawingAttributes Color="#FF000000" OutlineColor="#FF000000" Height="0" Width="0"/>
91
</Stroke.DrawingAttributes>
93
<StylusPointCollection>
94
<StylusPoint X="160" Y="20" />
95
</StylusPointCollection>
96
</Stroke.StylusPoints>
99
</InkPresenter.Strokes>
101
<!-- cloned points using round rectangles -->
103
<Rectangle Fill="#FF000000" Canvas.Left="18.5" Canvas.Top="29.5" Height="3" Width="3" RadiusX="1.5" RadiusY="1.5" />
105
<Rectangle Fill="#FFcccccc" Canvas.Left="59" Canvas.Top="30" Height="2" Width="2" RadiusX="1" RadiusY="1" />
106
<Rectangle Fill="#FF000000" Stroke="#FF000000" Canvas.Left="77.5" Canvas.Top="29.5" Height="5" Width="5" RadiusX="2.5" RadiusY="2.5" />
107
<Rectangle Fill="#FF000000" Stroke="#FF000000" Canvas.Left="97.5" Canvas.Top="29.5" Height="5" Width="5" RadiusX="2.5" RadiusY="2.5" />
109
<Rectangle Fill="#FF000000" Stroke="#FF000000" Canvas.Left="138" Canvas.Top="30" Height="4" Width="4" RadiusX="2" RadiusY="2" />
110
<Rectangle Fill="#FF000000" Stroke="#FF000000" Canvas.Left="158" Canvas.Top="30" Height="4" Width="4" RadiusX="2" RadiusY="2" />