xoreos  0.0.5
Public Member Functions | Public Attributes | List of all members
Graphics::NCGR::NCGRFile Struct Reference
Collaboration diagram for Graphics::NCGR::NCGRFile:
Collaboration graph
[legend]

Public Member Functions

 NCGRFile ()
 
 ~NCGRFile ()
 

Public Attributes

Common::SeekableSubReadStreamEndianncgr
 
Common::SeekableReadStreamimage
 
uint32 offsetCHAR
 Offset to the CHAR section within the NCGR file. More...
 
uint32 width
 Width in pixels of this NCGR. More...
 
uint32 height
 Height in pixels of this NCGR. More...
 
uint8 depth
 Color depth in bits. More...
 
uint32 offsetX
 X offset in pixels into the final image. More...
 
uint32 offsetY
 Y offset in pixels into the final image. More...
 

Detailed Description

Definition at line 66 of file ncgr.h.

Constructor & Destructor Documentation

◆ NCGRFile()

Graphics::NCGR::NCGRFile::NCGRFile ( )

Definition at line 64 of file ncgr.cpp.

◆ ~NCGRFile()

Graphics::NCGR::NCGRFile::~NCGRFile ( )

Definition at line 67 of file ncgr.cpp.

Member Data Documentation

◆ depth

uint8 Graphics::NCGR::NCGRFile::depth

Color depth in bits.

Definition at line 75 of file ncgr.h.

Referenced by Graphics::NCGR::readChar().

◆ height

uint32 Graphics::NCGR::NCGRFile::height

Height in pixels of this NCGR.

Definition at line 74 of file ncgr.h.

Referenced by Graphics::NCGR::calculateGrid(), and Graphics::NCGR::readChar().

◆ image

Common::SeekableReadStream* Graphics::NCGR::NCGRFile::image

Definition at line 68 of file ncgr.h.

Referenced by Graphics::NCGR::readChar().

◆ ncgr

Common::SeekableSubReadStreamEndian* Graphics::NCGR::NCGRFile::ncgr

Definition at line 67 of file ncgr.h.

Referenced by Graphics::NCGR::readChar(), and Graphics::NCGR::readHeader().

◆ offsetCHAR

uint32 Graphics::NCGR::NCGRFile::offsetCHAR

Offset to the CHAR section within the NCGR file.

Definition at line 71 of file ncgr.h.

Referenced by Graphics::NCGR::readChar(), and Graphics::NCGR::readHeader().

◆ offsetX

uint32 Graphics::NCGR::NCGRFile::offsetX

X offset in pixels into the final image.

Definition at line 77 of file ncgr.h.

Referenced by Graphics::NCGR::calculateGrid().

◆ offsetY

uint32 Graphics::NCGR::NCGRFile::offsetY

Y offset in pixels into the final image.

Definition at line 78 of file ncgr.h.

Referenced by Graphics::NCGR::calculateGrid().

◆ width

uint32 Graphics::NCGR::NCGRFile::width

Width in pixels of this NCGR.

Definition at line 73 of file ncgr.h.

Referenced by Graphics::NCGR::calculateGrid(), and Graphics::NCGR::readChar().


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