JWM Source Documentation

render.h File Reference

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

Go to the source code of this file.

Functions

int PutScaledRenderIcon (struct IconNode *icon, struct ScaledIconNode *node, Drawable d, int x, int y)
 Put a scaled icon.
struct ScaledIconNodeCreateScaledRenderIcon (struct IconNode *icon, int width, int height)
 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 ( struct IconNode icon,
int  width,
int  height 
) [read]

Create a scaled icon.

Parameters:
iconThe icon.
widthThe width of the icon to create.
heightThe height of the icon to create.
Returns:
The scaled icon.
int PutScaledRenderIcon ( struct IconNode icon,
struct ScaledIconNode node,
Drawable  d,
int  x,
int  y 
)

Put a scaled icon.

Parameters:
iconThe icon.
nodeThe scaled icon data.
dThe drawable on which to render the icon.
xThe x-coordinate to place the icon.
yThe y-coordinate to place the icon.
Returns:
1 if the icon was successfully rendered, 0 otherwise.