Function
annot_obj
( p1, p2, fmt, fmt_x, fmt_y, style, outline, snap, ac )
Source from the content-addressed store, hash-verified
| 24 | load("test_prologue.rb") |
| 25 | |
| 26 | def annot_obj( p1, p2, fmt, fmt_x, fmt_y, style, outline, snap, ac ) |
| 27 | a = RBA::Annotation::new |
| 28 | a.p1 = p1 |
| 29 | a.p2 = p2 |
| 30 | a.fmt = fmt |
| 31 | a.fmt_x = fmt_x |
| 32 | a.fmt_y = fmt_y |
| 33 | a.style = style |
| 34 | a.outline = outline |
| 35 | a.snap = snap |
| 36 | a.angle_constraint = ac |
| 37 | return a |
| 38 | end |
| 39 | |
| 40 | def annot_obj2( pts, fmt, fmt_x, fmt_y, style, outline, snap, ac ) |
| 41 | a = RBA::Annotation::new |
Tested by
no test coverage detected