xtd 0.2.0
Loading...
Searching...
No Matches

◆ bits_per_pixel()

int32 xtd::forms::screen::bits_per_pixel ( ) const
noexcept

Gets the number of bits of memory, associated with one pixel of data.

Returns
The number of bits of memory, associated with one pixel of data.
Remarks
Typically, the number of bits per pixel for a screen is useful when working with bitmaps.
Examples
screen_informations.cpp.