首页 > comp > gb.qt4 > paintbrush > matrix 
 en fr de es it nl pl pt pt_BR mk sq ca hu cs tr ar fa id vi ko ja ru zh eo
前一个  下一个  编辑  重命名  撤销  搜索  管理  
文档  
警告! 该页面未翻译。  参见英文版 
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)