Home > comp > gb.qt4 > paintbrush > matrix 
 en fr de es it nl pl pt pt_BR mk sq ca hu tr ar fa id vi ko ja ru zh zh_TW eo
Previous  Next  Edit  Rename  Undo  Search  Administration  
Documentation  
Warning! This page is not translated.  See english version 
PaintBrush.Matrix (gb.qt4)
Property Matrix As PaintMatrix

Returns or sets the brush transformation matrix.

This matrix is a transformation from brush space to user space.

When a brush is first created it always has the identity matrix for its transformation matrix, which means that brush space is initially identical to user space.

Please note that the direction of this transformation matrix is from brush space to user space.

For example, if you want to make a brush appear twice as large as it does by default the correct code to use is:

Dim MyBrush As PaintBrush
MyBrush.Scale(2.0, 2.0)