| |
Picture & Image
MGI Find Rect Containing Point

Return the index of the first rect containing the point, -1 if none.
MGI Get Text Rect with Pad

Measure text rect, then pad the width by 10% to correct for inaccuracies.
MGI Nearest Corners

Find the nearest corners of two rectangles.
MGI Coerce Rect into Bounds

Coerce the specified rect to fit within the bounds supplied. If the rect is larger than the bounds it will be resized to fit.
MGI Wrap String to Pixel Width

Add line feeds to the specified string to wrap it to the specified width.
MGI Wrap Word to Pixel Width

Perform a word wrap operation on a single word which may need to be broken into parts. Start string must be empty or end in a line feed.
|
|