PCE version 4C man_modulenamespaceid_tablemodified current_idOIxN class/arcN referenceC hash_tablerefersizeOIxNbothIsN V.arc.sizeCman_variable_card identifiermodule last_modifiednamesummary descriptionsee_alsoinheritdefaultsOIxN V.arc.sizeRICdateOIx+NsizenCstringOIxThe ->size describes the width and height of the ellipse the arc is part of. Note that (currently) the axes of the ellipse are always horizontal and vertical.nnnsN M.arc.G.startCman_method_card identifiermodule last_modifiednamesummary descriptionsee_alsoinherit diagnosticsdefaultsbugsOIxN M.arc.G.startRIOIx,}ENstartnOIxStart position of the arc.nnnnnsNV.arc.size_angleOI xNV.arc.size_angleRIOI x+RN size_anglenOI x^Describes the angle in degrees of the ellipse segment. Positive values are counter clockwise.nnnsNM.arc.S.computeOI xNM.arc.S.computeRIOI x,Dm#NcomputenOIxoCompute the <-area from the principal representation. The <-area is defined to be the bounding box of the arc.nnnnnsN M.arc.G.endOIxN M.arc.G.endRIOIx+NendnOIxEnd-point of the arc.nnnnnsNV.arc.start_angleOIxNV.arc.start_angleRIOIx+bN start_anglenOIxDescribes the starting angle of the arc in degrees. 0 degrees denotes 3 o'clock. Positive values are anti-clockwise. The position of the starting point may be requested with <-start.nnnsNM.arc.S.connect_angleOIxNM.arc.S.connect_angleRIOIx+`N connect_anglenOIxConnect two lines with an arc. The ->position of the arc will be located are the `line <-intersection' of the two lines. The <-start_angle will make the arc start at the first line. The <-size_angle will connect it to the second line. This method may be used to paint `and/or trees'.nnnnnsNC.arcCman_class_card identifiermodule last_modifiednamesummary descriptionsee_alsoinherituser_interfacebugsOIxNC.arcRIOIx,DkNarcnOIxAn arc object is a graphical object that represents part of an ellipse. An arc is a subclass of class joint and thus may have arrows at either end. Arcs may be used to construct piecharts as well as to display a bounded connection line. The basic representation of an arc consists of ->position Position of the center ->size Width and height of the ellipse ->start_angle Degrees of starting angle ->size_angle Degrees of angle (> 0 and < 0) ->close Describes how the arc is closed This basic specification is satisfactory for the specification of pie-charts. The method ->points is useful for creating bounded lines from one point to another. The method ->connect_angle is useful to relate two lines with an arc (like in and/or trees).nnnnsNM.arc.S.geometryOIxNM.arc.S.geometryRIOIx,DkNgeometrynOIx5Only the X and Y parameters are used to move the arc.nnnnnsNM.arc.S.pointsOIxNM.arc.S.pointsRIOIx+NpointsnOI xCreate a bounded connection between two points. The first 4 integers describe x1,y1 and x2, y2. The last value specifies the number of pixels the line is bounded.nnnnnsNM.arc.S.end_angleOI!xNM.arc.S.end_angleRIOI"x+tN end_anglennCchainsizeOI#xIENM.arc.S.start_angleXnnnnsNM.arc.S.start_angleOI$xNM.arc.S.start_angleRIOI%x+tN start_anglennOI&xIENM.arc.S.end_angleXnnnnsNM.arc.G.radiusOI'xNM.arc.G.radiusRIOI(x+NradiusnOI)xEquivalent to <-widthnnnnOI*x8Not properly defined if <-width is not equal to <-heightsNM.arc.S.radiusOI+xNM.arc.S.radiusRIOI,x+NradiusnOI-x$Specifies both ->width and ->height.nnnnnsNV.arc.positionOI.xNV.arc.positionRIOI/x+RNpositionnOI0xFThe ->position describes the center of the ellipse the arc is part of.nnnsNV.arc.fill_patternOI1xNV.arc.fill_patternRIOI2x,}EN fill_patternnOI3x[Image used to fill the arc. When @nil, the arc is not filled. The behaviour of this method is dependent of the value of ->close: # none or pie_slice Creates a pie_slice. If ->close is none no line is painted around the straight edges of the slice. # chord Fills the area between a straight line connecting <-start and <-end and the arc.nnnsNM.arc.S.initialiseOI4xNM.arc.S.initialiseRIOI5x5}LN initialisenOI6xCreate an arc from its radius (setting ->size), ->start_angle and ->size_angle. Both angles are in degrees and measured counter-clockwise. The default radius is determined by arc.radius. The default ->start_angle is 0 and the default ->size_angle is 90.nnnnnsN V.arc.closeOI7xN V.arc.closeRIOI8x1NclosenOI9x!Determines how the arc is closed and filled if ->fill_pattern does not equal @nil. # none Only the arc is visible # chord The arc and a straight line from <-start to <-end are displayed # pie_slice The arc and two start lines from <-start and <-end to <-position are displayed.nnnXaCnumber O I:xx