FreeRDP
Loading...
Searching...
No Matches
glyph.h
1
20#ifndef FREERDP_LIB_CACHE_GLYPH_H
21#define FREERDP_LIB_CACHE_GLYPH_H
22
23#include <freerdp/api.h>
24#include <freerdp/freerdp.h>
25#include <freerdp/pointer.h>
26
27#ifdef __cplusplus
28extern "C"
29{
30#endif
31
32 typedef struct glyphCache rdpGlyphCache;
33
34 FREERDP_LOCAL void glyph_cache_register_callbacks(rdpUpdate* update);
35
36 FREERDP_LOCAL void glyph_cache_free(rdpGlyphCache* glyph);
37
38 WINPR_ATTR_MALLOC(glyph_cache_free, 1)
39 FREERDP_LOCAL rdpGlyphCache* glyph_cache_new(rdpContext* context);
40
41 FREERDP_LOCAL void free_cache_glyph_order(rdpContext* context, CACHE_GLYPH_ORDER* glyph);
42
43 WINPR_ATTR_MALLOC(free_cache_glyph_order, 1)
44 FREERDP_LOCAL CACHE_GLYPH_ORDER* copy_cache_glyph_order(rdpContext* context,
45 const CACHE_GLYPH_ORDER* glyph);
46
47 FREERDP_LOCAL void free_cache_glyph_v2_order(rdpContext* context, CACHE_GLYPH_V2_ORDER* glyph);
48
49 WINPR_ATTR_MALLOC(free_cache_glyph_v2_order, 1)
50 FREERDP_LOCAL CACHE_GLYPH_V2_ORDER*
51 copy_cache_glyph_v2_order(rdpContext* context, const CACHE_GLYPH_V2_ORDER* glyph);
52
53#ifdef __cplusplus
54}
55#endif
56
57#endif /* FREERDP_LIB_CACHE_GLYPH_H */