DtMmdbGraphicInfo(file formats)

NAME
DtMmdbGraphicInfo — graphic object structure in dtinfo

DESCRIPTION

The DtMmdbGraphicInfo structure contains information about a graphic object in dtinfo.

The DtMmdbGraphicInfo structure is defined as follows:

#include <DtInfo/DtMmdb.h>
typedef struct _DtMmdbGraphicInfo {
   unsigned short coding;
   unsigned short width;
   unsigned short height;
   unsigned int llx;
   unsigned int lly;
   unsigned int urx;
   unsigned int ury;
   char* version;
} DtMmdbGraphicInfo;

The DtMmdbGraphicInfo members have the following meanings:

coding
    Specifies the type of the object. Valid values are:

    DtMmdbGraphicEPS
        Indicates an Encapsulated PostScript typed object.

    DtMmdbGraphicGIF
        Indicates a GIF typed object.

    DtMmdbGraphicXPM
        Indicates an XPM typed object.

    DtMmdbGraphicXBM
        Indicates an XBM typed object.

    DtMmdbGraphicCGM
        Indicates a CGM typed object (not supported)

    DtMmdbGraphicJPEG
        Indicates a JPEG typed object (not supported)

    DtMmdbGraphicTIFF
        Indicates a TIFF typed object (not supported)

    DtMmdbGraphicXWD
        Indicates an XWD typed object (not supported)

    DtMmdbGraphicUnknown
        Indicates an object of unknown type

width
    Specifies the width of the object (in points).

height
    Specifies the height of the object (in points).

llx Specifies the X coordinate for the lower left corner if the object is of type Encapsulated PostScript.

lly Specifies the Y coordinate for the lower left corner if the object is of type Encapsulated PostScript.

urx Specifies the X coordinate for the upper right corner if the object is of type Encapsulated PostScript.

ury Specifies the Y coordinate for the upper right corner if the object is of type Encapsulated PostScript.

version
    Specifies the version of the object. Currently returns NULL. To be specified in the future.

SEE ALSO

DtMmdbFreeGraphicInfo(3), DtMmdbGraphicGetData(3), DtMmdbGraphicGetInfo(3)