|
<< Click to Display Table of Contents >> Navigation: Classes > TIWFont > Methods > GetHashCode |
SIGNATURE=IWFont.TIWFont.GetHashCode
ETYPE=Method
Declaration:
Delphi: |
public function GetHashCode: NativeIntH; override; |
C++: |
public: virtual __fastcall NativeIntH GetHashCode(); |
Description: if 2 fonts have the same hash code, they also render the same. We can create a global font cache and reuse the same font style over and over using the hash code as their ID. A typical IW application only renders 10-20 different font styles for all controls