Sign in Join
FPDoc Onlineexperiment

TPenHandleCache class

In unit Graphics

TPenHandleCache - Resource Cache for Pen Handles.

Declaration

pascal
TPenHandleCache = class(TResourceCache)

Inheritance

  1. TPenHandleCache
  2. TResourceCache

Description

Nothing more than the line above yet.

Methods

RemoveItemprotectedRemoveItem from CacheItem list.
CreatepublicConstructor for the class instance.
CompareDescriptorspublicCompares the specified image descriptors to determine if they have the same pens and pattern data.
FindPenpublicFindPen - returns a ResourceCacheItem corresponding to the nominated Handle.
FindPenDescpublicFindPenDesc - returns a descriptor for the given pen and pattern.
AddpublicAdd - returns a cache descriptor corresponding to the pen that has been added to the cache.

Inherited

From TResourceCache (13)

Clear CompareItems ConsistencyCheck Destroy ItemIsUsed ItemUnused ItemUsed Lock MaxUnusedItem RemoveDescriptor ResourceCacheDescriptorClass ResourceCacheItemClass Unlock

An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.