Index

C/C++ Functions

dtTypesetterGetCachePolicy

DT_SWORD dtTypesetterGetCachePolicy(DT_DTENGINE engine, DT_SLONG* max_bitmap_bytes, DT_SWORD* reserved1, DT_SWORD* reserved2, DT_SWORD* reserved3, DT_SWORD* reserved4)

Short Description: Get Typesetter's bitmap cache policy

This function returns the current bitmap cache policy from the Typesetter of the specified Standard Engine instance. This policy is normally set by dtTypesetterSetCachePolicy.

Parameters

ParameterDescription

engine

Handle of the previously created Standard Engine instance.

max_bitmap_bytes

A valid pointer to a variable that will receive the Typesetter's current maximum bitmap size, in bytes, of a 8-bpp glyph image that can be stored in the bitmap cache. See dtTypesetterSetCachePolicy for details.

However, if you do not wish to receive the value of the above parameter, you may set this pointer to DV_NULL.

reserved1

Reserved for future use. Must be a valid pointer to a variable of the DT_SWORD type.

However, if you do not wish to receive the value of the above parameter, you may set this pointer to DV_NULL.

reserved2

Reserved for future use. Must be a valid pointer to a variable of the DT_SWORD type.

However, if you do not wish to receive the value of the above parameter, you may set this pointer to DV_NULL.

reserved3

Reserved for future use. Must be a valid pointer to a variable of the DT_SWORD type.

However, if you do not wish to receive the value of the above parameter, you may set this pointer to DV_NULL.

reserved4

Reserved for future use. Must be a valid pointer to a variable of the DT_SWORD type.

However, if you do not wish to receive the value of the above parameter, you may set this pointer to DV_NULL.

Return Value

If successful, the return value is 1. Otherwise, the function returns 0.

 

Index