Displaying 2 results from an estimated 2 matches for "draw_page_two".
2011 May 08
2
Device context (get_dc) Question from printing.rb in wxRuby samples
...n
                                   #-- the variable dc is probably a class
or module but
                                   #-- where do I find its definition?
    if dc
        if page == 1
            draw_page_one(dc)   ##-- dc = device context passed in
        elsif (page == 2)
            draw_page_two(dc)  ##-- dc = device context passed in
        end
        dc.set_device_origin(0, 0)
        dc.set_user_scale(1.0, 1.0)
        buf = "PAGE #{page}"
        dc.draw_text(buf, 10, 10)
        return true
    else
        return false
    end
  end   #--end of on_print_page
-- 
Ann...
2007 Mar 04
8
0.0.39 etc
Hi
I''d like to tag and release 0.0.39 some time in the next couple of days. 
Bit short of time over the next few weeks so would like to get our 
recent bug fixes out there.
I''ll update the Changelog and run through the samples, but please shout 
if anything else should get some attetnion before we release.
Hopefully this could be our last preview release - also going to try