Sign in
plan9port
/
plan9
/
9dbe4a0df903ee76bf72fcaff43dea5bb5bf3f75
/
.
/
src
/
cmd
/
plot
/
libplot
/
disk.c
blob: 47b39012b60ac3c51dd4a663cf63207e9239cab8 [
file
] [
log
] [
blame
]
#include
"mplot.h"
void
plotdisc
(
double
xc
,
double
yc
,
double
r
){
Point
p
;
int
rad
;
p
.
x
=
SCX
(
xc
);
p
.
y
=
SCY
(
yc
);
if
(
r
<
0
)
rad
=
SCR
(-
r
);
else
rad
=
SCR
(
r
);
fillellipse
(
screen
,
p
,
rad
,
rad
,
getcolor
(
e1
->
foregr
),
ZP
);
}