 |
|
|  |  |
 |
GdipGetMatrixElements ..msdn Add comment W32 Constants Translate this page |
 |
 |
Gets the elements of this matrix. The elements are placed in an array in the order m11, m12, m21, m22, m31, m32, where mij denotes the element in row i, column j.
|
 |  | | Code examples: |  | |
|
 |  | | Declaration: |  |  |
GpStatus WINGDIPAPI GdipGetMatrixElements(
GDIPCONST GpMatrix *matrix,
REAL *matrixOut
)
|
 |  |  | | FoxPro declaration: |  |  |
DECLARE INTEGER GdipGetMatrixElements IN gdiplus;
INTEGER matrix,;
STRING @matrixOut
|
 |  |  | | Parameters: |  | matrix
[in] Handle to a Matrix object.
matrixOut
[out] Pointer to an array that receives the matrix elements. The size of the array should be 6 ืsizeof( REAL). |
 |  | | Return value: |  | | Returns GpStatus value; 0 means success. |
 |  | | My comment: |  | cCoords = REPLICATE(CHR(0), 24)
IF GdipGetMatrixElements(m.hmatrix, @m.cCoords) = 0
m11 = Float2Int(buf2dword(SUBSTR(m.cCoords, 1,4)))
m12 = Float2Int(buf2dword(SUBSTR(m.cCoords, 5,4)))
m21 = Float2Int(buf2dword(SUBSTR(m.cCoords, 9,4)))
m22 = Float2Int(buf2dword(SUBSTR(m.cCoords, 13,4)))
dx = Float2Int(buf2dword(SUBSTR(m.cCoords, 17,4)))
dy = Float2Int(buf2dword(SUBSTR(m.cCoords, 21,4)))
ENDIF
See also: GdipSetMatrixElements. |
 |  | | Word Index links for the GdipGetMatrixElements : |  | |
|
 |  | | Translate this page: |  | |  |  | | |  | | Created: | 2007-03-05 23:13:45 | | Modified: | 2007-03-05 23:19:12 | Visited in last 7 days: 14 |
|
 |
 |
 |
 |
Copyright ฉ 2001-2013
News2News, Inc.
Before reproducing or distributing any data from this site please ask for an approval from its owner. Unless otherwise specified, this page is for your personal and non-commercial use.
The information on this page is presented AS IS, meaning that you may use it at your own risk.
Microsoft Visual FoxPro
and Windows are trade marks
of Microsoft Corp.
All other trademarks are the property of their respective owners.
Privacy policy
|
 |
 |
 |
Credits: PHP (4.4.9), an HTML-embedded scripting language,
MySQL (5.1.55-log), the Open Source standard SQL database,
AceHTML Freeware
Version 4, freeware HTML Editor of choice. Hosted by Korax Online Inc. |
 |
 |
|
 |