src/fixedfontwrap.cpp
// drawMultilineText ********
// This method is used to draw a text in a given surface, with any
// vertical and horizontal alignment, dividing it in multiple lines
// as it's needed.

drawMultilineText
This method is used to draw a text in a given surface, with any
vertical and horizontal alignment, dividing it in multiple lines
as it's needed.
drawMultilineText This method is used to draw a text in a given surface with any vertical and horizontal alignment dividing it in multiple lines as it ' s needed .
bool fixedFontClass::drawMultilineText(
	ddSurfaceClass& srfTo,
	char* text,
	int textSize,
	int x, int y,
	int boxWidth, int boxHeight,
	bool transparent,
	alignEnum alignment,
	valignEnum verticalAlignment)
{
	int tempDX, tempDY, tempDW, tempDH;
	if (!calculateMultilineTextSize(
		srfTo, text, textSize,
		x, y, boxWidth, boxHeight,
		alignment, verticalAlignment,
		&tempDX, &tempDY, &tempDW, &tempDH
		)) {
		return false;
	}
	return privateDrawMultilineText(
		srfTo, text, textSize,
		tempDX, tempDY, tempDW, tempDH,
		transparent, alignment);
}
bool fixedFontClass :: drawMultilineText ( ddSurfaceClass & srfTo , char * text , int textSize , int x , int y , int boxWidth , int boxHeight , bool transparent , alignEnum alignment , valignEnum verticalAlignment ) { int tempDX , tempDY , tempDW , tempDH ; if ( ! calculateMultilineTextSize ( srfTo , text , textSize , x , y , boxWidth , boxHeight , alignment , verticalAlignment , & tempDX , & tempDY , & tempDW , & tempDH ) ) { return false ; } return privateDrawMultilineText ( srfTo , text , textSize , tempDX , tempDY , tempDW , tempDH , transparent , alignment ) ; }
drawMultilineText 
This method is used to draw a text in a given surface, with any
vertical and horizontal alignment, dividing it in multiple lines
as it's needed.
drawMultilineText This method is used to draw a text in a given surface with any vertical and horizontal alignment dividing it in multiple lines as it ' s needed .
// surface where to draw the text
 // text to draw
 // size of the string to draw
 // position where to draw the text
 // size of the text box (used for clipping)
 // will the text be transparent?
 // text alignment, either FILE_DDWRAP_ALIGN_LEFT, FILE_DDWRAP_ALIGN_CENTER or FILE_DDWRAP_ALIGN_RIGHT
 // text vertical alignment, either FILE_DDWRAP_VALIGN_TOP, FILE_DDWRAP_VALIGN_CENTER or FILE_DDWRAP_VALIGN_BOTTOM
 // calculate the coordinates we'll have to use
 // surface and text
 // text box coordinates size
 // text alignment
 // where to save the text size data
 // error!
 // now it's time to draw the text
 // surface and text
 // text box coordinates and size
 // transparency, alignment
