LibreOffice Module vcl (master)  1
Namespaces | Enumerations | Functions
BitmapTypes.hxx File Reference
#include <sal/types.h>
#include <cassert>
Include dependency graph for BitmapTypes.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.




enum  vcl::PixelFormat {
  vcl::PixelFormat::INVALID = 0,
  vcl::PixelFormat::N1_BPP = 1,
  vcl::PixelFormat::N8_BPP = 8,
  vcl::PixelFormat::N24_BPP = 24,
  vcl::PixelFormat::N32_BPP = 32
 Pixel format of the bitmap in bits per pixel. More...


constexpr bool vcl::isPalettePixelFormat (PixelFormat ePixelFormat)
 Is it a pixel format that forces creation of a palette. More...
constexpr sal_uInt16 vcl::pixelFormatBitCount (PixelFormat ePixelFormat)
constexpr sal_Int64 vcl::numberOfColors (PixelFormat ePixelFormat)
constexpr PixelFormat vcl::bitDepthToPixelFormat (sal_uInt16 nBitDepth)