Bitmap Class

Definition

Line 1481 of System.Windows/Graphics.cm

Inheritance

Constructors & Destructor

public nothrow Bitmap()
public Bitmap(const Icon& icon)
public Bitmap(const String<char>& fileName, bool useEmbeddedColorManagement)
public Bitmap(const WinBitmap& winBitmap, void* palette)
public Bitmap(int width, int height, const Graphics& graphics)
public nothrow Bitmap(void* nativeHandle_)
public ~Bitmap()

Member Functions

public static Bitmap FromResource(const String<char>& resourceName)
public nothrow GraphicsStatus GetPixel(int x, int y, Color& color) const
public Color GetPixelChecked(int x, int y) const
public nothrow GraphicsStatus SetPixel(int x, int y, const Color& color)
public void SetPixelChecked(int x, int y, const Color& color)
public Bitmap ToGrayBitmap()
public Bitmap ToGrayBitmap(PixelFormat pixelFormat, const Color& bitmapTransparentColor)

Constructor& Destructor Details

Bitmap Constructor

public nothrow Bitmap()

Definition
Line 1483 of System.Windows/Graphics.cm


Bitmap Constructor

public Bitmap(const Icon& icon)

Definition
Line 1501 of System.Windows/Graphics.cm


Bitmap Constructor

public Bitmap(const String<char>& fileName, bool useEmbeddedColorManagement)

Definition
Line 1489 of System.Windows/Graphics.cm


Bitmap Constructor

public Bitmap(const WinBitmap& winBitmap, void* palette)

Definition
Line 1497 of System.Windows/Graphics.cm


Bitmap Constructor

public Bitmap(int width, int height, const Graphics& graphics)

Definition
Line 1493 of System.Windows/Graphics.cm


Bitmap Constructor

public nothrow Bitmap(void* nativeHandle_)

Definition
Line 1486 of System.Windows/Graphics.cm


~Bitmap Destructor

public ~Bitmap()

Definition
Line 1549 of System.Windows/Graphics.cm


Member Function Details

FromResource Static Member Function

public static Bitmap FromResource(const String<char>& resourceName)

Definition
Line 1505 of System.Windows/Graphics.cm


GetPixel Member Function

public nothrow GraphicsStatus GetPixel(int x, int y, Color& color)

Definition
Line 1511 of System.Windows/Graphics.cm


GetPixelChecked Member Function

public Color GetPixelChecked(int x, int y)

Definition
Line 1515 of System.Windows/Graphics.cm


SetPixel Member Function

public nothrow GraphicsStatus SetPixel(int x, int y, const Color& color)

Definition
Line 1521 of System.Windows/Graphics.cm


SetPixelChecked Member Function

public void SetPixelChecked(int x, int y, const Color& color)

Definition
Line 1525 of System.Windows/Graphics.cm


ToGrayBitmap Member Function

public Bitmap ToGrayBitmap()

Definition
Line 1545 of System.Windows/Graphics.cm


ToGrayBitmap Member Function

public Bitmap ToGrayBitmap(PixelFormat pixelFormat, const Color& bitmapTransparentColor)

Definition
Line 1529 of System.Windows/Graphics.cm