| Module Imlib2::Cache |
|
| Methods |
| Public Class methods |
| image(VALUE klass) |
Return the size (in bytes) of the application-wide image cache.
Examples:
size = Imlib2::Cache::get_image_cache size = Imlib2::Cache::image_cache size = Imlib2::Cache::image
| image=(VALUE klass, VALUE val) |
Set the size (in bytes) of the application-wide image cache.
Examples:
new_size = 16 * 1024 ** 2 # 16 megabytes Imlib2::Cache::set_image_cache new_size new_size = 16 * 1024 ** 2 # 16 megabytes Imlib2::Cache::image_cache = new_size
new_size = 16 * 1024 ** 2 # 16 megabytes Imlib2::Cache::image = new_size
| image_cache(VALUE klass) |
Return the size (in bytes) of the application-wide image cache.
Examples:
size = Imlib2::Cache::get_image_cache size = Imlib2::Cache::image_cache size = Imlib2::Cache::image
| image_cache=(VALUE klass, VALUE val) |
Set the size (in bytes) of the application-wide image cache.
Examples:
new_size = 16 * 1024 ** 2 # 16 megabytes Imlib2::Cache::set_image_cache new_size new_size = 16 * 1024 ** 2 # 16 megabytes Imlib2::Cache::image_cache = new_size
new_size = 16 * 1024 ** 2 # 16 megabytes Imlib2::Cache::image = new_size
| get_image_cache(VALUE klass) |
Return the size (in bytes) of the application-wide image cache.
Examples:
size = Imlib2::Cache::get_image_cache size = Imlib2::Cache::image_cache size = Imlib2::Cache::image
| set_image_cache(VALUE klass, VALUE val) |
Set the size (in bytes) of the application-wide image cache.
Examples:
new_size = 16 * 1024 ** 2 # 16 megabytes Imlib2::Cache::set_image_cache new_size new_size = 16 * 1024 ** 2 # 16 megabytes Imlib2::Cache::image_cache = new_size
new_size = 16 * 1024 ** 2 # 16 megabytes Imlib2::Cache::image = new_size
| font(VALUE klass) |
Return the size (in bytes) of the application-wide font cache.
Examples:
size = Imlib2::Cache::get_font_cache size = Imlib2::Cache::font_cache size = Imlib2::Cache::font
| font=(VALUE klass, VALUE val) |
Set the size (in bytes) of the application-wide font cache. Examples:
new_size = 8 * 1024 ** 2 # 8 megabytes Imlib2::Cache::set_font_cache new_size new_size = 8 * 1024 ** 2 # 8 megabytes Imlib2::Cache::font_cache = new_size
new_size = 8 * 1024 ** 2 # 8 megabytes Imlib2::Cache::font = new_size
| font_cache(VALUE klass) |
Return the size (in bytes) of the application-wide font cache.
Examples:
size = Imlib2::Cache::get_font_cache size = Imlib2::Cache::font_cache size = Imlib2::Cache::font
| font_cache=(VALUE klass, VALUE val) |
Set the size (in bytes) of the application-wide font cache. Examples:
new_size = 8 * 1024 ** 2 # 8 megabytes Imlib2::Cache::set_font_cache new_size new_size = 8 * 1024 ** 2 # 8 megabytes Imlib2::Cache::font_cache = new_size
new_size = 8 * 1024 ** 2 # 8 megabytes Imlib2::Cache::font = new_size
| get_font_cache(VALUE klass) |
Return the size (in bytes) of the application-wide font cache.
Examples:
size = Imlib2::Cache::get_font_cache size = Imlib2::Cache::font_cache size = Imlib2::Cache::font
| set_font_cache(VALUE klass, VALUE val) |
Set the size (in bytes) of the application-wide font cache. Examples:
new_size = 8 * 1024 ** 2 # 8 megabytes Imlib2::Cache::set_font_cache new_size new_size = 8 * 1024 ** 2 # 8 megabytes Imlib2::Cache::font_cache = new_size
new_size = 8 * 1024 ** 2 # 8 megabytes Imlib2::Cache::font = new_size
| flush_font_cache(VALUE klass) |
Flush and return the new size (in bytes) of the application-wide font cache.
Example:
new_size = Imlib2::Cache::flush_font_cache