![]()  | 
![]()  | 
![]()  | 
![]()  | 
Draw a beveled box with gradients and a given level of contrast
int PgContrastBevelBox( PhPoint_t *ul,
                        PhPoint_t *lr,
                        PgColor_t flat_color,
                        int contrast,
                        short depth,
                        short width,
                        PgColor_t outline_color,
                        PgColor_t inline_color,
                        int flags );
int PgContrastBevelBoxCx( void *dc,
                          PhPoint_t *ul,
                          PhPoint_t *lr,
                          PgColor_t flat_color,
                          int contrast,
                          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 and a given level of contrast. PgContrastBevelBox() works on the current draw context, while you can specify the draw context for PgContrastBevelBoxCx().
Photon
| Safety: | |
|---|---|
| Interrupt handler | No | 
| Signal handler | No | 
| Thread | No | 
PgColor_t, PgBevelBox*(), PgDrawGradientBevelBox*(), PhPoint_t
“Gradients” in the Raw Drawing and Animation chapter of the Photon Programmer's Guide
![]()  | 
![]()  | 
![]()  | 
![]()  |