Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: mbed_rifletool Hexi_Bubble_Game Hexi_Catch-the-dot_Game Hexi_Acceleromagnetic_Synth
Image Class Reference
#include <Image.h>
Inherited by BitmapImage.
Public Member Functions | |
Image (int w, int h) | |
Create an Image object with the specified width and height. | |
virtual unsigned int | pixel (int x, int y)=0 |
Get the pixel at the specified coordinates. | |
int | width () |
Get the image width. | |
int | height () |
Get the image height. |
Detailed Description
Image abstract class.
Used as a base class for image objects.
Definition at line 25 of file Image.h.
Constructor & Destructor Documentation
Image | ( | int | w, |
int | h | ||
) |
Member Function Documentation
int height | ( | ) |
virtual unsigned int pixel | ( | int | x, |
int | y | ||
) | [pure virtual] |
Get the pixel at the specified coordinates.
- Parameters:
-
x The X coordinate. y The Y coordinate.
- Returns:
- The color of the pixel as a 32-bit ARGB value.
Implemented in BitmapImage.
Generated on Tue Jul 12 2022 20:26:18 by
