Using Win32 functions in Visual FoxPro Image Gallery
GDI+ Matrix
GdipCreateMatrix
GdipCreateMatrix2
GdipDeleteMatrix
GdipGetMatrixElements
GdipInvertMatrix
GdipRotateMatrix
GdipScaleMatrix
GdipSetMatrixElements
GdipShearMatrix
GdipTranslateMatrix
Code examples:
Custom GDI+ class
GdipCreateMatrix2
..msdn    Add comment     W32 Constants      Translate this page
Creates and initializes a a 3 3 matrix that represents an affine transformation.
Code examples:
Custom GDI+ class
Declaration:
GpStatus WINGDIPAPI GdipCreateMatrix2(
    REAL m11,
    REAL m12,
    REAL m21,
    REAL m22,
    REAL dx,
    REAL dy,
    GpMatrix **matrix
)

FoxPro declaration:
DECLARE INTEGER GdipCreateMatrix2 IN gdiplus;
    SINGLE m11,;
    SINGLE m12,;
    SINGLE m21,;
    SINGLE m22,;
    SINGLE dx,;
    SINGLE dy,;
    INTEGER @matrix
Parameters:
m11
[in] Real number that specifies the element in the first row, first column.

m12
[in] Real number that specifies the element in the first row, second column.

m21
[in] Real number that specifies the element in the second row, first column.

m22
[in] Real number that specifies the element in the second row, second column.

dx
[in] Real number that specifies the element in the third row, first column.

dy
[in] Real number that specifies the element in the third row, second column.

matrix
[out] Handle to the Matrix object.
Return value:
Returns GpStatus value; 0 means success.
My comment:
The affine transformation is a transformation that is a combination of single transformations such as translation or rotation or reflection on an axis.

Read Comparing GDI mapping modes with GDI+ transforms and other articles on GDI+ written by Bob Powell, MVP.

See also: GdipCreateMatrix, GdipDeleteMatrix.
Word Index links for the GdipCreateMatrix2 :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2007-03-05 22:53:33
Modified: 2007-03-05 23:06:28
Visited in last 7 days: 14
User Contributed Notes:
There are no notes on this subject.


Copyright 2001-2017 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.6.37), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.156.67.122)
15 sec.Function: 'RegisterClipboardFormat'
30 sec.Function: 'DwmExtendFrameIntoClientArea'
44 sec.Function: 'RegDeleteValue'
58 sec.Function: 'CreateDirectory'
1.25 min.Function: 'CoTaskMemFree'
1.55 min.Function: 'LoadString'
1.8 min.Function: 'StrToIntEx'
2.03 min.Function: 'FrameRgn'
2.23 min.Function: 'SetWindowText'
2.47 min.Function: 'WaitForSingleObject'
Google
Advertise here!