Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Protected Member Functions | Protected Attributes | Friends
nsSVGCoordCtx Class Reference

#include <nsSVGCoordCtx.h>

Collaboration diagram for nsSVGCoordCtx:
Collaboration graph

List of all members.

Public Member Functions

float GetMillimeterPerPixel ()
already_AddRefed< nsIDOMSVGNumberGetLength ()
nsrefcnt AddRef ()
nsrefcnt Release ()

Protected Member Functions

 nsSVGCoordCtx ()

Protected Attributes

PRUint32 mRefCnt
float mmPerPx
nsCOMPtr< nsIDOMSVGNumbermLength


class nsSVGCoordCtxHolder

Detailed Description

Definition at line 50 of file nsSVGCoordCtx.h.

Constructor & Destructor Documentation

nsSVGCoordCtx::nsSVGCoordCtx ( ) [inline, protected]

Definition at line 76 of file nsSVGCoordCtx.h.

Here is the call graph for this function:

Member Function Documentation

Definition at line 62 of file nsSVGCoordCtx.h.

{ return ++mRefCnt; }

Definition at line 55 of file nsSVGCoordCtx.h.

    nsIDOMSVGNumber *rv = mLength.get();
    return rv;

Here is the call graph for this function:

Definition at line 53 of file nsSVGCoordCtx.h.

{ return mmPerPx; }

Definition at line 63 of file nsSVGCoordCtx.h.

    if (mRefCnt == 0) {
      mRefCnt = 1; // stabilize
      delete this;
      return 0;
    return mRefCnt;

Friends And Related Function Documentation

friend class nsSVGCoordCtxHolder [friend]

Definition at line 74 of file nsSVGCoordCtx.h.

Member Data Documentation

Definition at line 82 of file nsSVGCoordCtx.h.

float nsSVGCoordCtx::mmPerPx [protected]

Definition at line 81 of file nsSVGCoordCtx.h.

Definition at line 80 of file nsSVGCoordCtx.h.

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