MCPcopy Create free account
hub / github.com/KLayout/klayout / annot_obj

Function annot_obj

testdata/ruby/antTest.rb:26–38  ·  view source on GitHub ↗
( p1, p2, fmt, fmt_x, fmt_y, style, outline, snap, ac )

Source from the content-addressed store, hash-verified

24load("test_prologue.rb")
25
26def 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
38end
39
40def annot_obj2( pts, fmt, fmt_x, fmt_y, style, outline, snap, ac )
41 a = RBA::Annotation::new

Callers 4

test_1Method · 0.85
test_2Method · 0.85
test_3Method · 0.85
test_4Method · 0.85

Calls 4

styleMethod · 0.80
p1Method · 0.45
p2Method · 0.45
snapMethod · 0.45

Tested by

no test coverage detected