Class: Wx::Matrix2D

Inherits:
Object
  • Object
show all
Defined in:
lib/wx/doc/gen/affine_matrix2d.rb

Overview

Note:

This class is untracked and should not be derived from nor instances extended!

A simple container for 2x2 matrix.

This simple structure is used with AffineMatrix2D.

Category: Miscellaneous

Requires:

  • USE_GEOMETRY

Instance Method Summary collapse

Constructor Details

#initialize(v11 = 1, v12 = 0, v21 = 0, v22 = 1) ⇒ Wx::Matrix2D

Default constructor.

Initializes the matrix elements to the identity.

Parameters:

  • v11 (Float) (defaults to: 1)
  • v12 (Float) (defaults to: 0)
  • v21 (Float) (defaults to: 0)
  • v22 (Float) (defaults to: 1)


285
# File 'lib/wx/doc/gen/affine_matrix2d.rb', line 285

def initialize(v11=1, v12=0, v21=0, v22=1) end

Instance Method Details

#m_11Float

The matrix elements in the usual mathematical notation.

Returns:

  • (Float)


233
# File 'lib/wx/doc/gen/affine_matrix2d.rb', line 233

def m_11; end

#m_11=(val) ⇒ void

This method returns an undefined value.

The matrix elements in the usual mathematical notation.

Parameters:

  • val (Float)


239
# File 'lib/wx/doc/gen/affine_matrix2d.rb', line 239

def m_11=(val); end

#m_12Float

Returns:

  • (Float)


245
# File 'lib/wx/doc/gen/affine_matrix2d.rb', line 245

def m_12; end

#m_12=(val) ⇒ void

This method returns an undefined value.

Parameters:

  • val (Float)


251
# File 'lib/wx/doc/gen/affine_matrix2d.rb', line 251

def m_12=(val); end

#m_21Float

Returns:

  • (Float)


257
# File 'lib/wx/doc/gen/affine_matrix2d.rb', line 257

def m_21; end

#m_21=(val) ⇒ void

This method returns an undefined value.

Parameters:

  • val (Float)


263
# File 'lib/wx/doc/gen/affine_matrix2d.rb', line 263

def m_21=(val); end

#m_22Float

Returns:

  • (Float)


269
# File 'lib/wx/doc/gen/affine_matrix2d.rb', line 269

def m_22; end

#m_22=(val) ⇒ void

This method returns an undefined value.

Parameters:

  • val (Float)


275
# File 'lib/wx/doc/gen/affine_matrix2d.rb', line 275

def m_22=(val); end