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.

Namespaces

namespace  vcl
 

Enumerations

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

Functions

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)