|
|
|
@ -164,10 +164,9 @@ FT_BEGIN_HEADER |
|
|
|
|
/* <Output> */ |
|
|
|
|
/* sbit :: A handle to a small bitmap descriptor. */ |
|
|
|
|
/* */ |
|
|
|
|
/* anode :: An opaque cache node pointer that will be used */ |
|
|
|
|
/* to release the sbit once it becomes unuseful. */ |
|
|
|
|
/* Can be NULL, in which case this function will */ |
|
|
|
|
/* have the same effect as @FTC_SBitCache_Lookup. XXX */ |
|
|
|
|
/* anode :: used to return the address of of the corresponding */ |
|
|
|
|
/* cache node after incrementing its reference count */ |
|
|
|
|
/* (see note below) */ |
|
|
|
|
/* */ |
|
|
|
|
/* <Return> */ |
|
|
|
|
/* FreeType error code. 0 means success. */ |
|
|
|
@ -181,6 +180,17 @@ FT_BEGIN_HEADER |
|
|
|
|
/* The descriptor's `buffer' field is set to 0 to indicate a missing */ |
|
|
|
|
/* glyph bitmap. */ |
|
|
|
|
/* */ |
|
|
|
|
/* If "anode" is _not_ NULL, it receives the address of the cache */ |
|
|
|
|
/* node containing the bitmap, after increasing its reference */ |
|
|
|
|
/* count. This ensures that the node (as well as the image) will */ |
|
|
|
|
/* always be kept in the cache until you call @FTC_Node_Unref to */ |
|
|
|
|
/* "release" it. */ |
|
|
|
|
/* */ |
|
|
|
|
/* If "anode" is NULL, the cache node is left unchanged, which means */ |
|
|
|
|
/* that the bitmap could be flushed out of the cache on the next */ |
|
|
|
|
/* call to one of the caching sub-system APIs. Just don't assume */ |
|
|
|
|
/* that it's persistent.. */ |
|
|
|
|
/* */ |
|
|
|
|
FT_EXPORT( FT_Error ) |
|
|
|
|
FTC_SBitCache_Lookup( FTC_SBitCache cache, |
|
|
|
|
FTC_ImageDesc* desc, |
|
|
|
|