"DTD/xhtml1-strict.dtd">
Module Imlib2::Cache
In: ./imlib2.c
Methods
flush_font_cache    font    font=    font_cache    font_cache=    get_font_cache    get_image_cache    image    image=    image_cache    image_cache=    set_font_cache    set_image_cache   
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