MapPlotPolygon
Syntax | ||
void MapPlotPolygon(struct Rplot *rplot,struct RplotMatrix *matrix, float x,float y,float w,float h,int fill, unsigned int color,unsigned char mask, float width,struct RplotDash *dash, struct PolygonData *poly,int type); | ||
Header | ||
general/rmap.h | ||
Library | ||
map | ||
Description | ||
The The argument rplot is a pointer to the If the argument fill is set to a non-zero value then the polygons will be plotted as solid shapes, not outlines. The color used to plot the polygon is given by the color which is a 32-bit number that represents the alpha,red,green and blue components of the color as 8-bit number. The alpha channel occupies the most significant bits and the blue channel occupies the least significant bits. The argument mask defines which color channels are active. Setting this argument to 0x0f will output the color to all four channels. The most significant bit controls the alpha channel and the least significant bit controls the blue channel. The width of the line used to plot the polygons is controlled using the argument width, a value of zero will plot a hairline. The dot-dash pattern used to plot the polygon is given by dash. If this is set to a The argument poly points to the polygon data to plot. Only polygons whose type code matches the argument type are plotted. | ||
Returns | ||
None | ||
Errors | ||
None | ||
Example | ||
|