Documentation Project 1
ContentsIndexHome
PreviousUpNext
sack::image::do_hlineAlpha Variable
C++
IMAGE_PROC_D void (__cdecl * do_hlineAlpha)(Image pImage, S_32 y, S_32 xfrom, S_32 xto, CDATA color);
Parameters 
Description 
Image 
the image to draw to 
the Y coordinate of the line (how far down from top of image to draw it) 
x_from 
X coordinate to draw from 
x_to 
X coordinate to draw to 
color 
the color of the line (alpha component of the color will be applied) 

This is a function pointer that references a function to do optimized horizontal lines with alpha blending. The function pointer is updated when SetBlotMethod() is called.

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