Scilab 6.0.0

Please note that the recommended version of Scilab is 6.0.1. This page might be outdated.

See the recommended documentation of this function

# xfarc

Fill a part of an ellipse

### Syntax

xfarc(x,y,w,h,a1,a2)

### Arguments

- x,y,w,h
four real values defining a rectangle.

- a1,a2
real values defining a sector.

### Description

`xfarc`

fills a part of an ellipse contained in the rectangle
`(x,y,w,h)`

(upper-left point, width, height), and in the sector defined by
the angle `alpha1`

and the angle `alpha1+alpha2`

.
`alpha1`

and `alpha2`

are
given respectively by `a1/64`

degrees and `a2/64`

degrees.
This function uses the current color and user coordinates.

If a2 is equal to 360*64, a complete circle will be drawn.

## Comments

Add a comment:Please login to comment this page.