3 overrides of DrawLine
PresentationCore (3)
System\Windows\Media\DrawingDrawingContext.cs (1)
55
public override void
DrawLine
(
System\Windows\Media\Generated\DrawingContextWalker.cs (1)
46
public override void
DrawLine
(
System\Windows\Media\Generated\RenderDataDrawingContext.cs (1)
45
public override void
DrawLine
(
38 references to DrawLine
PresentationCore (2)
MS\Internal\TextFormatting\LineServicesCallbacks.cs (1)
1410
drawingContext.
DrawLine
(
System\Windows\Media\Generated\DrawingContextDrawingContextWalker.cs (1)
51
_drawingContext.
DrawLine
(
PresentationFramework (33)
MS\Internal\Controls\InkCanvasSelectionAdorner.cs (1)
74
dc.
DrawLine
(squareCapPen,
MS\Internal\Ink\PenCursorManager.cs (5)
535
dc.
DrawLine
(pen1, new Point(5, 5), new Point(5, 0));
536
dc.
DrawLine
(pen1, new Point(5, 5), new Point(0, 5));
537
dc.
DrawLine
(pen1, new Point(5, 5), new Point(2, 2));
538
dc.
DrawLine
(pen1, new Point(5, 5), new Point(8, 2));
539
dc.
DrawLine
(pen1, new Point(5, 5), new Point(2, 8));
MS\Internal\PtsHost\ParagraphVisual.cs (4)
105
dc.
DrawLine
(pen,
116
dc.
DrawLine
(pen,
127
dc.
DrawLine
(pen,
138
dc.
DrawLine
(pen,
MS\Internal\PtsHost\SectionVisual.cs (1)
117
dc.
DrawLine
(pen, rulePositions[index], rulePositions[index + 1]);
System\Windows\Controls\Border.cs (4)
462
dc.
DrawLine
(
494
dc.
DrawLine
(
525
dc.
DrawLine
(
555
dc.
DrawLine
(
System\Windows\Controls\Grid.cs (2)
4038
drawingContext.
DrawLine
(s_oddDashPen, start, end);
4039
drawingContext.
DrawLine
(s_evenDashPen, start, end);
System\Windows\Controls\Primitives\TickBar.cs (8)
465
dc.
DrawLine
(pen, startPoint, new Point(startPoint.X + tickLen, startPoint.Y));
466
dc.
DrawLine
(pen, new Point(startPoint.X, endPoint.Y),
501
dc.
DrawLine
(pen,
518
dc.
DrawLine
(pen,
572
dc.
DrawLine
(pen, startPoint, new Point(startPoint.X, startPoint.Y + tickLen));
573
dc.
DrawLine
(pen, new Point(endPoint.X, startPoint.Y),
607
dc.
DrawLine
(pen,
623
dc.
DrawLine
(pen,
System\Windows\Documents\ColumnResizeAdorner.cs (1)
103
drawingContext.
DrawLine
(_pen, new Point(0, 0),
System\Windows\Documents\CompositionAdorner.cs (1)
305
drawingContext.
DrawLine
(pen, startPoint, endPoint);
System\Windows\Documents\FixedPageStructure.cs (4)
220
dc.
DrawLine
(pen, rect.TopLeft, rect.TopRight);
221
dc.
DrawLine
(pen, rect.TopRight, rect.BottomRight);
222
dc.
DrawLine
(pen, rect.BottomRight, rect.BottomLeft);
223
dc.
DrawLine
(pen, rect.BottomLeft, rect.TopLeft);
System\Windows\Documents\SpellerHighlightLayer.cs (2)
161
drawingContext.
DrawLine
(pen, new Point(0.0, 0.0), new Point(0.5, 1.0));
162
drawingContext.
DrawLine
(pen, new Point(0.5, 1.0), new Point(1.0, 0.0));
System.Windows.Controls.Ribbon (3)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonContextualTabGroupsPanel.cs (2)
154
drawingContext.
DrawLine
(separatorPen, new Point(startX, ActualHeight), new Point(startX, this.ActualHeight + separatorHeight));
157
drawingContext.
DrawLine
(separatorPen, new Point(startX + tabGroupHeader.TabsDesiredWidth, ActualHeight), new Point(startX + tabGroupHeader.TabsDesiredWidth, this.ActualHeight + separatorHeight));
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonTabHeadersPanel.cs (1)
259
drawingContext.
DrawLine
(separatorPen, new Point(xOffset, 0), new Point(xOffset, this.ActualHeight));