This function creates a new instance of the layout cache.
Parameter | Description |
---|---|
layout_cache |
Pointer to the handle of the newly created layout cache instance. |
engine |
Handle of the associated Standard Engine instance. |
reserved |
This value is reserved for future use and must be set to 0. |
If the initialization was successful, the return value is 1 and layout_cache holds a handle of the newly created layout cache instance. Otherwise, the function returns 0 and layout_cache holds DV_NULL.
Before a new layout cache instance can be created, applications must initialize D-Type Standard Engine (D-Type Font Engine and Rasterizer) and obtain its Standard Engine instance (engine).