Class ImageCache.ImageCacheItem

class ImageCacheItem;

Constructors

NameDescription
this (filename)

Fields

NameTypeDescription
_drawbuf Ref!(dcanvas.graphics.drawbuf.DrawBuf)
_error bool
_filename string
_transformMap Ref!(dcanvas.graphics.drawbuf.DrawBuf)[ColorTransform]
_used bool

Properties

NameTypeDescription
get[get] Ref!(dcanvas.graphics.drawbuf.DrawBuf)get normal image
get[set] Ref!(dcanvas.graphics.drawbuf.DrawBuf)get color transformed image

Methods

NameDescription
checkpoint () mark as not used
cleanup () cleanup if unused since last checkpoint
compact () remove from memory, will cause reload on next access

Aliases

NameDescription
~this