[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Graphics' (#lcl)

TPenHandleCache

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

TPenHandleCache - Resource Cache for Pen Handles

Declaration

Source position: graphics.pp line 590

type TPenHandleCache = class(TResourceCache)

protected

  procedure RemoveItem(); override;

  

RemoveItem from CacheItem list

public

  constructor Create;

  

  function CompareDescriptors(); override;

  

CompareDescriptors - returns 0 if descriptors are equal, -1 if Desc1 is less, 1 if Desc1 is greater

  function FindPen();

  

FindPen - returns a ResourceCacheItem corresponding to the nominated Handle

  function FindPenDesc();

  

FindPenDesc - returns a descriptor for the given pen and pattern

  function Add();

  

Add - returns a cache descriptor corresponding to the pen that has been added to the cache

end;

Inheritance

TPenHandleCache

  

TPenHandleCache - Resource Cache for Pen Handles

|

TResourceCache

  

TResourceCache - a cache (linked list) for storing Resources

|

TObject

The latest version of this document can be found at lazarus-ccr.sourceforge.net.