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)


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

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)


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

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)


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

def m_11=(val); end

#m_12Float

Returns:

  • (Float)


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

def m_12; end

#m_12=(val) ⇒ void

This method returns an undefined value.

Parameters:

  • val (Float)


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

def m_12=(val); end

#m_21Float

Returns:

  • (Float)


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

def m_21; end

#m_21=(val) ⇒ void

This method returns an undefined value.

Parameters:

  • val (Float)


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

def m_21=(val); end

#m_22Float

Returns:

  • (Float)


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

def m_22; end

#m_22=(val) ⇒ void

This method returns an undefined value.

Parameters:

  • val (Float)


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

def m_22=(val); end