426 references to Top
System.Drawing (1)
misc\GDI\NativeMethods.cs (1)
180this.top = r.Top;
System.Web.DataVisualization (10)
Common\General\ChartGraphics.cs (10)
2434 this.DrawLine(markPen, absPositionRounded.Left, absPositionRounded.Top, absPositionRounded.Left, absPositionRounded.Bottom); 2435 this.DrawLine(markPen, absPositionRounded.Right, absPositionRounded.Top, absPositionRounded.Right, absPositionRounded.Bottom); 2439 this.DrawLine(markPen, absPositionRounded.Left, absPositionRounded.Top, absPositionRounded.Right, absPositionRounded.Top); 2460 (axis.AxisPosition == AxisPosition.Top) ? absPositionRounded.Top : absPositionRounded.Bottom, 2474 absPositionRounded.Top, 2476 absPositionRounded.Top); 2483 (axis.AxisPosition == AxisPosition.Top) ? absPositionRounded.Top : absPositionRounded.Bottom, 2584 leftLine[0].Y = absPositionRounded.Top; 2585 rightLine[0].Y = absPositionRounded.Top;
System.Windows.Forms (174)
misc\GDI\NativeMethods.cs (1)
180this.top = r.Top;
misc\GDI\WindowsGraphics2.cs (2)
127DrawEllipse(pen, brush, bounds.Left, bounds.Top, bounds.Right, bounds.Bottom); 565adjustedBounds.Y = adjustedBounds.Top + adjustedBounds.Height / 2 - textHeight / 2;
winforms\Managed\System\WinForms\ButtonInternal\ButtonBaseAdapter.cs (2)
446Point p1 = new Point(r.Right - 1, r.Top ); // upper inner right. 447Point p2 = new Point(r.Left , r.Top ); // upper left.
winforms\Managed\System\WinForms\ButtonInternal\ButtonPopupAdapter.cs (8)
101g.DrawLine(windowFrame, r.Left + 1, r.Top + 1, r.Right - 2, r.Top + 1); 102g.DrawLine(windowFrame, r.Left + 1, r.Top + 1, r.Left + 1, r.Bottom - 2); 106g.DrawLine(windowFrame, r.Right - 1, r.Top, r.Right - 1, r.Bottom); 109g.DrawLine(highlight, r.Left, r.Top, r.Right, r.Top); 110g.DrawLine(highlight, r.Left, r.Top, r.Left, r.Bottom); 114g.DrawLine(buttonShadow, r.Right - 2, r.Top + 1, r.Right - 2, r.Bottom - 2);
winforms\Managed\System\WinForms\ButtonInternal\CheckBoxBaseAdapter.cs (7)
180wg.DrawLine(high, r.Right-1 , r.Top, r.Right-1, r.Bottom); 183wg.DrawLine(shadow, r.Left, r.Top, r.Left , r.Bottom); 184wg.DrawLine(shadow, r.Left, r.Top, r.Right- 1, r.Top); 186wg.DrawLine(face, r.Right - 2, r.Top + 1, r.Right - 2, r.Bottom - 1); 222CheckBoxRenderer.DrawCheckBox(g, new Point(layout.checkBounds.Left, layout.checkBounds.Top), CheckBoxRenderer.ConvertFromButtonState(style, true, Control.MouseIsOver), Control.HandleInternal); 230CheckBoxRenderer.DrawCheckBox(g, new Point(layout.checkBounds.Left, layout.checkBounds.Top), CheckBoxRenderer.ConvertFromButtonState(style, false, Control.MouseIsOver), Control.HandleInternal);
winforms\Managed\System\WinForms\ButtonInternal\RadioButtonBaseAdapter.cs (1)
188RadioButtonRenderer.DrawRadioButton(g, new Point(check.Left, check.Top), RadioButtonRenderer.ConvertFromButtonState(style, Control.MouseIsOver), Control.HandleInternal);
winforms\Managed\System\WinForms\ComboBox.cs (3)
4618int top = parentRect.Top + _owningComboBox.ItemHeight * currentIndex; 6065Point middle = new Point(dropDownRect.Left + dropDownRect.Width / 2, dropDownRect.Top + dropDownRect.Height / 2); 6103Rectangle topOwnerDrawArea = new Rectangle(0,0,comboBox.Width, innerBorder.Top);
winforms\Managed\System\WinForms\Control.cs (3)
9747e.Graphics.DrawLine(pen, clientRectangle.Left, clientRectangle.Top, 9750clientRectangle.Right, clientRectangle.Top); 9806Rectangle newClipRect = new Rectangle(rectangle.Left + this.Left, rectangle.Top + this.Top, rectangle.Width, rectangle.Height);
winforms\Managed\System\WinForms\ControlPaint.cs (1)
1194graphics.FillRectangle(brush, bounds.Left + 1, bounds.Top + 1, bounds.Width - 2, bounds.Height - 2);
winforms\Managed\System\WinForms\DataGridViewButtonCell.cs (1)
341int borderAndPaddingHeights = borderWidthsRect.Top + borderWidthsRect.Height + cellStyle.Padding.Vertical;
winforms\Managed\System\WinForms\DataGridViewCheckBoxCell.cs (6)
763int borderAndPaddingHeights = borderWidthsRect.Top + borderWidthsRect.Height + cellStyle.Padding.Vertical; 1322checkBoxY = valBounds.Top + (valBounds.Height - checkBoxSize.Height) / 2; 1326checkBoxY = valBounds.Top; 1393g.DrawLine(pen, checkBounds.Left, checkBounds.Top, checkBounds.Right-1, checkBounds.Top); 1394g.DrawLine(pen, checkBounds.Left, checkBounds.Top, checkBounds.Left, checkBounds.Bottom-1);
winforms\Managed\System\WinForms\DataGridViewColumnHeaderCell.cs (4)
539int borderAndPaddingHeights = borderWidthsRect.Top + borderWidthsRect.Height + cellStyle.Padding.Vertical; 967valBounds.Top + 976valBounds.Top + 1012valBounds.Top + (valBounds.Height-sortGlyphHeight)/2);
winforms\Managed\System\WinForms\DataGridViewComboBoxCell.cs (9)
1373int borderAndPaddingHeights = borderWidthsRect.Top + borderWidthsRect.Height + cellStyle.Padding.Vertical; 2194g.FillRectangle(br, valBounds.Left, valBounds.Top, valBounds.Width, valBounds.Height); 2210g.FillRectangle(br, valBounds.Left + 1, valBounds.Top + 1, valBounds.Width - 2, valBounds.Height - 2); 2221g.FillRectangle(br, valBounds.Left, valBounds.Top, valBounds.Width, valBounds.Height); 2248valBounds.Top, 2255valBounds.Top + 1, 2263valBounds.Top + 2, 2441Point middle = new Point(dropRect.Left + dropRect.Width / 2, dropRect.Top + dropRect.Height / 2); 2463dropRect.Top + (dropRect.Height + nonXPTriangleHeight) / 2);
winforms\Managed\System\WinForms\DataGridViewImageCell.cs (1)
477int borderAndPaddingHeights = borderWidthsRect.Top + borderWidthsRect.Height + cellStyle.Padding.Vertical;
winforms\Managed\System\WinForms\DataGridViewLinkCell.cs (1)
664int borderAndPaddingHeights = borderWidthsRect.Top + borderWidthsRect.Height + cellStyle.Padding.Vertical;
winforms\Managed\System\WinForms\DataGridViewMethods.cs (22)
4929rowY = this.layout.ColumnHeaders.Top; 5688Rectangle rectInsertionBar = new Rectangle(0, this.layout.ColumnHeaders.Top, DATAGRIDVIEW_insertionBarWidth, this.layout.ColumnHeaders.Height); 8668if (mouseY >= rectScrollingArea.Top && mouseY <= rectScrollingArea.Bottom) 8705if (mouseY < rectScrollingArea.Top) 8714yOffset = mouseY - rectScrollingArea.Top; // yOffset strictly negative 8768hti = HitTest(mouseX, rectScrollingArea.Top); 8794hti = HitTest(mouseX, rectScrollingArea.Top); 8822mouseY = rectScrollingArea.Top+1; 8826hti = HitTest(mouseX, rectScrollingArea.Top); 8868mouseY = rectScrollingArea.Top+1; 8883if (mouseY < rectScrollingArea.Top) 8898yOffset = mouseY - rectScrollingArea.Top; // yOffset strictly negative 8903if (mouseY < this.layout.Data.Top) 8905mouseY = this.layout.Data.Top+1; 9410hti.rowStart = this.layout.TopLeftHeader.Top; 9428else if (this.layout.TopLeftHeader.Top + this.layout.TopLeftHeader.Height - y < DATAGRIDVIEW_rowSizingHotZone) 9434hti.mouseBarOffset = this.layout.TopLeftHeader.Top + this.layout.TopLeftHeader.Height - y - 1; 9452hti.rowStart = this.layout.ColumnHeaders.Top; 10126top = this.GetRowDisplayRectangle(this.displayedBandsInfo.FirstDisplayedScrollingRow, true /*cutOverflow*/).Top; 10131top = rowDisplayRect.Top; 19831Debug.Assert(bounds.Top == 0); 22470if (this.dataGridViewOper[DATAGRIDVIEWOPER_trackKeyboardColResize] && this.resizeClipRectangle.Contains(x, this.resizeClipRectangle.Top))
winforms\Managed\System\WinForms\DataGridViewRowHeaderCell.cs (1)
666int borderAndPaddingHeights = borderWidthsRect.Top + borderWidthsRect.Height + cellStyle.Padding.Vertical;
winforms\Managed\System\WinForms\DataGridViewTextBoxCell.cs (1)
439int borderAndPaddingHeights = borderWidthsRect.Top + borderWidthsRect.Height + cellStyle.Padding.Vertical;
winforms\Managed\System\WinForms\DataGridViewTopLeftHeaderCell.cs (1)
185int borderAndPaddingHeights = borderWidthsRect.Top + borderWidthsRect.Height + cellStyle.Padding.Vertical;
winforms\Managed\System\WinForms\GroupBoxRenderer.cs (10)
209clipMiddle.Height -= (textBounds.Bottom - boxBounds.Top); 229g.DrawLine(light, bounds.Left + 1, bounds.Top + 1, bounds.Left + 1, bounds.Height - 1); 230g.DrawLine(dark, bounds.Left, bounds.Top + 1, bounds.Left, bounds.Height - 2); 237g.DrawLine(light, bounds.Left + 1, bounds.Top + 1, bounds.Width - 1, bounds.Top + 1); 238g.DrawLine(dark, bounds.Left, bounds.Top, bounds.Width - 2, bounds.Top); 241g.DrawLine(light, bounds.Width - 1, bounds.Top, bounds.Width - 1, bounds.Height - 1); 242g.DrawLine(dark, bounds.Width - 2, bounds.Top, bounds.Width - 2, bounds.Height - 2); 284int boxTop = bounds.Top + font.Height / 2;
winforms\Managed\System\WinForms\Layout\DockAndAnchorLayout.cs (3)
209top = Math.Max(Math.Abs(top), Math.Abs(cachedBounds.Top)); 214top = top > 0 ? top : element.Bounds.Top; 564anchorInfo.Top = element.Bounds.Top;
winforms\Managed\System\WinForms\Layout\LayoutUtils.cs (4)
482Debug.Assert(region1.Bottom == region2.Top, "Adjacency error."); 487Debug.Assert(region2.Bottom == region1.Top, "Adjacency error."); 513int top = (specified & AnchorStyles.Top) != 0 ? substitutionBounds.Top : originalBounds.Top;
winforms\Managed\System\WinForms\ListView.cs (4)
3133y = Math.Max(itemBounds.Top, iconBounds.Top) - 1; 3136y = Math.Max(itemBounds.Top, iconBounds.Top) + 1;
winforms\Managed\System\WinForms\ListViewItem.cs (3)
1033return this.ListView.FindNearestItem(searchDirection, r.Left, r.Top); 1037return this.ListView.FindNearestItem(searchDirection, r.Left, r.Top); 1039return this.ListView.FindNearestItem(searchDirection, r.Right, r.Top);
winforms\Managed\System\WinForms\NativeMethods.cs (2)
3092this.top = r.Top; 6474this.top = r.Top;
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (1)
5851newBounds.Y = dragBaseRect.Top + delta;
winforms\Managed\System\WinForms\ToolStrip.cs (10)
2354if (!down && otherItem.Bounds.Bottom > selectedItem.Bounds.Top) { 2358else if (down && otherItem.Bounds.Top < selectedItem.Bounds.Bottom) { 2365Point otherItemMidLocation = new Point(otherItem.Bounds.X + otherItem.Width/2, (down)? otherItem.Bounds.Top : otherItem.Bounds.Bottom); 2425else if ((!down && tanWinner.Bounds.Bottom <= hypotenuseWinner.Bounds.Top) 2426||(down && tanWinner.Bounds.Top > hypotenuseWinner.Bounds.Bottom)) { 4292gripRectangle.Y = Math.Max(0,displayRect.Top - Grip.Margin.Top); 4306gripRectangle.Y = displayRect.Top - (Grip.GripThickness + Grip.Margin.Bottom); 4446bool verticallyContained = clientBounds.Contains(clientBounds.X, item.Bounds.Top) && 5482insertionRect = new Rectangle(owner.Margin.Left, item.Bounds.Top, owner.Width - (owner.Margin.Horizontal) -1, ToolStrip.insertionBeamWidth); 5562RelativeLocation relativeLocation = (check.Y <= (orig.Top + heightUnit)) ?
winforms\Managed\System\WinForms\ToolStripComboBox.cs (1)
736Point middle = new Point(dropDownRect.Left + dropDownRect.Width / 2, dropDownRect.Top + dropDownRect.Height / 2);
winforms\Managed\System\WinForms\ToolStripDropDownMenu.cs (23)
520if (!displayRect.Contains(displayRect.X, nextItem.Bounds.Top) 524if (displayRect.Y > nextItem.Bounds.Top) { 525delta = nextItem.Bounds.Top - displayRect.Y; 533if ( (this.Items[index].Visible && displayRect.Contains(displayRect.X, this.Items[index].Bounds.Top - delta)) 545delta += (this.Items[index].Bounds.Bottom - delta) - displayRect.Top; 629int delta = this.Items[0].Bounds.Top - this.DisplayRectangle.Top; 659int alreadyScrolled = displayRectangle.Top - this.Items[0].Bounds.Top; 669if (displayRectangle.Contains(displayRectangle.X, adjustedLastItemBounds.Top) 677deltaToScroll += this.Items[i + 1].Bounds.Top - this.Items[i].Bounds.Top; 690if (displayRectangle.Contains(displayRectangle.X, adjustedLastItemBounds.Top) 698deltaToScroll -= this.Items[i].Bounds.Top - this.Items[i - 1].Bounds.Top; 707this.scrollAmount = this.DisplayRectangle.Top - this.Items[0].Bounds.Top; 739delta = itemTop.Bounds.Top - itemBottom.Bounds.Top; 751delta = itemBottom.Bounds.Top - itemTop.Bounds.Top; 814if (this.indexOfFirstDisplayedItem == -1 && displayRectangle.Contains(displayRectangle.X, item.Bounds.Top)) { 818minY = Math.Min(minY, item.Bounds.Top);
winforms\Managed\System\WinForms\ToolStripHighContrastRenderer.cs (1)
323 g.DrawLine(foreColorPen, startX, bounds.Top, startX, bounds.Bottom - 1);
winforms\Managed\System\WinForms\ToolStripProfessionalRenderer.cs (6)
1133g.FillRectangle(b, overflowBoundsFill.Width - 3, overflowBoundsFill.Top - 1, 1, 1); 1134g.FillRectangle(b, overflowBoundsFill.Width - 2, overflowBoundsFill.Top - 2, 1, 1); 1147g.FillRectangle(b, overflowBoundsFill.X, overflowBoundsFill.Top - 1, 1, 1); 1313g.DrawLine(leftPen, startX, bounds.Top, startX, bounds.Bottom - 1); 1317g.DrawLine(rightPen, startX, bounds.Top + 1, startX, bounds.Bottom); 1443Point middle = new Point(dropDownRect.Left + dropDownRect.Width / 2, dropDownRect.Top + dropDownRect.Height / 2);
winforms\Managed\System\WinForms\ToolStripRenderer.cs (1)
711Point middle = new Point(dropDownRect.Left + dropDownRect.Width / 2, dropDownRect.Top + dropDownRect.Height / 2);
winforms\Managed\System\WinForms\ToolStripSplitButton.cs (2)
386splitterBounds = new Rectangle(splitButtonButtonBounds.Right, splitButtonButtonBounds.Top, splitterWidth, splitButtonButtonBounds.Height); 391splitterBounds = new Rectangle(dropDownButtonBounds.Right, dropDownButtonBounds.Top, splitterWidth, dropDownButtonBounds.Height);
winforms\Managed\System\WinForms\ToolStripSplitStackLayout.cs (5)
319int y = displayRectangle.Top; 391int lastTop = displayRectangle.Top; 456int y = displayRectangle.Top; 534|| (itemBounds.Top < displayRectangle.Top)) {
winforms\Managed\System\WinForms\ToolStripSystemRenderer.cs (6)
629g.DrawLine(leftPen, startX, bounds.Top, startX, bounds.Bottom); 633g.DrawLine(rightPen, startX, bounds.Top, startX, bounds.Bottom); 670g.DrawLine(topPen, bounds.Left, bounds.Top, bounds.Right -1, bounds.Top); 671g.DrawLine(leftPen, bounds.Left, bounds.Top, bounds.Left, bounds.Bottom-1); 672g.DrawLine(rightPen, bounds.Right-1, bounds.Top, bounds.Right -1, bounds.Bottom-1);
winforms\Managed\System\WinForms\ToolStripTextBox.cs (1)
873g.FillRectangle(b, 0, 0, this.Width, clientRect.Top); // top border
winforms\Managed\System\WinForms\ToolTip.cs (6)
1573visibleRect.top = (r.top < screen.WorkingArea.Top) ? screen.WorkingArea.Top:r.top; 1757int pointY = (toolRectangle.Top + toolRectangle.Bottom) / 2; 1799int centeredY = toolRectangle.Top + toolRectangle.Height / 2 - height / 2; // tooltip will be aligned with tool horizontally 1802possibleLocations[TOP_LOCATION_INDEX] = new Rectangle(centeredX, toolRectangle.Top - height, width, height); 1866return new Point(optimalLocation.Left, optimalLocation.Top);
winforms\Managed\System\WinForms\TreeView.cs (1)
2922NativeMethods.HWND_TOPMOST, bounds.Left, bounds.Top, 0, 0, NativeMethods.SWP_NOACTIVATE | NativeMethods.SWP_NOSIZE | NativeMethods.SWP_NOZORDER);
winforms\Managed\System\WinForms\UpDownBase.cs (4)
811Rectangle clipLeft = new Rectangle(bounds.Left, bounds.Top, border, bounds.Height); 812Rectangle clipTop = new Rectangle(bounds.Left, bounds.Top, bounds.Width, border); 813Rectangle clipRight = new Rectangle(bounds.Right - border, bounds.Top, border, bounds.Height); 1118/*y*/clientArea.Top-borderFixup,
winforms\Managed\System\WinForms\WinFormsUtils.cs (5)
126else if (bounds.Top < constrainingBounds.Top) { 128bounds.Y = constrainingBounds.Top; 630HandleRef hClippingRegion = new HandleRef(null, SafeNativeMethods.CreateRectRgn(viewportOrg.x + bounds.Left, viewportOrg.y + bounds.Top, viewportOrg.x + bounds.Right, viewportOrg.y + bounds.Bottom)); 645success = SafeNativeMethods.SetViewportOrgEx(hDC, viewportOrg.x + bounds.Left, viewportOrg.y + bounds.Top, lastViewPort);
System.Windows.Forms.DataVisualization (10)
Common\General\ChartGraphics.cs (10)
2434 this.DrawLine(markPen, absPositionRounded.Left, absPositionRounded.Top, absPositionRounded.Left, absPositionRounded.Bottom); 2435 this.DrawLine(markPen, absPositionRounded.Right, absPositionRounded.Top, absPositionRounded.Right, absPositionRounded.Bottom); 2439 this.DrawLine(markPen, absPositionRounded.Left, absPositionRounded.Top, absPositionRounded.Right, absPositionRounded.Top); 2460 (axis.AxisPosition == AxisPosition.Top) ? absPositionRounded.Top : absPositionRounded.Bottom, 2474 absPositionRounded.Top, 2476 absPositionRounded.Top); 2483 (axis.AxisPosition == AxisPosition.Top) ? absPositionRounded.Top : absPositionRounded.Bottom, 2584 leftLine[0].Y = absPositionRounded.Top; 2585 rightLine[0].Y = absPositionRounded.Top;
System.Workflow.Activities (21)
Designers\ConditionalDesigner.cs (5)
101diamondRectangle.Y = bounds.Top + TitleHeight + (compositeDesignerTheme.ConnectorSize.Height * 3 / 2 - diamondRectangle.Height) / 2 + 1; 121new Point(rectangle.Left + rectangle.Width / 2, rectangle.Top), 122new Point(rectangle.Right - 1, rectangle.Top + rectangle.Height / 2), 124new Point(rectangle.Left, rectangle.Top + rectangle.Height / 2), 125new Point(rectangle.Left + rectangle.Width / 2, rectangle.Top)
Designers\ListenDesigner.cs (1)
81roundRectangle.Y = bounds.Top + TitleHeight + (compositeDesignerTheme.ConnectorSize.Height * 3 / 2 - roundRectangle.Height) / 2;
Designers\StateDesigner.cs (1)
803Point point = new Point(midHorz, bounds.Top);
Designers\StateDesigner.Layouts.cs (1)
1378bounds.Top + ambientTheme.SelectionSize.Height);
Designers\StateDesignerConnector.cs (6)
234path.AddLine(new Point(bounds.Left + bounds.Width / 2, bounds.Top), new Point(bounds.Right, bounds.Top + bounds.Height / 2)); 235path.AddLine(new Point(bounds.Right, bounds.Top + bounds.Height / 2), new Point(bounds.Left + bounds.Width / 2, bounds.Bottom)); 236path.AddLine(new Point(bounds.Left + bounds.Width / 2, bounds.Bottom), new Point(bounds.Left, bounds.Top + bounds.Height / 2)); 237path.AddLine(new Point(bounds.Left, bounds.Top + bounds.Height / 2), new Point(bounds.Left + bounds.Width / 2, bounds.Top));
Designers\StateMachineDesignerPaint.cs (3)
58int top = rectangle.Top; 65if (top < bounds.Top) 66top = bounds.Top;
Designers\WhileDesigner.cs (3)
47connectionPoint = new Point(imageRectangle.Right + e.AmbientTheme.Margin.Width / 2, imageRectangle.Top + imageRectangle.Height / 2); 49connectionPoint = new Point(textRectangle.Right + e.AmbientTheme.Margin.Width / 2, textRectangle.Top + textRectangle.Height / 2); 51connectionPoint = new Point(bounds.Left + bounds.Width / 2 + e.AmbientTheme.Margin.Width / 2, bounds.Top + e.AmbientTheme.Margin.Height / 2);
Rules\Design\Dialogs\IntellisenseTextBox.cs (1)
450this.listBoxAutoComplete.Size = new Size(this.listBoxAutoComplete.Width, topLevelControlSize.Height - listboxRectangle.Top);
System.Workflow.ComponentModel (201)
AuthoringOM\Design\ActivityDesigner.cs (9)
542textRectangle.Y = bounds.Top + (bounds.Height - this.textSize.Height) / 2; 565imageRectangle.Y = bounds.Top + (bounds.Height - DesignerTheme.ImageSize.Height) / 2; 947Rectangle hitRectangle = new Rectangle(bounds.Left, bounds.Top, bounds.Left - bounds.Left, bounds.Height); 950hitRectangle = new Rectangle(bounds.Left, bounds.Top, bounds.Width, bounds.Height - bounds.Height); 953hitRectangle = new Rectangle(bounds.Right, bounds.Top, bounds.Width - bounds.Width, bounds.Height); 1180connections.Add(new Point(bounds.Left, bounds.Top + bounds.Height / 2)); 1183connections.Add(new Point(bounds.Left + bounds.Width / 2, bounds.Top)); 1186connections.Add(new Point(bounds.Right, bounds.Top + bounds.Height / 2)); 3043smartTagRectangle.Y = rectangle.Top - margin.Height / 2;
AuthoringOM\Design\ActivityPreviewDesigner.cs (2)
800return new Point(dropConnector.Left + dropConnector.Width / 2, dropConnector.Top + dropConnector.Height / 2); 991Point configErrorLocation = new Point(rectangle.Right - configErrorSize.Width / 2, rectangle.Top - configErrorSize.Height / 2);
AuthoringOM\Design\Connector.cs (15)
523path.AddLine(new Point(bounds.Left + bounds.Width / 2, bounds.Top), new Point(bounds.Right, bounds.Top + bounds.Height / 2)); 524path.AddLine(new Point(bounds.Right, bounds.Top + bounds.Height / 2), new Point(bounds.Left + bounds.Width / 2, bounds.Bottom)); 525path.AddLine(new Point(bounds.Left + bounds.Width / 2, bounds.Bottom), new Point(bounds.Left, bounds.Top + bounds.Height / 2)); 526path.AddLine(new Point(bounds.Left, bounds.Top + bounds.Height / 2), new Point(bounds.Left + bounds.Width / 2, bounds.Top)); 1699designerEdgeCover.Add(DesignerEdges.Left, new Point[] { new Point(bounds.Left, bounds.Top), new Point(bounds.Left, bounds.Bottom) }); 1700designerEdgeCover.Add(DesignerEdges.Top, new Point[] { new Point(bounds.Left, bounds.Top), new Point(bounds.Right, bounds.Top) }); 1701designerEdgeCover.Add(DesignerEdges.Right, new Point[] { new Point(bounds.Right, bounds.Top), new Point(bounds.Right, bounds.Bottom) }); 1820begin.Y = Math.Min(Math.Max(begin.Y, enclosingRectangle.Top + 1), enclosingRectangle.Bottom - 1); 2791AddCover(new ConnectorSegment(new Point(rectangle.Left, rectangle.Top), new Point(rectangle.Left, rectangle.Bottom))); 2792AddCover(new ConnectorSegment(new Point(rectangle.Right, rectangle.Top), new Point(rectangle.Right, rectangle.Bottom))); 2793AddCover(new ConnectorSegment(new Point(rectangle.Left, rectangle.Top), new Point(rectangle.Right, rectangle.Top)));
AuthoringOM\Design\DesignerHelpers.cs (91)
220rectangle.Y = destination.Top; 224rectangle.Y = destination.Top + destination.Height / 2 - rectangle.Height / 2; 305graphics.DrawLine(lightPen, bounds.Left + 1, bounds.Bottom - 1, bounds.Left + 1, bounds.Top + 1); 306graphics.DrawLine(lightPen, bounds.Left + 1, bounds.Top + 1, bounds.Right - 1, bounds.Top + 1); 308graphics.DrawLine(darkPen, bounds.Right - 1, bounds.Bottom - 1, bounds.Right - 1, bounds.Top + 1); 310graphics.DrawLine(darkdarkPen, bounds.Right, bounds.Bottom, bounds.Right, bounds.Top); 342((gridCoOrdY + ambientTheme.GridSize.Height / 2) >= viewableRectangle.Top && (gridCoOrdY + ambientTheme.GridSize.Height / 2) <= viewableRectangle.Bottom)) 380graphics.DrawLine(CompositeDesignerTheme.ExpandButtonForegoundPen, boundingRect.Left + 2, boundingRect.Top + boundingRect.Height / 2, boundingRect.Right - 2, boundingRect.Top + boundingRect.Height / 2); 382graphics.DrawLine(CompositeDesignerTheme.ExpandButtonForegoundPen, boundingRect.Left + boundingRect.Width / 2, boundingRect.Top + 2, boundingRect.Left + boundingRect.Width / 2, boundingRect.Bottom - 2); 583graphics.DrawLine(Pens.Red, bounds.Left, bounds.Top, bounds.Right, bounds.Bottom); 584graphics.DrawLine(Pens.Red, bounds.Right, bounds.Top, bounds.Left, bounds.Bottom); 758roundedRectangle.AddLine(rectangle.Left, rectangle.Bottom - radius, rectangle.Left, rectangle.Top + radius); 759roundedRectangle.AddArc(rectangle.Left, rectangle.Top, diameter, diameter, 180.0f, 90.0f); 760roundedRectangle.AddLine(rectangle.Left + radius, rectangle.Top, rectangle.Right - radius, rectangle.Top); 761roundedRectangle.AddArc(rectangle.Right - diameter, rectangle.Top, diameter, diameter, 270.0f, 90.0f); 762roundedRectangle.AddLine(rectangle.Right, rectangle.Top + radius, rectangle.Right, rectangle.Bottom - radius); 784scrollIndicatorPath.AddLine(bounds.Left + (bounds.Width - arrowSize.Width) / 2, bounds.Top, bounds.Left + (bounds.Width - arrowSize.Width) / 2, bounds.Top + arrowSize.Height); 785scrollIndicatorPath.AddLine(bounds.Left + (bounds.Width - arrowSize.Width) / 2, bounds.Top + arrowSize.Height, bounds.Left + (bounds.Width - arrowSize.Width) / 2 + arrowSize.Width, bounds.Top + midPoint); 786scrollIndicatorPath.AddLine(bounds.Left + (bounds.Width - arrowSize.Width) / 2 + arrowSize.Width, bounds.Top + midPoint, bounds.Left + (bounds.Width - arrowSize.Width) / 2, bounds.Top); 790scrollIndicatorPath.AddLine(bounds.Left + (bounds.Width - arrowSize.Width) / 2, bounds.Top + midPoint, bounds.Left + (bounds.Width - arrowSize.Width) / 2 + arrowSize.Width, bounds.Top + arrowSize.Height); 791scrollIndicatorPath.AddLine(bounds.Left + (bounds.Width - arrowSize.Width) / 2 + arrowSize.Width, bounds.Top + arrowSize.Height, bounds.Left + (bounds.Width - arrowSize.Width) / 2 + arrowSize.Width, bounds.Top); 792scrollIndicatorPath.AddLine(bounds.Left + (bounds.Width - arrowSize.Width) / 2 + arrowSize.Width, bounds.Top, bounds.Left + (bounds.Width - arrowSize.Width) / 2, bounds.Top + midPoint); 803scrollIndicatorPath.AddLine(bounds.Left, bounds.Top + (bounds.Height - arrowSize.Height) / 2, bounds.Left + arrowSize.Width, bounds.Top + (bounds.Height - arrowSize.Height) / 2); 804scrollIndicatorPath.AddLine(bounds.Left + arrowSize.Width, bounds.Top + (bounds.Height - arrowSize.Height) / 2, bounds.Left + midPoint, bounds.Top + (bounds.Height - arrowSize.Height) / 2 + arrowSize.Height); 805scrollIndicatorPath.AddLine(bounds.Left + midPoint, bounds.Top + (bounds.Height - arrowSize.Height) / 2 + arrowSize.Height, bounds.Left, bounds.Top + (bounds.Height - arrowSize.Height) / 2); 809scrollIndicatorPath.AddLine(bounds.Left + midPoint, bounds.Top + (bounds.Height - arrowSize.Height) / 2, bounds.Left + arrowSize.Width, bounds.Top + (bounds.Height - arrowSize.Height) / 2 + arrowSize.Height); 810scrollIndicatorPath.AddLine(bounds.Left + arrowSize.Width, bounds.Top + (bounds.Height - arrowSize.Height) / 2 + arrowSize.Height, bounds.Left, bounds.Top + (bounds.Height - arrowSize.Height) / 2 + arrowSize.Height); 811scrollIndicatorPath.AddLine(bounds.Left, bounds.Top + (bounds.Height - arrowSize.Height) / 2 + arrowSize.Height, bounds.Left + midPoint, bounds.Top + (bounds.Height - arrowSize.Height) / 2); 828pagePaths[0].AddLine(pageBounds.Left, pageBounds.Top + pageFoldSize, pageBounds.Left + pageFoldSize, pageBounds.Top + pageFoldSize); 829pagePaths[0].AddLine(pageBounds.Left + pageFoldSize, pageBounds.Top + pageFoldSize, pageBounds.Left + pageFoldSize, pageBounds.Top); 830pagePaths[0].AddLine(pageBounds.Left + pageFoldSize, pageBounds.Top, pageBounds.Right, pageBounds.Top); 831pagePaths[0].AddLine(pageBounds.Right, pageBounds.Top, pageBounds.Right, pageBounds.Bottom); 833pagePaths[0].AddLine(pageBounds.Left, pageBounds.Bottom, pageBounds.Left, pageBounds.Top + pageFoldSize); 837pagePaths[1].AddLine(pageBounds.Left, pageBounds.Top + pageFoldSize, pageBounds.Left + pageFoldSize, pageBounds.Top + pageFoldSize); 838pagePaths[1].AddLine(pageBounds.Left + pageFoldSize, pageBounds.Top + pageFoldSize, pageBounds.Left + pageFoldSize, pageBounds.Top); 839pagePaths[1].AddLine(pageBounds.Left + pageFoldSize, pageBounds.Top, pageBounds.Left, pageBounds.Top + pageFoldSize); 845pagePaths[0].AddLine(pageBounds.Left, pageBounds.Top, pageBounds.Right, pageBounds.Top); 846pagePaths[0].AddLine(pageBounds.Right, pageBounds.Top, pageBounds.Right, pageBounds.Bottom); 850pagePaths[0].AddLine(pageBounds.Left, pageBounds.Bottom - pageFoldSize, pageBounds.Left, pageBounds.Top); 863pagePaths[0].AddLine(pageBounds.Left, pageBounds.Top, pageBounds.Right - pageFoldSize, pageBounds.Top); 864pagePaths[0].AddLine(pageBounds.Right - pageFoldSize, pageBounds.Top, pageBounds.Right - pageFoldSize, pageBounds.Top + pageFoldSize); 865pagePaths[0].AddLine(pageBounds.Right - pageFoldSize, pageBounds.Top + pageFoldSize, pageBounds.Right, pageBounds.Top + pageFoldSize); 866pagePaths[0].AddLine(pageBounds.Right, pageBounds.Top + pageFoldSize, pageBounds.Right, pageBounds.Bottom); 868pagePaths[0].AddLine(pageBounds.Left, pageBounds.Bottom, pageBounds.Left, pageBounds.Top); 872pagePaths[1].AddLine(pageBounds.Right - pageFoldSize, pageBounds.Top, pageBounds.Right - pageFoldSize, pageBounds.Top + pageFoldSize); 873pagePaths[1].AddLine(pageBounds.Right - pageFoldSize, pageBounds.Top + pageFoldSize, pageBounds.Right, pageBounds.Top + pageFoldSize); 874pagePaths[1].AddLine(pageBounds.Right, pageBounds.Top + pageFoldSize, pageBounds.Right - pageFoldSize, pageBounds.Top); 880pagePaths[0].AddLine(pageBounds.Left, pageBounds.Top, pageBounds.Right, pageBounds.Top); 881pagePaths[0].AddLine(pageBounds.Right, pageBounds.Top, pageBounds.Right, pageBounds.Bottom - pageFoldSize); 885pagePaths[0].AddLine(pageBounds.Left, pageBounds.Bottom, pageBounds.Left, pageBounds.Top); 1038if (!NativeMethods.MoveToEx(this.hdc, gridCoOrd, viewableRectangle.Top + 1, null)) 1051if (!NativeMethods.MoveToEx(this.hdc, gridCoOrd + gridUnit.Width / 2, viewableRectangle.Top + 1, null)) 1065if (gridCoOrd >= viewableRectangle.Top) 1074if (showMinorGrid && (gridCoOrd + gridUnit.Height / 2) >= viewableRectangle.Top && (gridCoOrd + gridUnit.Height / 2) <= viewableRectangle.Bottom) 1841distances.Add(DistanceFromPointToLineSegment(point, new Point[] { new Point(rect.Left, rect.Top), new Point(rect.Left, rect.Bottom) })); 1847distances.Add(DistanceFromPointToLineSegment(point, new Point[] { new Point(rect.Left, rect.Top), new Point(rect.Right, rect.Top) })); 1853distances.Add(DistanceFromPointToLineSegment(point, new Point[] { new Point(rect.Right, rect.Top), new Point(rect.Right, rect.Bottom) })); 1919distances.Add(DistanceBetweenPoints(point, new Point(rect.Left, rect.Top))); 1920distances.Add(DistanceBetweenPoints(point, new Point(rect.Left + rect.Width / 2, rect.Top))); 1921distances.Add(DistanceBetweenPoints(point, new Point(rect.Right, rect.Top))); 1922distances.Add(DistanceBetweenPoints(point, new Point(rect.Right, rect.Top + rect.Height / 2)));
AuthoringOM\Design\DesignerWidgets.cs (31)
336this.itemStrip.Location = new Point(leftScrollButtonBounds.Right, leftScrollButtonBounds.Top); 716itemRectangle.Y = bounds.Top + this.margin.Height; 721itemRectangle.Y = bounds.Top + (itemIndex * this.itemSize.Height) + ((itemIndex + 1) * this.margin.Height); 1228using (Brush gradientBrush = new LinearGradientBrush(new Point(this.leftGradientRectangle.Left, this.leftGradientRectangle.Top), new Point(this.leftGradientRectangle.Right, this.leftGradientRectangle.Top), SystemColors.Window, SystemColors.ScrollBar)) 1245Point imagePoint = new Point(itemBounds.Left + 3, itemBounds.Top + 3); 1260Rectangle textRectangle = new Rectangle(itemBounds.Left + 20 + 5 + 2, itemBounds.Top + 1, this.itemWidth - (20 + 5 + 4), this.itemHeight - 3); 1307if (this.workingRectangle.Top > bounds.Top) 1308fittingOffset.Height += this.workingRectangle.Top - bounds.Top; 2261Point screenCoOrd = this.parentControl.PointToScreen(new Point(this.inplaceTipRectangle.Left, this.inplaceTipRectangle.Top)); 2372toolInfo.rect.top = rectangle.Top; 2538rectangles[j].Y = stripRectangle.Top + itemMargin.Height / 2; 2543rectangles[j] = new Rectangle(rectangles[j].Left, rectangles[j].Top, stripRectangle.Right - rectangles[j].Left, rectangles[j].Height); 2565itemRectangle.Y = stripRectangle.Top + itemMargin.Height; 2741imageRectangle.Y = itemRectangle.Top + 2; 2759graphics.DrawLine(ambientTheme.DropIndicatorPen, dropTargets[activeDropTarget].Left + dropTargets[activeDropTarget].Width / 2, dropTargets[activeDropTarget].Top, dropTargets[activeDropTarget].Left + dropTargets[activeDropTarget].Width / 2, dropTargets[activeDropTarget].Bottom); 3246descRectanglePos.Y = this.bounds.Top + maxDescHeight / 2 - this.previewModeDescRectangle.Height / 2; 3251previewModeBitmapPos.Y = this.bounds.Top + maxDescHeight / 2 - this.previewModeButtonRectangle.Height / 2; 3261location.Y = this.canvasBounds.Top + this.canvasBounds.Height / 2 - PreviewDesigner.Size.Height / 2; 3413graphics.DrawRectangle(Pens.Black, this.previewModeButtonRectangle.Left - 1, this.previewModeButtonRectangle.Top - 1, this.previewModeButtonRectangle.Width + 1, this.previewModeButtonRectangle.Height + 1); 3417ActivityDesignerPaint.DrawImage(graphics, previewModeImage, new Rectangle(this.previewModeButtonRectangle.Left + 2, this.previewModeButtonRectangle.Top + 2, this.previewModeButtonRectangle.Width - 4, this.previewModeButtonRectangle.Height - 4), DesignerContentAlignment.Center); 3430graphics.DrawLine(SystemPens.ControlDarkDark, canvasRect.Left, canvasRect.Top, canvasRect.Left, canvasRect.Bottom); 3431graphics.DrawLine(SystemPens.ControlDarkDark, canvasRect.Left, canvasRect.Top, canvasRect.Right, canvasRect.Top); 3432graphics.DrawLine(SystemPens.ControlLight, canvasRect.Right, canvasRect.Top, canvasRect.Right, canvasRect.Bottom); 3435graphics.DrawLine(SystemPens.ControlLight, canvasRect.Left, canvasRect.Top, canvasRect.Left, canvasRect.Bottom); 3436graphics.DrawLine(SystemPens.ControlLight, canvasRect.Left, canvasRect.Top, canvasRect.Right, canvasRect.Top); 3467destnRectangle.Y = this.canvasBounds.Top + this.canvasBounds.Height / 2 - destnRectangle.Height / 2;
AuthoringOM\Design\FreeFormDesigner.cs (11)
792newLocation.Y = Math.Min(newLocation.Y, childRectangle.Top); 825size.Height += Math.Max(bounds.Top - childRectangle.Top, 0); 936bounds.Y = Math.Min(minRectangle.Top, e.Bounds.Top); 938bounds.Height = Math.Max(minRectangle.Bottom - bounds.Top, e.Bounds.Bottom - bounds.Top); 1117leftTop.Y = (activityDesigner.Bounds.Top < leftTop.Y) ? activityDesigner.Bounds.Top : leftTop.Y; 1130leftTop.Y = (connector.Bounds.Top < leftTop.Y) ? connector.Bounds.Top : leftTop.Y;
AuthoringOM\Design\Glyphs\ConfigErrorGlyph.cs (2)
52Point configErrorLocation = new Point(designer.Bounds.Right - configErrorSize.Width - margin.Width / 2, designer.Bounds.Top - configErrorSize.Height + margin.Height); 84graphics.DrawRectangle(SystemPens.ControlDarkDark, activatedBounds.Left, activatedBounds.Top, activatedBounds.Width - 1, activatedBounds.Height - 1);
AuthoringOM\Design\Glyphs\SelectionGlyph.cs (4)
56grabHandles[1] = new Rectangle(new Point(selectionRect.Left + (selectionRect.Width - grabHandleSize.Width) / 2, selectionRect.Top), grabHandleSize); 57grabHandles[2] = new Rectangle(selectionRect.Right - grabHandleSize.Width, selectionRect.Top, grabHandleSize.Width, grabHandleSize.Height); 58grabHandles[3] = new Rectangle(new Point(selectionRect.Right - grabHandleSize.Width, selectionRect.Top + (selectionRect.Height - grabHandleSize.Height) / 2), grabHandleSize); 62grabHandles[7] = new Rectangle(new Point(selectionRect.Left, selectionRect.Top + (selectionRect.Height - grabHandleSize.Height) / 2), grabHandleSize);
AuthoringOM\Design\MessageFilters\ResizingMessageFilter.cs (5)
195if (Math.Floor(DesignerGeometryHelper.DistanceFromPointToLineSegment(point, new Point[] { new Point(designerBounds.Left, designerBounds.Top), new Point(designerBounds.Left, designerBounds.Bottom) })) <= selectionSize.Width + 1) 197if (Math.Floor(DesignerGeometryHelper.DistanceFromPointToLineSegment(point, new Point[] { new Point(designerBounds.Left, designerBounds.Top), new Point(designerBounds.Right, designerBounds.Top) })) <= selectionSize.Height + 1) 199if (Math.Floor(DesignerGeometryHelper.DistanceFromPointToLineSegment(point, new Point[] { new Point(designerBounds.Right, designerBounds.Top), new Point(designerBounds.Right, designerBounds.Bottom) })) <= selectionSize.Width + 1) 302designerBounds.Height += (designerBounds.Top - y);
AuthoringOM\Design\ParallelActivityDesigner.cs (4)
300dropTargets[i + 1].Location = new Point(designerBounds1.Right + (designerBounds2.Left - designerBounds1.Right) / 2 - ((designerTheme != null) ? designerTheme.ConnectorSize.Width : 0) / 2, designerBounds1.Top); 337int parallelConnectorTop = bounds.Top; 414int parallelConnectorTop = bounds.Top; 424DrawConnectors(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);
AuthoringOM\Design\SequentialActivityDesigner.cs (6)
164helpTextRectangle.Y = connectors[0].Top + connectors[0].Height / 2 - this.helpTextSize.Height / 2; 208connections.Add(new Point(startDesignerBounds.Left + startDesignerBounds.Width / 2, startDesignerBounds.Top)); 238connections.Add(new Point(endDesignerBounds.Left + endDesignerBounds.Width / 2, endDesignerBounds.Top)); 411DrawConnectors(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); 425DrawConnectors(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); 530glyphLocation = new Point(helpTextRectangle.Left + helpTextRectangle.Width / 2 + 1, helpTextRectangle.Top - ambientTheme.DropIndicatorSize.Height / 2);
AuthoringOM\Design\SequentialWorkflowHeaderFooter.cs (3)
120bounds.Y = (this.isHeader) ? designerBounds.Top : designerBounds.Bottom - bounds.Height; 141bounds.Y = (this.isHeader) ? designerBounds.Top + margin.Height : designerBounds.Bottom - margin.Height - this.textSize.Height; 167bounds.Y = designerBounds.Top + margin.Height;
AuthoringOM\Design\SequentialWorkflowRootDesigner.cs (2)
476e.Graphics.DrawLine(e.DesignerTheme.BorderPen, rectangle.Left, rectangle.Top, rectangle.Right, rectangle.Top);
AuthoringOM\Design\StructuredCompositeActivityDesigner.cs (1)
696return new Point(dropConnector.Left + dropConnector.Width / 2, dropConnector.Top + dropConnector.Height / 2);
AuthoringOM\Design\WorkflowLayouts.cs (5)
488Point delta = new Point(logicalPoint.X - pageLayoutData.ViewablePageBounds.Left, logicalPoint.Y - pageLayoutData.ViewablePageBounds.Top); 489logicalPoint = new Point(pageLayoutData.LogicalPageBounds.Left + delta.X, pageLayoutData.LogicalPageBounds.Top + delta.Y); 503Point delta = new Point(logicalPoint.X - pageLayoutData.LogicalPageBounds.Left, logicalPoint.Y - pageLayoutData.LogicalPageBounds.Top); 504logicalPoint = new Point(pageLayoutData.ViewablePageBounds.Left + delta.X, pageLayoutData.ViewablePageBounds.Top + delta.Y); 690graphics.DrawRectangle(ambientTheme.ForegroundPen, pageLayoutData.ViewablePageBounds.Left - 3, pageLayoutData.ViewablePageBounds.Top - 3, pageLayoutData.ViewablePageBounds.Width + 6, pageLayoutData.ViewablePageBounds.Height + 6);
AuthoringOM\Design\WorkflowPrinting.cs (2)
149graphics.TranslateTransform(boundingRectangle.Left - pageOffset.X, boundingRectangle.Top - pageOffset.Y); 293layoutRectangle.Y = headerFooterPrintData.PageBounds.Top + headerFooterPrintData.HeaderFooterMargins.Top;
AuthoringOM\Design\WorkflowView.cs (8)
1742if (!clientRectangle.Contains(new Point(rect.Left, clientRectangle.Top)) || !clientRectangle.Contains(new Point(rect.Right, clientRectangle.Top))) 1752if (!clientRectangle.Contains(new Point(clientRectangle.Left, rect.Top)) || !clientRectangle.Contains(new Point(clientRectangle.Left, rect.Bottom))) 1754if ((rect.Top < clientRectangle.Top) || (rect.Height > clientRectangle.Height)) 1755scrollDelta.Height = (rect.Top - clientRectangle.Top); 1915menuCommandService.ShowContextMenu(menuID, buttonRect.Right, buttonRect.Top);
System.WorkflowServices (9)
System\Workflow\Activities\Design\GradientPanel.cs (7)
90Brush glossBrush = new LinearGradientBrush(new Point(frameRect.Left, frameRect.Top), new Point(frameRect.Left, frameRect.Top + glossHeight + 1), Color.FromArgb(120, 255, 255, 255), Color.FromArgb(60, 255, 255, 255)); // SolidBrush(Color.FromArgb(32, 255, 255, 255)); 91Brush frameBrush = new LinearGradientBrush(new Point(frameRect.Left, frameRect.Top), new Point(frameRect.Left, frameRect.Bottom), BaseColor, LightingColor); 132Rectangle arc = new Rectangle(frame.Left, frame.Top, diameter, diameter); 148Rectangle arc = new Rectangle(frame.Left, frame.Top, diameter, diameter); 152path.AddLine(new Point(frame.Right, frame.Top + glossHeight), new Point(frame.Left, frame.Top + glossHeight));
System\Workflow\ComponentModel\Design\HighlightOverlayGlyph.cs (2)
50Brush frameBrush = new LinearGradientBrush(new Point(frameRect.Left, frameRect.Top), new Point(frameRect.Left, frameRect.Bottom), BaseColor, LightingColor); 88Rectangle arc = new Rectangle(frame.Left, frame.Top, diameter, diameter);