67 references to Graphics
System.Workflow.Activities (18)
Designers\ConditionalDesigner.cs (4)
105
e.
Graphics
.FillPath(compositeDesignerTheme.ForegroundBrush, decisionDiamond);
106
e.
Graphics
.DrawPath(compositeDesignerTheme.ForegroundPen, decisionDiamond);
112
e.
Graphics
.FillPath(compositeDesignerTheme.ForegroundBrush, decisionDiamond);
113
e.
Graphics
.DrawPath(compositeDesignerTheme.ForegroundPen, decisionDiamond);
Designers\ListenDesigner.cs (4)
83
e.
Graphics
.FillEllipse(compositeDesignerTheme.ForegroundBrush, roundRectangle);
84
e.
Graphics
.DrawEllipse(compositeDesignerTheme.ForegroundPen, roundRectangle);
87
e.
Graphics
.FillEllipse(compositeDesignerTheme.ForegroundBrush, roundRectangle);
88
e.
Graphics
.DrawEllipse(compositeDesignerTheme.ForegroundPen, roundRectangle);
Designers\SetStateDesigner.cs (1)
172
ActivityDesignerPaint.DrawText(e.
Graphics
,
Designers\StateDesigner.cs (1)
1562
Graphics graphics = e.
Graphics
;
Designers\StateDesignerConnector.cs (6)
149
e.
Graphics
.DrawLines(lineEditPen, segments);
179
StateMachineDesignerPaint.DrawConnector(e.
Graphics
,
214
StateMachineDesignerPaint.DrawConnector(e.
Graphics
,
239
e.
Graphics
.FillPath(Brushes.White, path);
240
e.
Graphics
.DrawPath(e.AmbientTheme.SelectionForegroundPen, path);
246
e.
Graphics
.FillEllipse(e.AmbientTheme.SelectionForegroundBrush, bounds);
Designers\WhileDesigner.cs (2)
63
DrawConnectors(e.
Graphics
, compositeDesignerTheme.ForegroundPen, points, LineAnchor.None, LineAnchor.ArrowAnchor);
64
DrawConnectors(e.
Graphics
, compositeDesignerTheme.ForegroundPen, new Point[] { points[0], new Point(bounds.Left + bounds.Width / 2, bounds.Bottom) }, LineAnchor.None, LineAnchor.None);
System.Workflow.ComponentModel (44)
AuthoringOM\Design\ActivityDesigner.cs (3)
1672
ActivityDesignerPaint.DrawDesignerBackground(e.
Graphics
, this);
1677
ActivityDesignerPaint.DrawText(e.
Graphics
, font, Text, TextRectangle, StringAlignment.Near, e.AmbientTheme.TextQuality, e.DesignerTheme.ForegroundBrush);
1681
ActivityDesignerPaint.DrawImage(e.
Graphics
, Image, ImageRectangle, DesignerContentAlignment.Fill);
AuthoringOM\Design\ActivityPreviewDesigner.cs (3)
539
this.previewStrip.Draw(e.
Graphics
);
545
e.
Graphics
.DrawLine(e.DesignerTheme.ForegroundPen, this.separatorLine[0], this.separatorLine[1]);
546
this.previewWindow.Draw(e.
Graphics
, e.ViewPort);
AuthoringOM\Design\CompositeActivityDesigner.cs (2)
1239
ActivityDesignerPaint.DrawExpandButton(e.
Graphics
, expandButtonRectangle, !Expanded, compositeDesignerTheme);
1467
using (PaintEventArgs paintEventArgs = new PaintEventArgs(e.
Graphics
, e.ViewPort))
AuthoringOM\Design\Connector.cs (9)
174
e.
Graphics
.FillEllipse(Brushes.White, bounds);
175
e.
Graphics
.DrawEllipse(e.AmbientTheme.SelectionForegroundPen, bounds);
178
e.
Graphics
.FillEllipse(e.AmbientTheme.SelectionForegroundBrush, bounds);
445
ActivityDesignerPaint.DrawConnectors(e.
Graphics
, e.DesignerTheme.ForegroundPen, new List<Point>(ConnectorSegments).ToArray(), arrowCapSize, maxCapSize, theme.ConnectorStartCap, theme.ConnectorEndCap);
459
ActivityDesignerPaint.DrawConnectors(e.
Graphics
, lineSelectionPen, new List<Point>(ConnectorSegments).ToArray(), arrowCapSize, maxCapSize, theme.ConnectorStartCap, theme.ConnectorEndCap);
487
ActivityDesignerPaint.DrawConnectors(e.
Graphics
, editableConnectorPen, segments, arrowCapSize, maxCapSize, theme.ConnectorStartCap, theme.ConnectorEndCap);
528
e.
Graphics
.FillPath(Brushes.White, path);
529
e.
Graphics
.DrawPath(e.AmbientTheme.SelectionForegroundPen, path);
535
e.
Graphics
.FillEllipse(e.AmbientTheme.SelectionForegroundBrush, bounds);
AuthoringOM\Design\FreeFormDesigner.cs (3)
1077
Region oldClipRegion = e.
Graphics
.Clip;
1085
e.
Graphics
.Clip = clipRegion;
1099
e.
Graphics
.Clip = oldClipRegion;
AuthoringOM\Design\MessageFilters\GlyphManager.cs (2)
252
glyph.Draw(e.
Graphics
, designer);
255
this.activeGlyph.DrawActivated(e.
Graphics
, this.activeDesigner);
AuthoringOM\Design\ParallelActivityDesigner.cs (11)
355
DrawConnectors(e.
Graphics
, compositeDesignerTheme.ForegroundPen, parallelLinks, LineAnchor.None, LineAnchor.None);
362
DrawConnectors(e.
Graphics
, compositeDesignerTheme.ForegroundPen, parallelLinks, LineAnchor.None, LineAnchor.None);
369
DrawConnectors(e.
Graphics
, compositeDesignerTheme.ForegroundPen, parallelLinks, LineAnchor.None, LineAnchor.None);
376
DrawConnectors(e.
Graphics
, compositeDesignerTheme.ForegroundPen, parallelLinks, LineAnchor.None, LineAnchor.None);
389
DrawConnectors(e.
Graphics
, compositeDesignerTheme.ForegroundPen, connectingLine, compositeDesignerTheme.ConnectorStartCap, compositeDesignerTheme.ConnectorEndCap);
396
DrawConnectors(e.
Graphics
, compositeDesignerTheme.ForegroundPen, connectingLine, compositeDesignerTheme.ConnectorStartCap, compositeDesignerTheme.ConnectorEndCap);
424
DrawConnectors(e.
Graphics
, e.AmbientTheme.DropIndicatorPen, new Point[] { new Point(dropTargetRectangle.Left + dropTargetRectangle.Width / 2, dropTargetRectangle.Top + 2), new Point(dropTargetRectangle.Left + dropTargetRectangle.Width / 2, dropTargetRectangle.Bottom - 2) }, compositeDesignerTheme.ConnectorStartCap, compositeDesignerTheme.ConnectorEndCap);
438
DrawConnectors(e.
Graphics
, e.AmbientTheme.DropIndicatorPen, connectorPoints, LineAnchor.None, LineAnchor.None);
442
DrawConnectors(e.
Graphics
, e.AmbientTheme.DropIndicatorPen, connectorPoints, LineAnchor.None, LineAnchor.None);
454
DrawConnectors(e.
Graphics
, e.AmbientTheme.DropIndicatorPen, connectorPoints, LineAnchor.None, LineAnchor.None);
458
DrawConnectors(e.
Graphics
, e.AmbientTheme.DropIndicatorPen, connectorPoints, LineAnchor.None, LineAnchor.None);
AuthoringOM\Design\SequentialActivityDesigner.cs (4)
411
DrawConnectors(e.
Graphics
, compositeDesignerTheme.ForegroundPen, new Point[] { new Point(connectors[0].X + connectors[0].Width / 2, connectors[0].Y + 2), new Point(connectors[0].X + connectors[0].Width / 2, helpTextRectangle.Top - 2) }, compositeDesignerTheme.ConnectorStartCap, LineAnchor.None);
412
DrawConnectors(e.
Graphics
, compositeDesignerTheme.ForegroundPen, new Point[] { new Point(connectors[0].X + connectors[0].Width / 2, helpTextRectangle.Bottom + 2), new Point(connectors[0].X + connectors[0].Width / 2, connectors[0].Bottom - 2) }, LineAnchor.None, compositeDesignerTheme.ConnectorEndCap);
415
ActivityDesignerPaint.DrawText(e.
Graphics
, compositeDesignerTheme.Font, this.HelpText, helpTextRectangle, StringAlignment.Center, e.AmbientTheme.TextQuality, compositeDesignerTheme.ForegroundBrush);
425
DrawConnectors(e.
Graphics
, pen, new Point[] { new Point(connectors[i].Left + connectors[i].Width / 2, connectors[i].Top + 2), new Point(connectors[i].Left + connectors[i].Width / 2, connectors[i].Bottom - 2) }, startCap, endCap);
AuthoringOM\Design\SequentialWorkflowHeaderFooter.cs (2)
213
ActivityDesignerPaint.DrawText(e.
Graphics
, font, Text, TextRectangle, StringAlignment.Center, TextQuality.AntiAliased, e.DesignerTheme.ForegroundBrush);
217
ActivityDesignerPaint.DrawImage(e.
Graphics
, Image, ImageRectangle, DesignerContentAlignment.Fill);
AuthoringOM\Design\SequentialWorkflowRootDesigner.cs (4)
388
e.
Graphics
.FillRectangle(linearGradientBrush, rectangle);
389
e.
Graphics
.DrawLine(e.DesignerTheme.BorderPen, rectangle.Left, rectangle.Bottom, rectangle.Right, rectangle.Bottom);
475
e.
Graphics
.FillRectangle(linearGradientBrush, rectangle);
476
e.
Graphics
.DrawLine(e.DesignerTheme.BorderPen, rectangle.Left, rectangle.Top, rectangle.Right, rectangle.Top);
AuthoringOM\Design\StructuredCompositeActivityDesigner.cs (1)
675
using (PaintEventArgs paintEventArgs = new PaintEventArgs(e.
Graphics
, e.ViewPort))
System.WorkflowServices (5)
System\Workflow\Activities\ReceiveActivityDesigner.cs (2)
186
e.
Graphics
.DrawImage(ImageResources.Arrow, incomingArrowRect);
198
e.
Graphics
.DrawImage(ImageResources.Arrow, outgoingArrowRect);
System\Workflow\Activities\SendActivityDesigner.cs (2)
138
e.
Graphics
.DrawImage(ImageResources.Arrow, outgoingArrowRect);
151
e.
Graphics
.DrawImage(ImageResources.Arrow, incomingArrowRect);
System\Workflow\ComponentModel\Design\DesignerPainter.cs (1)
126
sink.OnPaint(new PaintEventArgs(eventArgs.
Graphics
, eventArgs.ClipRectangle), eventArgs.ClipRectangle);