53 references to Pixel
System.Drawing (6)
commonui\System\Drawing\Advanced\MetafileFrameUnit.cs (1)
35Pixel = GraphicsUnit.Pixel,
commonui\System\Drawing\Advanced\StringUnit.cs (1)
40Pixel = GraphicsUnit.Pixel,
commonui\System\Drawing\Bitmap.cs (1)
596GraphicsUnit.Pixel, attributes, null, IntPtr.Zero);
commonui\System\Drawing\FontConverter.cs (1)
520new UnitName("px", GraphicsUnit.Pixel),
commonui\System\Drawing\Graphics.cs (1)
2901DrawImage(image, rect, 0, 0, width, height, GraphicsUnit.Pixel);
misc\DpiHelper.cs (1)
473graphics.DrawImage(logicalImage, destRect, sourceRect, GraphicsUnit.Pixel);
System.Web.DataVisualization (8)
Common\General\ChartGraphics.cs (6)
750GraphicsUnit.Pixel, 758GraphicsUnit.Pixel, 2333GraphicsUnit.Pixel, 3599 GraphicsUnit.Pixel, 4272 GraphicsUnit.Pixel, 4570 GraphicsUnit.Pixel,
Common\General\LegendColumns.cs (2)
2198 GraphicsUnit.Pixel, 2332GraphicsUnit.Pixel,
System.Windows.Forms (24)
misc\DpiHelper.cs (1)
473graphics.DrawImage(logicalImage, destRect, sourceRect, GraphicsUnit.Pixel);
winforms\Managed\System\WinForms\ControlPaint.cs (8)
504partOfImageToDraw.Height, GraphicsUnit.Pixel); 513partOfImageToDraw.Height, GraphicsUnit.Pixel); 519g.DrawImage(backgroundImage, imageRectangle, 0, 0, backgroundImage.Width, backgroundImage.Height, GraphicsUnit.Pixel, imageAttrib); 1383graphics.DrawImage(bitmap, new Rectangle(x, y, width, height), 0, 0, width, height, GraphicsUnit.Pixel, attrs, null, IntPtr.Zero); 1524g.DrawImage(image, dest, 0, 0, image.Width, image.Height, GraphicsUnit.Pixel, attrs, null, IntPtr.Zero); 1537GraphicsUnit.Pixel, attributes, null, IntPtr.Zero); 1601GraphicsUnit.Pixel, 1611GraphicsUnit.Pixel,
winforms\Managed\System\WinForms\DataGridCaption.cs (1)
538g.DrawImage(b, bounds, 0, 0, bounds.Width, bounds.Height,GraphicsUnit.Pixel, attr);
winforms\Managed\System\WinForms\DataGridParentRows.cs (1)
784g.DrawImage(b, bmpRect, 0, 0, bmpRect.Width, bmpRect.Height,GraphicsUnit.Pixel, attr);
winforms\Managed\System\WinForms\DataGridRow.cs (1)
572g.DrawImage(bmp, bmpRect, 0, 0, bmpRect.Width, bmpRect.Height,GraphicsUnit.Pixel, attr);
winforms\Managed\System\WinForms\DataGridViewCell.cs (1)
4316graphics.DrawImage(bmp, iconBounds, 0, 0, iconsWidth, iconsHeight, GraphicsUnit.Pixel);
winforms\Managed\System\WinForms\DataGridViewColumnHeaderCell.cs (1)
867g.DrawImage(bmFlipXPThemes, backgroundBounds, new Rectangle(bmFlipXPThemes.Width - backgroundBounds.Width, 0, backgroundBounds.Width, backgroundBounds.Height), GraphicsUnit.Pixel);
winforms\Managed\System\WinForms\DataGridViewImageCell.cs (1)
884g.DrawImage(img, imgBounds, 0, 0, img.Width, img.Height, GraphicsUnit.Pixel, attr);
winforms\Managed\System\WinForms\DataGridViewRowHeaderCell.cs (2)
842GraphicsUnit.Pixel); 1143g.DrawImage(bmp, bmpRect, 0, 0, iconsWidth, iconsHeight, GraphicsUnit.Pixel, attr);
winforms\Managed\System\WinForms\PaintEvent.cs (1)
135graphics.PageUnit = GraphicsUnit.Pixel;
winforms\Managed\System\WinForms\ToolStripHighContrastRenderer.cs (2)
379 g.DrawImage(image, imageRect, 0, 0, imageRect.Width, imageRect.Height, GraphicsUnit.Pixel, attrs); 382 g.DrawImage(image, imageRect, 0, 0, image.Width, image.Height, GraphicsUnit.Pixel, attrs);
winforms\Managed\System\WinForms\ToolStripProfessionalRenderer.cs (1)
673e.Graphics.DrawImage(image, imageRect, new Rectangle(Point.Empty, imageRect.Size), GraphicsUnit.Pixel);
winforms\Managed\System\WinForms\ToolStripRenderer.cs (3)
878e.Graphics.DrawImage(image, imageRect, new Rectangle(Point.Empty,imageRect.Size), GraphicsUnit.Pixel); 908imageRect.Height, GraphicsUnit.Pixel, e.ImageAttributes); 1085GraphicsUnit.Pixel,
System.Windows.Forms.DataVisualization (10)
Common\General\ChartGraphics.cs (6)
750GraphicsUnit.Pixel, 758GraphicsUnit.Pixel, 2333GraphicsUnit.Pixel, 3599 GraphicsUnit.Pixel, 4272 GraphicsUnit.Pixel, 4570 GraphicsUnit.Pixel,
Common\General\LegendColumns.cs (2)
2198 GraphicsUnit.Pixel, 2332GraphicsUnit.Pixel,
WinForm\Utilities\Printing.cs (2)
252if (ev.Graphics.PageUnit != GraphicsUnit.Pixel) 254ev.Graphics.PageUnit = GraphicsUnit.Pixel;
System.Workflow.ComponentModel (5)
AuthoringOM\Design\DesignerHelpers.cs (1)
193graphics.DrawImage(image, imageRectangle, source.X, source.Y, source.Width, source.Height, GraphicsUnit.Pixel, imageAttributes);
AuthoringOM\Design\DesignerWidgets.cs (3)
1257graphics.DrawImage(this.enabledItems[i].Image, new Rectangle(imagePoint, imageSize), new Rectangle(Point.Empty, imageSize), GraphicsUnit.Pixel); 1702Font = new Font(Font.FontFamily, this.reqTabItemSize * 2 / 3, GraphicsUnit.Pixel); 3470graphics.DrawImage(previewedActivityImage, destnRectangle, new Rectangle(Point.Empty, previewedActivityImage.Size), GraphicsUnit.Pixel);
AuthoringOM\Design\WorkflowView.cs (1)
1668viewPortGraphics.DrawImage(temporaryBitmap, new Rectangle(-viewPortData.ShadowDepth.Width, -viewPortData.ShadowDepth.Height, memoryBitmap.Width, memoryBitmap.Height), 0, 0, memoryBitmap.Width, memoryBitmap.Height, GraphicsUnit.Pixel, transparentColorKey);