ScummVM API documentation
Graphics::MacTextLine Struct Reference

Public Member Functions

MacFontRunfirstChunk ()
 
MacFontRunlastChunk ()
 
uint getChunkNum (int *col)
 

Public Attributes

int width = -1
 
int height = -1
 
int minWidth = -1
 
int y = 0
 
int charwidth = -1
 
bool paragraphEnd = false
 
bool wordContinuation = false
 
int indent = 0
 
int firstLineIndent = 0
 
Common::Path picfname
 
Common::U32String picalt
 
Common::U32String pictitle
 
Common::U32String picext
 
uint16 picpercent = 50
 
Common::Array< MacTextTableRow > * table = nullptr
 
ManagedSurfacetableSurface = nullptr
 
Common::Array< MacFontRunchunks
 

Member Function Documentation

◆ getChunkNum()

uint Graphics::MacTextLine::getChunkNum ( int *  col)

Search for a chunk at given char column.

Parameters
colRequested column, gets modified with in-chunk column
Returns
Chunk number
Note
If requested column is too big, returns last character in the line

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