Displaying 3 results from an estimated 3 matches for "get_char_width".
2007 Apr 30
0
[999] branches/wxruby2/wxwidgets_282/samples/caret/caret.rb: Use paint() instead of ClientDC.new() in caret sample
...span><span class="cx"> end
</span><span class="cx">
</span><span class="cx"> def create_caret
</span><del>- dc = ClientDC.new(self)
- dc.set_font(@font)
- @height_char = dc.get_char_height
- @width_char = dc.get_char_width
</del><ins>+ paint do | dc |
+ dc.set_font(@font)
+ @height_char = dc.get_char_height
+ @width_char = dc.get_char_width
</ins><span class="cx">
</span><del>- caret = Caret.new(self, Size.new(@width_char, @height_char))
- set_car...
2007 Mar 27
0
[922] branches/wxruby2/wxwidgets_282: Changes, additions and deprecations 2.6 -> 2.8 Wx API
...;<span class="cx"> * "DC#flood_fill":#DC_floodfill
</span><span class="cx"> * "DC#get_background":#DC_getbackground
</span><span class="lines">@@ -70,8 +76,10 @@
</span><span class="cx"> * "DC#get_char_width":#DC_getcharwidth
</span><span class="cx"> * "DC#get_clipping_box":#DC_getclippingbox
</span><span class="cx"> * "DC#get_font":#DC_getfont
</span><ins>+* "DC#get_layout_direction":#DC_getlayoutdirection
</...
2007 Apr 30
0
[997] branches/wxruby2/wxwidgets_282: Window - 2.6 -> 2.8 API, new methods and deprecations; update doc
...ot;> * "Window#get_caret":#Window_getcaret
</span><del>-* "Window#get_capture":#Window_getcapture
</del><span class="cx"> * "Window#get_char_height":#Window_getcharheight
</span><span class="cx"> * "Window#get_char_width":#Window_getcharwidth
</span><span class="cx"> * "Window#get_children":#Window_getchildren
</span><span class="lines">@@ -112,6 +114,7 @@
</span><span class="cx"> * "Window#get_foreground_colour":#Window_getf...