![]() |
![]() |
![]() |
![]() |
Draw a beveled box with gradients
int PgBevelBox( PhPoint_t *ul,
PhPoint_t *lr,
PgColor_t light_color,
PgColor_t flat_color,
PgColor_t dark_color,
short depth,
short width,
PgColor_t outline_color,
PgColor_t inline_color,
int flags );
int PgBevelBoxCx( void * dc,
PhPoint_t *ul,
PhPoint_t *lr,
PgColor_t light_color,
PgColor_t flat_color,
PgColor_t dark_color,
short depth,
short width,
PgColor_t outline_color,
PgColor_t inline_color,
int flags );
![]() |
If you specify any of the above arguments as Pg_TRANSPARENT, the value of the argument will be converted to Pg_WHITE. |
ph
These functions draw a beveled box with gradients. PgBevelBox() works on the current draw context, while you can specify the draw context for PgBevelBoxCx().
The only difference between these functions and PgDrawGradientBevelBox() or PgDrawGradientBevelBoxCx() is that the latter allow separate specifications for the upper-left and the lower-right flat colors. The two flat colors are the same in these function.
Photon
| Safety: | |
|---|---|
| Interrupt handler | No |
| Signal handler | No |
| Thread | No |
PgColor_t, PgContrastBevelBox*(), PgDrawGradientBevelBox*(), PhPoint_t
“Gradients” in the Raw Drawing and Animation chapter of the Photon Programmer's Guide
![]() |
![]() |
![]() |
![]() |