packed record TOutlineChar
Unit
CastleOutlineFonts
Declaration
type TOutlineChar = packed record
Description
Character information. It's packed because of the same reason as TBitmapChar.
Overview
Fields
Description
Fields
Items: packed[0..MaxInt div SizeOf(TOutlineCharItem) - 10] of TOutlineCharItem; |
Actual polygons, lines and points defining font outline.
Although we define TOutlineChar.Items as having a (practically) infinite number of items, we actually never declare variables of TOutlineChar type, only of POutlineChar character. You have to always look at TOutlineCharInfo.ItemsCount (Info.ItemsCount) to know actual number of items.
You can also determine the end of items array by iterating over TOutlineChar.Items , and knowing the Info.PolygonsCount. Although the ItemsCount gives this directly.
|
Generated by PasDoc 0.12.1 on 2013-02-04 20:26:51
|