Inkscape
Vector Graphics Editor
Loading...
Searching...
No Matches
U_BITMAP16 Struct Reference

Bitmap16 Object WMF manual 2.2.2.1. More...

#include <uwmf.h>

Public Attributes

int16_t Type
 "bitmap type" MS PDF does not define this field beyond this.
 
int16_t Width
 bitmap width in pixels.
 
int16_t Height
 bitmap height in scan lines.
 
int16_t WidthBytes
 bytes per scan line.
 
uint8_t Planes
 must be 1.
 
uint8_t BitsPixel
 number of adjacent color bits on each plane (R bits + G bits + B bits ????)
 

Detailed Description

Bitmap16 Object WMF manual 2.2.2.1.

The U_BITMAP16 core is always followed by uint8_t Bits[1]; //!< bitmap pixel data. Bytes contained = (((Width * BitsPixel + 15) >> 4) << 1) * Height Note that in U_WMRCREATEPATTERNBRUSH Bits is always [4].

Definition at line 869 of file uwmf.h.

Member Data Documentation

◆ BitsPixel

uint8_t U_BITMAP16::BitsPixel

number of adjacent color bits on each plane (R bits + G bits + B bits ????)

Definition at line 875 of file uwmf.h.

Referenced by Inkscape::Extension::Internal::Wmf::add_bm16_image(), and Inkscape::Extension::Internal::Wmf::common_bm16_to_image().

◆ Height

int16_t U_BITMAP16::Height

bitmap height in scan lines.

Definition at line 872 of file uwmf.h.

Referenced by Inkscape::Extension::Internal::Wmf::add_bm16_image(), and Inkscape::Extension::Internal::Wmf::common_bm16_to_image().

◆ Planes

uint8_t U_BITMAP16::Planes

must be 1.

Definition at line 874 of file uwmf.h.

◆ Type

int16_t U_BITMAP16::Type

"bitmap type" MS PDF does not define this field beyond this.

Definition at line 870 of file uwmf.h.

◆ Width

int16_t U_BITMAP16::Width

◆ WidthBytes

int16_t U_BITMAP16::WidthBytes

bytes per scan line.

Definition at line 873 of file uwmf.h.


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