<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE erlref SYSTEM "erlref.dtd">

<!-- THIS FILE IS GENERATED DO NOT EDIT -->


<erlref>
<header>
  <copyright>
    <year>2020</year>
    <holder>Ericsson AB. All Rights Reserved.</holder></copyright>
  <legalnotice>
      Licensed under the Apache License, Version 2.0 (the "License");
      you may not use this file except in compliance with the License.
      You may obtain a copy of the License at

          http://www.apache.org/licenses/LICENSE-2.0

      Unless required by applicable law or agreed to in writing, software
      distributed under the License is distributed on an "AS IS" BASIS,
      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
      See the License for the specific language governing permissions and
      limitations under the License.

  </legalnotice>
  <title>wxGraphicsMatrix</title>
</header>
<module>wxGraphicsMatrix</module>
<modulesummary>Functions for wxGraphicsMatrix class</modulesummary>
<description><p>A <seeerl marker="wxGraphicsMatrix"><c>wxGraphicsMatrix</c></seeerl> is a native representation of an affine matrix. The contents are specific and private to the respective renderer. Instances are ref counted and can therefore be assigned as usual. The only way to get a valid instance is via <seemfa marker="wxGraphicsContext#createMatrix/2"><c>wxGraphicsContext:createMatrix/2</c></seemfa> or <seemfa marker="wxGraphicsRenderer#createMatrix/2"><c>wxGraphicsRenderer:createMatrix/2</c></seemfa>.
      </p>
  <p>This class is derived (and can use functions) from: 
    <seeerl marker="wxGraphicsObject"><c>wxGraphicsObject</c></seeerl></p>
  
  <p>wxWidgets docs: <url href="https://docs.wxwidgets.org/3.1/classwx_graphics_matrix.html">wxGraphicsMatrix</url></p>
  </description>
<datatypes><datatype><name name="wxGraphicsMatrix"/></datatype></datatypes>

<funcs>
  <func>
    <name name="concat" arity="2" clause_i="1" since=""/>
    <fsummary>Concatenates the matrix passed with the current matrix. </fsummary>
    <desc><p>Concatenates the matrix passed with the current matrix. 
      </p><p>The effect of the resulting transformation is to first apply the transformation in <c>t</c> to the coordinates and then apply the transformation in the current matrix to the coordinates.
      </p></desc>
  </func>
  
  <func>
    <name name="get" arity="1" clause_i="1" since=""/>
    <fsummary>Returns the component values of the matrix via the argument pointers. </fsummary>
    <desc><p>Returns the component values of the matrix via the argument pointers. 
      </p></desc>
  </func>
  
  <func>
    <name name="invert" arity="1" clause_i="1" since=""/>
    <fsummary>Inverts the matrix. </fsummary>
    <desc><p>Inverts the matrix. 
      </p></desc>
  </func>
  
  <func>
    <name name="isEqual" arity="2" clause_i="1" since=""/>
    <fsummary>Returns true if the elements of the transformation matrix are equal. </fsummary>
    <desc><p>Returns true if the elements of the transformation matrix are equal. 
      </p></desc>
  </func>
  
  <func>
    <name name="isIdentity" arity="1" clause_i="1" since=""/>
    <fsummary>Return true if this is the identity matrix. </fsummary>
    <desc><p>Return true if this is the identity matrix. 
      </p></desc>
  </func>
  
  <func>
    <name name="rotate" arity="2" clause_i="1" since=""/>
    <fsummary>Rotates this matrix clockwise (in radians). </fsummary>
    <desc><p>Rotates this matrix clockwise (in radians). 
      </p></desc>
  </func>
  
  <func>
    <name name="scale" arity="3" clause_i="1" since=""/>
    <fsummary>Scales this matrix. </fsummary>
    <desc><p>Scales this matrix. 
      </p></desc>
  </func>
  
  <func>
    <name name="translate" arity="3" clause_i="1" since=""/>
    <fsummary>Translates this matrix. </fsummary>
    <desc><p>Translates this matrix. 
      </p></desc>
  </func>
  
  <func>
    <name name="set" arity="1" clause_i="1" since=""/>
    <fsummary>See: <c>set/2</c></fsummary>
  </func>
  
  <func>
    <name name="set" arity="2" clause_i="1" since=""/>
    <fsummary>Sets the matrix to the respective values (default values are the identity matrix). </fsummary>
    <desc><p>Sets the matrix to the respective values (default values are the identity matrix). 
      </p></desc>
  </func>
  
  <func>
    <name name="transformPoint" arity="1" clause_i="1" since=""/>
    <fsummary>Applies this matrix to a point. </fsummary>
    <desc><p>Applies this matrix to a point. 
      </p></desc>
  </func>
  
  <func>
    <name name="transformDistance" arity="1" clause_i="1" since=""/>
    <fsummary>Applies this matrix to a distance (ie. </fsummary>
    <desc><p>Applies this matrix to a distance (ie. 
      </p><p>performs all transforms except translations). 
      </p></desc>
  </func>
  </funcs>
</erlref>
