61 references to PixelFormat
System.Drawing (52)
commonui\System\Drawing\Advanced\BitmapData.cs (25)
62
public
PixelFormat
PixelFormat {
63
get { return (
PixelFormat
) pixelFormat; }
67
case
PixelFormat
.DontCare:
69
case
PixelFormat
.Max:
70
case
PixelFormat
.Indexed:
71
case
PixelFormat
.Gdi:
72
case
PixelFormat
.Format16bppRgb555:
73
case
PixelFormat
.Format16bppRgb565:
74
case
PixelFormat
.Format24bppRgb:
75
case
PixelFormat
.Format32bppRgb:
76
case
PixelFormat
.Format1bppIndexed:
77
case
PixelFormat
.Format4bppIndexed:
78
case
PixelFormat
.Format8bppIndexed:
79
case
PixelFormat
.Alpha:
80
case
PixelFormat
.Format16bppArgb1555:
81
case
PixelFormat
.PAlpha:
82
case
PixelFormat
.Format32bppPArgb:
83
case
PixelFormat
.Extended:
84
case
PixelFormat
.Format16bppGrayScale:
85
case
PixelFormat
.Format48bppRgb:
86
case
PixelFormat
.Format64bppPArgb:
87
case
PixelFormat
.Canonical:
88
case
PixelFormat
.Format32bppArgb:
89
case
PixelFormat
.Format64bppArgb:
92
throw new System.ComponentModel.InvalidEnumArgumentException("value", unchecked((int)value), typeof(
PixelFormat
));
commonui\System\Drawing\Advanced\Gdiplus.cs (1)
1874
PixelFormat
format, // PixelFormat
commonui\System\Drawing\Bitmap.cs (11)
239
public Bitmap(int width, int height, int stride,
PixelFormat
format, IntPtr scan0) {
261
public Bitmap(int width, int height,
PixelFormat
format) {
280
public Bitmap(int width, int height) : this(width, height, System.Drawing.Imaging.
PixelFormat
.Format32bppArgb) {
482
/// Bitmap defined by <paramref term="rect"/> with a specified <see cref='System.Drawing.Imaging.
PixelFormat
'/>.
487
public Bitmap Clone(Rectangle rect,
PixelFormat
format) {
515
/// Bitmap defined by <paramref term="rect"/> with a specified <see cref='System.Drawing.Imaging.
PixelFormat
'/>.
521
public Bitmap Clone(RectangleF rect,
PixelFormat
format) {
584
result = new Bitmap(size.Width, size.Height,
PixelFormat
.Format32bppArgb);
628
public BitmapData LockBits(Rectangle rect, ImageLockMode flags,
PixelFormat
format) {
642
public BitmapData LockBits(Rectangle rect, ImageLockMode flags,
PixelFormat
format, BitmapData bitmapData)
703
if ((PixelFormat &
PixelFormat
.Indexed) != 0) {
commonui\System\Drawing\Graphics.cs (1)
232
if ((image.PixelFormat &
PixelFormat
.Indexed) != 0) {
commonui\System\Drawing\Icon.cs (4)
966
bitmap = new Bitmap(Size.Width, Size.Height, System.Drawing.Imaging.
PixelFormat
.Format32bppArgb);
973
System.Drawing.Imaging.
PixelFormat
.Format32bppArgb);
1027
bitmap = new Bitmap(bmpData.Width, bmpData.Height,
PixelFormat
.Format32bppArgb);
1028
targetData = bitmap.LockBits(new Rectangle(0, 0, bmpData.Width, bmpData.Height), ImageLockMode.WriteOnly,
PixelFormat
.Format32bppArgb);
commonui\System\Drawing\Image.cs (10)
945
public
PixelFormat
PixelFormat {
952
return
PixelFormat
.Undefined;
954
return(
PixelFormat
)format;
1356
public static int GetPixelFormatSize(
PixelFormat
pixfmt) {
1370
public static bool IsAlphaPixelFormat(
PixelFormat
pixfmt) {
1371
return(pixfmt &
PixelFormat
.Alpha) != 0;
1384
public static bool IsExtendedPixelFormat(
PixelFormat
pixfmt) {
1385
return(pixfmt &
PixelFormat
.Extended) != 0;
1401
public static bool IsCanonicalPixelFormat(
PixelFormat
pixfmt) {
1402
return(pixfmt &
PixelFormat
.Canonical) != 0;
System.Windows.Forms (6)
winforms\Managed\System\WinForms\ControlPaint.cs (1)
269
PixelFormat
.Format32bppArgb);
winforms\Managed\System\WinForms\ImageList.cs (4)
662
if(bmpData.PixelFormat !=
PixelFormat
.Format32bppArgb && bmpData.PixelFormat !=
PixelFormat
.Format32bppRgb) {
725
result = new Bitmap(imageSize.Width, imageSize.Height,
PixelFormat
.Format32bppArgb);
726
targetData = result.LockBits(new Rectangle(0, 0, imageSize.Width, imageSize.Height), ImageLockMode.WriteOnly,
PixelFormat
.Format32bppArgb);
winforms\Managed\System\WinForms\ToolStripRenderer.cs (1)
937
using (Bitmap textBmp = new Bitmap(textSize.Width, textSize.Height,
PixelFormat
.Format32bppPArgb)) {
System.Workflow.ComponentModel (3)
AuthoringOM\Design\ActivityDesigner.cs (2)
1060
Bitmap designerImage = new Bitmap(Size.Width + (4 * ambientTheme.Margin.Width), Size.Height + (4 * ambientTheme.Margin.Height),
PixelFormat
.Format32bppArgb);
1978
using (Bitmap temporaryBitmap = new Bitmap(designerTheme.Size.Width, designerTheme.Size.Height,
PixelFormat
.Format32bppArgb))
AuthoringOM\Design\MessageFilters\DragDropManager.cs (1)
679
draggedImage = new Bitmap(draggedImageSize.Width, draggedImageSize.Height,
PixelFormat
.Format32bppArgb);