Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

void ph_draw_hollow_rect phImageSurface s,
phColor  c,
uint8_t  transparency,
uint32_t  x1,
uint32_t  y1,
uint32_t  x2,
uint32_t  y2
 

This function draws a rectangle on an image.

IT is assumed that the phColor will match that of the surface color type. Unexpected results may occur if they are not. It's left to the coder to ensure these things because this function can't have heavy error checking.

Parameters:
[in,out] s The image information
[in] c The color of the rectangle
[in] x1 The top left x coordinate of the rectangle
[in] y1 The top left y coordinate of the rectangle
[in] x2 The bottom right x coordinate of the rectangle
[in] y2 The bottom right y coordinate of the rectangle

Definition at line 479 of file ImageGfx.c.





Copyright (C) 2002 - 2007 Philip D.S. Thoren ( pthoren@users.sourceforge.net )
University Of Massachusetts at Lowell
Robotics Lab
SourceForge.net Logo

Generated on Sat Jun 16 02:45:27 2007 for phission by  doxygen 1.4.4