Documentation Project 1
ContentsIndexHome
PreviousUpNext
sack::image::BlotImageSizedEx Function
C++
__cdecl IMAGE_PROC void BlotImageSizedEx(Image pDest, Image pIF, S_32 x, S_32 y, S_32 xs, S_32 ys, _32 wd, _32 ht, _32 nTransparent, _32 method, ...);
#define BlotImageSized( pd, ps, x, y, w, h ) BlotImageSizedEx( pd, ps, x, y, 0, 0, w, h, TRUE, BLOT_COPY )
#define BlotImageSizedAlpha( pd, ps, x, y, w, h, a ) BlotImageSizedEx( pd, ps, x, y, 0, 0, w, h, a, BLOT_COPY )
#define BlotImageSizedTo( pd, ps, xd, yd, xs, ys, w, h ) BlotImageSizedEx( pd, ps, xd, yd, xs, ys, w, h, TRUE, BLOT_COPY )
#define BlotImageShadedSized( pd, ps, xd, yd, xs, ys, ws, hs, c ) BlotImageSizedEx( pd, ps, xd, yd, xs, ys, ws, hs, TRUE, BLOT_SHADED, c )
Parameters 
Description 
Image pDest 
Destination image 
Image pIF 
Image file to copy 
S_32 x 
X position to put copy at 
S_32 y 
Y position to put copy at 
S_32 xs 
X position to copy from. 
S_32 ys 
Y position to copy from. 
_32 wd 
how much of the image horizontally to copy 
_32 ht 
how much of the image vertically to copy 
_32 nTransparent 
_32 method 
BlotMethods Method == BLOT_SHADED extra parameters 
red 
Color to use the red channel to output the scale from black to color 
green 
Color to use the red channel to output the scale from black to color 
blue 
Color to use the red channel to output the scale from black to color Method == BLOT_SHADED extra parameters 
shade 
_nt_
See Also 

Copies an image from one image onto another. The copy is done directly and no scaling is applied. If a width or height larget than the image to copy is specified, only the amount of the image that is valid is copied.

Copyright (c) 2010. All rights reserved.
What do you think about this topic? Send feedback!