mirror of https://github.com/KLayout/klayout.git
Added Ellipse Outline code, fixed doc.
This commit is contained in:
parent
25e2151e28
commit
50573edad0
|
|
@ -47,6 +47,7 @@ static int outline_diag_xy () { return int (ant::Object::OL_diag_xy); }
|
|||
static int outline_yx () { return int (ant::Object::OL_yx); }
|
||||
static int outline_diag_yx () { return int (ant::Object::OL_diag_yx); }
|
||||
static int outline_box () { return int (ant::Object::OL_box); }
|
||||
static int outline_ellipse () { return int (ant::Object::OL_ellipse); }
|
||||
|
||||
static int angle_any () { return int (lay::AC_Any); }
|
||||
static int angle_diagonal () { return int (lay::AC_Diagonal); }
|
||||
|
|
@ -552,6 +553,13 @@ gsi::Class<AnnotationRef> decl_Annotation (decl_BasicAnnotation, "lay", "Annotat
|
|||
"start and end point. All box edges are drawn in the style specified with the \\style "
|
||||
"attribute."
|
||||
) +
|
||||
gsi::method ("OutlineEllipse|#outline_ellipse", &gsi::outline_ellipse,
|
||||
"@brief Gets the ellipse outline code for use with the \\outline method\n"
|
||||
"When this outline style is specified, an ellipse is drawn with the extensions specified by the "
|
||||
"start and end point. The contour drawn as a line.\n"
|
||||
"\n"
|
||||
"This constant has been introduced in version 0.26."
|
||||
) +
|
||||
gsi::method ("AngleAny|#angle_any", &gsi::angle_any,
|
||||
"@brief Gets the any angle code for use with the \\angle_constraint method\n"
|
||||
"If this value is specified for the angle constraint, all angles will be allowed."
|
||||
|
|
|
|||
|
|
@ -915,7 +915,7 @@ begin
|
|||
view.transaction("Restyle annotations")
|
||||
|
||||
view.each_annotation do |a|
|
||||
adup.style = RBA::Annotation::StyleArrowBoth
|
||||
a.style = RBA::Annotation::StyleArrowBoth
|
||||
end
|
||||
|
||||
ensure
|
||||
|
|
|
|||
Loading…
Reference in New Issue