111 instantiations of ImageAttributes
System.Drawing.Common.Tests (99)
mono\System.Drawing\GraphicsTests.cs (1)
2756using ImageAttributes ia = new();
System\Drawing\Imaging\ImageAttributesTests.cs (96)
64ImageAttributes imageAttr = new(); 73using ImageAttributes imageAttr = new(); 85ImageAttributes imageAttr = new(); 97using ImageAttributes imageAttr = new(); 132using ImageAttributes imageAttr = new(); 150using ImageAttributes imageAttr = new(); 176using ImageAttributes imageAttr = new(); 207using ImageAttributes imageAttr = new(); 218ImageAttributes imageAttr = new(); 230using ImageAttributes imageAttr = new(); 249using ImageAttributes imageAttr = new(); 266using ImageAttributes imageAttr = new(); 276using ImageAttributes imageAttr = new(); 303using ImageAttributes imageAttr = new(); 324ImageAttributes imageAttr = new(); 335using ImageAttributes imageAttr = new(); 345using ImageAttributes imageAttr = new(); 368using ImageAttributes imageAttr = new(); 395using ImageAttributes imageAttr = new(); 424using ImageAttributes imageAttr = new(); 436ImageAttributes imageAttr = new(); 448using ImageAttributes imageAttr = new(); 462using ImageAttributes imageAttr = new(); 474using ImageAttributes imageAttr = new(); 485using ImageAttributes imageAttr = new(); 498using ImageAttributes imageAttr = new(); 511using ImageAttributes imageAttr = new(); 521ImageAttributes imageAttr = new(); 531using ImageAttributes imageAttr = new(); 540using ImageAttributes imageAttr = new(); 554using ImageAttributes imageAttr = new(); 565ImageAttributes imageAttr = new(); 575using ImageAttributes imageAttr = new(); 584using ImageAttributes imageAttr = new(); 597using ImageAttributes imageAttr = new(); 610using ImageAttributes imageAttr = new(); 620ImageAttributes imageAttr = new(); 631using ImageAttributes imageAttr = new(); 641using ImageAttributes imageAttr = new(); 653ImageAttributes imageAttr = new(); 663using ImageAttributes imageAttr = new(); 672using ImageAttributes imageAttr = new(); 687using ImageAttributes imageAttr = new(); 700ImageAttributes imageAttr = new(); 711using ImageAttributes imageAttr = new(); 720using ImageAttributes imageAttr = new(); 737using ImageAttributes imageAttr = new(); 754using ImageAttributes imageAttr = new(); 768ImageAttributes imageAttr = new(); 779using ImageAttributes imageAttr = new(); 788using ImageAttributes imageAttr = new(); 803using ImageAttributes imageAttr = new(); 818using ImageAttributes imageAttr = new(); 829ImageAttributes imageAttr = new(); 841using ImageAttributes imageAttr = new(); 851using ImageAttributes imageAttr = new(); 866using ImageAttributes imageAttr = new(); 878ImageAttributes imageAttr = new(); 889using ImageAttributes imageAttr = new(); 907using ImageAttributes imageAttr = new(); 933using ImageAttributes imageAttr = new(); 963using ImageAttributes imageAttr = new(); 974ImageAttributes imageAttr = new(); 985using ImageAttributes imageAttr = new(); 1002using ImageAttributes imageAttr = new(); 1012using ImageAttributes imageAttr = new(); 1027using ImageAttributes imageAttr = new(); 1039ImageAttributes imageAttr = new(); 1050using ImageAttributes imageAttr = new(); 1059using ImageAttributes imageAttr = new(); 1070ImageAttributes imageAttr = new(); 1082using ImageAttributes imageAttr = new(); 1090using ImageAttributes imageAttr = new(); 1098using ImageAttributes imageAttr = new(); 1107using ImageAttributes imageAttr = new(); 1116using ImageAttributes imageAttr = new(); 1125using ImageAttributes imageAttr = new(); 1141using ImageAttributes imageAttr = new(); 1154ImageAttributes imageAttr = new(); 1165using ImageAttributes imageAttr = new(); 1174using ImageAttributes imageAttr = new(); 1187using ImageAttributes imageAttr = new(); 1200using ImageAttributes imageAttr = new(); 1210ImageAttributes imageAttr = new(); 1221using ImageAttributes imageAttr = new(); 1228using ImageAttributes imageAttr = new(); 1235using ImageAttributes imageAttr = new(); 1242using ImageAttributes imageAttr = new(); 1251using ImageAttributes imageAttr = new(); 1265using ImageAttributes imageAttr = new(); 1276ImageAttributes imageAttr = new(); 1287using ImageAttributes imageAttr = new(); 1294ImageAttributes imageAttr = new(); 1305ImageAttributes imageAttr = new(); 1315using ImageAttributes imageAttr = new(); 1324using ImageAttributes imageAttr = new();
System\Drawing\TextureBrushTests.cs (2)
187yield return new object[] { ((Image)data[0]).Clone(), data[1], new ImageAttributes(), WrapMode.Clamp }; 189ImageAttributes customWrapMode = new();
System.Windows.Forms (11)
System\Windows\Forms\Controls\DataGridView\DataGridViewImageCell.cs (1)
830using ImageAttributes attr = new();
System\Windows\Forms\Controls\DataGridView\DataGridViewRowHeaderCell.cs (1)
1036using ImageAttributes attr = new();
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\DropDownButton.DropDownButtonAdapter.cs (2)
94graphics.DrawImage(invertedImage, imageBounds, 0, 0, image.Width, image.Height, GraphicsUnit.Pixel, new ImageAttributes()); 98graphics.DrawImage(image, imageBounds, 0, 0, image.Width, image.Height, GraphicsUnit.Pixel, new ImageAttributes());
System\Windows\Forms\Controls\ToolStrips\ToolStripHighContrastRenderer.cs (1)
492using ImageAttributes attrs = new();
System\Windows\Forms\Controls\ToolStrips\ToolStripRenderer.cs (1)
1029imgAttrib ??= new ImageAttributes();
System\Windows\Forms\Rendering\ControlPaint.cs (5)
503using ImageAttributes imageAttrib = new(); 1454ImageAttributes attributes = new(); 1559using ImageAttributes attributes = new(); 1578using ImageAttributes attributes = new(); 1625t_disabledImageAttr = new ImageAttributes();
System.Windows.Forms.Design (1)
System\ComponentModel\Design\DesignerActionPanel.EditorPropertyLine.EditorButton.cs (1)
130using ImageAttributes attributes = new();
140 references to ImageAttributes
System.Drawing (1)
System.Drawing.cs (1)
86[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Drawing.Imaging.ImageAttributes))]
System.Drawing.Common (26)
Special\NotSupported.cs (26)
493public void DrawImage(System.Drawing.Image image, System.Drawing.PointF[] destPoints, System.Drawing.RectangleF srcRect, System.Drawing.GraphicsUnit srcUnit, System.Drawing.Imaging.ImageAttributes? imageAttr) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 494public void DrawImage(System.Drawing.Image image, System.Drawing.PointF[] destPoints, System.Drawing.RectangleF srcRect, System.Drawing.GraphicsUnit srcUnit, System.Drawing.Imaging.ImageAttributes? imageAttr, System.Drawing.Graphics.DrawImageAbort? callback) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 495public void DrawImage(System.Drawing.Image image, System.Drawing.PointF[] destPoints, System.Drawing.RectangleF srcRect, System.Drawing.GraphicsUnit srcUnit, System.Drawing.Imaging.ImageAttributes? imageAttr, System.Drawing.Graphics.DrawImageAbort? callback, int callbackData) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 498public void DrawImage(System.Drawing.Image image, System.Drawing.Point[] destPoints, System.Drawing.Rectangle srcRect, System.Drawing.GraphicsUnit srcUnit, System.Drawing.Imaging.ImageAttributes? imageAttr) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 499public void DrawImage(System.Drawing.Image image, System.Drawing.Point[] destPoints, System.Drawing.Rectangle srcRect, System.Drawing.GraphicsUnit srcUnit, System.Drawing.Imaging.ImageAttributes? imageAttr, System.Drawing.Graphics.DrawImageAbort? callback) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 500public void DrawImage(System.Drawing.Image image, System.Drawing.Point[] destPoints, System.Drawing.Rectangle srcRect, System.Drawing.GraphicsUnit srcUnit, System.Drawing.Imaging.ImageAttributes? imageAttr, System.Drawing.Graphics.DrawImageAbort? callback, int callbackData) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 504public void DrawImage(System.Drawing.Image image, System.Drawing.Rectangle destRect, int srcX, int srcY, int srcWidth, int srcHeight, System.Drawing.GraphicsUnit srcUnit, System.Drawing.Imaging.ImageAttributes? imageAttr) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 505public void DrawImage(System.Drawing.Image image, System.Drawing.Rectangle destRect, int srcX, int srcY, int srcWidth, int srcHeight, System.Drawing.GraphicsUnit srcUnit, System.Drawing.Imaging.ImageAttributes? imageAttr, System.Drawing.Graphics.DrawImageAbort? callback) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 506public void DrawImage(System.Drawing.Image image, System.Drawing.Rectangle destRect, int srcX, int srcY, int srcWidth, int srcHeight, System.Drawing.GraphicsUnit srcUnit, System.Drawing.Imaging.ImageAttributes? imageAttrs, System.Drawing.Graphics.DrawImageAbort? callback, System.IntPtr callbackData) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 508public void DrawImage(System.Drawing.Image image, System.Drawing.Rectangle destRect, float srcX, float srcY, float srcWidth, float srcHeight, System.Drawing.GraphicsUnit srcUnit, System.Drawing.Imaging.ImageAttributes? imageAttrs) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 509public void DrawImage(System.Drawing.Image image, System.Drawing.Rectangle destRect, float srcX, float srcY, float srcWidth, float srcHeight, System.Drawing.GraphicsUnit srcUnit, System.Drawing.Imaging.ImageAttributes? imageAttrs, System.Drawing.Graphics.DrawImageAbort? callback) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 510public void DrawImage(System.Drawing.Image image, System.Drawing.Rectangle destRect, float srcX, float srcY, float srcWidth, float srcHeight, System.Drawing.GraphicsUnit srcUnit, System.Drawing.Imaging.ImageAttributes? imageAttrs, System.Drawing.Graphics.DrawImageAbort? callback, System.IntPtr callbackData) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 551public void EnumerateMetafile(System.Drawing.Imaging.Metafile metafile, System.Drawing.Point destPoint, System.Drawing.Graphics.EnumerateMetafileProc callback, System.IntPtr callbackData, System.Drawing.Imaging.ImageAttributes? imageAttr) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 554public void EnumerateMetafile(System.Drawing.Imaging.Metafile metafile, System.Drawing.Point destPoint, System.Drawing.Rectangle srcRect, System.Drawing.GraphicsUnit unit, System.Drawing.Graphics.EnumerateMetafileProc callback, System.IntPtr callbackData, System.Drawing.Imaging.ImageAttributes? imageAttr) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 557public void EnumerateMetafile(System.Drawing.Imaging.Metafile metafile, System.Drawing.PointF destPoint, System.Drawing.Graphics.EnumerateMetafileProc callback, System.IntPtr callbackData, System.Drawing.Imaging.ImageAttributes? imageAttr) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 560public void EnumerateMetafile(System.Drawing.Imaging.Metafile metafile, System.Drawing.PointF destPoint, System.Drawing.RectangleF srcRect, System.Drawing.GraphicsUnit unit, System.Drawing.Graphics.EnumerateMetafileProc callback, System.IntPtr callbackData, System.Drawing.Imaging.ImageAttributes? imageAttr) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 563public void EnumerateMetafile(System.Drawing.Imaging.Metafile metafile, System.Drawing.PointF[] destPoints, System.Drawing.Graphics.EnumerateMetafileProc callback, System.IntPtr callbackData, System.Drawing.Imaging.ImageAttributes? imageAttr) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 566public void EnumerateMetafile(System.Drawing.Imaging.Metafile metafile, System.Drawing.PointF[] destPoints, System.Drawing.RectangleF srcRect, System.Drawing.GraphicsUnit unit, System.Drawing.Graphics.EnumerateMetafileProc callback, System.IntPtr callbackData, System.Drawing.Imaging.ImageAttributes? imageAttr) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 569public void EnumerateMetafile(System.Drawing.Imaging.Metafile metafile, System.Drawing.Point[] destPoints, System.Drawing.Graphics.EnumerateMetafileProc callback, System.IntPtr callbackData, System.Drawing.Imaging.ImageAttributes? imageAttr) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 572public void EnumerateMetafile(System.Drawing.Imaging.Metafile metafile, System.Drawing.Point[] destPoints, System.Drawing.Rectangle srcRect, System.Drawing.GraphicsUnit unit, System.Drawing.Graphics.EnumerateMetafileProc callback, System.IntPtr callbackData, System.Drawing.Imaging.ImageAttributes? imageAttr) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 575public void EnumerateMetafile(System.Drawing.Imaging.Metafile metafile, System.Drawing.Rectangle destRect, System.Drawing.Graphics.EnumerateMetafileProc callback, System.IntPtr callbackData, System.Drawing.Imaging.ImageAttributes? imageAttr) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 578public void EnumerateMetafile(System.Drawing.Imaging.Metafile metafile, System.Drawing.Rectangle destRect, System.Drawing.Rectangle srcRect, System.Drawing.GraphicsUnit unit, System.Drawing.Graphics.EnumerateMetafileProc callback, System.IntPtr callbackData, System.Drawing.Imaging.ImageAttributes? imageAttr) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 581public void EnumerateMetafile(System.Drawing.Imaging.Metafile metafile, System.Drawing.RectangleF destRect, System.Drawing.Graphics.EnumerateMetafileProc callback, System.IntPtr callbackData, System.Drawing.Imaging.ImageAttributes? imageAttr) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 584public void EnumerateMetafile(System.Drawing.Imaging.Metafile metafile, System.Drawing.RectangleF destRect, System.Drawing.RectangleF srcRect, System.Drawing.GraphicsUnit unit, System.Drawing.Graphics.EnumerateMetafileProc callback, System.IntPtr callbackData, System.Drawing.Imaging.ImageAttributes? imageAttr) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 1337public TextureBrush(System.Drawing.Image image, System.Drawing.Rectangle dstRect, System.Drawing.Imaging.ImageAttributes? imageAttr) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 1339public TextureBrush(System.Drawing.Image image, System.Drawing.RectangleF dstRect, System.Drawing.Imaging.ImageAttributes? imageAttr) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
System.Drawing.Common.Tests (102)
mono\System.Drawing\GraphicsTests.cs (1)
2756using ImageAttributes ia = new();
System\Drawing\Imaging\ImageAttributesTests.cs (98)
64ImageAttributes imageAttr = new(); 73using ImageAttributes imageAttr = new(); 76using ImageAttributes clone = Assert.IsAssignableFrom<ImageAttributes>(imageAttr.Clone()); 85ImageAttributes imageAttr = new(); 97using ImageAttributes imageAttr = new(); 132using ImageAttributes imageAttr = new(); 150using ImageAttributes imageAttr = new(); 176using ImageAttributes imageAttr = new(); 207using ImageAttributes imageAttr = new(); 218ImageAttributes imageAttr = new(); 230using ImageAttributes imageAttr = new(); 249using ImageAttributes imageAttr = new(); 266using ImageAttributes imageAttr = new(); 276using ImageAttributes imageAttr = new(); 303using ImageAttributes imageAttr = new(); 324ImageAttributes imageAttr = new(); 335using ImageAttributes imageAttr = new(); 345using ImageAttributes imageAttr = new(); 368using ImageAttributes imageAttr = new(); 395using ImageAttributes imageAttr = new(); 424using ImageAttributes imageAttr = new(); 436ImageAttributes imageAttr = new(); 448using ImageAttributes imageAttr = new(); 462using ImageAttributes imageAttr = new(); 474using ImageAttributes imageAttr = new(); 485using ImageAttributes imageAttr = new(); 498using ImageAttributes imageAttr = new(); 511using ImageAttributes imageAttr = new(); 521ImageAttributes imageAttr = new(); 531using ImageAttributes imageAttr = new(); 540using ImageAttributes imageAttr = new(); 554using ImageAttributes imageAttr = new(); 565ImageAttributes imageAttr = new(); 575using ImageAttributes imageAttr = new(); 584using ImageAttributes imageAttr = new(); 597using ImageAttributes imageAttr = new(); 610using ImageAttributes imageAttr = new(); 620ImageAttributes imageAttr = new(); 631using ImageAttributes imageAttr = new(); 641using ImageAttributes imageAttr = new(); 653ImageAttributes imageAttr = new(); 663using ImageAttributes imageAttr = new(); 672using ImageAttributes imageAttr = new(); 687using ImageAttributes imageAttr = new(); 700ImageAttributes imageAttr = new(); 711using ImageAttributes imageAttr = new(); 720using ImageAttributes imageAttr = new(); 737using ImageAttributes imageAttr = new(); 754using ImageAttributes imageAttr = new(); 768ImageAttributes imageAttr = new(); 779using ImageAttributes imageAttr = new(); 788using ImageAttributes imageAttr = new(); 803using ImageAttributes imageAttr = new(); 818using ImageAttributes imageAttr = new(); 829ImageAttributes imageAttr = new(); 841using ImageAttributes imageAttr = new(); 851using ImageAttributes imageAttr = new(); 866using ImageAttributes imageAttr = new(); 878ImageAttributes imageAttr = new(); 889using ImageAttributes imageAttr = new(); 907using ImageAttributes imageAttr = new(); 933using ImageAttributes imageAttr = new(); 963using ImageAttributes imageAttr = new(); 974ImageAttributes imageAttr = new(); 985using ImageAttributes imageAttr = new(); 1002using ImageAttributes imageAttr = new(); 1012using ImageAttributes imageAttr = new(); 1027using ImageAttributes imageAttr = new(); 1039ImageAttributes imageAttr = new(); 1050using ImageAttributes imageAttr = new(); 1059using ImageAttributes imageAttr = new(); 1070ImageAttributes imageAttr = new(); 1082using ImageAttributes imageAttr = new(); 1090using ImageAttributes imageAttr = new(); 1098using ImageAttributes imageAttr = new(); 1107using ImageAttributes imageAttr = new(); 1116using ImageAttributes imageAttr = new(); 1125using ImageAttributes imageAttr = new(); 1141using ImageAttributes imageAttr = new(); 1154ImageAttributes imageAttr = new(); 1165using ImageAttributes imageAttr = new(); 1174using ImageAttributes imageAttr = new(); 1187using ImageAttributes imageAttr = new(); 1200using ImageAttributes imageAttr = new(); 1210ImageAttributes imageAttr = new(); 1221using ImageAttributes imageAttr = new(); 1228using ImageAttributes imageAttr = new(); 1235using ImageAttributes imageAttr = new(); 1242using ImageAttributes imageAttr = new(); 1251using ImageAttributes imageAttr = new(); 1265using ImageAttributes imageAttr = new(); 1276ImageAttributes imageAttr = new(); 1287using ImageAttributes imageAttr = new(); 1294ImageAttributes imageAttr = new(); 1305ImageAttributes imageAttr = new(); 1315using ImageAttributes imageAttr = new(); 1324using ImageAttributes imageAttr = new();
System\Drawing\TextureBrushTests.cs (3)
189ImageAttributes customWrapMode = new(); 197public void Ctor_Image_Rectangle_ImageAttributes(Image image, Rectangle rectangle, ImageAttributes attributes, WrapMode expectedWrapMode) 219public void Ctor_Image_RectangleF_ImageAttributes(Image image, Rectangle rectangle, ImageAttributes attributes, WrapMode expectedWrapMode)
System.Windows.Forms (10)
System\Windows\Forms\Controls\DataGridView\DataGridViewImageCell.cs (1)
830using ImageAttributes attr = new();
System\Windows\Forms\Controls\DataGridView\DataGridViewRowHeaderCell.cs (1)
1036using ImageAttributes attr = new();
System\Windows\Forms\Controls\ToolStrips\ToolStripHighContrastRenderer.cs (1)
492using ImageAttributes attrs = new();
System\Windows\Forms\Controls\ToolStrips\ToolStripItemImageRenderEventArgs.cs (1)
50internal ImageAttributes? ImageAttributes { get; set; }
System\Windows\Forms\Controls\ToolStrips\ToolStripRenderer.cs (1)
1025private static Bitmap CreateDisabledImage(Image normalImage, ImageAttributes? imgAttrib)
System\Windows\Forms\Rendering\ControlPaint.cs (5)
55private static ImageAttributes? t_disabledImageAttr; // ImageAttributes used to render disabled images 503using ImageAttributes imageAttrib = new(); 1454ImageAttributes attributes = new(); 1559using ImageAttributes attributes = new(); 1578using ImageAttributes attributes = new();
System.Windows.Forms.Design (1)
System\ComponentModel\Design\DesignerActionPanel.EditorPropertyLine.EditorButton.cs (1)
130using ImageAttributes attributes = new();