An abstract base class that provides functionality for the bitmap and metafile descended classes.
- Namespace
- xtd::drawing
- Library
- xtd.drawing
|
| graphics | create_graphics () |
| | Creates the xtd::drawing::graphics for the image. More...
|
| |
| int32_t | flags () const |
| | Gets attribute flags for the pixel data of this Image. More...
|
| |
| const std::vector< guid > & | frame_dimentions_list () const |
| | Gets an array of GUIDs that represent the dimensions of frames within this image. More...
|
| |
| intptr_t | handle () const |
| | Get the handle of this image. More...
|
| |
| int32_t | height () const |
| | Gets the height, in pixels, of this image. More...
|
| |
| float | horizontal_resolution () const |
| | Gets the horizontal resolution, in pixels per inch, of this image. More...
|
| |
| imaging::color_palette | palette () const |
| | Gets the color palette used for this image. More...
|
| |
| void | palette (const imaging::color_palette &palette) |
| | Sets the color palette used for this image. More...
|
| |
| const size_f & | physical_dimension () const |
| | Gets the width and height of this image. More...
|
| |
| imaging::pixel_format | pixel_format () const |
| | Gets the pixel format for this image. More...
|
| |
| const std::vector< int32_t > & | property_id_list () const |
| | Gets IDs of the property items stored in this image. More...
|
| |
| const std::vector< imaging::property_item > & | property_items () const |
| | Gets all the property items (pieces of metadata) stored in this image. More...
|
| |
| const imaging::image_format & | raw_format () const |
| | Gets the file format of this image. More...
|
| |
|
void | save (const xtd::ustring &filename) const |
| |
|
void | save (const xtd::ustring &filename, const imaging::image_format &format) const |
| |
|
void | save (std::ostream &stream, const imaging::image_format &format) const |
| |
| const drawing::size & | size () const |
| | Gets the width and height, in pixels, of this image. More...
|
| |
| const std::any & | tag () const |
| | Gets an object that provides additional data about the image. More...
|
| |
| void | tag (const std::any &tag) |
| | Sets an object that provides additional data about the image. More...
|
| |
| float | vertical_resolution () const |
| | Gets the vertical resolution, in pixels per inch, of this image. More...
|
| |
| int32_t | width () const |
| | Gets the width, in pixels, of this image. More...
|
| |
| | object ()=default |
| | Create a new instance of the ultimate base class object. More...
|
| |
| virtual bool | equals (const object &obj) const noexcept |
| | Determines whether the specified object is equal to the current object. More...
|
| |
| virtual size_t | get_hash_code () const noexcept |
| | Serves as a hash function for a particular type. More...
|
| |
| template<typename object_t > |
| std::unique_ptr< object_t > | memberwise_clone () const |
| | Gets the type of the current instance. More...
|
| |
| virtual xtd::ustring | to_string () const noexcept |
| | Returns a std::string that represents the current object. More...
|
| |
|
|
static image | from_data (const char *const *bits) |
| |
| static image | from_file (const xtd::ustring &filename) |
| | Creates an image from the specified file. More...
|
| |
|
static image | from_hbitmap (intptr_t hbitmap) |
| |
|
static image | from_stream (std::istream &stream) |
| |
| static bool | equals (const object &object_a, const object &object_b) noexcept |
| | Determines whether the specified object instances are considered equal. More...
|
| |
| static bool | reference_equals (const object &object_a, const object &object_b) noexcept |
| | Determines whether the specified object instances are the same instance. More...
|
| |