Murl::Resource::IFont::Iff::HeaderChunk Struct Reference

The IFF header chunk of a native font resource. More...

#include "murl_resource_i_font.h"

Inheritance diagram for Murl::Resource::IFont::Iff::HeaderChunk:

Public Types

enum  { FOURCC_CHUNK }
 IFF identifiers. More...

Public Attributes

UInt32 mVersion
 The actual resource version.
Float mScaleFactor
 The font scale factor.
Float mSizeY
 The vertical size of a line.
Float mBaseLine
 The base line offset.
Float mAscent
 The font's ascent.
Float mDescent
 The font's descent.
Float mSpacing
 The spacing, i.e. horizontal distance between glyphs.
Float mLeading
 The leading, i.e. vertical distance between lines.
Float mSpaceWidth
 The width of the white space character.
Float mDigitWidth
 The common digit width.
Float mOffsetX
 The horizontal screen offset for rendering.
Float mOffsetY
 The vertical screen offset for rendering.

Additional Inherited Members

- Public Member Functions inherited from Murl::Util::IffChunk
template<class DataType >
DataType * IffOffset (UInt32 byteOffset) const
 Get a typed pointer from an offset relative to the chunk. More...
void SetFourCC (UInt32 fourCC)
 Set the chunk identifier. More...
UInt32 GetFourCC () const
 Get the chunk identifier. More...
void SetChunkSize (UInt32 size)
 Set the chunk size. More...
UInt32 GetChunkSize () const
 Get the chunk size. More...
UInt32 GetRawSize () const
 Get the chunk size minus sizeof(IffChunk). More...
- Protected Attributes inherited from Murl::Util::IffChunk
UInt32 mFourCC
 The FourCC chunk identifier.
UInt32 mSize
 The size of this chunk minus sizeof(IffChunk).

Detailed Description

The IFF header chunk of a native font resource.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum

IFF identifiers.


The four character code identifying this chunk as a HeaderChunk.

The documentation for this struct was generated from the following file:
  • murl_resource_i_font.h

Copyright © 2011-2024 Spraylight GmbH.