#include </home/Hamis/wxwidgets/wxWidgets3.0/wxWidgets3.0-3.0.5.1-2.x86_64/src/wxWidgets-3.0.5.1/interface/wx/rawbmp.h>
Inheritance diagram for wxPixelData< Image, PixelFormat >:A class template with ready to use implementations for getting direct and efficient access to wxBitmap's internal data and wxImage's internal data through a standard interface.
It is possible to extend this class (interface) to other types of image content.
Implemented on Windows, GTK+ and OS X:
Implemented everywhere:
Example:
<>< =''>:</>&;&;< =''>\ </></>
Classes | |
| class | Iterator |
| The iterator of class wxPixelData. More... | |
Public Types | |
| typedef Image | ImageType |
| The type of the class we're working with. More... | |
Public Member Functions | |
| wxPixelData (Image &image) | |
| Create pixel data object representing the entire image. More... | |
| wxPixelData (Image &i, const wxRect &rect) | |
| Create pixel data object representing the area of the image defined by rect. More... | |
| wxPixelData (Image &i, const wxPoint &pt, const wxSize &sz) | |
| Create pixel data object representing the area of the image defined by pt and sz. More... | |
| operator bool () const | |
| Return true of if we could get access to bitmap data successfully. More... | |
| Iterator | GetPixels () const |
| Return the iterator pointing to the origin of the image. More... | |
| wxPoint | GetOrigin () const |
| Returns origin of the rectangular region this wxPixelData represents. More... | |
| int | GetWidth () const |
| Return width of the region this wxPixelData represents. More... | |
| int | GetHeight () const |
| Return height of the region this wxPixelData represents. More... | |
| wxSize | GetSize () const |
| Return the area which this wxPixelData represents in the image. More... | |
| int | GetRowStride () const |
| Return the distance between two rows. More... | |
| typedef Image wxPixelData< Image, PixelFormat >::ImageType |
The type of the class we're working with.
| wxPixelData< Image, PixelFormat >::wxPixelData | ( | Image & | image | ) |
Create pixel data object representing the entire image.
| wxPixelData< Image, PixelFormat >::wxPixelData | ( | Image & | i, |
| const wxRect & | rect | ||
| ) |
Create pixel data object representing the area of the image defined by rect.
| wxPixelData< Image, PixelFormat >::wxPixelData | ( | Image & | i, |
| const wxPoint & | pt, | ||
| const wxSize & | sz | ||
| ) |
Create pixel data object representing the area of the image defined by pt and sz.
| int wxPixelData< Image, PixelFormat >::GetHeight | ( | ) | const |
Return height of the region this wxPixelData represents.
| wxPoint wxPixelData< Image, PixelFormat >::GetOrigin | ( | ) | const |
Returns origin of the rectangular region this wxPixelData represents.
| Iterator wxPixelData< Image, PixelFormat >::GetPixels | ( | ) | const |
Return the iterator pointing to the origin of the image.
| int wxPixelData< Image, PixelFormat >::GetRowStride | ( | ) | const |
Return the distance between two rows.
| wxSize wxPixelData< Image, PixelFormat >::GetSize | ( | ) | const |
Return the area which this wxPixelData represents in the image.
| int wxPixelData< Image, PixelFormat >::GetWidth | ( | ) | const |
Return width of the region this wxPixelData represents.
| wxPixelData< Image, PixelFormat >::operator bool | ( | ) | const |
Return true of if we could get access to bitmap data successfully.