共用方式為


ISVGMatrix interface

Provides properties for the SVGMatrix element.

Members

The ISVGMatrix interface inherits from the IDispatch interface. ISVGMatrix also has these types of members:

  • Methods
  • Properties

Methods

The ISVGMatrix interface has these methods.

Method Description
ISVGMatrix::flipX

Returns a matrix equivalent to a flip about the x-axis.

ISVGMatrix::flipY

Returns a matrix equivalent to a flip about the y-axis.

ISVGMatrix::inverse

Returns the inverse of this matrix.

ISVGMatrix::multiply

Post-multiplies the matrix by the specified second matrix and returns the resulting matrix.

ISVGMatrix::rotate

Post-multiplies a rotation transformation on the current matrix and returns the resulting matrix.

ISVGMatrix::rotateFromVector

Post-multiplies the matrix by a specified rotation transformation and returns the resulting matrix.

ISVGMatrix::scale

Post-multiplies the matrix by a uniform scale transformation and returns the resulting matrix.

ISVGMatrix::scaleNonUniform

Post-multiplies the matrix by a non-uniform scale transformation and returns the resulting matrix.

ISVGMatrix::skewX

Post-multiplies the matrix by a skew transformation along the x-axis and returns the resulting matrix.

ISVGMatrix::skewY

Post-multiplies the matrix by a skew transformation along the y-axis and returns the resulting matrix.

ISVGMatrix::translate

Post-multiplies the matrix by a translation transformation and returns the resulting matrix.

 

Properties

The ISVGMatrix interface has these properties.

Property Access type Description

ISVGMatrix::a

Read/write

Gets or sets the a entry of the ISVGMatrix.

ISVGMatrix::b

Read/write

Gets or sets the b entry of the ISVGMatrix.

ISVGMatrix::c

Read/write

Gets or sets the c entry of the ISVGMatrix.

ISVGMatrix::d

Read/write

Gets or sets the d entry of the ISVGMatrix.

ISVGMatrix::e

Read/write

Gets or sets the e entry of the ISVGMatrix.

ISVGMatrix::f

Read/write

Gets or sets the ISVGMatrix::f entry of the ISVGMatrix.

 

Remarks

Many SVG graphics operations use 2×3 matrices of the following form.

[a c e]
[b d f]

When this type of matrix is expanded into a 3×3 matrix for matrix arithmetic, it has the following form.

[a c e]
[b d f]
[0 0 1]

Requirements

Minimum supported client

Windows Vista with SP1, Windows 7

Minimum supported server

Windows Server 2008 R2

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll

See also

IDispatch