DTMMDBGRAPHICINFO(5)

πŸ“¦
version 2.5.3 Β· 2 versions
, in nixos 26.05

πŸ’… DtMmdbGraphicInfo β€” the file formats glow-up

okay so bestie, buckle up πŸŽ€ this one is a file formats manual page β€” yep, section 5 energy β€” and it's all about DtMmdbGraphicInfo, the little struct that holds the tea on a graphic object in dtinfo. It's giving "backstage pass to every picture in the docs" and honestly? iconic. ✨


🌸 NAME 🌸

DtMmdbGraphicInfo β€” literally the graphic object structure in dtinfo, no cap πŸ’–


πŸ¦‹ DESCRIPTION πŸ¦‹

The DtMmdbGraphicInfo structure contains information about a graphic object in dtinfo. That's the whole vibe β€” it's the info-dump struct for graphics. πŸ–ΌοΈ

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 β€” let's do a member-by-member vibe check πŸ‘‘:

  • coding β€” specifies the type of the object. Valid values are, and yes we're listing every single one because we don't skip:
    • 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. 😭 (she's a work in progress, we respect it)
ngl the four "not supported" ones are sending me πŸ’€ but they're still valid coding values, so write that down bestie.

🧚 SEE ALSO 🧚

the squad, fr fr 🫢:


and that's the whole page, mwah πŸ’‹ β€” brought to you by DtMmdbGraphicInfo (file formats), the one and only header/footer situation this page has going on. go read the section 3 besties next, iykyk 🌈⭐

πŸ“¦ where this page comes from