Documentation Project 1
ContentsIndexHome
PreviousUpNext
sack::image::do_hline Variable
C++
IMAGE_PROC_D void (__cdecl * do_hline)(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 to draw it) 
x_from 
X coordinate to draw from 
x_to 
X coordinate to draw to 
color 
the color of the line. This color will be set to the surface, the alpha result will be the alpha of this color. 

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

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