2018-07-24 14:12:44 +02:00
|
|
|
--DOC_GEN_IMAGE --DOC_HIDE
|
2016-03-10 05:44:00 +01:00
|
|
|
local shape,cr,show = ... --DOC_HIDE
|
|
|
|
|
|
|
|
shape.infobubble(cr, 70, 70)
|
|
|
|
show(cr) --DOC_HIDE
|
2016-11-21 22:38:23 +01:00
|
|
|
|
2016-03-10 05:44:00 +01:00
|
|
|
shape.transform(shape.infobubble) : translate(0, 20)
|
2016-12-27 21:39:08 +01:00
|
|
|
: rotate_at(35,35,math.pi) (cr,70,20,10, 5, 35 - 5)
|
2016-03-10 05:44:00 +01:00
|
|
|
show(cr) --DOC_HIDE
|
2016-11-21 22:38:23 +01:00
|
|
|
|
2016-03-10 05:44:00 +01:00
|
|
|
shape.transform(shape.infobubble)
|
2016-12-27 21:39:08 +01:00
|
|
|
: rotate_at(35,35,3*math.pi/2) (cr,70,70, nil, nil, 40)
|
2016-03-10 05:44:00 +01:00
|
|
|
show(cr) --DOC_HIDE
|
2016-12-31 13:59:38 +01:00
|
|
|
|
|
|
|
--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80
|