Lines Matching refs:slide
49 function drawSlide(canvas, slide, master_template)
51 if #slide == 1 then
53 canvas:drawText(slide[1].text, 320, 240, template[1])
57 template = master_template.slide
63 if slide.blockstyle == "code" then
66 local height = #slide * (fm.descent - fm.ascent)
68 for i = 1, #slide do
69 local node = slide[i]
77 for i = 1, #slide do
78 local node = slide[i]
116 local slide = {
120 slide[1] = make_tmpl(make_paint("Arial", bold, 35, { a=1, r=1, g=1, b=1 }), 18)
121 slide[2] = make_tmpl(make_paint("Arial", normal, 25, { a=1, r=1, g=1, b=1 }), 10)
122 slide[3] = make_tmpl(make_paint("Arial", normal, 20, { a=1, r=.9, g=.9, b=.9 }), 5)
126 slide = slide,
169 function convert_to_picture_drawable(slide)
171 drawSlide(rec:beginRecording(640, 480), slide, gTemplate)
175 function convert_to_image_drawable(slide)
177 drawSlide(surf:getCanvas(), slide, gTemplate)
181 function new_drawable_slide(slide)
183 slide = slide,
191 drawSlide(canvas, self.slide, gTemplate)