mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-20 04:48:06 +01:00
wrlib: add a function to draw rectangles
it appears that such kind of function was missing from the lib
This commit is contained in:
committed by
Carlos R. Mafra
parent
b764a766bf
commit
8708b62cea
@@ -403,6 +403,8 @@ void RDrawLines(RImage *image, const RPoint *points, int npoints, int mode,
|
||||
void ROperateLines(RImage *image, int operation, const RPoint *points, int npoints,
|
||||
int mode, const RColor *color);
|
||||
|
||||
void ROperateRectangle(RImage *image, int operation, int x0, int y0, int x1, int y1, const RColor *color);
|
||||
|
||||
void RDrawSegments(RImage *image, const RSegment *segs, int nsegs, const RColor *color);
|
||||
|
||||
void ROperateSegments(RImage *image, int operation, const RSegment *segs, int nsegs,
|
||||
|
||||
Reference in New Issue
Block a user