Index

C/C++ Functions

lxCacheIni

DT_SWORD lxCacheIni(DT_LXCACHE* layout_cache, DT_DTENGINE engine, DT_SLONG reserved)

Short Description: Initialize layout cache

This function creates a new instance of the layout cache.

Parameters

ParameterDescription

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.

Return Value

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.

Comments

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).

 

Index