Displaying 1 result from an estimated 1 matches for "actual_scale".
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.
...t;cx"> # Use x or y scaling factor, whichever fits on the DC
</span><span class="cx"> #actualScale = Wx::min(scaleX,scaleY)
</span><del>- if scaleX < scaleY
- actualScale = scaleX
</del><ins>+ if scale_x < scale_y
+ actual_scale = scale_x
</ins><span class="cx"> else
</span><del>- actualScale = scaleY
</del><ins>+ actual_scale = scale_y
</ins><span class="cx"> end
</span><span class="cx">
</span><span class...