afmatrix.cpp File Reference

a2dAffineMatrix class More...

#include "a2dprec.h"
#include "wx/general/genmod.h"
#include "wx/xmlparse/genxmlpars.h"
#include "wx/wx.h"
#include "wx/artbase/afmatrix.h"
#include <math.h>
#include <ctype.h>

Include dependency graph for afmatrix.cpp:

Go to the source code of this file.

Functions

bool operator== (const a2dAffineMatrix &a, const a2dAffineMatrix &b)
bool operator!= (const a2dAffineMatrix &a, const a2dAffineMatrix &b)
double wxCalculateDet (double a11, double a21, double a12, double a22)
 Calculates the determinant of a 2 x 2 matrix.
a2dAffineMatrix operator- (const a2dAffineMatrix &a, const a2dAffineMatrix &b)
 matrixes subtract
bool ParseCvgTransForm (a2dAffineMatrix &matrix, const wxString &str, wxString &error)
 function to parse a string in SVG/CVG format and return the resulting matrix

Variables

a2dAffineMatrix a2dIDENTITY_MATRIX
 global a2dAffineMatrix to set/pass the identity matrix.


Detailed Description

a2dAffineMatrix class

Author:
Klaas Holwerda Chris Breeze, Julian Smart
Copyright: 2001-2004 (C) Klaas Holwerda Chris Breeze, Julian Smart

Licence: wxWidgets licence

RCS-ID:

Id
afmatrix.cpp,v 1.42 2009/09/10 17:04:08 titato Exp

Definition in file afmatrix.cpp.


Function Documentation

a2dAffineMatrix operator- ( const a2dAffineMatrix a,
const a2dAffineMatrix b 
)

matrixes subtract

subtract two matrices

Definition at line 741 of file afmatrix.cpp.

bool ParseCvgTransForm ( a2dAffineMatrix matrix,
const wxString &  str,
wxString &  error 
)

function to parse a string in SVG/CVG format and return the resulting matrix

Parameters:
matrix the resulting matrix.
str the string to parse
error error returned if not right
Returns:
true if correct string.

Definition at line 890 of file afmatrix.cpp.

afmatrix.cpp File Reference -- Tue Aug 31 17:56:40 2010 -- 31 Aug 2010 -- 1.5.5 -- wxArt2D -- . -- Main Page Reference Documentation