search for: leftmarginlog

Displaying 1 result from an estimated 1 matches for "leftmarginlog".

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.
...op_margin_logical = (log_units_factor*top_margin).to_i + bottom_margin_logical = (log_units_factor*(page_height_mm - bottom_margin)).to_i + right_margin_logical = (log_units_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::RE...