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