Displaying 1 result from an estimated 1 matches for "logunitsfactor".
Did you mean:
log_units_factor
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.
...ss="lines">@@ -322,11 +321,11 @@
</span><span class="cx"> # unscale to pass logical units to DrawLine.
</span><span class="cx">
</span><span class="cx"> # Draw 50 mm by 50 mm L shape
</span><del>- logUnitsFactor = (ppiPrinterX/(scale*25.4))
- logUnits = (50*logUnitsFactor)
</del><ins>+ log_units_factor = (ppi_printer_x/(scale*25.4))
+ log_units = (50*log_units_factor)
</ins><span class="cx"> dc.set_pen(Wx::BLACK_PEN)
</span><del>- dc.draw_line(5...