Draw an arrow that fits inside a given rectangle
void PgDrawArrow( PhRect_t const *rect, short margin, PgColor_t color, int direction ); void PgDrawArrowCx( void *dc, PhRect_t const *rect, short margin, PgColor_t color, int direction );
These functions call PgDrawPolygon() to draw an arrow that fits inside a given rectangle. PgDrawArrow() works on the current draw context, while you can specify the draw context for PgDrawArrowCx().
These functions use the current dithering and transparency settings for the fill and stroke, and a stroke width of 1. After drawing the arrow, they reset the fill and stroke colors and the stroke width to the values they had when you called the function.
PgColor_t, PgDrawBeveled*(), PgDrawPolygon*(), PhRect_t
“Arcs, ellipses, polygons, and rectangles” in the Raw Drawing and Animation chapter of the Photon Programmer's Guide