Using Win32 functions in Visual FoxPro Image Gallery
GDI+ Brush
..msdn
GdipCreateSolidFill
GdipCreateTexture
GdipDeleteBrush
GdipScaleTextureTransform
Code examples:
Adding a background image to VFP report (VFP9, ReportListener)
GdipScaleTextureTransform
..msdn    Add comment     W32 Constants      Translate this page
Updates this texture brush"s current transformation matrix with the product of itself and a scaling matrix.
Code examples:
Adding a background image to VFP report (VFP9, ReportListener)
Declaration:
GpStatus WINGDIPAPI GdipScaleTextureTransform(
    GpTexture* brush,
    REAL sx,
    REAL sy,
    GpMatrixOrder order
);
FoxPro declaration:
DECLARE INTEGER GdipScaleTextureTransform IN gdiplus;
    INTEGER brush,;
    SINGLE sx,;
    SINGLE sy,;
    INTEGER matrixorder
Parameters:
brush
[in] Handle of the brush object.

sx
[in] Real number that specifies the amount to scale in the x direction.
sy
[in] Real number that specifies the amount to scale in the y direction.

order
[in] Optional. Element of the MatrixOrder enumeration that specifies the order of the multiplication.
Return value:
Returns 0 on success.
Usage:
nScale=10
GdipScaleTextureTransform(m.hBrush,;
    m.nScale, m.nScale, 0)
My comment:
See also: GdipCreateTexture, GdipResetTextureTransform
Word Index links for the GdipScaleTextureTransform :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2009-12-16 22:25:54
Modified: 2009-12-16 22:30:29
Visited in last 7 days: 58
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.38), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.162.166.214)
4 sec.
Function group: 'Bitmap'
10 sec.
Function group: 'String'
14 sec.Function: 'CopyFile'
Function group: 'File Management'
19 sec.Function: 'DisconnectNamedPipe'
25 sec.Function: 'FtpRemoveDirectory'
33 sec.Example: 'Subclassing CommandButton control to create BackColor property'
43 sec.Function: 'GetCurrentThreadId'
Function group: 'Process and Thread'
53 sec.Function: 'GdipDrawImageRectRectI'
1.07 min.Function: 'DeleteFile'
Function group: 'File Management'
1.25 min.Example: 'Using mailslots to send messages on the network'
Google
Advertise here!