Using Win32 functions in Visual FoxPro Image Gallery
GDI+ Graphics
..msdn
GdipCreateFromHDC
GdipCreateFromHDC2
GdipCreateFromHWND
GdipDeleteGraphics
GdipDrawImageI
GdipDrawImageRectI
GdipDrawImageRectRectI
GdipDrawLineI
GdipDrawPieI
GdipDrawRectangle
GdipFillPieI
GdipFillRectangle
GdipGetDC
GdipGetDpiX
GdipGetDpiY
GdipGetPageScale
GdipGetPageUnit
GdipGetSmoothingMode
GdipReleaseDC
GdipResetWorldTransform
GdipRotateWorldTransform
GdipSetClipRectI
GdipSetPageScale
GdipSetPageUnit
GdipSetSmoothingMode
GdipSetTextRenderingHint
GdipSetWorldTransform
GdipTranslateWorldTransform
Code examples:
GDI+: Scrolling through large image using the mouse
GdipSetClipRectI
..msdn    Add comment     W32 Constants      Translate this page
Sets the clipping region of this Graphics object by a specified rectangle.
Code examples:
GDI+: Scrolling through large image using the mouse
Declaration:
GpStatus WINGDIPAPI GdipSetClipRectI(
    GpGraphics *graphics,
    INT x, INT y,
    INT width, INT height,
    CombineMode combineMode
)
FoxPro declaration:
DECLARE INTEGER GdipSetClipRectI IN gdiplus;
    INTEGER graphics,;
    INTEGER x,;
    INTEGER y,;
    INTEGER nWidth,;
    INTEGER nHeight,;
    INTEGER combineMode
Parameters:
graphics
[in] Pointer to a Graphics object.

x
[in] Specifies the logical x-coordinate of the upper-left corner of the rectangle.

y
[in] Specifies the logical y-coordinate of the upper-left corner of the rectangle.

width
[in] Specifies the logical width of the rectangle.

height
[in] Specifies the logical height of the rectangle.

combineMode
[in] Element of the CombineMode enumeration that specifies how the specified rectangle is combined with the clipping region of this Graphics object.
Return value:
If the function succeeds, it returns Ok (0).
Usage:
= GdipSetClipRectI(THIS.gdip.graphics,;
    CLIP_LEFT, CLIP_TOP,;
    CLIP_WIDTH, CLIP_HEIGHT, 0)
My comment:
See also: GdipResetClip
Word Index links for the GdipSetClipRectI :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2009-01-07 17:43:22
Modified: 2009-01-07 17:53:20
Visited in last 7 days: 18
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.166.232.243)
13 sec.Function: 'AVIStreamInfo'
26 sec.Function: 'AVIStreamLength'
40 sec.Function: 'EnumServicesStatus'
54 sec.Function: 'ResetEvent'
1.1 min.Function: 'Shell_GetImageLists'
1.35 min.Function: 'DisconnectNamedPipe'
1.55 min.Function: 'UrlEscape'
1.73 min.Function: 'SQLDataSources'
1.95 min.Function: 'JetRollback'
2.2 min.Function: 'QueryDosDevice'
Google
Advertise here!