File: MPE_Fill_rectangle.4

package info (click to toggle)
mpich 1.1.0-3
  • links: PTS
  • area: main
  • in suites: hamm
  • size: 22,116 kB
  • ctags: 27,349
  • sloc: ansic: 193,435; sh: 11,172; fortran: 6,545; makefile: 5,801; cpp: 5,020; tcl: 3,548; asm: 3,536; csh: 1,079; java: 614; perl: 183; awk: 168; sed: 70; f90: 62
file content (45 lines) | stat: -rw-r--r-- 1,002 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
.TH MPE_Fill_rectangle 4 "1/31/1997" " " "MPE"
.SH NAME
MPE_Fill_rectangle \-  Draws a filled rectangle on an X11 display  
.SH SYNOPSIS
.nf
#include <stdio.h>
#include "mpe.h"
int MPE_Fill_rectangle( handle, x, y, w, h, color )
MPE_XGraph handle;
int        x, y, w, h;
MPE_Color  color;
.fi
.SH INPUT PARAMETERS
.PD 0
.TP
.B handle 
- MPE graphics handle 
.PD 1
.PD 0
.TP
.B x,y 
- pixel position of the upper left (low coordinate) corner of the 
rectangle to draw.
.PD 1
.PD 0
.TP
.B w,h 
- width and height of the rectangle
.PD 1
.PD 0
.TP
.B color 
- Color `index` value.  See 'MPE_MakeColorArray'.  
By default, the colors
'MPE_WHITE', 'MPE_BLACK', 'MPE_RED', 'MPE_YELLOW', 'MPE_GREEN', 'MPE_CYAN',
'MPE_BLUE',  'MPE_MAGENTA', 'MPE_AQUAMARINE', 
'MPE_FORESTGREEN', 'MPE_ORANGE', 'MPE_VIOLET', 'MPE_BROWN', 
'MPE_PINK', 'MPE_CORAL' and 'MPE_GRAY' are defined.
.PD 1

.SH NOTES
This uses the X11 definition of width and height, so you may want to
add 1 to both of them.
.SH LOCATION
mpe_graphics.c