![]() |
![]() |
![]() |
![]() |
Draw an arrow that fits inside a given rectangle
void PgDrawArrow( PhRect_t const *rect, short margin, PgColor_t color, int direction );
ph
This function calls PgDrawPolygon() to draw an arrow that fits inside a given rectangle.
PgDrawArrow() uses the current dithering and transparency settings for the fill and stroke, and a stroke width of 1. After drawing the arrow, PgDrawArrow() resets the fill and stroke colors and the stroke width to the values they had when you called the function.
Photon
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | No |
PgColor_t, PgDrawBeveled(), PgDrawPolygon(), PhRect_t
"Arcs, ellipses, polygons, and rectangles" in the Raw Drawing and Animation chapter of the Photon Programmer's Guide
![]() |
![]() |
![]() |
![]() |