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)
GdipCreateTexture
..msdn    Add comment     W32 Constants      Translate this page
Creates a brush that contains an Image object that is used for the fill.
Code examples:
Adding a background image to VFP report (VFP9, ReportListener)
Declaration:
GpStatus WINGDIPAPI GdipCreateTexture(
    GpImage *image,
    GpWrapMode wrapmode,
    GpTexture **texture
);
FoxPro declaration:
DECLARE INTEGER GdipCreateTexture IN gdiplus;
    INTEGER img,;
    LONG wrapmode,;
    INTEGER @texture
Parameters:
image
[in] Handle to Image Object

wrapmode
[in] Element of the WrapMode enumeration that specifies how repeated copies of an image are used to tile an area when it is painted with this texture brush.

texture
[out] Handle of the brush object.
Return value:
Returns 0 on success.
Usage:
hBrush=0
GdipCreateTexture(hImage, 0, @hBrush)
My comment:
See also: GdipCreateSolidFill, GdipDeleteBrush, GdipFillRectangle
Word Index links for the GdipCreateTexture :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2009-12-16 22:17:57
Modified: 2009-12-16 22:25:09
Visited in last 7 days: 73
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.82.79.109)
14 sec.Function: 'BitBlt'
28 sec.Function: 'GlobalFree'
44 sec.Function: 'WTSCloseServer'
59 sec.Function: 'GetObject'
1.25 min.Function: 'SetKeyboardState'
1.52 min.Function: 'GetMonitorCapabilities'
1.78 min.Function: 'mmioSeek'
2.05 min.Function: 'listen'
2.32 min.Function: 'InternetOpenUrl'
2.57 min.Function: 'DrawFrameControl'
Google
Advertise here!