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 ScaledIconNode * | CreateScaledRenderIcon (struct IconNode *icon, int width, int height) |
| Create a scaled icon. | |
Detailed Description
Function Documentation
| struct ScaledIconNode* CreateScaledRenderIcon | ( | struct IconNode * | icon, |
| int | width, | ||
| int | height | ||
| ) | [read] |
Create a scaled icon.
- Parameters:
-
icon The icon. width The width of the icon to create. height The 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:
-
icon The icon. node The scaled icon data. d The drawable on which to render the icon. x The x-coordinate to place the icon. y The y-coordinate to place the icon.
- Returns:
- 1 if the icon was successfully rendered, 0 otherwise.