The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Arc - A XFig file animator class - Arc object

DESCRIPTION

Arc object - object code in FIG format: 5. Here are all the attributes of this class:

sub_type, line_style, thickness, pen_color, fill_color, depth, pen_style, area_fill, style_val, cap_style, direction, forward_arrow, backward_arrow, center_x, center_y, x1, y1, x2, y2, x3, y3, f_arrow_type, f_arrow_style, f_arrow_thickness, f_arrow_width, f_arrow_height, b_arrow_type, b_arrow_style, b_arrow_thickness, b_arrow_width, b_arrow_height, visibility

FIG ATTRIBUTES

sub_type

0: pie-wedge (closed) 1: open ended arc

line_style

-1: Default; 0: Solid; 1: Dashed; 2: Dotted; 3: Dash-dotted; 4: Dash-double-dotted; 5: Dash-triple-dotted

thickness

80-ths of an inch ("display units")

pen_color

-1..31: FIG colors; 32..543 (512 total): user colors

fill_color

-1..31: FIG colors; 32..543 (512 total): user colors

depth

0 ... 999: larger value means object is deeper than (under) objects with smaller depth

pen_style

unused

area_fill

fill type

style_val

length, in 1/80 inches, of the on/off dashes for dashed lines, and the distance between the dots, in 1/80 inches, for dotted lines

cap_style

0: Butt (default); 1: Round; 2: Projecting

direction

0: clockwise; 1: counterclockwise

forward_arrow

0: no forward arrow; 1: on

backward_arrow

0: no backward arrow; 1: on

center_x, center_y

Fig units, the center of the arc

x1, y1

Fig units, the 1st point the user entered

x2, y2

Fig units, the 2nd point

x3, y3

Fig units, the last point

f_arrow_type, b_arrow_type

0: Stick-type (default); 1: Closed triangle; 2: Closed with "indented" butt; 3: Closed with "pointed" butt

f_arrow_style, b_arrow_style

0: Hollow (filled with white); 1: Filled with pen_color

f_arrow_thickness, b_arrow_thickness

1/80 inch

f_arrow_width, b_arrow_width

Fig units

f_arrow_height, b_arrow_height

Fig units

ADDITONNAL ATTRIBUTES

visibility

0: hidden; 1: shown