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

The various create functions need a place to put their handles, these are stored in the table below. More...

#include <uwmf.h>

Public Attributes

uint32_t * table
 Array Buffer for constructing the WMF in memory.
 
size_t allocated
 Slots in the buffer.
 
size_t chunk
 Number to add if a realloc is required.
 
uint32_t lolimit
 Lowest unoccupied table slot, may be a hole created by a deleteobject.
 
uint32_t hilimit
 Highest table slot occupied (currently)
 
uint32_t peak
 Highest table slot occupied (ever)
 

Detailed Description

The various create functions need a place to put their handles, these are stored in the table below.

We don't actually do anything much with these handles, that is up to whatever program finally plays back the WMF, but we do need to keep track of the numbers so that they are not accidentally reused. (Also WMF files have rules about how object handles must be numbered, for instance, the lowest possible number must always be used. These are different from EMF object handles.) This structure is used for staying in conformance with these rules.

There are no stock objects in WMF files.

Definition at line 2067 of file uwmf.h.

Member Data Documentation

◆ allocated

size_t WMFHANDLES::allocated

Slots in the buffer.

Definition at line 2069 of file uwmf.h.

◆ chunk

size_t WMFHANDLES::chunk

Number to add if a realloc is required.

Definition at line 2070 of file uwmf.h.

◆ hilimit

uint32_t WMFHANDLES::hilimit

Highest table slot occupied (currently)

Definition at line 2072 of file uwmf.h.

◆ lolimit

uint32_t WMFHANDLES::lolimit

Lowest unoccupied table slot, may be a hole created by a deleteobject.

Definition at line 2071 of file uwmf.h.

◆ peak

uint32_t WMFHANDLES::peak

Highest table slot occupied (ever)

Definition at line 2073 of file uwmf.h.

◆ table

uint32_t* WMFHANDLES::table

Array Buffer for constructing the WMF in memory.

Definition at line 2068 of file uwmf.h.


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