14 instantiations of ImageAttributes
System.Drawing.Common (2)
System\Drawing\Bitmap.cs (1)
246using (ImageAttributes attributes = new())
System\Drawing\Imaging\ImageAttributes.cs (1)
95return new ImageAttributes(clone);
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)
95graphics.DrawImage(invertedImage, imageBounds, 0, 0, image.Width, image.Height, GraphicsUnit.Pixel, new ImageAttributes()); 99graphics.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)
1164imgAttrib ??= new ImageAttributes();
System\Windows\Forms\Rendering\ControlPaint.cs (5)
538using ImageAttributes imageAttrib = new(); 1486ImageAttributes attributes = new(); 1588using ImageAttributes attributes = new(); 1607using ImageAttributes attributes = new(); 1654t_disabledImageAttr = new ImageAttributes();
System.Windows.Forms.Design (1)
System\ComponentModel\Design\DesignerActionPanel.EditorPropertyLine.EditorButton.cs (1)
130using ImageAttributes attributes = new();
46 references to ImageAttributes
System.Drawing (1)
System.Drawing.cs (1)
86[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Drawing.Imaging.ImageAttributes))]
System.Drawing.Common (34)
System\Drawing\Bitmap.cs (1)
246using (ImageAttributes attributes = new())
System\Drawing\Graphics.cs (26)
2154public void DrawImage(Image image, PointF[] destPoints, RectangleF srcRect, GraphicsUnit srcUnit, ImageAttributes? imageAttr) => 2162ImageAttributes? imageAttr, 2171ImageAttributes? imageAttr, 2209ImageAttributes? imageAttr) => DrawImage(image, destPoints, srcRect, srcUnit, imageAttr, null, 0); 2216ImageAttributes? imageAttr, 2224ImageAttributes? imageAttr, 2272ImageAttributes? imageAttrs) => DrawImage(image, destRect, srcX, srcY, srcWidth, srcHeight, srcUnit, imageAttrs, null); 2282ImageAttributes? imageAttrs, 2293ImageAttributes? imageAttrs, 2332ImageAttributes? imageAttr) => DrawImage(image, destRect, (float)srcX, srcY, srcWidth, srcHeight, srcUnit, imageAttr, null); 2342ImageAttributes? imageAttr, 2353ImageAttributes? imageAttrs, 2944ImageAttributes? imageAttr) 2965ImageAttributes? imageAttr) 2973ImageAttributes? imageAttr) 2994ImageAttributes? imageAttr) => EnumerateMetafile(metafile, (RectangleF)destRect, callback, callbackData, imageAttr); 3001ImageAttributes? imageAttr) 3030ImageAttributes? imageAttr) 3061ImageAttributes? imageAttr) 3086ImageAttributes? imageAttr) => EnumerateMetafile( 3102ImageAttributes? imageAttr) 3127ImageAttributes? imageAttr) => EnumerateMetafile(metafile, (RectangleF)destRect, srcRect, unit, callback, callbackData, imageAttr); 3136ImageAttributes? imageAttr) 3169ImageAttributes? imageAttr) 3613/// <inheritdoc cref="DrawImage(Image, Effect, RectangleF, Matrix?, GraphicsUnit, ImageAttributes?)"/> 3633ImageAttributes? imageAttr = default)
System\Drawing\Imaging\ImageAttributes.cs (4)
52/// Initializes a new instance of the <see cref='ImageAttributes'/> class. 66/// Cleans up Windows resources for this <see cref='ImageAttributes'/>. 82/// Cleans up Windows resources for this <see cref='ImageAttributes'/>. 87/// Creates an exact copy of this <see cref='ImageAttributes'/>.
System\Drawing\PointerExtensions.cs (1)
24public static GpImageAttributes* Pointer(this ImageAttributes? imageAttr) => imageAttr is null ? null : imageAttr._nativeImageAttributes;
System\Drawing\TextureBrush.cs (2)
62public TextureBrush(Image image, RectangleF dstRect, ImageAttributes? imageAttr) 83public TextureBrush(Image image, Rectangle dstRect, ImageAttributes? imageAttr)
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)
1160private 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 538using ImageAttributes imageAttrib = new(); 1486ImageAttributes attributes = new(); 1588using ImageAttributes attributes = new(); 1607using ImageAttributes attributes = new();
System.Windows.Forms.Design (1)
System\ComponentModel\Design\DesignerActionPanel.EditorPropertyLine.EditorButton.cs (1)
130using ImageAttributes attributes = new();