Displaying 1 result from an estimated 1 matches for "rightmarginlog".
2006 Oct 17
0
[680] trunk/wxruby2/samples/printing/printing.rb: Cleaned up to use the Ruby naming convention, added #! line, now uses Wx default ID''s in standard menu items.
...s_factor*(page_width_mm - right_margin)).to_i
</ins><span class="cx">
</span><del>- leftMarginLogical = (logUnitsFactor*leftMargin)
- topMarginLogical = (logUnitsFactor*topMargin)
- bottomMarginLogical = (logUnitsFactor*(pageHeightMM - bottomMargin))
- rightMarginLogical = (logUnitsFactor*(pageWidthMM - rightMargin))
-
</del><span class="cx"> dc.set_pen(Wx::RED_PEN)
</span><del>- dc.draw_line( leftMarginLogical.to_i, topMarginLogical.to_i,
- rightMarginLogical.to_i, topMarginLogical.to_i)
- dc.draw_line( leftMa...