JWM Source Documentation
Functions
render.h File Reference

Functions to render icons using the XRender extension. More...

Go to the source code of this file.

Functions

void PutScaledRenderIcon (const struct IconNode *image, const struct ScaledIconNode *node, Drawable d, int x, int y, int width, int height)
 Put a scaled icon.
 
struct ScaledIconNodeCreateScaledRenderIcon (struct ImageNode *image, long fg)
 Create a scaled icon.
 

Detailed Description

Functions to render icons using the XRender extension.

Author
Joe Wingbermuehle
Date
2005-2006

Definition in file render.h.

Function Documentation

struct ScaledIconNode* CreateScaledRenderIcon ( ImageNode image,
long  fg 
)
read
void PutScaledRenderIcon ( const struct IconNode image,
const struct ScaledIconNode node,
Drawable  d,
int  x,
int  y,
int  width,
int  height 
)

Put a scaled icon.

Parameters
imageThe image to display.
nodeThe rendered image to display.
dThe drawable on which to render the icon.
xThe x-coordinate to place the icon.
yThe y-coordinate to place the icon.
widthThe width of the icon.
heightThe height of the icon.
Returns
1 if the icon was successfully rendered, 0 otherwise.

joewing.net / Projects / JWM