WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.

nsIDOMSVGMatrix

IID:ec2da3ef-5a99-49ed-aaef-b5af916c14ac
Inherits From:nsISupports

Properties

float a

float b

float c

float d

float e

float f


Methods

nsIDOMSVGMatrix flipX ( ) nsIDOMSVGMatrix flipY ( ) nsIDOMSVGMatrix inverse ( ) nsIDOMSVGMatrix multiply ( nsIDOMSVGMatrix secondMatrix ) nsIDOMSVGMatrix rotate ( float angle ) nsIDOMSVGMatrix rotateFromVector ( float x , float y ) nsIDOMSVGMatrix scale ( float scaleFactor ) nsIDOMSVGMatrix scaleNonUniform ( float scaleFactorX , float scaleFactorY ) nsIDOMSVGMatrix skewX ( float angle ) nsIDOMSVGMatrix skewY ( float angle ) nsIDOMSVGMatrix translate ( float x , float y )

nsIDOMSVGMatrix flipX ( )


nsIDOMSVGMatrix flipY ( )


nsIDOMSVGMatrix inverse ( )


nsIDOMSVGMatrix multiply ( nsIDOMSVGMatrix secondMatrix )

Arguments:
secondMatrix

nsIDOMSVGMatrix rotate ( float angle )

Arguments:
angle

nsIDOMSVGMatrix rotateFromVector ( float x , float y )

Arguments:
x
y

nsIDOMSVGMatrix scale ( float scaleFactor )

Arguments:
scaleFactor

nsIDOMSVGMatrix scaleNonUniform ( float scaleFactorX , float scaleFactorY )

Arguments:
scaleFactorX
scaleFactorY

nsIDOMSVGMatrix skewX ( float angle )

Arguments:
angle

nsIDOMSVGMatrix skewY ( float angle )

Arguments:
angle

nsIDOMSVGMatrix translate ( float x , float y )

Arguments:
x
y

References

This interface is the type of the following properties:

nsIDOMSVGTransform.matrix

This interface is passed as an argument to the following methods:

nsIDOMSVGMatrix.multiply, nsIDOMSVGPoint.matrixTransform, nsIDOMSVGSVGElement.createSVGTransformFromMatrix, nsIDOMSVGTransform.setMatrix, nsIDOMSVGTransformList.createSVGTransformFromMatrix

This interface is returned from the following methods:

nsIDOMSVGLocatable.getCTM, nsIDOMSVGLocatable.getScreenCTM, nsIDOMSVGLocatable.getTransformToElement, nsIDOMSVGMatrix.flipX, nsIDOMSVGMatrix.flipY, nsIDOMSVGMatrix.inverse, nsIDOMSVGMatrix.multiply, nsIDOMSVGMatrix.rotate, nsIDOMSVGMatrix.rotateFromVector, nsIDOMSVGMatrix.scale, nsIDOMSVGMatrix.scaleNonUniform, nsIDOMSVGMatrix.skewX, nsIDOMSVGMatrix.skewY, nsIDOMSVGMatrix.translate, nsIDOMSVGSVGElement.createSVGMatrix

Reference documentation is generated from Mozilla's source.

Copyright © 1999-2006 XULPlanet.com