evas_vg: modified the join enum documentation

Summary:
modified the join enum documentation for Efl_Gfx_Join and Evas_Vg_Join
since the order of documentation is wrong

Depends on D11519

Reviewers: jsuya, Hermet

Reviewed By: jsuya

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D11521
This commit is contained in:
Taehyub Kim 2020-03-17 16:24:03 +09:00 committed by JunsuChoi
parent 4455416aa0
commit 1e91674acd
2 changed files with 10 additions and 10 deletions

View File

@ -74,9 +74,9 @@ enum Efl.Gfx.Join
@Efl.Gfx.Shape.stroke_join.set
@since 1.22
]]
miter = 0, [[Used to render rounded line joins. Circular arcs are used to join two lines smoothly.]]
round, [[Used to render beveled line joins. The outer corner of the joined lines is filled by enclosing the triangular region of the corner with a straight line between the outer corners of each stroke.]]
bevel, [[Used to render mitered line joins. The intersection of the strokes is clipped at a line perpendicular to the bisector of the angle between the strokes, at the distance from the intersection of the segments equal to the product of the miter limit value and the border radius. This prevents long spikes being created.]]
miter = 0, [[Used to render mitered line joins. The intersection of the strokes is clipped at a line perpendicular to the bisector of the angle between the strokes, at the distance from the intersection of the segments equal to the product of the miter limit value and the border radius. This prevents long spikes being created.]]
round, [[Used to render rounded line joins. Circular arcs are used to join two lines smoothly.]]
bevel, [[Used to render beveled line joins. The outer corner of the joined lines is filled by enclosing the triangular region of the corner with a straight line between the outer corners of each stroke.]]
last [[Sentinel value to indicate last enum field during iteration]]
}

View File

@ -3725,18 +3725,18 @@ typedef enum Evas_Vg_Cap_Type
*/
typedef enum Evas_Vg_Join_Type
{
EVAS_VG_JOIN_MITER = 0, /**< Used to render rounded line joins. Circular arcs
* are used to join two lines smoothly */
EVAS_VG_JOIN_ROUND, /**< Used to render beveled line joins. The outer corner
* of the joined lines is filled by enclosing the
* triangular region of the corner with a straight line
* between the outer corners of each stroke */
EVAS_VG_JOIN_BEVEL, /**< Used to render mitered line joins. The intersection
EVAS_VG_JOIN_MITER = 0, /**< Used to render mitered line joins. The intersectioni
* of the strokes is clipped at a line perpendicular to
* the bisector of the angle between the strokes, at the
* distance from the intersection of the segments equal
* to the product of the miter limit value and the border
* radius. This prevents long spikes being created */
EVAS_VG_JOIN_ROUND, /**< Used to render rounded line joins. Circular arcs
* are used to join two lines smoothly */
EVAS_VG_JOIN_BEVEL, /**< Used to render beveled line joins. The outer corner
* of the joined lines is filled by enclosing the
* triangular region of the corner with a straight line
* between the outer corners of each stroke */
EVAS_VG_JOIN_LAST /**< Sentinel value to indicate last enum field during
* teration */
} Evas_Vg_Join;