xtd 0.2.0
Loading...
Searching...
No Matches
xtd::drawing::imaging::image_format Class Referencefinal
Inheritance diagram for xtd::drawing::imaging::image_format:
xtd::object xtd::icomparable< image_format > xtd::iequatable< image_format > xtd::interface xtd::interface

Definition

Specifies the file format of the image. Not inheritable.

Namespace
xtd::drawing::imaging
Library
xtd.drawing

Public Constructors

 image_format (const guid &guid)
 Initializes a new instance of the image_format class by using the specified guid structure.
 

Public Properties

const xtd::guid guid () const noexcept
 Gets a guid structure that represents this image_format object.
 

Public Methods

int32 compare_to (const image_format &value) const noexcept override
 
bool equals (const image_format &value) const noexcept override
 
xtd::ustring to_string () const noexcept override
 Converts this image_format object to a human-readable string.
 

Public Static Properties

static image_format bmp () noexcept
 Gets the bitmap (BMP) image format.
 
static image_format emf () noexcept
 Gets the enhanced metafile (EMF) image format.
 
static image_format exif () noexcept
 Gets the Exchangeable Image File (Exif) format.
 
static image_format gif () noexcept
 Gets the Graphics Interchange Format (GIF) image format.
 
static image_format ico () noexcept
 Gets the windows icon (ico) image format.
 
static image_format jpeg () noexcept
 Gets the Joint Photographic Experts Group (JPEG) image format.
 
static image_format memory_bmp () noexcept
 Gets the format of a bitmap in memory.
 
static image_format png () noexcept
 Gets the W3C Portable Network Graphics (PNG) image format.
 
static image_format tiff () noexcept
 Gets the Tagged Image File Format (TIFF) image format.
 
static image_format wmf () noexcept
 Gets the Windows metafile (WMF) image format.
 
static image_format memory_gif () noexcept
 Gets the GIF memory format.
 
static image_format memory_ico () noexcept
 Gets the ICO memory format.
 
static image_format memory_jpeg () noexcept
 Gets the JPEG memory format.
 
static image_format memory_png () noexcept
 Gets the PNG memory format.
 
static image_format memory_tiff () noexcept
 Gets the TIFF memory.
 
static image_format cur () noexcept
 Gets the cursor (CUR) image format.
 
static image_format memory_cur () noexcept
 Gets the CUR memory.
 
static image_format xbm () noexcept
 Gets the x bitmap (XBM) image format.
 
static image_format memory_xbm () noexcept
 Gets the XMB memory.
 
static image_format xpm () noexcept
 Gets the x pixmap (XPM) image format.
 
static image_format memory_xpm () noexcept
 Gets the XPM memory.
 
static image_format pnm () noexcept
 Gets the portable pixmap (PNM) image format.
 
static image_format memory_pnm () noexcept
 Gets the PNM memory.
 
static image_format pcx () noexcept
 Gets the pcx (PCX) image format.
 
static image_format memory_pcx () noexcept
 Gets the PCX memory.
 
static image_format pict () noexcept
 Gets the apple pict (PICT) image format.
 
static image_format memory_pict () noexcept
 Gets the PICT memory.
 
static image_format icon () noexcept
 Gets the apple icon (ICON) image format.
 
static image_format memory_icon () noexcept
 Gets the ICON memory.
 
static image_format cursor () noexcept
 Gets the apple cursor (CURSOR) image format.
 
static image_format memory_cursor () noexcept
 Gets the CURSOR memory.
 
static image_format ani () noexcept
 Gets the animated file cursor (ANI) image format.
 
static image_format iif () noexcept
 Gets the iif (IIF) image format.
 
static image_format tga () noexcept
 Gets the truevision targa (TGA) image format.
 

Additional Inherited Members

- Public Member Functions inherited from xtd::object
 object ()=default
 Create a new instance of the ultimate base class object.
 
bool equals (const object &obj) const noexcept
 Determines whether the specified object is equal to the current object.
 
virtual size_t get_hash_code () const noexcept
 Serves as a hash function for a particular type.
 
virtual type_object get_type () const noexcept
 Gets the type of the current instance.
 
template<typename object_t >
std::unique_ptr< object_t > memberwise_clone () const noexcept
 Creates a shallow copy of the current object.
 
- Public Member Functions inherited from xtd::icomparable< image_format >
virtual int32 compare_to (const image_format &obj) const noexcept=0
 Compares the current instance with another object of the same type.
 
- Public Member Functions inherited from xtd::iequatable< image_format >
virtual bool equals (const image_format &) const noexcept=0
 Indicates whether the current object is equal to another object of the same type.
 
- Static Public Member Functions inherited from xtd::object
static bool equals (const object &object_a, const object &object_b) noexcept
 Determines whether the specified object instances are considered equal.
 
static bool reference_equals (const object &object_a, const object &object_b) noexcept
 Determines whether the specified object instances are the same instance.
 

Constructor & Destructor Documentation

◆ image_format()

xtd::drawing::imaging::image_format::image_format ( const guid guid)
inlineexplicit

Initializes a new instance of the image_format class by using the specified guid structure.

Parameters
guidThe guid structure that specifies a particular image format.
Remarks
Typically you use the static properties of the image_format class to specify a particular format such as Png or Jpeg, rather than constructing a new image_format.

Member Function Documentation

◆ ani()

static image_format xtd::drawing::imaging::image_format::ani ( )
inlinestaticnoexcept

Gets the animated file cursor (ANI) image format.

Returns
An image_format object that indicates the ANI image format.

◆ bmp()

static image_format xtd::drawing::imaging::image_format::bmp ( )
inlinestaticnoexcept

Gets the bitmap (BMP) image format.

Returns
An image_format object that indicates the bitmap image format.

◆ cur()

static image_format xtd::drawing::imaging::image_format::cur ( )
inlinestaticnoexcept

Gets the cursor (CUR) image format.

Returns
An image_format object that indicates the cursor image format.

◆ cursor()

static image_format xtd::drawing::imaging::image_format::cursor ( )
inlinestaticnoexcept

Gets the apple cursor (CURSOR) image format.

Returns
An image_format object that indicates the CURSOR format.

◆ emf()

static image_format xtd::drawing::imaging::image_format::emf ( )
inlinestaticnoexcept

Gets the enhanced metafile (EMF) image format.

Returns
An image_format object that indicates the enhanced metafile image format.

◆ exif()

static image_format xtd::drawing::imaging::image_format::exif ( )
inlinestaticnoexcept

Gets the Exchangeable Image File (Exif) format.

Returns
An image_format object that indicates the Exif format.

◆ gif()

static image_format xtd::drawing::imaging::image_format::gif ( )
inlinestaticnoexcept

Gets the Graphics Interchange Format (GIF) image format.

Returns
An image_format object that indicates the GIF image format.

◆ guid()

const xtd::guid xtd::drawing::imaging::image_format::guid ( ) const
inlinenoexcept

Gets a guid structure that represents this image_format object.

Returns
A guid structure that represents this image_format object.

◆ ico()

static image_format xtd::drawing::imaging::image_format::ico ( )
inlinestaticnoexcept

Gets the windows icon (ico) image format.

Returns
An image_format object that indicates the icon image format.

◆ icon()

static image_format xtd::drawing::imaging::image_format::icon ( )
inlinestaticnoexcept

Gets the apple icon (ICON) image format.

Returns
An image_format object that indicates the ICON image format.

◆ iif()

static image_format xtd::drawing::imaging::image_format::iif ( )
inlinestaticnoexcept

Gets the iif (IIF) image format.

Returns
An image_format object that indicates the IIF image format.

◆ jpeg()

static image_format xtd::drawing::imaging::image_format::jpeg ( )
inlinestaticnoexcept

Gets the Joint Photographic Experts Group (JPEG) image format.

Returns
An image_format object that indicates the JOEG image format.

◆ memory_bmp()

static image_format xtd::drawing::imaging::image_format::memory_bmp ( )
inlinestaticnoexcept

Gets the format of a bitmap in memory.

Returns
An image_format object that indicates the bitmap memory image format.

◆ memory_cur()

static image_format xtd::drawing::imaging::image_format::memory_cur ( )
inlinestaticnoexcept

Gets the CUR memory.

Returns
An image_format object that indicates the CUR memory image format.

◆ memory_cursor()

static image_format xtd::drawing::imaging::image_format::memory_cursor ( )
inlinestaticnoexcept

Gets the CURSOR memory.

Returns
An image_format object that indicates the CURSOR memory image format.

◆ memory_gif()

static image_format xtd::drawing::imaging::image_format::memory_gif ( )
inlinestaticnoexcept

Gets the GIF memory format.

Returns
An image_format object that indicates the GIF mempry image format.

◆ memory_ico()

static image_format xtd::drawing::imaging::image_format::memory_ico ( )
inlinestaticnoexcept

Gets the ICO memory format.

Returns
An image_format object that indicates the icon memory image format.

◆ memory_icon()

static image_format xtd::drawing::imaging::image_format::memory_icon ( )
inlinestaticnoexcept

Gets the ICON memory.

Returns
An image_format object that indicates the ICOM memory image format.

◆ memory_jpeg()

static image_format xtd::drawing::imaging::image_format::memory_jpeg ( )
inlinestaticnoexcept

Gets the JPEG memory format.

Returns
An image_format object that indicates the JPEG memory image format.

◆ memory_pcx()

static image_format xtd::drawing::imaging::image_format::memory_pcx ( )
inlinestaticnoexcept

Gets the PCX memory.

Returns
An image_format object that indicates the PCX memory image format.

◆ memory_pict()

static image_format xtd::drawing::imaging::image_format::memory_pict ( )
inlinestaticnoexcept

Gets the PICT memory.

Returns
An image_format object that indicates the PICT memory image format.

◆ memory_png()

static image_format xtd::drawing::imaging::image_format::memory_png ( )
inlinestaticnoexcept

Gets the PNG memory format.

Returns
An image_format object that indicates the PNG memory image format.

◆ memory_pnm()

static image_format xtd::drawing::imaging::image_format::memory_pnm ( )
inlinestaticnoexcept

Gets the PNM memory.

Returns
An image_format object that indicates the PNM memory image format.

◆ memory_tiff()

static image_format xtd::drawing::imaging::image_format::memory_tiff ( )
inlinestaticnoexcept

Gets the TIFF memory.

Returns
An image_format object that indicates the TIFF memory image format.

◆ memory_xbm()

static image_format xtd::drawing::imaging::image_format::memory_xbm ( )
inlinestaticnoexcept

Gets the XMB memory.

Returns
An image_format object that indicates the XBM memory image format.

◆ memory_xpm()

static image_format xtd::drawing::imaging::image_format::memory_xpm ( )
inlinestaticnoexcept

Gets the XPM memory.

Returns
An image_format object that indicates the XPM memory image format.

◆ pcx()

static image_format xtd::drawing::imaging::image_format::pcx ( )
inlinestaticnoexcept

Gets the pcx (PCX) image format.

Returns
An image_format object that indicates the PCX image format.

◆ pict()

static image_format xtd::drawing::imaging::image_format::pict ( )
inlinestaticnoexcept

Gets the apple pict (PICT) image format.

Returns
An image_format object that indicates the PICT image format.

◆ png()

static image_format xtd::drawing::imaging::image_format::png ( )
inlinestaticnoexcept

Gets the W3C Portable Network Graphics (PNG) image format.

Returns
An image_format object that indicates the PNG image format.

◆ pnm()

static image_format xtd::drawing::imaging::image_format::pnm ( )
inlinestaticnoexcept

Gets the portable pixmap (PNM) image format.

Returns
An image_format object that indicates the PNM image format.

◆ tga()

static image_format xtd::drawing::imaging::image_format::tga ( )
inlinestaticnoexcept

Gets the truevision targa (TGA) image format.

Returns
An image_format object that indicates the TGA image format.

◆ tiff()

static image_format xtd::drawing::imaging::image_format::tiff ( )
inlinestaticnoexcept

Gets the Tagged Image File Format (TIFF) image format.

Returns
An image_format object that indicates the TIFF image format.

◆ to_string()

xtd::ustring xtd::drawing::imaging::image_format::to_string ( ) const
inlineoverridevirtualnoexcept

Converts this image_format object to a human-readable string.

Returns
A string that represents this image_format object.

Reimplemented from xtd::object.

◆ wmf()

static image_format xtd::drawing::imaging::image_format::wmf ( )
inlinestaticnoexcept

Gets the Windows metafile (WMF) image format.

Returns
An image_format object that indicates the WMF image format.

◆ xbm()

static image_format xtd::drawing::imaging::image_format::xbm ( )
inlinestaticnoexcept

Gets the x bitmap (XBM) image format.

Returns
An image_format object that indicates the XBM image format.

◆ xpm()

static image_format xtd::drawing::imaging::image_format::xpm ( )
inlinestaticnoexcept

Gets the x pixmap (XPM) image format.

Returns
An image_format object that indicates the XPM image format.

The documentation for this class was generated from the following file: