![]() | ![]() | ![]() | [Insert name here] Reference Manual | ![]() |
---|
gc-cache —
struct GCCache; struct GCCacheEntry; GCCache* gc_cache_new (guint max_gcs); GdkGC* gc_cache_lock (GCCache *cache, GdkRectangle *clip_rect, GdkWindow *window, guint32 color); void gc_cache_release (GCCache *cache, GdkGC *gc); void gc_cache_destroy (GCCache *cache);
struct GCCache { GHashTable *by_color; GHashTable *by_gc; GCCacheEntry *first, *last; guint n_locked; guint max_gcs; };
struct GCCacheEntry { guint lock_count; guint32 color; GCCacheEntry *prev, *next; gboolean must_unset_clip_rect; GdkGC *gc; };
GdkGC* gc_cache_lock (GCCache *cache, GdkRectangle *clip_rect, GdkWindow *window, guint32 color);
cache: | |
clip_rect: | |
window: | |
color: | |
Returns : |
<< afm-font-database | graphf-graph-3d-to-scene >> |