RenderCelOutlineRect
Renders an unfilled rectangle into a cel's data buffer.
Synopsis
void RenderCelOutlineRect (CCB *cel, int32 pixel, int32 x, int32 y, int32 w, int32 h)
Description
This function renders an outline (unfilled) rectangle into the cel's data buffer.
This function performs no clipping internally. You must be careful not to pass coordinates that would result in rendering outside the cel's data buffer.
This function supports all cel formats and bit depths except packed cels, LRForm cels, and 6-bit coded cels.
Arguments
- cel
- Pointer to the cel.
- pixel
- Value to store into each pixel in the outline.
- x
- X coordinate within the cel data buffer.
- y
- Y coordinate within the cel data buffer.
- w
- Width of the area to outline in the cel data buffer.
- h
- Height of the area to outline in the cel data buffer.
Implementation
Library call implemented in lib3do.lib.
Associated Files
lib3do.lib, celutils.h