Table Of Contents

Previous topic

dcGraphicsContext

Next topic

dcGraphicsPath

This Page

phoenix_title dcGraphicsMatrix

A matrix holds an affine transformations, such as a scale, rotation, shear, or a combination of these, and is used to convert between different coordinante spaces.


class_hierarchy Inheritance Diagram

Inheritance diagram for class dcGraphicsMatrix

Inheritance diagram of dcGraphicsMatrix


method_summary Methods Summary

__init__  
Get Return the component values of the matrix as a tuple.
Set Set the componenets of the matrix by value, default values

api Class API



class dcGraphicsMatrix(object)

A matrix holds an affine transformations, such as a scale, rotation, shear, or a combination of these, and is used to convert between different coordinante spaces.


Methods



__init__(self)


Get(self)

Return the component values of the matrix as a tuple.



Set(self, a=1.0, b=0.0, c=0.0, d=1.0, tx=0.0, ty=0.0)

Set the componenets of the matrix by value, default values are the identity matrix.