Back to index

lightning-sunbird  0.9+nobinonly
Functions
nsSVGPoint.h File Reference
#include "nsIDOMSVGPoint.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

nsresult NS_NewSVGPoint (nsIDOMSVGPoint **result, float x=0.0f, float y=0.0f)
nsresult NS_NewSVGReadonlyPoint (nsIDOMSVGPoint **result, float x=0.0f, float y=0.0f)

Function Documentation

nsresult NS_NewSVGPoint ( nsIDOMSVGPoint **  result,
float  x = 0.0f,
float  y = 0.0f 
)

Definition at line 72 of file nsSVGPoint.cpp.

{
  *result = new nsSVGPoint(x, y);
  if (!*result)
    return NS_ERROR_OUT_OF_MEMORY;
  NS_ADDREF(*result);
  return NS_OK;
}

Here is the call graph for this function:

Here is the caller graph for this function:

nsresult NS_NewSVGReadonlyPoint ( nsIDOMSVGPoint **  result,
float  x = 0.0f,
float  y = 0.0f 
)

Definition at line 189 of file nsSVGPoint.cpp.

{
  *result = new nsSVGReadonlyPoint(x, y);
  if (!*result)
    return NS_ERROR_OUT_OF_MEMORY;
  NS_ADDREF(*result);
  return NS_OK;
}

Here is the call graph for this function:

Here is the caller graph for this function: