forked from GavinYellow/SharpSCADA
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMicrosoft.Expression.Drawing.xml
More file actions
1770 lines (1747 loc) · 102 KB
/
Copy pathMicrosoft.Expression.Drawing.xml
File metadata and controls
1770 lines (1747 loc) · 102 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?xml version="1.0"?>
<doc>
<assembly>
<name>Microsoft.Expression.Drawing</name>
</assembly>
<members>
<member name="T:Microsoft.Expression.Controls.Callout">
<summary>
Renders a callout shape supporting several shapes combined with a callout arrow.
</summary>
</member>
<member name="T:Microsoft.Expression.Controls.CompositeContentShape">
<summary>
Provides a base class of a composite shape that derives from <see cref="T:System.Windows.Controls.ContentControl"/> and implements <see cref="T:Microsoft.Expression.Media.IShape"/>.
</summary>
<remarks>
<see cref="T:Microsoft.Expression.Controls.CompositeContentShape"/> implements <see cref="T:Microsoft.Expression.Media.IShape"/> interface,
and supports rendering a geometry similar to <see cref="T:System.Windows.Shapes.Shape"/>, but the geometry can be rendered outside the layout boundary.
A typical implementation has a customized default template in generic.xaml which template-binds most shape properties to a <see cref="T:System.Windows.Shapes.Path"/>.
It should also extend the <see cref="P:GeometrySource"/> property to customize the appearance of the <see cref="T:System.Windows.Shapes.Path"/>.
This class also supports showing content together with the shape.
</remarks>
</member>
<member name="T:Microsoft.Expression.Media.IGeometrySourceParameters">
<summary>
Provides an interface to describe the parameters of a Shape.
</summary>
<remarks>
This interface is the data for communication between Shape and GeometrySource.
Typically, a concrete implementation of IShape will implement this interface and pass it into
GeometrySource.UpdateGeometry(), which will then consume the shape as a read-only data provider.
</remarks>
</member>
<member name="T:Microsoft.Expression.Media.IShape">
<summary>
Provides the necessary interface to define a Shape.
Both primitive and composite shapes need to match this interface, although they might derive from different types of FrameworkElement.
</summary>
</member>
<member name="M:Microsoft.Expression.Media.IShape.InvalidateGeometry(Microsoft.Expression.Media.InvalidateGeometryReasons)">
<summary>
Invalidates the geometry for a <see cref="T:Microsoft.Expression.Media.IShape"/>. After the invalidation, the <see cref="T:Microsoft.Expression.Media.IShape"/> will recompute the geometry, which will occur asynchronously.
</summary>
</member>
<member name="P:Microsoft.Expression.Media.IShape.Fill">
<summary>Gets or sets the <see cref="T:System.Windows.Media.Brush" /> that specifies how to paint the interior of the shape.</summary>
<returns>A <see cref="T:System.Windows.Media.Brush" /> that describes how the shape's interior is painted. The default is null.</returns>
</member>
<member name="P:Microsoft.Expression.Media.IShape.Stroke">
<summary>Gets or sets the <see cref="T:System.Windows.Media.Brush" /> that specifies how the <see cref="T:System.Windows.Shapes.Shape" /> outline is painted.</summary>
<returns>A <see cref="T:System.Windows.Media.Brush" /> that specifies how the <see cref="T:System.Windows.Shapes.Shape" /> outline is painted.</returns>
</member>
<member name="P:Microsoft.Expression.Media.IShape.StrokeThickness">
<summary>Gets or sets the width of the <see cref="T:System.Windows.Shapes.Shape" /> stroke outline. </summary>
<returns>The width of the <see cref="T:System.Windows.Shapes.Shape" /> outline, in pixels.</returns>
</member>
<member name="P:Microsoft.Expression.Media.IShape.Stretch">
<summary>Gets or sets a <see cref="T:System.Windows.Media.Stretch" /> enumeration value that describes how the shape fills its allocated space.</summary>
<returns>One of the <see cref="T:System.Windows.Media.Stretch" /> enumeration values. The default value at runtime depends on the type of <see cref="T:System.Windows.Shapes.Shape" />.</returns>
</member>
<member name="P:Microsoft.Expression.Media.IShape.RenderedGeometry">
<summary>
Gets the rendered geometry presented by the rendering engine.
</summary>
</member>
<member name="P:Microsoft.Expression.Media.IShape.GeometryMargin">
<summary>
Gets the margin between logical bounds and actual geometry bounds.
This can be either positive (as in <see cref="T:Microsoft.Expression.Shapes.Arc"/>) or negative (as in <see cref="T:Microsoft.Expression.Controls.Callout"/>).
</summary>
</member>
<member name="E:Microsoft.Expression.Media.IShape.RenderedGeometryChanged">
<summary>
Occurs when RenderedGeometry is changed.
</summary>
</member>
<member name="M:Microsoft.Expression.Controls.CompositeContentShape.CreateGeometrySource">
<summary>
Extends how the shape is drawn with creating geometry source.
</summary>
</member>
<member name="M:Microsoft.Expression.Controls.CompositeContentShape.InvalidateGeometry(Microsoft.Expression.Media.InvalidateGeometryReasons)">
<summary>
Invalidates the geometry for a <see cref="T:Microsoft.Expression.Media.IShape"/>. After the invalidation, the <see cref="T:Microsoft.Expression.Media.IShape"/> will recompute the geometry, which will occur asynchronously.
</summary>
</member>
<member name="M:Microsoft.Expression.Controls.CompositeContentShape.ArrangeOverride(System.Windows.Size)">
<summary>Provides the behavior for the Arrange portion of a Silverlight layout pass. Classes can override this method to define their own Arrange pass behavior.</summary>
<returns>The actual size used once the element is arranged in layout.</returns>
<param name="finalSize">The final area within the parent that this object should use to arrange itself and its children.</param>
<remarks> <see cref="T:Microsoft.Expression.Controls.CompositeContentShape"/> will recompute the Geometry when it's invalidated and update the RenderedGeometry and GeometryMargin.</remarks>
</member>
<member name="M:Microsoft.Expression.Controls.CompositeContentShape.OnContentChanged(System.Object,System.Object)">
<summary>
Transforms a string content into <see cref="T:TextBlock"/> with center alignment and multiple line support.
</summary>
<remarks>
Use template-binding to <see cref="P:Microsoft.Expression.Controls.CompositeContentShape.InternalContent"/> instead of <see cref="P:Content"/> to enable this method.
</remarks>
</member>
<member name="P:Microsoft.Expression.Controls.CompositeContentShape.Fill">
<summary>
Gets or sets the <see cref="T:System.Windows.Media.Brush"/> that specifies how to paint the interior of the shape.
</summary>
<returns>A <see cref="T:System.Windows.Media.Brush"/> that describes how the shape's interior is painted.</returns>
</member>
<member name="P:Microsoft.Expression.Controls.CompositeContentShape.Stroke">
<summary>Gets or sets the <see cref="T:System.Windows.Media.Brush" /> that specifies how the <see cref="T:System.Windows.Shapes.Shape" /> outline is painted.</summary>
<returns>A <see cref="T:System.Windows.Media.Brush" /> that specifies how the <see cref="T:System.Windows.Shapes.Shape" /> outline is painted.</returns>
</member>
<member name="P:Microsoft.Expression.Controls.CompositeContentShape.StrokeThickness">
<summary>Gets or sets the width of the <see cref="T:System.Windows.Shapes.Shape" /> stroke outline. </summary>
<returns>The width of the <see cref="T:System.Windows.Shapes.Shape" /> outline, in pixels.</returns>
</member>
<member name="P:Microsoft.Expression.Controls.CompositeContentShape.Stretch">
<summary>Gets or sets a <see cref="T:System.Windows.Media.Stretch" /> enumeration value that describes how the shape fills its allocated space.</summary>
<returns>One of the <see cref="T:System.Windows.Media.Stretch" /> enumeration values.</returns>
</member>
<member name="P:Microsoft.Expression.Controls.CompositeContentShape.StrokeStartLineCap">
<summary>Gets or sets a <see cref="T:System.Windows.Media.PenLineCap" /> enumeration value that describes the <see cref="T:System.Windows.Shapes.Shape" /> at the start of a <see cref="P:System.Windows.Shapes.Shape.Stroke" />. </summary>
<returns>A value of the <see cref="T:System.Windows.Media.PenLineCap" /> enumeration that specifies the shape at the start of a <see cref="P:System.Windows.Shapes.Shape.Stroke" />.</returns>
</member>
<member name="P:Microsoft.Expression.Controls.CompositeContentShape.StrokeEndLineCap">
<summary>Gets or sets a <see cref="T:System.Windows.Media.PenLineCap" /> enumeration value that describes the <see cref="T:System.Windows.Shapes.Shape" /> at the end of a line. </summary>
<returns>One of the enumeration values for <see cref="T:System.Windows.Media.PenLineCap" />. </returns>
</member>
<member name="P:Microsoft.Expression.Controls.CompositeContentShape.StrokeLineJoin">
<summary>Gets or sets a <see cref="T:System.Windows.Media.PenLineJoin" /> enumeration value that specifies the type of join that is used at the vertices of a <see cref="T:System.Windows.Shapes.Shape" />.</summary>
<returns>A value of the <see cref="T:System.Windows.Media.PenLineJoin" /> enumeration that specifies the join appearance. </returns>
</member>
<member name="P:Microsoft.Expression.Controls.CompositeContentShape.StrokeMiterLimit">
<summary>Gets or sets a limit on the ratio of the miter length to half the <see cref="P:System.Windows.Shapes.Shape.StrokeThickness" /> of a <see cref="T:System.Windows.Shapes.Shape" /> element. </summary>
<returns>The limit on the ratio of the miter length to the <see cref="P:System.Windows.Shapes.Shape.StrokeThickness" /> of a <see cref="T:System.Windows.Shapes.Shape" /> element. This value is always a positive number that is greater than or equal to 1.</returns>
</member>
<member name="P:Microsoft.Expression.Controls.CompositeContentShape.StrokeDashArray">
<summary>Gets or sets a collection of <see cref="T:System.Double" /> values that indicate the pattern of dashes and gaps that is used to outline shapes. </summary>
<returns>A collection of <see cref="T:System.Double" /> values that specify the pattern of dashes and gaps. </returns>
</member>
<member name="P:Microsoft.Expression.Controls.CompositeContentShape.StrokeDashCap">
<summary>Gets or sets a <see cref="T:System.Windows.Media.PenLineCap" /> enumeration value that specifies how the ends of a dash are drawn. </summary>
<returns>One of the enumeration values for <see cref="T:System.Windows.Media.PenLineCap" />. The default is <see cref="F:System.Windows.Media.PenLineCap.Flat" />. </returns>
</member>
<member name="P:Microsoft.Expression.Controls.CompositeContentShape.StrokeDashOffset">
<summary>Gets or sets a <see cref="T:System.Double" /> that specifies the distance within the dash pattern where a dash begins.</summary>
<returns>A <see cref="T:System.Double" /> that represents the distance within the dash pattern where a dash begins. The default value is 0.</returns>
</member>
<member name="P:Microsoft.Expression.Controls.CompositeContentShape.RenderedGeometry">
<summary>
Gets the rendered geometry presented by the rendering engine.
</summary>
</member>
<member name="P:Microsoft.Expression.Controls.CompositeContentShape.GeometryMargin">
<summary>
Gets the margin between the logical bounds and the actual geometry bounds.
This can be either positive (as in <see cref="T:Microsoft.Expression.Shapes.Arc"/>) or negative (as in <see cref="T:Microsoft.Expression.Controls.Callout"/>).
</summary>
</member>
<member name="P:Microsoft.Expression.Controls.CompositeContentShape.InternalContent">
<summary>
Gets or sets the internal content that converts a string into a center-aligned, multiple-line TextBlock.
</summary>
</member>
<member name="E:Microsoft.Expression.Controls.CompositeContentShape.RenderedGeometryChanged">
<summary>
Occurs when RenderedGeometry is changed.
</summary>
</member>
<member name="P:Microsoft.Expression.Controls.Callout.AnchorPoint">
<summary>
Gets or sets the position of the callout relative to the top and left corner.
</summary>
</member>
<member name="P:Microsoft.Expression.Controls.Callout.CalloutStyle">
<summary>
Gets or sets the callout style.
</summary>
</member>
<member name="T:Microsoft.Expression.Controls.CompositeShape">
<summary>
Provides a base class of a composite shape that derives from <see cref="T:System.Windows.Controls.Control"/> and implements <see cref="T:Microsoft.Expression.Media.IShape"/>.
</summary>
<remarks>
<see cref="T:Microsoft.Expression.Controls.CompositeShape"/> implements <see cref="T:Microsoft.Expression.Media.IShape"/> interface,
and supports rendering a geometry similar to <see cref="T:System.Windows.Shapes.Shape"/>, but the geometry can be rendered outside the layout boundary.
A typical implementation has a customized default template in generic.xaml which template-binds most shape properties to a <see cref="T:System.Windows.Shapes.Path"/>.
It should also extend the <see cref="P:GeometrySource"/> property to customize the appearance of the <see cref="T:System.Windows.Shapes.Path"/>.
</remarks>
</member>
<member name="M:Microsoft.Expression.Controls.CompositeShape.CreateGeometrySource">
<summary>
Extends how the shape is drawn with creating geometry source.
</summary>
</member>
<member name="M:Microsoft.Expression.Controls.CompositeShape.InvalidateGeometry(Microsoft.Expression.Media.InvalidateGeometryReasons)">
<summary>
Invalidates the geometry for a <see cref="T:Microsoft.Expression.Media.IShape"/>. After the invalidation, the <see cref="T:Microsoft.Expression.Media.IShape"/> will recompute the geometry, which will occur asynchronously.
</summary>
</member>
<member name="M:Microsoft.Expression.Controls.CompositeShape.ArrangeOverride(System.Windows.Size)">
<summary>Provides the behavior for the Arrange portion of a Silverlight layout pass. Classes can override this method to define their own Arrange pass behavior.</summary>
<returns>The actual size used once the element is arranged in layout.</returns>
<param name="finalSize">The final area within the parent that this object should use to arrange itself and its children.</param>
<remarks> <see cref="T:Microsoft.Expression.Controls.CompositeShape"/> will recompute the Geometry when it's invalidated and update the RenderedGeometry and GeometryMargin.</remarks>
</member>
<member name="P:Microsoft.Expression.Controls.CompositeShape.Fill">
<summary>
Gets or sets the <see cref="T:System.Windows.Media.Brush"/> that specifies how to paint the interior of the shape.
</summary>
<returns>A <see cref="T:System.Windows.Media.Brush"/> that describes how the shape's interior is painted.</returns>
</member>
<member name="P:Microsoft.Expression.Controls.CompositeShape.Stroke">
<summary>Gets or sets the <see cref="T:System.Windows.Media.Brush" /> that specifies how the <see cref="T:System.Windows.Shapes.Shape" /> outline is painted.</summary>
<returns>A <see cref="T:System.Windows.Media.Brush" /> that specifies how the <see cref="T:System.Windows.Shapes.Shape" /> outline is painted.</returns>
</member>
<member name="P:Microsoft.Expression.Controls.CompositeShape.StrokeThickness">
<summary>Gets or sets the width of the <see cref="T:System.Windows.Shapes.Shape" /> stroke outline. </summary>
<returns>The width of the <see cref="T:System.Windows.Shapes.Shape" /> outline, in pixels.</returns>
</member>
<member name="P:Microsoft.Expression.Controls.CompositeShape.Stretch">
<summary>Gets or sets a <see cref="T:System.Windows.Media.Stretch" /> enumeration value that describes how the shape fills its allocated space.</summary>
<returns>One of the <see cref="T:System.Windows.Media.Stretch" /> enumeration values.</returns>
</member>
<member name="P:Microsoft.Expression.Controls.CompositeShape.StrokeStartLineCap">
<summary>Gets or sets a <see cref="T:System.Windows.Media.PenLineCap" /> enumeration value that describes the <see cref="T:System.Windows.Shapes.Shape" /> at the start of a <see cref="P:System.Windows.Shapes.Shape.Stroke" />. </summary>
<returns>A value of the <see cref="T:System.Windows.Media.PenLineCap" /> enumeration that specifies the shape at the start of a <see cref="P:System.Windows.Shapes.Shape.Stroke" />.</returns>
</member>
<member name="P:Microsoft.Expression.Controls.CompositeShape.StrokeEndLineCap">
<summary>Gets or sets a <see cref="T:System.Windows.Media.PenLineCap" /> enumeration value that describes the <see cref="T:System.Windows.Shapes.Shape" /> at the end of a line. </summary>
<returns>One of the enumeration values for <see cref="T:System.Windows.Media.PenLineCap" />. </returns>
</member>
<member name="P:Microsoft.Expression.Controls.CompositeShape.StrokeLineJoin">
<summary>Gets or sets a <see cref="T:System.Windows.Media.PenLineJoin" /> enumeration value that specifies the type of join that is used at the vertices of a <see cref="T:System.Windows.Shapes.Shape" />.</summary>
<returns>A value of the <see cref="T:System.Windows.Media.PenLineJoin" /> enumeration that specifies the join appearance. </returns>
</member>
<member name="P:Microsoft.Expression.Controls.CompositeShape.StrokeMiterLimit">
<summary>Gets or sets a limit on the ratio of the miter length to half the <see cref="P:System.Windows.Shapes.Shape.StrokeThickness" /> of a <see cref="T:System.Windows.Shapes.Shape" /> element. </summary>
<returns>The limit on the ratio of the miter length to the <see cref="P:System.Windows.Shapes.Shape.StrokeThickness" /> of a <see cref="T:System.Windows.Shapes.Shape" /> element. This value is always a positive number that is greater than or equal to 1.</returns>
</member>
<member name="P:Microsoft.Expression.Controls.CompositeShape.StrokeDashArray">
<summary>Gets or sets a collection of <see cref="T:System.Double" /> values that indicate the pattern of dashes and gaps that is used to outline shapes. </summary>
<returns>A collection of <see cref="T:System.Double" /> values that specify the pattern of dashes and gaps. </returns>
</member>
<member name="P:Microsoft.Expression.Controls.CompositeShape.StrokeDashCap">
<summary>Gets or sets a <see cref="T:System.Windows.Media.PenLineCap" /> enumeration value that specifies how the ends of a dash are drawn. </summary>
<returns>One of the enumeration values for <see cref="T:System.Windows.Media.PenLineCap" />. The default is <see cref="F:System.Windows.Media.PenLineCap.Flat" />. </returns>
</member>
<member name="P:Microsoft.Expression.Controls.CompositeShape.StrokeDashOffset">
<summary>Gets or sets a <see cref="T:System.Double" /> that specifies the distance within the dash pattern where a dash begins.</summary>
<returns>A <see cref="T:System.Double" /> that represents the distance within the dash pattern where a dash begins. The default value is 0.</returns>
</member>
<member name="P:Microsoft.Expression.Controls.CompositeShape.RenderedGeometry">
<summary>
Gets the rendered geometry presented by the rendering engine.
</summary>
</member>
<member name="P:Microsoft.Expression.Controls.CompositeShape.GeometryMargin">
<summary>
Gets the margin between the logical bounds and the actual geometry bounds.
This can be either positive (as in <see cref="T:Microsoft.Expression.Shapes.Arc"/>) or negative (as in <see cref="T:Microsoft.Expression.Controls.Callout"/>).
</summary>
</member>
<member name="E:Microsoft.Expression.Controls.CompositeShape.RenderedGeometryChanged">
<summary>
Occurs when RenderedGeometry is changed.
</summary>
</member>
<member name="T:Microsoft.Expression.Controls.LineArrow">
<summary>
Renders a bent line segment with optional arrow heads on both ends.
</summary>
</member>
<member name="M:Microsoft.Expression.Controls.LineArrow.MeasureOverride(System.Windows.Size)">
<summary>Provides the behavior for the Measure pass of Silverlight layout. Classes can override this method to define their own Measure pass behavior.</summary>
<returns>The size that this object determines it requires during layout, based on its calculations of child object allotted sizes, or possibly on other considerations such as fixed container size.</returns>
<param name="availableSize">The available size that this object can give to child objects. Infinity (<see cref="F:System.Double.PositiveInfinity" />) can be specified as a value to indicate that the object will size to whatever content is available.</param>
<remarks>
A default <see cref="T:LineArrow"/> can render at anysize.
The <see cref="P:RenderedGeometry"/> will stretch to the layout boundary and render to the outside if necessary.
</remarks>
</member>
<member name="P:Microsoft.Expression.Controls.LineArrow.BendAmount">
<summary>
Gets or sets the amount of bend for the arrow.
</summary>
<value>The bend amount between 0 and 1.</value>
</member>
<member name="P:Microsoft.Expression.Controls.LineArrow.StartArrow">
<summary>
Gets or sets how the arrow head is rendered at the start of the line.
</summary>
</member>
<member name="P:Microsoft.Expression.Controls.LineArrow.EndArrow">
<summary>
Gets or sets how the arrow head is rendered at the end of the line.
</summary>
</member>
<member name="P:Microsoft.Expression.Controls.LineArrow.StartCorner">
<summary>
Gets or sets from which corner to start drawing the arrow.
</summary>
</member>
<member name="P:Microsoft.Expression.Controls.LineArrow.ArrowSize">
<summary>
Gets or sets the length of the arrow in pixels.
</summary>
</member>
<member name="T:Microsoft.Expression.Controls.PanningItems">
<summary>
Provides an items control that displays one selected item, and allows panning between items using touch gestures.
</summary>
</member>
<member name="M:Microsoft.Expression.Controls.PanningItems.#ctor">
<summary>
The constructor for PanningItems.
</summary>
</member>
<member name="M:Microsoft.Expression.Controls.PanningItems.OnApplyTemplate">
<summary>
Called when the PanningItems template is applied.
</summary>
</member>
<member name="P:Microsoft.Expression.Controls.PanningItems.ScrollDirection">
<summary>
Gets or sets the orientation of items in the control.
</summary>
</member>
<member name="P:Microsoft.Expression.Controls.PanningItems.FlickTolerance">
<summary>
Gets or sets the flick tolerance. This can be a value between 0 and 1.
It represents the percentage of the size of the PanningItems needed to be covered by the flick gesture to trigger an items change.
</summary>
</member>
<member name="P:Microsoft.Expression.Controls.PanningItems.PreviousItem">
<summary>
Gets or sets the item before the selected item.
</summary>
</member>
<member name="P:Microsoft.Expression.Controls.PanningItems.NextItem">
<summary>
Gets or sets the item after the selected item.
</summary>
</member>
<member name="P:Microsoft.Expression.Controls.PanningItems.LoopContents">
<summary>
Gets or sets whether the contents of the items control will loop, so that the first item will follow the last item.
</summary>
</member>
<member name="P:Microsoft.Expression.Controls.PanningItems.SliderValue">
<summary>
Gets or sets the value of the slider controlling the panning motion.
</summary>
</member>
<member name="T:Microsoft.Expression.Drawing.Core.PathGeometryHelper">
<summary>
Helper class to work with PathGeometry.
</summary>
</member>
<member name="M:Microsoft.Expression.Drawing.Core.PathGeometryHelper.ConvertToPathGeometry(System.String)">
<summary>
Converts a string in the path mini-language into a PathGeometry.
</summary>
<param name="abbreviatedGeometry">A string in the path mini-language.</param>
</member>
<member name="M:Microsoft.Expression.Drawing.Core.PathGeometryHelper.AsPathGeometry(System.Windows.Media.Geometry)">
<summary>
Converts the given geometry into a single PathGeometry.
</summary>
</member>
<member name="M:Microsoft.Expression.Drawing.Core.PathGeometryHelper.SyncPolylineGeometry(System.Windows.Media.Geometry@,System.Collections.Generic.IList{System.Windows.Point},System.Boolean)">
<summary>
Updates the given geometry as PathGeometry with a polyline matching a given point list.
</summary>
</member>
<member name="T:Microsoft.Expression.Drawing.Core.PathGeometryHelper.AbbreviatedGeometryParser">
<summary>
Parses abbreviated geometry sytax.
</summary>
</member>
<member name="T:Microsoft.Expression.Drawing.Core.PathSegmentHelper">
<summary>
Helper class to convert an ArcSegment to BezierSegment(s).
</summary>
<summary>
Helper class to work with PathSegment and all variations.
</summary>
<summary>
Strategy classes to handle different types of PathSegment.
</summary>
</member>
<member name="M:Microsoft.Expression.Drawing.Core.PathSegmentHelper.ArcToBezierSegments(System.Windows.Media.ArcSegment,System.Windows.Point)">
<summary>
Converts an arc segment into Bezier format.
Returns BezierSegment, PolyBezierSegment, LineSegment, or null.
When returning null, the arc degenerates into the start point.
</summary>
</member>
<member name="M:Microsoft.Expression.Drawing.Core.PathSegmentHelper.SetIsStroked(System.Windows.Media.PathSegment,System.Boolean)">
<summary>
Avoid calling the three-parameter constructor, since it always sets a local value for IsStroked.
</summary>
<param name="segment"></param>
<param name="isStroked"></param>
</member>
<member name="M:Microsoft.Expression.Drawing.Core.PathSegmentHelper.SyncPolylineSegment(System.Windows.Media.PathSegmentCollection,System.Int32,System.Collections.Generic.IList{System.Windows.Point},System.Int32,System.Int32)">
<summary>
Updates the SegmentCollection with a given polyline matching a given point list.
Tries to keep changes minimum and returns false if nothing has been changed.
</summary>
</member>
<member name="M:Microsoft.Expression.Drawing.Core.PathSegmentHelper.SyncPolyBezierSegment(System.Windows.Media.PathSegmentCollection,System.Int32,System.Collections.Generic.IList{System.Windows.Point},System.Int32,System.Int32)">
<summary>
Updates the collection[index] segment with a poly-Bezier segment matching a given point list.
A given point list must contain 3*N points for N Bezier segments.
</summary>
</member>
<member name="M:Microsoft.Expression.Drawing.Core.PathSegmentHelper.IsEmpty(System.Windows.Media.PathSegment)">
<summary>
Tests if a given path segment is empty.
</summary>
</member>
<member name="M:Microsoft.Expression.Drawing.Core.PathSegmentHelper.GetPointCount(System.Windows.Media.PathSegment)">
<summary>
Gets the point count in a given path segment.
</summary>
</member>
<member name="M:Microsoft.Expression.Drawing.Core.PathSegmentHelper.GetLastPoint(System.Windows.Media.PathSegment)">
<summary>
Gets the last point of a given path segment.
</summary>
</member>
<member name="M:Microsoft.Expression.Drawing.Core.PathSegmentHelper.GetPoint(System.Windows.Media.PathSegment,System.Int32)">
<summary>
Gets the point of a given index in a given segment.
If input is (-1), returns the last point.
</summary>
</member>
<member name="M:Microsoft.Expression.Drawing.Core.PathSegmentHelper.FlattenSegment(System.Windows.Media.PathSegment,System.Collections.Generic.IList{System.Windows.Point},System.Windows.Point,System.Double)">
<summary>
Flattens a given segment and adds resulting points into a given point list.
</summary>
<param name="segment">The segment to be flatten.</param>
<param name="points">The resulting points list.</param>
<param name="start">The start point of the segment.</param>
<param name="tolerance">The error tolerance. Must be positive. Can be zero. Fallback to default tolerance.</param>
</member>
<member name="M:Microsoft.Expression.Drawing.Core.PathSegmentHelper.ArcToBezierHelper.ArcToBezier(System.Double,System.Double,System.Double,System.Double,System.Double,System.Boolean,System.Boolean,System.Double,System.Double,System.Windows.Point[]@,System.Int32@)">
<summary>
ArcToBezier, computes the Bezier approximation of an arc.
</summary>
<remarks>
This utility computes the Bezier approximation for an elliptical arc as
it is defined in the SVG arc spec. The ellipse from which the arc is
carved is axis-aligned in its own coordinates, and defined there by its
x and y radii. The rotation angle defines how the ellipse's axes are
rotated relative to the x axis. The start and end points define one of 4
possible arcs; the sweep and large-arc flags determine which one of
these arcs will be chosen.
Returning cPieces = 0 indicates a line instead of an arc
cPieces = -1 indicates that the arc degenerates to a point
</remarks>
</member>
<member name="M:Microsoft.Expression.Drawing.Core.PathSegmentHelper.ArcToBezierHelper.GetArcAngle(System.Windows.Point,System.Windows.Point,System.Boolean,System.Boolean,System.Double@,System.Double@,System.Int32@)">
<summary>
Gets the number of Bezier arcs, and sine/cosine of each.
</summary>
<remarks>
This is a private utility used by ArcToBezier. Breaks the arc into
pieces so that no piece will span more than 90 degrees. The input
points are on the unit circle.
</remarks>
</member>
<member name="M:Microsoft.Expression.Drawing.Core.PathSegmentHelper.ArcToBezierHelper.GetBezierDistance(System.Double,System.Double)">
<summary>
GetBezierDistance returns the distance as a fraction of the radius.
</summary>
<remarks>
Get the distance from a circular arc's end points to the control points
of the Bezier arc that approximates it, as a fraction of the arc's
radius.
Since the result is relative to the arc's radius, it depends strictly on
the arc's angle. The arc is assumed to be of 90 degrees or less, so the
angle is determined by the cosine of that angle, which is derived from
rDot = the dot product of two radius vectors. We need the Bezier curve
that agrees with the arc's points and tangents at the ends and midpoint.
Here we compute the distance from the curve's endpoints to its control
points.
Since we are looking for the relative distance, we can work on the unit
circle. Place the center of the circle at the origin, and put the X axis
as the bisector between the 2 vectors. Let a be the angle between the
vectors. Then the X coordinates of the 1st and last points are cos(a/2).
Let x be the X coordinate of the 2nd and 3rd points. At t=1/2 we have a
point at (1,0). But the terms of the polynomial there are all equal:
(1-t)^3 = t*(1-t)^2 = t^2*(1-t) = t^3 = 1/8,
so from the Bezier formula there we have:
1 = (1/8) * (cos(a/2) + 3x + 3x + cos(a/2)),
hence
x = (4 - cos(a/2)) / 3
The X difference between that and the 1st point is:
DX = x - cos(a/2) = 4(1 - cos(a/2)) / 3.
But DX = distance / sin(a/2), hence the distance is
dist = (4/3)*(1 - cos(a/2)) / sin(a/2).
Rather than the angle a, we are given rDot = R^2 * cos(a), so we
multiply top and bottom by R:
dist = (4/3)*(R - Rcos(a/2)) / Rsin(a/2)
and use some trig:
________________
cos(a/2) = \/(1 + cos(a)) / 2
______________________
R*cos(a/2) = \/(R^2 + R^2 cos(a)) / 2
________________
= \/(R^2 + rDot) / 2
Let A = (R^2 + rDot)/2.
____________________
R*sin(a/2) = \/R^2 - R^2 cos^2(a/2)
_______
= \/R^2 - A
so:
_
4 R - \/A
dist = - * ------------
3 _______
\/R^2 - A
History:
5/29/2001 MichKa
Created it.
</remarks>
</member>
<member name="M:Microsoft.Expression.Drawing.Core.PathSegmentHelper.ArcToBezierHelper.AcceptRadius(System.Double,System.Double,System.Double@)">
<summary>
Returns false if the radius is too small compared to the chord length (returns true on NaNs)
radius is modified to the value that is accepted.
</summary>
</member>
<member name="T:Microsoft.Expression.Drawing.Core.BezierCurveFlattener">
<summary>
A utility class to flatten Bezier curves.
</summary>
</member>
<member name="M:Microsoft.Expression.Drawing.Core.BezierCurveFlattener.FlattenCubic(System.Windows.Point[],System.Double,System.Collections.Generic.ICollection{System.Windows.Point},System.Boolean,System.Collections.Generic.ICollection{System.Double})">
<summary>
Flattens a Bezier cubic curve and adds the resulting polyline to the third parameter.
</summary>
<param name="controlPoints">The four Bezier cubic control points.</param>
<param name="errorTolerance">The maximum distance between two corresponding points on the true curve
and on the flattened polyline. Must be strictly positive.</param>
<param name="resultPolyline">Where to add the flattened polyline.</param>
<param name="skipFirstPoint">True to skip the first control point when adding the flattened polyline.
<param name="resultParameters">Where to add the value of the Bezier curve parameter associated with
each of the polyline vertices.</param>
If <paramref name="resultPolyline"/> is empty, the first control point
and its associated parameter are always added.</param>
</member>
<member name="M:Microsoft.Expression.Drawing.Core.BezierCurveFlattener.FlattenQuadratic(System.Windows.Point[],System.Double,System.Collections.Generic.ICollection{System.Windows.Point},System.Boolean,System.Collections.Generic.ICollection{System.Double})">
<summary>
Flattens a Bezier quadratic curve and adds the resulting polyline to the third parameter.
Uses degree elevation for Bezier curves to reuse the code for the cubic case.
</summary>
<param name="controlPoints">The three Bezier quadratic control points.</param>
<param name="errorTolerance">The maximum distance between two corresponding points on the true curve
and on the flattened polyline. Must be strictly positive.</param>
<param name="resultPolyline">Where to add the flattened polyline.</param>
<param name="skipFirstPoint">Whether to skip the first control point when adding the flattened polyline.
<param name="resultParameters">Where to add the value of the Bezier curve parameter associated with
each of the polyline vertices.</param>
If <paramref name="resultPolyline"/> is empty, the first control point and
its associated parameter are always added.</param>
</member>
<member name="T:Microsoft.Expression.Drawing.Core.CommonExtensions">
<summary>
Extension methods that support non-geometry types.
</summary>
</member>
<member name="M:Microsoft.Expression.Drawing.Core.CommonExtensions.ForEach(System.Collections.IEnumerable,System.Action{System.Object})">
<summary>
Allows the application of an action delegate (often a very simple lambda) against an entire sequence.
</summary>
</member>
<member name="M:Microsoft.Expression.Drawing.Core.CommonExtensions.ForEach``1(System.Collections.Generic.IEnumerable{``0},System.Action{``0})">
<summary>
Allows the application of an action delegate (often a very simple lambda) against an entire sequence.
</summary>
</member>
<member name="M:Microsoft.Expression.Drawing.Core.CommonExtensions.ForEach``1(System.Collections.Generic.IList{``0},System.Action{``0,System.Int32})">
<summary>
Allows the application of an action delegate (often a very simple lambda) against an entire sequence with the index of each item.
</summary>
</member>
<member name="M:Microsoft.Expression.Drawing.Core.CommonExtensions.EnsureListCount``1(System.Collections.Generic.IList{``0},System.Int32,System.Func{``0})">
<summary>
Ensures the count of a list to a given count. Creates with a given factory or removes items when necessary.
If Input IList is a List, AddRange or RemoveRange is used when there's no factory.
</summary>
</member>
<member name="M:Microsoft.Expression.Drawing.Core.CommonExtensions.EnsureListCountAtLeast``1(System.Collections.Generic.IList{``0},System.Int32,System.Func{``0})">
<summary>
Ensures the count of a list is at least the given count. Creates with a given factory.
</summary>
</member>
<member name="M:Microsoft.Expression.Drawing.Core.CommonExtensions.AddRange``1(System.Collections.Generic.ICollection{``0},System.Collections.Generic.IEnumerable{``0})">
<summary>
Add a range of items to the end of a collection.
If a collection is a list, List.AddRange is used.
</summary>
</member>
<member name="M:Microsoft.Expression.Drawing.Core.CommonExtensions.Last``1(System.Collections.Generic.IList{``0})">
<summary>
Gets the last item of a given list.
</summary>
</member>
<member name="M:Microsoft.Expression.Drawing.Core.CommonExtensions.RemoveLast``1(System.Collections.Generic.IList{``0})">
<summary>
Removes the last item from the given list.
</summary>
</member>
<member name="M:Microsoft.Expression.Drawing.Core.CommonExtensions.DeepCopy``1(``0)">
<summary>
Makes a copy of obj and all it's public properties, including all collection properties.
</summary>
</member>
<member name="M:Microsoft.Expression.Drawing.Core.CommonExtensions.SetIfDifferent(System.Windows.DependencyObject,System.Windows.DependencyProperty,System.Object)">
<summary>
Sets the value if different. Avoids setting a local value if possible.
Returns true when the value has been changed.
</summary>
</member>
<member name="M:Microsoft.Expression.Drawing.Core.CommonExtensions.ClearIfSet(System.Windows.DependencyObject,System.Windows.DependencyProperty)">
<summary>
Clears the dependency property when it is locally set on the given dependency object.
Returns false if the dependeny property is not locally set.
</summary>
</member>
<member name="M:Microsoft.Expression.Drawing.Core.CommonExtensions.FindVisualDesendent``1(System.Windows.DependencyObject,System.Func{``0,System.Boolean})">
<summary>
Finds all visual descendants of a given type and condition using breadth-first search.
</summary>
</member>
<member name="M:Microsoft.Expression.Drawing.Core.CommonExtensions.GetVisualChildren(System.Windows.DependencyObject)">
<summary>
Gets all visual children in IEnumerable.
</summary>
</member>
<member name="T:Microsoft.Expression.Media.DrawingPropertyMetadata">
<summary>
Unifies the interface of PropertyMetadata in WPF and Silverlight.
Provides the necessary notification about render, arrange, or measure.
</summary>
</member>
<member name="M:Microsoft.Expression.Media.DrawingPropertyMetadata.#ctor(Microsoft.Expression.Media.DrawingPropertyMetadataOptions,System.Object)">
<summary>
This private Ctor should only be used by AttachCallback.
</summary>
</member>
<member name="M:Microsoft.Expression.Media.DrawingPropertyMetadata.AttachCallback(System.Object,Microsoft.Expression.Media.DrawingPropertyMetadataOptions,System.Windows.PropertyChangedCallback)">
<summary>
Chain InternalCallback() to attach the instance of DrawingPropertyMetadata on property callback.
In Silverlight, the property metadata is thrown away after setting. Use callback to remember it.
</summary>
</member>
<member name="M:Microsoft.Expression.Media.DrawingPropertyMetadata.InternalCallback(System.Windows.DependencyObject,System.Windows.DependencyPropertyChangedEventArgs)">
<summary>
Before chaining the original callback, trigger DrawingPropertyChangedEvent.
</summary>
</member>
<member name="T:Microsoft.Expression.Drawing.Core.GeometryHelper">
<summary>
Extension methods for geometry-related data structures (Point/Vector/Size/Rect).
</summary>
</member>
<member name="M:Microsoft.Expression.Drawing.Core.GeometryHelper.Resize(System.Windows.Rect,System.Double)">
<summary>
Resizes the rectangle to a relative size while keeping the center invariant.
</summary>
</member>
<member name="M:Microsoft.Expression.Drawing.Core.GeometryHelper.Subtract(System.Windows.Point,System.Windows.Point)">
<summary>
Gets the difference vector between two points.
</summary>
</member>
<member name="M:Microsoft.Expression.Drawing.Core.GeometryHelper.Plus(System.Windows.Point,System.Windows.Point)">
<summary>
Memberwise plus for Point.
</summary>
</member>
<member name="M:Microsoft.Expression.Drawing.Core.GeometryHelper.Minus(System.Windows.Point,System.Windows.Point)">
<summary>
Memberwise minus for Point.
</summary>
</member>
<member name="M:Microsoft.Expression.Drawing.Core.GeometryHelper.ConvertToPathGeometry(System.String)">
<summary>
Converts a string of mini-languages to a <see cref="T:PathGeometry"/>.
</summary>
<remarks>See: Path Markup Syntax(http://msdn.microsoft.com/en-us/library/cc189041(VS.95).aspx)</remarks>
<param name="abbreviatedGeometry">The string of path mini-languages for describing geometric paths.</param>
<returns>A <see cref="T:PathGeometry"/> converted from the the path mini-languages.</returns>
</member>
<member name="M:Microsoft.Expression.Drawing.Core.GeometryHelper.FlattenFigure(System.Windows.Media.PathFigure,System.Collections.Generic.IList{System.Windows.Point},System.Double)">
<summary>
Flattens a <see cref="T:PathFigure"/> and adds result points to a given <paramref name="points"/>.
</summary>
<param name="figure">The input <see cref="T:PathFigure"/>.</param>
<param name="points">The point list to which result points will append.</param>
<param name="tolerance">A positive number specifying the maximum allowed error from the result points to the input path figure. A Value of zero allows the algorithm to pick the tolerance automatically.</param>
</member>
<member name="M:Microsoft.Expression.Drawing.Core.GeometryHelper.GetArcPoint(System.Double)">
<summary>
Gets the normalized arc in a (0,0)(1,1) box.
Zero degrees is mapped to [0.5, 0] (up), and clockwise.
</summary>
</member>
<member name="M:Microsoft.Expression.Drawing.Core.GeometryHelper.GetArcPoint(System.Double,System.Windows.Rect)">
<summary>
Gets the absolute arc point in a given bound with a given relative radius.
</summary>
</member>
<member name="M:Microsoft.Expression.Drawing.Core.GeometryHelper.GetArcAngle(System.Windows.Point)">
<summary>
Gets the angle on an arc relative to a (0,0)(1,1) box.
Zero degrees is mapped to [0.5, 0] (up), and clockwise.
</summary>
</member>
<member name="M:Microsoft.Expression.Drawing.Core.GeometryHelper.GetArcAngle(System.Windows.Point,System.Windows.Rect)">
<summary>
Gets the angle on an arc from a given absolute point relative to a bound.
</summary>
</member>
<member name="M:Microsoft.Expression.Drawing.Core.GeometryHelper.RelativeTransform(System.Windows.Rect,System.Windows.Rect)">
<summary>
Computes the transform that moves "Rect from" to "Rect to".
</summary>
</member>
<member name="M:Microsoft.Expression.Drawing.Core.GeometryHelper.RelativeTransform(System.Windows.UIElement,System.Windows.UIElement)">
<summary>
Computes the transform from the coordinate space of one <c>UIElement</c> to another.
</summary>
<param name="from">The source element.</param>
<param name="to">The destination element.</param>
<returns>The transform between the <c>UIElement</c>s, or null if it cannot be computed.</returns>
</member>
<member name="M:Microsoft.Expression.Drawing.Core.GeometryHelper.RelativeToAbsolutePoint(System.Windows.Rect,System.Windows.Point)">
<summary>
Maps a relative point to an absolute point using the mapping from a given bound to a (0,0)(1,1) box.
</summary>
</member>
<member name="M:Microsoft.Expression.Drawing.Core.GeometryHelper.AbsoluteToRelativePoint(System.Windows.Rect,System.Windows.Point)">
<summary>
Maps an absolute point to a relative point using the mapping from a (0,0)(1,1) box to a given bound.
</summary>
</member>
<member name="M:Microsoft.Expression.Drawing.Core.GeometryHelper.GetStretchBound(System.Windows.Rect,System.Windows.Media.Stretch,System.Windows.Size)">
<summary>
Computes the bound after stretching within a given logical bound.
If stretch to uniform, use given aspectRatio.
If aspectRatio is empty, it's equivalent to Fill.
If stretch is None, it's equivalent to Fill or Uniform.
</summary>
</member>
<member name="M:Microsoft.Expression.Drawing.Core.GeometryHelper.Midpoint(System.Windows.Point,System.Windows.Point)">
<summary>
Returns the mid point of two points.
</summary>
<param name="lhs">The first point.</param>
<param name="rhs">The second point.</param>
<returns>The mid point between <paramref name="lhs"/> and <paramref name="rhs"/>.</returns>
</member>
<member name="M:Microsoft.Expression.Drawing.Core.GeometryHelper.Dot(System.Windows.Vector,System.Windows.Vector)">
<summary>
Returns the dot product of two vectors.
</summary>
<param name="lhs">The first vector.</param>
<param name="rhs">The second vector.</param>
<returns>The dot product of <paramref name="lhs"/> and <paramref name="rhs"/>.</returns>
</member>
<member name="M:Microsoft.Expression.Drawing.Core.GeometryHelper.Dot(System.Windows.Point,System.Windows.Point)">
<summary>
Returns the dot product of two points.
</summary>
</member>
<member name="M:Microsoft.Expression.Drawing.Core.GeometryHelper.Distance(System.Windows.Point,System.Windows.Point)">
<summary>
Returns the distance between two points.
</summary>
<param name="lhs">The first point.</param>
<param name="rhs">The second point.</param>
<returns>The distance between <paramref name="lhs"/> and <paramref name="rhs"/>.</returns>
</member>
<member name="M:Microsoft.Expression.Drawing.Core.GeometryHelper.SquaredDistance(System.Windows.Point,System.Windows.Point)">
<summary>
Returns the square of the distance between two points.
</summary>
<param name="lhs">The first point.</param>
<param name="rhs">The second point.</param>
<returns>The square of the distance between <paramref name="lhs"/> and <paramref name="rhs"/>.</returns>
</member>
<member name="M:Microsoft.Expression.Drawing.Core.GeometryHelper.Determinant(System.Windows.Point,System.Windows.Point)">
<summary>
Determinant of the cross product. Equivalent to directional area.
</summary>
</member>
<member name="M:Microsoft.Expression.Drawing.Core.GeometryHelper.Normal(System.Windows.Point,System.Windows.Point)">
<summary>
Computes the normal direction vector of given line segments.
</summary>
</member>
<member name="M:Microsoft.Expression.Drawing.Core.GeometryHelper.Perpendicular(System.Windows.Vector)">
<summary>
Computes the perpendicular vector, 90-degrees, counter-clockwise.
Vector to the right perpendicular results in a vector to up.
</summary>
</member>
<member name="M:Microsoft.Expression.Drawing.Core.GeometryHelper.GeometryEquals(System.Windows.Media.Geometry,System.Windows.Media.Geometry)">
<summary>
Returns whether the two geometries are identical.
</summary>
</member>
<member name="M:Microsoft.Expression.Drawing.Core.GeometryHelper.EnsureGeometryType``1(``0@,System.Windows.Media.Geometry@,System.Func{``0})">
<summary>
Ensures the value is an instance of result type (T). If not, replace with a new instance of type (T).
</summary>
</member>
<member name="M:Microsoft.Expression.Drawing.Core.GeometryHelper.EnsureSegmentType``1(``0@,System.Collections.Generic.IList{System.Windows.Media.PathSegment},System.Int32,System.Func{``0})">
<summary>
Ensures the list[index] is an instance of result type (T). If not, replace with a new instance of type (T).
</summary>
</member>
<member name="T:Microsoft.Expression.Drawing.Core.MathHelper">
<summary>
Helper class that provides static properties and methods related to floating point arithmetic.
</summary>
</member>
<member name="F:Microsoft.Expression.Drawing.Core.MathHelper.Epsilon">
<summary>
The minimum distance to consider that two values are same.
Note: internal floating point in MIL/SL is float, not double.
</summary>
</member>
<member name="F:Microsoft.Expression.Drawing.Core.MathHelper.TwoPI">
<summary>
The value of the angle of a full circle.
</summary>
</member>
<member name="F:Microsoft.Expression.Drawing.Core.MathHelper.PentagramInnerRadius">
<summary>
The inner radius for a pentagram polygon shape, at precision of three digits in percentage.
(1 - Sin36 * Sin72 / Sin54) / (Cos36) ^ 2, which is 0.47210998990512996761913067272407
</summary>
</member>
<member name="M:Microsoft.Expression.Drawing.Core.MathHelper.IsVerySmall(System.Double)">
<summary>
Determines whether a <c>System.Double</c> value is small enough to be considered
equivalent to zero.
</summary>
<param name="value"></param>
<returns><c>True</c> if value is smaller than <c>DoubleTolerance</c>;
otherwise, <c>False</c>.</returns>
</member>
<member name="M:Microsoft.Expression.Drawing.Core.MathHelper.EnsureRange(System.Double,System.Nullable{System.Double},System.Nullable{System.Double})">
<summary>
Returns the value that's within the given range.
A given min/max that is null equals no limit.
</summary>
</member>
<member name="M:Microsoft.Expression.Drawing.Core.MathHelper.Hypotenuse(System.Double,System.Double)">
<summary>
Computes the Euclidean norm of the vector (x, y).
</summary>
<param name="x">The first component.</param>
<param name="y">The second component.</param>
<returns>The Euclidean norm of the vector (x, y).</returns>
</member>
<member name="M:Microsoft.Expression.Drawing.Core.MathHelper.DoubleFromMantissaAndExponent(System.Double,System.Int32)">
<summary>
Computes a real number from the mantissa and exponent.
</summary>
<param name="x"></param>
<param name="exp"></param>
<returns>The value of x * 2^exp if successful.</returns>
</member>
<member name="M:Microsoft.Expression.Drawing.Core.MathHelper.IsFiniteDouble(System.Double)">
<summary>
Tests a double.
</summary>
<param name="x">The double to test.</param>
<returns><c>True</c> if x is not a NaN and is not equal to plus or minus infinity;
otherwise, <c>False</c>.</returns>
</member>
<member name="T:Microsoft.Expression.Drawing.Core.PathFigureHelper">
<summary>
Helper class to work with PathFigure.
</summary>
</member>
<member name="M:Microsoft.Expression.Drawing.Core.PathFigureHelper.FlattenFigure(System.Windows.Media.PathFigure,System.Collections.Generic.IList{System.Windows.Point},System.Double,System.Boolean)">
<summary>
Flattens the given figure and adds result points to the given point list.
</summary>
<param name="tolerance">The error tolerance. Must be positive. Can be zero. Fallback to default tolerance.</param>
</member>
<member name="M:Microsoft.Expression.Drawing.Core.PathFigureHelper.AllSegments(System.Windows.Media.PathFigure)">
<summary>
Iterates all segments inside a given figure, and returns the correct start point for each segment.
</summary>
</member>
<member name="M:Microsoft.Expression.Drawing.Core.PathFigureHelper.SyncPolylineFigure(System.Windows.Media.PathFigure,System.Collections.Generic.IList{System.Windows.Point},System.Boolean,System.Boolean)">
<summary>
Synchronizes the figure to the given list of points as a single polyline segment.
Tries to keep the change to a minimum and returns false if nothing has been changed.
</summary>
</member>
<member name="M:Microsoft.Expression.Drawing.Core.PathFigureHelper.SyncEllipseFigure(System.Windows.Media.PathFigure,System.Windows.Rect,System.Windows.Media.SweepDirection,System.Boolean)">
<summary>
Synchronizes the given figure to be a closed ellipse with two arc segments.
</summary>
</member>
<member name="T:Microsoft.Expression.Drawing.Core.PathSegmentData">
<summary>
A Tuple data structure for PathSegment and the corresponding StartPoint.
</summary>
</member>
<member name="T:Microsoft.Expression.Drawing.Core.PolylineData">
<summary>
Represents a polyline with a list of connecting points.
A closed polygon is represented by repeating the first point at the end.
The differences, normals, angles, and lengths are computed on demand.
</summary>
</member>
<member name="M:Microsoft.Expression.Drawing.Core.PolylineData.#ctor(System.Collections.Generic.IList{System.Windows.Point})">
<summary>
Constructs a polyline with two or more points.
</summary>
<param name="points"></param>
</member>
<member name="M:Microsoft.Expression.Drawing.Core.PolylineData.Difference(System.Int32)">
The forward difference vector of polyline.
Points[i] + Differences[i] = Points[i+1]
</member>
<member name="M:Microsoft.Expression.Drawing.Core.PolylineData.SmoothNormal(System.Int32,System.Double,System.Double)">
<summary>
Compute the normal vector of given location (lerp(index, index+1, fraction).
If the location is within range of cornerRadius, interpolate the normal direction.
</summary>
<param name="cornerRadius">The range of normal smoothless. If zero, no smoothness and return the exact normal on index.</param>
</member>
<member name="P:Microsoft.Expression.Drawing.Core.PolylineData.IsClosed">
<summary>
The polyline is closed when the first and last points are repeated.
</summary>
</member>
<member name="P:Microsoft.Expression.Drawing.Core.PolylineData.Count">
<summary>
The count of points in this polyline.
</summary>
</member>
<member name="P:Microsoft.Expression.Drawing.Core.PolylineData.TotalLength">
<summary>
The total arc length of this polyline.
</summary>
</member>
<member name="P:Microsoft.Expression.Drawing.Core.PolylineData.Points">
<summary>
The point array of this polyline.
</summary>
</member>
<member name="P:Microsoft.Expression.Drawing.Core.PolylineData.Lengths">
<summary>
The length between line segments, Points[i] to Points[i+1].
</summary>
</member>
<member name="P:Microsoft.Expression.Drawing.Core.PolylineData.Normals">
<summary>
The list of normal vectors for each segment.
Normals[i] is the normal of segment p[i] to p[i + 1].
Normals[N-1] == Normals[N-2].
</summary>
</member>
<member name="P:Microsoft.Expression.Drawing.Core.PolylineData.Angles">
<summary>
The list of Cos(angle) between two line segments on point p[i].
Note: The value is cos(angle) = Dot(u, v). Not in degrees.
</summary>