PGFPreHeader(3)

πŸ“¦
version 7.21.7 Β· 4 versions
, in fedora 43

πŸ’– PGFPreHeader(3) πŸ’–

okay so bestie, we're deep in the libpgf docs rn β€” this is the PGFPreHeader page, part of the libpgf manual, section 3. it's giving "tiny struct, big responsibilities". let's get into it πŸ¦‹


🌸 NAME 🌸

PGFPreHeader β€” the PGF pre-header. that's it, that's the whole vibe. πŸ’…


✨ SYNOPSIS ✨

#include <PGFtypes.h>

Inherits PGFMagicVersion. yes bestie, she's got a parent and she's proud of it πŸ‘‘

πŸŽ€ Public Attributes πŸŽ€

  • UINT32 hSize β€” the total size of PGFHeader, [ColorTable], and [UserData] in bytes (and since Version 6, this bad boy is 4 Bytes). it's literally the receipts for how much space everything takes πŸ’–
  • char magic [3] β€” the PGF identification = PGF". (yes, that's the exact text, don't @ me, I'm just the messenger πŸ’€)
  • UINT8 version β€” the PGF version. which era of PGF are we in? she'll tell you ✨

πŸ’œ Detailed Description πŸ’œ

PGF pre-header.

so basically: the PGF pre-header is the lil' opening act that defines the header length, the PGF identification, and the version. like a group chat intro β€” who you are, what you're about, and which era of yourself you're currently serving 🌈

Author: C. Stamm 🫢

Definition at line 123 of file PGFtypes.h.


🧚 Member Data Documentation 🧚

🌟 UINT32 PGFPreHeader::hSize 🌟

total size of PGFHeader, [ColorTable], and [UserData] in bytes (since Version 6: 4 Bytes). no cap, that's the byte count right there πŸ“

Definition at line 124 of file PGFtypes.h.

🌟 char PGFMagicVersion::magic[3] [inherited] 🌟

PGF identification = "PGF". it's the magic word, the secret handshake, the "it's me" text at 2am πŸ’–

Definition at line 114 of file PGFtypes.h.

🌟 UINT8 PGFMagicVersion::version [inherited] 🌟

PGF version. literally just the version number, but she carries it with main character energy πŸ‘‘

Definition at line 115 of file PGFtypes.h.


πŸŽ€ Author πŸŽ€

Generated automatically by Doxygen for libpgf from the source code. so like, don't thank me, thank the robot πŸ€–βœ¨


lowkey a whole struct in three fields. iconic. ate and left no crumbs. periodt. πŸ’…

and that's the whole page bestie!! this was Version 7.21.2, dated Thu Jul 24 2025 00:00:00, and you just read PGFPreHeader(3) from the libpgf manual. mwah, go forth and parse those pre-headers πŸ«ΆπŸ’–πŸŒΈ

πŸ“¦ where this page comes from