]> git.saurik.com Git - wxWidgets.git/blame - interface/wx/affinematrix2dbase.h
Interface fixes for Phoenix
[wxWidgets.git] / interface / wx / affinematrix2dbase.h
CommitLineData
0e5d4c38
VZ
1/////////////////////////////////////////////////////////////////////////////
2// Name: affinematrix2dbase.h
3// Purpose: wxMatrix2D documentation
4// Author: wxWidgets team
5// Licence: wxWindows licence
6/////////////////////////////////////////////////////////////////////////////
7
8/**
9 @class wxMatrix2D
10
11 A simple container for 2x2 matrix.
12
13 This simple structure is used with wxAffineMatrix2D.
14
15 @library{wxcore}
16 @category{misc}
17
18 @since 2.9.2
19 */
20struct wxMatrix2D
21{
22 /**
23 Default constructor.
24
25 Initializes the matrix elements to the identity.
26 */
27 wxMatrix2D(wxDouble v11 = 1,
28 wxDouble v12 = 0,
29 wxDouble v21 = 0,
30 wxDouble v22 = 1);
31
32 /// The matrix elements in the usual mathematical notation.
33 wxDouble m_11, m_12, m_21, m_22;
34};