Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions
nsFontCacheXlib Class Reference

List of all members.

Public Member Functions

virtual nsresult CreateFontMetricsInstance (nsIFontMetrics **aResult)

Detailed Description

Definition at line 513 of file nsDeviceContextXlib.cpp.


Member Function Documentation

Definition at line 521 of file nsDeviceContextXlib.cpp.

{
  NS_PRECONDITION(aResult, "null out param");
  nsIFontMetrics *fm = new nsFontMetricsXlib();
  if (!fm)
    return NS_ERROR_OUT_OF_MEMORY;
  NS_ADDREF(fm);
  *aResult = fm;
  return NS_OK;
}

Here is the call graph for this function:


The documentation for this class was generated from the following file: