wxruby3 1.6.1 → 1.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (530) hide show
  1. checksums.yaml +4 -4
  2. data/CREDITS.md +32 -25
  3. data/INSTALL.md +19 -4
  4. data/README.md +5 -5
  5. data/assets/repo-social-preview.odg +0 -0
  6. data/assets/repo-social-preview.xcf +0 -0
  7. data/ext/wxruby3/include/wxRubyApp.h +58 -45
  8. data/ext/wxruby3/include/wxruby-runtime.h +78 -1
  9. data/ext/wxruby3/swig/common.i +2 -2
  10. data/ext/wxruby3/swig/custom/director.swg +2 -2
  11. data/ext/wxruby3/swig/custom/rubyprimtypes.swg +59 -15
  12. data/ext/wxruby3/swig/custom/rubyrun.swg +4 -0
  13. data/ext/wxruby3/swig/custom/rubytracking.swg +4 -0
  14. data/ext/wxruby3/swig/custom/swiglabels.swg +129 -0
  15. data/ext/wxruby3/swig/custom/swigrun.swg +15 -0
  16. data/ext/wxruby3/swig/custom/typemaps/swigtypemaps.swg +20 -0
  17. data/ext/wxruby3/swig/mark_free_impl.i +152 -88
  18. data/ext/wxruby3/swig/memory_management.i +1 -0
  19. data/ext/wxruby3/swig/wx.i +73 -44
  20. data/lib/wx/aui/events/evt_list.rb +148 -0
  21. data/lib/wx/aui/require.rb +0 -1
  22. data/lib/wx/core/calendar_ctrl.rb +15 -0
  23. data/lib/wx/core/clipboard.rb +9 -13
  24. data/lib/wx/core/config.rb +1 -1
  25. data/lib/wx/core/events/evt_list.rb +1458 -0
  26. data/lib/wx/core/font/encoding.rb +113 -0
  27. data/lib/wx/core/generic_validator.rb +83 -31
  28. data/lib/wx/core/tipwindow.rb +16 -0
  29. data/lib/wx/doc/aui/auitabctrl.rb +35 -0
  30. data/lib/wx/doc/config.rb +2 -2
  31. data/lib/wx/doc/functions.rb +1 -1
  32. data/lib/wx/doc/gen/about_dialog_info.rb +330 -0
  33. data/lib/wx/doc/gen/accelerator.rb +178 -0
  34. data/lib/wx/doc/gen/activity_indicator.rb +83 -0
  35. data/lib/wx/doc/gen/affine_matrix2d.rb +284 -0
  36. data/lib/wx/doc/gen/animation.rb +275 -0
  37. data/lib/wx/doc/gen/animation_ctrl.rb +300 -0
  38. data/lib/wx/doc/gen/any_button.rb +191 -0
  39. data/lib/wx/doc/gen/app.rb +463 -0
  40. data/lib/wx/doc/gen/app_traits.rb +396 -0
  41. data/lib/wx/doc/gen/art_provider.rb +605 -0
  42. data/lib/wx/doc/gen/aui/aui_dock_art.rb +455 -0
  43. data/lib/wx/doc/gen/aui/aui_floating_frame.rb +54 -0
  44. data/lib/wx/doc/gen/aui/aui_manager.rb +847 -0
  45. data/lib/wx/doc/gen/aui/aui_manager_event.rb +131 -0
  46. data/lib/wx/doc/gen/aui/aui_mdi_child_frame.rb +180 -0
  47. data/lib/wx/doc/gen/aui/aui_mdi_client_window.rb +59 -0
  48. data/lib/wx/doc/gen/aui/aui_mdi_parent_frame.rb +130 -0
  49. data/lib/wx/doc/gen/aui/aui_notebook.rb +631 -0
  50. data/lib/wx/doc/gen/aui/aui_notebook_event.rb +233 -0
  51. data/lib/wx/doc/gen/aui/aui_pane_info.rb +769 -0
  52. data/lib/wx/doc/gen/aui/aui_tab_art.rb +352 -0
  53. data/lib/wx/doc/gen/aui/aui_tab_ctrl.rb +14 -0
  54. data/lib/wx/doc/gen/aui/aui_tool_bar.rb +510 -0
  55. data/lib/wx/doc/gen/aui/aui_tool_bar_art.rb +340 -0
  56. data/lib/wx/doc/gen/aui/aui_tool_bar_event.rb +244 -0
  57. data/lib/wx/doc/gen/aui/aui_tool_bar_item.rb +257 -0
  58. data/lib/wx/doc/gen/aui/event_list.rb +179 -0
  59. data/lib/wx/doc/gen/banner_window.rb +124 -0
  60. data/lib/wx/doc/gen/bitmap.rb +731 -0
  61. data/lib/wx/doc/gen/bitmap_button.rb +123 -0
  62. data/lib/wx/doc/gen/bitmap_combo_box.rb +221 -0
  63. data/lib/wx/doc/gen/book_ctrl_base.rb +273 -0
  64. data/lib/wx/doc/gen/book_ctrl_event.rb +66 -0
  65. data/lib/wx/doc/gen/box_sizer.rb +85 -0
  66. data/lib/wx/doc/gen/brush.rb +251 -0
  67. data/lib/wx/doc/gen/busy_info.rb +157 -0
  68. data/lib/wx/doc/gen/button.rb +182 -0
  69. data/lib/wx/doc/gen/calculate_layout_event.rb +62 -0
  70. data/lib/wx/doc/gen/calendar_ctrl.rb +505 -0
  71. data/lib/wx/doc/gen/calendar_date_attr.rb +138 -0
  72. data/lib/wx/doc/gen/calendar_event.rb +147 -0
  73. data/lib/wx/doc/gen/caret.rb +97 -0
  74. data/lib/wx/doc/gen/check_box.rb +175 -0
  75. data/lib/wx/doc/gen/check_list_box.rb +121 -0
  76. data/lib/wx/doc/gen/choice.rb +175 -0
  77. data/lib/wx/doc/gen/choicebook.rb +116 -0
  78. data/lib/wx/doc/gen/client_dc.rb +43 -0
  79. data/lib/wx/doc/gen/clipboard.rb +144 -0
  80. data/lib/wx/doc/gen/collapsible_pane.rb +138 -0
  81. data/lib/wx/doc/gen/collapsible_pane_event.rb +46 -0
  82. data/lib/wx/doc/gen/colour.rb +333 -0
  83. data/lib/wx/doc/gen/colour_dialog.rb +190 -0
  84. data/lib/wx/doc/gen/colour_picker_ctrl.rb +110 -0
  85. data/lib/wx/doc/gen/colour_picker_event.rb +77 -0
  86. data/lib/wx/doc/gen/combo_box.rb +292 -0
  87. data/lib/wx/doc/gen/combo_ctrl.rb +662 -0
  88. data/lib/wx/doc/gen/command_link_button.rb +134 -0
  89. data/lib/wx/doc/gen/config_base.rb +10 -0
  90. data/lib/wx/doc/gen/context_help_button.rb +109 -0
  91. data/lib/wx/doc/gen/control.rb +277 -0
  92. data/lib/wx/doc/gen/control_with_items.rb +253 -0
  93. data/lib/wx/doc/gen/core.rb +45 -0
  94. data/lib/wx/doc/gen/credential_entry_dialog.rb +137 -0
  95. data/lib/wx/doc/gen/cursor.rb +193 -0
  96. data/lib/wx/doc/gen/data_format.rb +85 -0
  97. data/lib/wx/doc/gen/data_object.rb +436 -0
  98. data/lib/wx/doc/gen/data_object_simple_base.rb +10 -0
  99. data/lib/wx/doc/gen/date_event.rb +49 -0
  100. data/lib/wx/doc/gen/date_picker_ctrl.rb +161 -0
  101. data/lib/wx/doc/gen/dc.rb +1631 -0
  102. data/lib/wx/doc/gen/dc_overlay.rb +102 -0
  103. data/lib/wx/doc/gen/defs.rb +2802 -0
  104. data/lib/wx/doc/gen/dial_up_event.rb +45 -0
  105. data/lib/wx/doc/gen/dial_up_manager.rb +149 -0
  106. data/lib/wx/doc/gen/dialog.rb +541 -0
  107. data/lib/wx/doc/gen/dir_dialog.rb +164 -0
  108. data/lib/wx/doc/gen/dir_filter_list_ctrl.rb +90 -0
  109. data/lib/wx/doc/gen/dir_picker_ctrl.rb +125 -0
  110. data/lib/wx/doc/gen/display.rb +238 -0
  111. data/lib/wx/doc/gen/drag_drop.rb +299 -0
  112. data/lib/wx/doc/gen/drag_image.rb +116 -0
  113. data/lib/wx/doc/gen/editable_list_box.rb +109 -0
  114. data/lib/wx/doc/gen/event.rb +990 -0
  115. data/lib/wx/doc/gen/event_blocker.rb +50 -0
  116. data/lib/wx/doc/gen/event_filter.rb +92 -0
  117. data/lib/wx/doc/gen/event_list.rb +1644 -0
  118. data/lib/wx/doc/gen/events.rb +2809 -0
  119. data/lib/wx/doc/gen/evt_handler.rb +229 -0
  120. data/lib/wx/doc/gen/ext_help_controller.rb +109 -0
  121. data/lib/wx/doc/gen/file_ctrl.rb +231 -0
  122. data/lib/wx/doc/gen/file_ctrl_event.rb +83 -0
  123. data/lib/wx/doc/gen/file_dialog.rb +353 -0
  124. data/lib/wx/doc/gen/file_dialog_custom_control.rb +165 -0
  125. data/lib/wx/doc/gen/file_dialog_customize_hook.rb +158 -0
  126. data/lib/wx/doc/gen/file_dir_picker_event.rb +100 -0
  127. data/lib/wx/doc/gen/file_picker_ctrl.rb +132 -0
  128. data/lib/wx/doc/gen/file_system.rb +232 -0
  129. data/lib/wx/doc/gen/find_dialog_event.rb +126 -0
  130. data/lib/wx/doc/gen/find_replace_data.rb +60 -0
  131. data/lib/wx/doc/gen/find_replace_dialog.rb +58 -0
  132. data/lib/wx/doc/gen/flex_grid_sizer.rb +199 -0
  133. data/lib/wx/doc/gen/font.rb +1379 -0
  134. data/lib/wx/doc/gen/font_data.rb +151 -0
  135. data/lib/wx/doc/gen/font_dialog.rb +88 -0
  136. data/lib/wx/doc/gen/font_picker_ctrl.rb +143 -0
  137. data/lib/wx/doc/gen/font_picker_event.rb +65 -0
  138. data/lib/wx/doc/gen/frame.rb +352 -0
  139. data/lib/wx/doc/gen/fs_file.rb +337 -0
  140. data/lib/wx/doc/gen/functions.rb +10 -0
  141. data/lib/wx/doc/gen/gauge.rb +157 -0
  142. data/lib/wx/doc/gen/gb_sizer_item.rb +68 -0
  143. data/lib/wx/doc/gen/gcdc.rb +46 -0
  144. data/lib/wx/doc/gen/gdi_common.rb +1271 -0
  145. data/lib/wx/doc/gen/gdi_object.rb +31 -0
  146. data/lib/wx/doc/gen/generic_about_dialog.rb +140 -0
  147. data/lib/wx/doc/gen/generic_dir_ctrl.rb +223 -0
  148. data/lib/wx/doc/gen/geometry.rb +661 -0
  149. data/lib/wx/doc/gen/graphics_context.rb +1184 -0
  150. data/lib/wx/doc/gen/graphics_object.rb +750 -0
  151. data/lib/wx/doc/gen/grid/event_list.rb +191 -0
  152. data/lib/wx/doc/gen/grid/grid_cell_activatable_editor.rb +40 -0
  153. data/lib/wx/doc/gen/grid/grid_cell_attr.rb +280 -0
  154. data/lib/wx/doc/gen/grid/grid_cell_auto_wrap_string_editor.rb +35 -0
  155. data/lib/wx/doc/gen/grid/grid_cell_auto_wrap_string_renderer.rb +37 -0
  156. data/lib/wx/doc/gen/grid/grid_cell_bool_editor.rb +49 -0
  157. data/lib/wx/doc/gen/grid/grid_cell_bool_renderer.rb +35 -0
  158. data/lib/wx/doc/gen/grid/grid_cell_choice_editor.rb +46 -0
  159. data/lib/wx/doc/gen/grid/grid_cell_date_editor.rb +38 -0
  160. data/lib/wx/doc/gen/grid/grid_cell_date_renderer.rb +45 -0
  161. data/lib/wx/doc/gen/grid/grid_cell_date_time_renderer.rb +40 -0
  162. data/lib/wx/doc/gen/grid/grid_cell_editor.rb +197 -0
  163. data/lib/wx/doc/gen/grid/grid_cell_enum_editor.rb +39 -0
  164. data/lib/wx/doc/gen/grid/grid_cell_enum_renderer.rb +44 -0
  165. data/lib/wx/doc/gen/grid/grid_cell_float_editor.rb +45 -0
  166. data/lib/wx/doc/gen/grid/grid_cell_float_renderer.rb +79 -0
  167. data/lib/wx/doc/gen/grid/grid_cell_number_editor.rb +46 -0
  168. data/lib/wx/doc/gen/grid/grid_cell_number_renderer.rb +35 -0
  169. data/lib/wx/doc/gen/grid/grid_cell_renderer.rb +108 -0
  170. data/lib/wx/doc/gen/grid/grid_cell_string_renderer.rb +35 -0
  171. data/lib/wx/doc/gen/grid/grid_cell_text_editor.rb +49 -0
  172. data/lib/wx/doc/gen/grid/grid_ctrl.rb +3002 -0
  173. data/lib/wx/doc/gen/grid/grid_editor_created_event.rb +95 -0
  174. data/lib/wx/doc/gen/grid/grid_event.rb +129 -0
  175. data/lib/wx/doc/gen/grid/grid_range_select_event.rb +104 -0
  176. data/lib/wx/doc/gen/grid/grid_size_event.rb +85 -0
  177. data/lib/wx/doc/gen/grid/grid_string_table.rb +142 -0
  178. data/lib/wx/doc/gen/grid/grid_table_base.rb +317 -0
  179. data/lib/wx/doc/gen/grid/grid_table_message.rb +81 -0
  180. data/lib/wx/doc/gen/grid_bag_sizer.rb +323 -0
  181. data/lib/wx/doc/gen/grid_sizer.rb +195 -0
  182. data/lib/wx/doc/gen/gui_event_loop.rb +159 -0
  183. data/lib/wx/doc/gen/h_scrolled_window.rb +562 -0
  184. data/lib/wx/doc/gen/header_ctrl.rb +880 -0
  185. data/lib/wx/doc/gen/header_ctrl_event.rb +133 -0
  186. data/lib/wx/doc/gen/help_controller.rb +195 -0
  187. data/lib/wx/doc/gen/help_provider.rb +98 -0
  188. data/lib/wx/doc/gen/html/event_list.rb +38 -0
  189. data/lib/wx/doc/gen/html/html_cell.rb +536 -0
  190. data/lib/wx/doc/gen/html/html_cell_event.rb +69 -0
  191. data/lib/wx/doc/gen/html/html_data_object.rb +42 -0
  192. data/lib/wx/doc/gen/html/html_easy_printing.rb +203 -0
  193. data/lib/wx/doc/gen/html/html_help_controller.rb +340 -0
  194. data/lib/wx/doc/gen/html/html_help_data.rb +159 -0
  195. data/lib/wx/doc/gen/html/html_help_window.rb +258 -0
  196. data/lib/wx/doc/gen/html/html_link_event.rb +41 -0
  197. data/lib/wx/doc/gen/html/html_list_box.rb +346 -0
  198. data/lib/wx/doc/gen/html/html_printout.rb +109 -0
  199. data/lib/wx/doc/gen/html/html_window.rb +461 -0
  200. data/lib/wx/doc/gen/hyperlink_ctrl.rb +311 -0
  201. data/lib/wx/doc/gen/hyperlink_event.rb +44 -0
  202. data/lib/wx/doc/gen/icon.rb +267 -0
  203. data/lib/wx/doc/gen/icon_location.rb +40 -0
  204. data/lib/wx/doc/gen/image.rb +1371 -0
  205. data/lib/wx/doc/gen/image_list.rb +168 -0
  206. data/lib/wx/doc/gen/info_bar.rb +195 -0
  207. data/lib/wx/doc/gen/keyboard_state.rb +140 -0
  208. data/lib/wx/doc/gen/list_box.rb +304 -0
  209. data/lib/wx/doc/gen/list_ctrl.rb +1774 -0
  210. data/lib/wx/doc/gen/list_event.rb +208 -0
  211. data/lib/wx/doc/gen/listbook.rb +116 -0
  212. data/lib/wx/doc/gen/locale.rb +4293 -0
  213. data/lib/wx/doc/gen/log.rb +603 -0
  214. data/lib/wx/doc/gen/mdi_client_window.rb +47 -0
  215. data/lib/wx/doc/gen/mdi_frame.rb +324 -0
  216. data/lib/wx/doc/gen/media_ctrl.rb +269 -0
  217. data/lib/wx/doc/gen/media_event.rb +117 -0
  218. data/lib/wx/doc/gen/memory_dc.rb +174 -0
  219. data/lib/wx/doc/gen/menu.rb +509 -0
  220. data/lib/wx/doc/gen/menu_bar.rb +287 -0
  221. data/lib/wx/doc/gen/menu_item.rb +362 -0
  222. data/lib/wx/doc/gen/message_dialog.rb +238 -0
  223. data/lib/wx/doc/gen/mini_frame.rb +108 -0
  224. data/lib/wx/doc/gen/mirror_dc.rb +22 -0
  225. data/lib/wx/doc/gen/mouse_state.rb +150 -0
  226. data/lib/wx/doc/gen/multi_choice_dialog.rb +80 -0
  227. data/lib/wx/doc/gen/non_owned_window.rb +49 -0
  228. data/lib/wx/doc/gen/notebook.rb +278 -0
  229. data/lib/wx/doc/gen/num_validator.rb +37 -0
  230. data/lib/wx/doc/gen/number_entry_dialog.rb +93 -0
  231. data/lib/wx/doc/gen/object.rb +59 -0
  232. data/lib/wx/doc/gen/owner_drawn_combo_box.rb +395 -0
  233. data/lib/wx/doc/gen/paint_dc.rb +27 -0
  234. data/lib/wx/doc/gen/palette.rb +92 -0
  235. data/lib/wx/doc/gen/panel.rb +127 -0
  236. data/lib/wx/doc/gen/pen.rb +511 -0
  237. data/lib/wx/doc/gen/persistence_manager.rb +135 -0
  238. data/lib/wx/doc/gen/persistent_object.rb +52 -0
  239. data/lib/wx/doc/gen/persistent_window.rb +241 -0
  240. data/lib/wx/doc/gen/pg/event_list.rb +106 -0
  241. data/lib/wx/doc/gen/pg/numeric_property_validator.rb +54 -0
  242. data/lib/wx/doc/gen/pg/pg_array_editor_dialog.rb +292 -0
  243. data/lib/wx/doc/gen/pg/pg_cell.rb +177 -0
  244. data/lib/wx/doc/gen/pg/pg_editor.rb +721 -0
  245. data/lib/wx/doc/gen/pg/pg_multi_button.rb +152 -0
  246. data/lib/wx/doc/gen/pg/pg_properties.rb +2829 -0
  247. data/lib/wx/doc/gen/pg/pg_property.rb +2078 -0
  248. data/lib/wx/doc/gen/pg/pg_validation_info.rb +344 -0
  249. data/lib/wx/doc/gen/pg/property_grid.rb +740 -0
  250. data/lib/wx/doc/gen/pg/property_grid_event.rb +184 -0
  251. data/lib/wx/doc/gen/pg/property_grid_interface.rb +1098 -0
  252. data/lib/wx/doc/gen/pg/property_grid_manager.rb +415 -0
  253. data/lib/wx/doc/gen/pg/property_grid_page.rb +354 -0
  254. data/lib/wx/doc/gen/pg/property_grid_page_state.rb +165 -0
  255. data/lib/wx/doc/gen/picker_base.rb +152 -0
  256. data/lib/wx/doc/gen/platform_info.rb +622 -0
  257. data/lib/wx/doc/gen/popup_window.rb +107 -0
  258. data/lib/wx/doc/gen/progress_dialog.rb +100 -0
  259. data/lib/wx/doc/gen/property_sheet_dialog.rb +216 -0
  260. data/lib/wx/doc/gen/prt/event_list.rb +17 -0
  261. data/lib/wx/doc/gen/prt/page_setup_dialog.rb +44 -0
  262. data/lib/wx/doc/gen/prt/post_script_dc.rb +30 -0
  263. data/lib/wx/doc/gen/prt/preview_frame.rb +78 -0
  264. data/lib/wx/doc/gen/prt/print_abort_dialog.rb +151 -0
  265. data/lib/wx/doc/gen/prt/print_data.rb +804 -0
  266. data/lib/wx/doc/gen/prt/print_dialog.rb +55 -0
  267. data/lib/wx/doc/gen/prt/printer.rb +518 -0
  268. data/lib/wx/doc/gen/prt/printer_dc.rb +37 -0
  269. data/lib/wx/doc/gen/query_layout_info_event.rb +106 -0
  270. data/lib/wx/doc/gen/radio_box.rb +306 -0
  271. data/lib/wx/doc/gen/radio_button.rb +159 -0
  272. data/lib/wx/doc/gen/rbn/event_list.rb +136 -0
  273. data/lib/wx/doc/gen/rbn/ribbon_art_provider.rb +1132 -0
  274. data/lib/wx/doc/gen/rbn/ribbon_bar.rb +308 -0
  275. data/lib/wx/doc/gen/rbn/ribbon_bar_event.rb +45 -0
  276. data/lib/wx/doc/gen/rbn/ribbon_button_bar.rb +458 -0
  277. data/lib/wx/doc/gen/rbn/ribbon_button_bar_event.rb +63 -0
  278. data/lib/wx/doc/gen/rbn/ribbon_control.rb +143 -0
  279. data/lib/wx/doc/gen/rbn/ribbon_gallery.rb +229 -0
  280. data/lib/wx/doc/gen/rbn/ribbon_gallery_event.rb +55 -0
  281. data/lib/wx/doc/gen/rbn/ribbon_page.rb +174 -0
  282. data/lib/wx/doc/gen/rbn/ribbon_panel.rb +270 -0
  283. data/lib/wx/doc/gen/rbn/ribbon_panel_event.rb +45 -0
  284. data/lib/wx/doc/gen/rbn/ribbon_tool_bar.rb +360 -0
  285. data/lib/wx/doc/gen/rbn/ribbon_tool_bar_event.rb +42 -0
  286. data/lib/wx/doc/gen/rearrange_ctrl.rb +78 -0
  287. data/lib/wx/doc/gen/rearrange_list.rb +123 -0
  288. data/lib/wx/doc/gen/region.rb +380 -0
  289. data/lib/wx/doc/gen/region_iterator.rb +76 -0
  290. data/lib/wx/doc/gen/rich_tool_tip.rb +154 -0
  291. data/lib/wx/doc/gen/rtc/event_list.rb +125 -0
  292. data/lib/wx/doc/gen/rtc/rich_text_box.rb +445 -0
  293. data/lib/wx/doc/gen/rtc/rich_text_buffer.rb +1188 -0
  294. data/lib/wx/doc/gen/rtc/rich_text_buffer_data_object.rb +41 -0
  295. data/lib/wx/doc/gen/rtc/rich_text_composite_object.rb +538 -0
  296. data/lib/wx/doc/gen/rtc/rich_text_ctrl.rb +2103 -0
  297. data/lib/wx/doc/gen/rtc/rich_text_event.rb +173 -0
  298. data/lib/wx/doc/gen/rtc/rich_text_file_handler.rb +181 -0
  299. data/lib/wx/doc/gen/rtc/rich_text_formatting_dialog.rb +319 -0
  300. data/lib/wx/doc/gen/rtc/rich_text_header_footer_data.rb +193 -0
  301. data/lib/wx/doc/gen/rtc/rich_text_html_handler.rb +102 -0
  302. data/lib/wx/doc/gen/rtc/rich_text_image.rb +337 -0
  303. data/lib/wx/doc/gen/rtc/rich_text_object.rb +2922 -0
  304. data/lib/wx/doc/gen/rtc/rich_text_paragraph_layout_box.rb +1240 -0
  305. data/lib/wx/doc/gen/rtc/rich_text_printing.rb +258 -0
  306. data/lib/wx/doc/gen/rtc/rich_text_style_list_box.rb +344 -0
  307. data/lib/wx/doc/gen/rtc/rich_text_style_organiser_dialog.rb +227 -0
  308. data/lib/wx/doc/gen/rtc/rich_text_xml_handler.rb +59 -0
  309. data/lib/wx/doc/gen/rtc/symbol_picker_dialog.rb +169 -0
  310. data/lib/wx/doc/gen/sash_event.rb +147 -0
  311. data/lib/wx/doc/gen/sash_layout_window.rb +232 -0
  312. data/lib/wx/doc/gen/sash_window.rb +171 -0
  313. data/lib/wx/doc/gen/scaled_dc.rb +10 -0
  314. data/lib/wx/doc/gen/screen_dc.rb +30 -0
  315. data/lib/wx/doc/gen/scroll_bar.rb +204 -0
  316. data/lib/wx/doc/gen/scrolled_canvas.rb +410 -0
  317. data/lib/wx/doc/gen/scrolled_control.rb +410 -0
  318. data/lib/wx/doc/gen/scrolled_window.rb +430 -0
  319. data/lib/wx/doc/gen/search_ctrl.rb +159 -0
  320. data/lib/wx/doc/gen/secret_store.rb +116 -0
  321. data/lib/wx/doc/gen/simplebook.rb +110 -0
  322. data/lib/wx/doc/gen/single_choice_dialog.rb +89 -0
  323. data/lib/wx/doc/gen/sizer.rb +945 -0
  324. data/lib/wx/doc/gen/sizer_item.rb +244 -0
  325. data/lib/wx/doc/gen/slider.rb +342 -0
  326. data/lib/wx/doc/gen/spin_button.rb +157 -0
  327. data/lib/wx/doc/gen/spin_ctrl.rb +231 -0
  328. data/lib/wx/doc/gen/spin_ctrl_double.rb +192 -0
  329. data/lib/wx/doc/gen/spin_double_event.rb +55 -0
  330. data/lib/wx/doc/gen/spin_event.rb +51 -0
  331. data/lib/wx/doc/gen/splash_screen.rb +113 -0
  332. data/lib/wx/doc/gen/splitter_event.rb +99 -0
  333. data/lib/wx/doc/gen/splitter_window.rb +498 -0
  334. data/lib/wx/doc/gen/static_bitmap.rb +256 -0
  335. data/lib/wx/doc/gen/static_box.rb +180 -0
  336. data/lib/wx/doc/gen/static_box_sizer.rb +85 -0
  337. data/lib/wx/doc/gen/static_line.rb +83 -0
  338. data/lib/wx/doc/gen/static_text.rb +127 -0
  339. data/lib/wx/doc/gen/status_bar.rb +290 -0
  340. data/lib/wx/doc/gen/stc/event_list.rb +221 -0
  341. data/lib/wx/doc/gen/stc/styled_text_ctrl.rb +4474 -0
  342. data/lib/wx/doc/gen/stc/styled_text_event.rb +8762 -0
  343. data/lib/wx/doc/gen/std_dialog_button_sizer.rb +129 -0
  344. data/lib/wx/doc/gen/svg_file_dc.rb +164 -0
  345. data/lib/wx/doc/gen/system_options.rb +129 -0
  346. data/lib/wx/doc/gen/system_settings.rb +507 -0
  347. data/lib/wx/doc/gen/task_bar_icon.rb +127 -0
  348. data/lib/wx/doc/gen/task_bar_icon_event.rb +88 -0
  349. data/lib/wx/doc/gen/text_attr.rb +756 -0
  350. data/lib/wx/doc/gen/text_ctrl.rb +1033 -0
  351. data/lib/wx/doc/gen/text_entry.rb +441 -0
  352. data/lib/wx/doc/gen/text_entry_dialog.rb +220 -0
  353. data/lib/wx/doc/gen/text_validator.rb +245 -0
  354. data/lib/wx/doc/gen/time_picker_ctrl.rb +128 -0
  355. data/lib/wx/doc/gen/timer.rb +119 -0
  356. data/lib/wx/doc/gen/timer_event.rb +68 -0
  357. data/lib/wx/doc/gen/tip_provider.rb +63 -0
  358. data/lib/wx/doc/gen/tip_window.rb +51 -0
  359. data/lib/wx/doc/gen/toggle_button.rb +182 -0
  360. data/lib/wx/doc/gen/tool_bar.rb +890 -0
  361. data/lib/wx/doc/gen/tool_tip.rb +86 -0
  362. data/lib/wx/doc/gen/toolbook.rb +118 -0
  363. data/lib/wx/doc/gen/top_level_window.rb +497 -0
  364. data/lib/wx/doc/gen/tree_ctrl.rb +1052 -0
  365. data/lib/wx/doc/gen/tree_event.rb +127 -0
  366. data/lib/wx/doc/gen/treebook.rb +180 -0
  367. data/lib/wx/doc/gen/ui_action_simulator.rb +109 -0
  368. data/lib/wx/doc/gen/utils.rb +273 -0
  369. data/lib/wx/doc/gen/v_list_box.rb +272 -0
  370. data/lib/wx/doc/gen/v_scrolled_canvas.rb +195 -0
  371. data/lib/wx/doc/gen/v_scrolled_window.rb +191 -0
  372. data/lib/wx/doc/gen/validator.rb +68 -0
  373. data/lib/wx/doc/gen/variant.rb +294 -0
  374. data/lib/wx/doc/gen/window.rb +2917 -0
  375. data/lib/wx/doc/gen/window_dc.rb +38 -0
  376. data/lib/wx/doc/gen/window_disabler.rb +30 -0
  377. data/lib/wx/doc/gen/with_images.rb +84 -0
  378. data/lib/wx/doc/gen/wizard.rb +257 -0
  379. data/lib/wx/doc/gen/wizard_event.rb +113 -0
  380. data/lib/wx/doc/gen/wizard_page.rb +65 -0
  381. data/lib/wx/doc/gen/wizard_page_simple.rb +88 -0
  382. data/lib/wx/doc/gen/wrap_sizer.rb +79 -0
  383. data/lib/wx/doc/gen/xml_node.rb +316 -0
  384. data/lib/wx/doc/gen/xml_resource.rb +320 -0
  385. data/lib/wx/doc/generic_validator.rb +5 -0
  386. data/lib/wx/doc/tip_window.rb +18 -6
  387. data/lib/wx/grid/events/evt_list.rb +166 -0
  388. data/lib/wx/html/events/evt_list.rb +27 -0
  389. data/lib/wx/html/simple_html_listbox.rb +46 -33
  390. data/lib/wx/keyword_defs.rb +9 -0
  391. data/lib/wx/pg/events/evt_list.rb +73 -0
  392. data/lib/wx/pg/pg_property.rb +26 -0
  393. data/lib/wx/pg/property_grid_interface.rb +2 -2
  394. data/lib/wx/rbn/events/evt_list.rb +102 -0
  395. data/lib/wx/rtc/events/evt_list.rb +98 -0
  396. data/lib/wx/rtc/ext/rich_text_ctrl.rb +24 -0
  397. data/lib/wx/stc/events/evt_list.rb +178 -0
  398. data/lib/wx/version.rb +1 -1
  399. data/lib/wx/wxruby/cmd/setup.rb +6 -0
  400. data/rakelib/configure.rb +9 -0
  401. data/rakelib/gem.rake +3 -2
  402. data/rakelib/lib/config/linux.rb +1 -1
  403. data/rakelib/lib/config/macosx.rb +15 -1
  404. data/rakelib/lib/config/pkgman/linux.rb +7 -2
  405. data/rakelib/lib/config/unixish.rb +3 -3
  406. data/rakelib/lib/config.rb +16 -5
  407. data/rakelib/lib/core/include/swigdirector.inc +3 -3
  408. data/rakelib/lib/core/include/swigrubyerrors.inc +4 -8
  409. data/rakelib/lib/core/include/swigrubyrun.inc +20 -4
  410. data/rakelib/lib/core/include/swigrun.inc +189 -0
  411. data/rakelib/lib/core/package.rb +3 -1
  412. data/rakelib/lib/director/accelerator.rb +1 -1
  413. data/rakelib/lib/director/animation.rb +1 -0
  414. data/rakelib/lib/director/app_traits.rb +1 -1
  415. data/rakelib/lib/director/aui_manager.rb +21 -14
  416. data/rakelib/lib/director/aui_mdi_child_frame.rb +2 -0
  417. data/rakelib/lib/director/aui_mdi_parent_frame.rb +4 -0
  418. data/rakelib/lib/director/aui_notebook.rb +20 -3
  419. data/rakelib/lib/director/aui_tab_ctrl.rb +64 -106
  420. data/rakelib/lib/director/calendar_ctrl.rb +72 -14
  421. data/rakelib/lib/director/clipboard.rb +2 -0
  422. data/rakelib/lib/director/data_object.rb +15 -7
  423. data/rakelib/lib/director/date_picker_ctrl.rb +4 -1
  424. data/rakelib/lib/director/display.rb +81 -0
  425. data/rakelib/lib/director/event.rb +33 -16
  426. data/rakelib/lib/director/event_handler.rb +27 -2
  427. data/rakelib/lib/director/functions.rb +9 -0
  428. data/rakelib/lib/director/geometry.rb +5 -0
  429. data/rakelib/lib/director/grid_ctrl.rb +123 -28
  430. data/rakelib/lib/director/help_provider.rb +1 -1
  431. data/rakelib/lib/director/html_listbox.rb +16 -3
  432. data/rakelib/lib/director/hvscrolled.rb +7 -106
  433. data/rakelib/lib/director/image_list.rb +1 -0
  434. data/rakelib/lib/director/mdi_frame.rb +4 -0
  435. data/rakelib/lib/director/menu.rb +56 -15
  436. data/rakelib/lib/director/menu_bar.rb +62 -0
  437. data/rakelib/lib/director/menu_item.rb +7 -1
  438. data/rakelib/lib/director/num_validator.rb +27 -0
  439. data/rakelib/lib/director/numeric_property_validator.rb +9 -0
  440. data/rakelib/lib/director/popup_window.rb +2 -0
  441. data/rakelib/lib/director/preview_frame.rb +29 -6
  442. data/rakelib/lib/director/printer.rb +59 -5
  443. data/rakelib/lib/director/property_grid.rb +37 -18
  444. data/rakelib/lib/director/property_grid_interface.rb +10 -8
  445. data/rakelib/lib/director/property_grid_manager.rb +99 -39
  446. data/rakelib/lib/director/property_grid_page.rb +60 -0
  447. data/rakelib/lib/director/rich_tooltip.rb +22 -0
  448. data/rakelib/lib/director/richtext_ctrl.rb +5 -0
  449. data/rakelib/lib/director/richtext_object.rb +13 -4
  450. data/rakelib/lib/director/richtext_style_listbox.rb +4 -1
  451. data/rakelib/lib/director/scrolled_t.rb +3 -0
  452. data/rakelib/lib/director/searchctrl.rb +1 -0
  453. data/rakelib/lib/director/task_bar_icon.rb +14 -8
  454. data/rakelib/lib/director/text_validator.rb +9 -0
  455. data/rakelib/lib/director/tip_window.rb +117 -6
  456. data/rakelib/lib/director/tool_bar.rb +6 -0
  457. data/rakelib/lib/director/validator.rb +12 -0
  458. data/rakelib/lib/director/variant.rb +36 -20
  459. data/rakelib/lib/director/vlistbox.rb +25 -22
  460. data/rakelib/lib/director/window.rb +10 -1
  461. data/rakelib/lib/director/xml_resource.rb +6 -0
  462. data/rakelib/lib/generate/doc/aui_manager.yaml +1 -1
  463. data/rakelib/lib/generate/doc/rich_tool_tip.yaml +26 -0
  464. data/rakelib/lib/generate/doc.rb +12 -7
  465. data/rakelib/lib/generate/interface.rb +16 -1
  466. data/rakelib/lib/specs/interfaces.rb +3 -1
  467. data/rakelib/lib/swig_runner.rb +10 -10
  468. data/rakelib/lib/typemap/aui_tabctrl.rb +46 -0
  469. data/rakelib/lib/typemap/common.rb +3 -3
  470. data/rakelib/lib/typemap/print_page_range.rb +32 -8
  471. data/samples/art/wxruby-512x512.png +0 -0
  472. data/samples/calendar/calendar.rb +64 -1
  473. data/samples/dialogs/dialogs.rb +172 -0
  474. data/samples/dialogs/tip.xpm +157 -0
  475. data/samples/drawing/maths_images.rb +1 -1
  476. data/samples/event/event.rb +1 -1
  477. data/samples/printing/printing2.rb +1 -1
  478. data/samples/sampler.rb +26 -8
  479. data/samples/text/textctrl.rb +2 -2
  480. data/samples/treectrl/treectrl.rb +2 -2
  481. data/tests/lib/leaked_process_event_exception_test.rb +1 -1
  482. data/tests/lib/leaked_queued_event_exception_test.rb +1 -1
  483. data/tests/lib/wxapp_runner.rb +31 -41
  484. data/tests/lib/wxframe_runner.rb +23 -11
  485. data/tests/lib/wxrb_test.rb +58 -0
  486. data/tests/test_app_event_filter.rb +1 -1
  487. data/tests/test_app_exit_exception.rb +3 -3
  488. data/tests/test_app_init_exception.rb +3 -3
  489. data/tests/test_app_traits.rb +24 -21
  490. data/tests/test_art.rb +7 -7
  491. data/tests/test_art_provider.rb +1 -1
  492. data/tests/test_basic.rb +2 -2
  493. data/tests/test_book_controls.rb +1 -1
  494. data/tests/test_box_sizer.rb +1 -1
  495. data/tests/test_clipboard.rb +5 -5
  496. data/tests/test_combo_ctrl.rb +2 -2
  497. data/tests/test_config.rb +11 -1
  498. data/tests/test_dc.rb +1 -1
  499. data/tests/test_dialog.rb +1 -1
  500. data/tests/test_event_handling.rb +1 -1
  501. data/tests/test_events.rb +1 -1
  502. data/tests/test_exceptions.rb +2 -2
  503. data/tests/test_ext_controls.rb +10 -10
  504. data/tests/test_file_dialog.rb +1 -1
  505. data/tests/test_font.rb +1 -1
  506. data/tests/test_gdi_object.rb +1 -1
  507. data/tests/test_geometry.rb +2 -2
  508. data/tests/test_grid_sizer.rb +2 -2
  509. data/tests/test_intl.rb +1 -1
  510. data/tests/test_item_data.rb +12 -12
  511. data/tests/test_list_ctrl.rb +1 -1
  512. data/tests/test_log.rb +2 -2
  513. data/tests/test_media_ctrl.rb +1 -1
  514. data/tests/test_menu.rb +114 -43
  515. data/tests/test_proof_check.rb +1 -1
  516. data/tests/test_propgrid.rb +31 -31
  517. data/tests/test_richtext.rb +10 -24
  518. data/tests/test_secret_store.rb +1 -1
  519. data/tests/test_sizer.rb +1 -1
  520. data/tests/test_std_controls.rb +8 -8
  521. data/tests/test_styled_text_ctrl.rb +1 -1
  522. data/tests/test_timer.rb +1 -1
  523. data/tests/test_tree_ctrl.rb +1 -1
  524. data/tests/test_validators.rb +79 -36
  525. data/tests/test_variant.rb +1 -1
  526. data/tests/test_window.rb +11 -11
  527. data/tests/testapp.rb +2 -2
  528. data/tests/testapp_noframe.rb +2 -2
  529. metadata +400 -11
  530. data/lib/wx/aui/aui_tab_ctrl.rb +0 -18
@@ -0,0 +1,750 @@
1
+ # :stopdoc:
2
+ # This file is automatically generated by the WXRuby3 documentation
3
+ # generator. Do not alter this file.
4
+ # :startdoc:
5
+
6
+
7
+ module Wx
8
+
9
+ # Anti-aliasing modes used by {Wx::GraphicsContext#set_antialias_mode}.
10
+ #
11
+ #
12
+ #
13
+ # @wxrb_require USE_GRAPHICS_CONTEXT
14
+ class AntialiasMode < Wx::Enum
15
+
16
+ # No anti-aliasing.
17
+ #
18
+ ANTIALIAS_NONE = Wx::AntialiasMode.new(0)
19
+
20
+ # The default anti-aliasing.
21
+ #
22
+ ANTIALIAS_DEFAULT = Wx::AntialiasMode.new(1)
23
+
24
+ end # AntialiasMode
25
+
26
+ # Interpolation quality used by {Wx::GraphicsContext#set_interpolation_quality}.
27
+ #
28
+ #
29
+ #
30
+ # @wxrb_require USE_GRAPHICS_CONTEXT
31
+ class InterpolationQuality < Wx::Enum
32
+
33
+ # default interpolation, based on type of context, in general medium quality
34
+ #
35
+ INTERPOLATION_DEFAULT = Wx::InterpolationQuality.new(0)
36
+
37
+ # no interpolation
38
+ #
39
+ INTERPOLATION_NONE = Wx::InterpolationQuality.new(1)
40
+
41
+ # fast interpolation, suited for interactivity
42
+ #
43
+ INTERPOLATION_FAST = Wx::InterpolationQuality.new(2)
44
+
45
+ # better quality
46
+ #
47
+ INTERPOLATION_GOOD = Wx::InterpolationQuality.new(3)
48
+
49
+ # best quality, not suited for interactivity
50
+ #
51
+ INTERPOLATION_BEST = Wx::InterpolationQuality.new(4)
52
+
53
+ end # InterpolationQuality
54
+
55
+ # Compositing is done using Porter-Duff compositions (see http://keithp.com/~keithp/porterduff/p253-porter.pdf) with {Wx::GraphicsContext#set_composition_mode}.
56
+ #
57
+ # The description gives a short equation on how the values of a resulting pixel are calculated. R = Result, S = Source, D = Destination, colors premultiplied with alpha Ra, Sa, Da their alpha components
58
+ #
59
+ # @wxrb_require USE_GRAPHICS_CONTEXT
60
+ class CompositionMode < Wx::Enum
61
+
62
+ # Indicates invalid or unsupported composition mode.
63
+ #
64
+ COMPOSITION_INVALID = Wx::CompositionMode.new(-1)
65
+
66
+ # R = 0
67
+ #
68
+ COMPOSITION_CLEAR = Wx::CompositionMode.new(0)
69
+
70
+ # R = S
71
+ #
72
+ COMPOSITION_SOURCE = Wx::CompositionMode.new(1)
73
+
74
+ # R = S + D*(1 - Sa)
75
+ #
76
+ COMPOSITION_OVER = Wx::CompositionMode.new(2)
77
+
78
+ # R = S*Da
79
+ #
80
+ COMPOSITION_IN = Wx::CompositionMode.new(3)
81
+
82
+ # R = S*(1 - Da)
83
+ #
84
+ COMPOSITION_OUT = Wx::CompositionMode.new(4)
85
+
86
+ # R = S*Da + D*(1 - Sa)
87
+ #
88
+ COMPOSITION_ATOP = Wx::CompositionMode.new(5)
89
+
90
+ # R = D, essentially a noop
91
+ #
92
+ COMPOSITION_DEST = Wx::CompositionMode.new(6)
93
+
94
+ # R = S*(1 - Da) + D
95
+ #
96
+ COMPOSITION_DEST_OVER = Wx::CompositionMode.new(7)
97
+
98
+ # R = D*Sa
99
+ #
100
+ COMPOSITION_DEST_IN = Wx::CompositionMode.new(8)
101
+
102
+ # R = D*(1 - Sa)
103
+ #
104
+ COMPOSITION_DEST_OUT = Wx::CompositionMode.new(9)
105
+
106
+ # R = S*(1 - Da) + D*Sa
107
+ #
108
+ COMPOSITION_DEST_ATOP = Wx::CompositionMode.new(10)
109
+
110
+ # R = S*(1 - Da) + D*(1 - Sa)
111
+ #
112
+ COMPOSITION_XOR = Wx::CompositionMode.new(11)
113
+
114
+ # R = S + D
115
+ #
116
+ COMPOSITION_ADD = Wx::CompositionMode.new(12)
117
+
118
+ # Result is the absolute value of the difference between the source and the destination.
119
+ #
120
+ COMPOSITION_DIFF = Wx::CompositionMode.new(13)
121
+
122
+ end # CompositionMode
123
+
124
+ # Used to indicate what kind of gradient is set in a {Wx::GraphicsPenInfo} object.
125
+ #
126
+ #
127
+ #
128
+ # @wxrb_require USE_GRAPHICS_CONTEXT
129
+ class GradientType < Wx::Enum
130
+
131
+ # No gradient.
132
+ #
133
+ GRADIENT_NONE = Wx::GradientType.new(0)
134
+
135
+ # A gradient that blends two or more colors along an axis.
136
+ #
137
+ GRADIENT_LINEAR = Wx::GradientType.new(1)
138
+
139
+ # A gradient that blends two or more colors across an ellipse.
140
+ #
141
+ GRADIENT_RADIAL = Wx::GradientType.new(2)
142
+
143
+ end # GradientType
144
+
145
+ # An empty {Wx::GraphicsPen} object.
146
+ #
147
+ NULL_GRAPHICS_PEN = nil
148
+
149
+ # An empty {Wx::GraphicsBrush} object.
150
+ #
151
+ NULL_GRAPHICS_BRUSH = nil
152
+
153
+ # An empty {Wx::GraphicsFont} object.
154
+ #
155
+ NULL_GRAPHICS_FONT = nil
156
+
157
+ # An empty {Wx::GraphicsBitmap} object.
158
+ #
159
+ NULL_GRAPHICS_BITMAP = nil
160
+
161
+ # An empty {Wx::GraphicsMatrix} object.
162
+ #
163
+ NULL_GRAPHICS_MATRIX = nil
164
+
165
+ # An empty {Wx::GraphicsPath} object.
166
+ #
167
+ NULL_GRAPHICS_PATH = nil
168
+
169
+ # This class is the superclass of native graphics objects like pens etc.
170
+ #
171
+ # It allows reference counting. Not instantiated by user code.
172
+ #
173
+ # Category: Graphics Device Interface (GDI)
174
+ # @see Wx::GraphicsBrush
175
+ # @see Wx::GraphicsPen
176
+ # @see Wx::GraphicsMatrix
177
+ # @see Wx::GraphicsPath
178
+ #
179
+ #
180
+ # @wxrb_require USE_GRAPHICS_CONTEXT
181
+ class GraphicsObject < Object
182
+
183
+ # Returns the renderer that was used to create this instance, or nil if it has not been initialized yet.
184
+ # @return [Wx::GraphicsRenderer]
185
+ def get_renderer; end
186
+ alias_method :renderer, :get_renderer
187
+
188
+ #
189
+ #
190
+ # false if this object is valid; otherwise, returns true.
191
+ # @return [Boolean]
192
+ def is_null; end
193
+ alias_method :null?, :is_null
194
+
195
+ end # GraphicsObject
196
+
197
+ # A {Wx::GraphicsPen} is a native representation of a pen.
198
+ #
199
+ # The contents are specific and private to the respective renderer. Instances are ref counted and can therefore be assigned as usual. The only way to get a valid instance is via {Wx::GraphicsContext#create_pen} or {Wx::GraphicsRenderer#create_pen}.
200
+ #
201
+ # Category: Graphics Device Interface (GDI)
202
+ #
203
+ # @wxrb_require USE_GRAPHICS_CONTEXT
204
+ class GraphicsPen < GraphicsObject
205
+
206
+ end # GraphicsPen
207
+
208
+ # A {Wx::GraphicsBrush} is a native representation of a brush.
209
+ #
210
+ # The contents are specific and private to the respective renderer. Instances are ref counted and can therefore be assigned as usual. The only way to get a valid instance is via {Wx::GraphicsContext#create_brush} or {Wx::GraphicsRenderer#create_brush}.
211
+ #
212
+ # Category: Graphics Device Interface (GDI)
213
+ #
214
+ # @wxrb_require USE_GRAPHICS_CONTEXT
215
+ class GraphicsBrush < GraphicsObject
216
+
217
+ end # GraphicsBrush
218
+
219
+ # A {Wx::GraphicsPath} is a native representation of a geometric path.
220
+ #
221
+ # The contents are specific and private to the respective renderer. Instances are reference counted and can therefore be assigned as usual. The only way to get a valid instance is by using {Wx::GraphicsContext#create_path} or {Wx::GraphicsRenderer#create_path}.
222
+ #
223
+ # Category: Graphics Device Interface (GDI)
224
+ #
225
+ # @wxrb_require USE_GRAPHICS_CONTEXT
226
+ class GraphicsPath < GraphicsObject
227
+
228
+ # @overload add_arc(x, y, r, startAngle, endAngle, clockwise)
229
+ # Adds an arc of a circle.
230
+ #
231
+ # The circle is defined by the coordinates of its centre (x, y) or c and its radius r. The arc goes from the starting angle startAngle to endAngle either clockwise or counter-clockwise, depending on the value of clockwise argument.
232
+ # The angles are measured in radians but, contrary to the usual mathematical convention, are always clockwise from the horizontal axis.
233
+ # If clockwise and arc endAngle is less than startAngle, it will be progressively increased by 2*pi until it is greater than startAngle. If counter-clockwise and arc endAngle is greater than startAngle, it will be progressively decreased by 2*pi until it is less than startAngle.
234
+ # If there is a current point set, an initial line segment will be added to the path to connect the current point to the beginning of the arc.
235
+ # @param x [Float]
236
+ # @param y [Float]
237
+ # @param r [Float]
238
+ # @param startAngle [Float]
239
+ # @param endAngle [Float]
240
+ # @param clockwise [Boolean]
241
+ # @return [void]
242
+ # @overload add_arc(c, r, startAngle, endAngle, clockwise)
243
+ # Adds an arc of a circle.
244
+ #
245
+ # The circle is defined by the coordinates of its centre (x, y) or c and its radius r. The arc goes from the starting angle startAngle to endAngle either clockwise or counter-clockwise, depending on the value of clockwise argument.
246
+ # The angles are measured in radians but, contrary to the usual mathematical convention, are always clockwise from the horizontal axis.
247
+ # If clockwise and arc endAngle is less than startAngle, it will be progressively increased by 2*pi until it is greater than startAngle. If counter-clockwise and arc endAngle is greater than startAngle, it will be progressively decreased by 2*pi until it is less than startAngle.
248
+ # If there is a current point set, an initial line segment will be added to the path to connect the current point to the beginning of the arc.
249
+ # @param c [Wx::Point2DDouble]
250
+ # @param r [Float]
251
+ # @param startAngle [Float]
252
+ # @param endAngle [Float]
253
+ # @param clockwise [Boolean]
254
+ # @return [void]
255
+ def add_arc(*args) end
256
+
257
+ # Adds an arc (of a circle with radius r) that is tangent to the line connecting the current point and (x1, y1) and to the line connecting (x1, y1) and (x2, y2).
258
+ #
259
+ # If the current point and the starting point of the arc are different, then a straight line connecting these points is also appended. If there is no current point before the call to {Wx::GraphicsPath#add_arc_to_point}, then this function will behave as if preceded by a call to MoveToPoint(0, 0). After this call, the current point will be at the ending point of the arc.
260
+ # @param x1 [Float]
261
+ # @param y1 [Float]
262
+ # @param x2 [Float]
263
+ # @param y2 [Float]
264
+ # @param r [Float]
265
+ # @return [void]
266
+ def add_arc_to_point(x1, y1, x2, y2, r) end
267
+
268
+ # Appends a circle around (x,y) with radius r as a new closed subpath.
269
+ #
270
+ # After this call, the current point will be at (x+r, y).
271
+ # @param x [Float]
272
+ # @param y [Float]
273
+ # @param r [Float]
274
+ # @return [void]
275
+ def add_circle(x, y, r) end
276
+
277
+ # @overload add_curve_to_point(cx1, cy1, cx2, cy2, x, y)
278
+ # Adds a cubic Bézier curve from the current point, using two control points and an end point.
279
+ #
280
+ # If there is no current point before the call to {Wx::GraphicsPath#add_curve_to_point}, then this function will behave as if preceded by a call to MoveToPoint(cx1, cy1).
281
+ # This is useful for pulling a section of a path in two directions, providing a smoother bump (or wave) in its appearance compared to a quadratic Bézier curve.
282
+ # @param cx1 [Float] The x coordinate of the first control point.
283
+ # @param cy1 [Float] The y coordinate of the first control point.
284
+ # @param cx2 [Float] The x coordinate of the second control point.
285
+ # @param cy2 [Float] The y coordinate of the second control point.
286
+ # @param x [Float] The x coordinate of the end point.
287
+ # @param y [Float] The y coordinate of the end point.
288
+ # @return [void]
289
+ # @overload add_curve_to_point(c1, c2, e)
290
+ # Adds a cubic Bézier curve from the current point, using two control points and an end point.
291
+ #
292
+ # If there is no current point before the call to {Wx::GraphicsPath#add_curve_to_point}, then this function will behave as if preceded by a call to MoveToPoint(c1).
293
+ # This is useful for pulling a section of a path in two directions, providing a smoother bump (or wave) in its appearance compared to a quadratic Bézier curve.
294
+ # @param c1 [Wx::Point2DDouble] The first control point.
295
+ # @param c2 [Wx::Point2DDouble] The second control point.
296
+ # @param e [Wx::Point2DDouble] The end point.
297
+ # @return [void]
298
+ def add_curve_to_point(*args) end
299
+
300
+ # @overload add_ellipse(x, y, w, h)
301
+ # Appends an ellipse fitting into the passed-in rectangle as a new closed subpath.
302
+ #
303
+ # After this call, the current point will be at (x+w, y+h/2).
304
+ # @param x [Float]
305
+ # @param y [Float]
306
+ # @param w [Float]
307
+ # @param h [Float]
308
+ # @return [void]
309
+ # @overload add_ellipse(rect)
310
+ # This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
311
+ # @param rect [Wx::Rect2DDouble]
312
+ # @return [void]
313
+ def add_ellipse(*args) end
314
+
315
+ # @overload add_line_to_point(x, y)
316
+ # Adds a straight line from the current point to (x,y).
317
+ #
318
+ # If current point is not yet set before the call to {Wx::GraphicsPath#add_line_to_point}, then this function will behave as {Wx::GraphicsPath#move_to_point}.
319
+ # @param x [Float]
320
+ # @param y [Float]
321
+ # @return [void]
322
+ # @overload add_line_to_point(p)
323
+ # Adds a straight line from the current point to p.
324
+ #
325
+ # If current point is not yet set before the call to {Wx::GraphicsPath#add_line_to_point}, then this function will behave as {Wx::GraphicsPath#move_to_point}.
326
+ # @param p [Wx::Point2DDouble]
327
+ # @return [void]
328
+ def add_line_to_point(*args) end
329
+
330
+ # Adds another path onto the current path.
331
+ #
332
+ # After this call, the current point will be at the added path's current point. For Direct2D, the path being appended shouldn't contain a started non-empty subpath when this function is called.
333
+ # @param path [Wx::GraphicsPath]
334
+ # @return [void]
335
+ def add_path(path) end
336
+
337
+ # @overload add_quad_curve_to_point(cx, cy, x, y)
338
+ # Adds a quadratic Bézier curve from the current point, using a control point and an end point.
339
+ #
340
+ # If there is no current point before the call to {Wx::GraphicsPath#add_quad_curve_to_point}, then this function will behave as if preceded by a call to MoveToPoint(cx, cy).
341
+ # This is useful for pulling a section of a path in one direction, providing a sharper bump in its appearance compared to a cubic Bézier curve.
342
+ # @param cx [Float] The x coordinate of the control point.
343
+ # @param cy [Float] The y coordinate of the control point.
344
+ # @param x [Float] The x coordinate of the end point.
345
+ # @param y [Float] The y coordinate of the end point.
346
+ # @return [void]
347
+ # @overload add_quad_curve_to_point(cp, e)
348
+ # This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
349
+ # @param cp [Wx::Point2DDouble]
350
+ # @param e [Wx::Point2DDouble]
351
+ # @return [void]
352
+ def add_quad_curve_to_point(*args) end
353
+
354
+ # @overload add_rectangle(x, y, w, h)
355
+ # Appends a rectangle as a new closed subpath.
356
+ #
357
+ # After this call the current point will be at (x, y).
358
+ # @param x [Float]
359
+ # @param y [Float]
360
+ # @param w [Float]
361
+ # @param h [Float]
362
+ # @return [void]
363
+ # @overload add_rectangle(rect)
364
+ # This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
365
+ # @param rect [Wx::Rect2DDouble]
366
+ # @return [void]
367
+ def add_rectangle(*args) end
368
+
369
+ # @overload add_rounded_rectangle(x, y, w, h, radius)
370
+ # Appends a rounded rectangle as a new closed subpath.
371
+ #
372
+ # If radius equals 0, then this function will behave as {Wx::GraphicsPath#add_rectangle}; otherwise, after this call, the current point will be at (x+w, y+h/2).
373
+ # @param x [Float]
374
+ # @param y [Float]
375
+ # @param w [Float]
376
+ # @param h [Float]
377
+ # @param radius [Float]
378
+ # @return [void]
379
+ # @overload add_rounded_rectangle(rect, radius)
380
+ # This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
381
+ # @param rect [Wx::Rect2DDouble]
382
+ # @param radius [Float]
383
+ # @return [void]
384
+ def add_rounded_rectangle(*args) end
385
+
386
+ # Closes the current sub-path.
387
+ #
388
+ # After this call, the current point will be at the joined end point of the sub-path.
389
+ # @return [void]
390
+ def close_subpath; end
391
+
392
+ # @overload contains(c, fillStyle=Wx::PolygonFillMode::ODDEVEN_RULE)
393
+ #
394
+ #
395
+ # true if the point is within the path.
396
+ # @param c [Wx::Point2DDouble]
397
+ # @param fillStyle [Wx::PolygonFillMode]
398
+ # @return [Boolean]
399
+ # @overload contains(x, y, fillStyle=Wx::PolygonFillMode::ODDEVEN_RULE)
400
+ #
401
+ #
402
+ # true if the point is within the path.
403
+ # @param x [Float]
404
+ # @param y [Float]
405
+ # @param fillStyle [Wx::PolygonFillMode]
406
+ # @return [Boolean]
407
+ def contains(*args) end
408
+
409
+ # Gets the bounding box enclosing all points (possibly including control points).
410
+ # @return [Wx::Rect2DDouble]
411
+ def get_box; end
412
+ alias_method :box, :get_box
413
+
414
+ # Gets the last point of the current path, (0,0) if not yet set.
415
+ # @return [Wx::Point2DDouble]
416
+ def get_current_point; end
417
+ alias_method :current_point, :get_current_point
418
+
419
+ # @overload move_to_point(x, y)
420
+ # Begins a new subpath at (x,y).
421
+ # @param x [Float]
422
+ # @param y [Float]
423
+ # @return [void]
424
+ # @overload move_to_point(p)
425
+ # Begins a new subpath at p.
426
+ # @param p [Wx::Point2DDouble]
427
+ # @return [void]
428
+ def move_to_point(*args) end
429
+
430
+ # Transforms each point of this path by the matrix.
431
+ #
432
+ # For Direct2D, the current path shouldn't contain a started non-empty subpath when this function is called.
433
+ # @param matrix [Wx::GraphicsMatrix]
434
+ # @return [void]
435
+ def transform(matrix) end
436
+
437
+ end # GraphicsPath
438
+
439
+ # A {Wx::GraphicsFont} is a native representation of a font.
440
+ #
441
+ # The contents are specific and private to the respective renderer. Instances are ref counted and can therefore be assigned as usual. The only way to get a valid instance is via {Wx::GraphicsContext#create_font} or {Wx::GraphicsRenderer#create_font}.
442
+ #
443
+ # Category: Graphics Device Interface (GDI)
444
+ #
445
+ # @wxrb_require USE_GRAPHICS_CONTEXT
446
+ class GraphicsFont < GraphicsObject
447
+
448
+ end # GraphicsFont
449
+
450
+ # A {Wx::GraphicsMatrix} is a native representation of an affine matrix.
451
+ #
452
+ # The contents are specific and private to the respective renderer. Instances are ref counted and can therefore be assigned as usual. The only way to get a valid instance is via {Wx::GraphicsContext#create_matrix} or {Wx::GraphicsRenderer#create_matrix}.
453
+ #
454
+ # Category: Graphics Device Interface (GDI)
455
+ #
456
+ # @wxrb_require USE_GRAPHICS_CONTEXT
457
+ class GraphicsMatrix < GraphicsObject
458
+
459
+ # Concatenates the matrix passed with the current matrix.
460
+ #
461
+ # The effect of the resulting transformation is to first apply the transformation in t to the coordinates and then apply the transformation in the current matrix to the coordinates.
462
+ #
463
+ # ```
464
+ # matrix = t x matrix
465
+ # ```
466
+ # @param t [Wx::GraphicsMatrix] The parameter matrix is the multiplicand.
467
+ # @return [void]
468
+ def concat(t) end
469
+
470
+ # Returns the component values of the matrix via the argument pointers.
471
+ # @return [Array(Float,Float,Float,Float,Float,Float)]
472
+ def get; end
473
+
474
+ # Inverts the matrix.
475
+ # @return [void]
476
+ def invert; end
477
+
478
+ # Returns true if the elements of the transformation matrix are equal.
479
+ # @param t [Wx::GraphicsMatrix]
480
+ # @return [Boolean]
481
+ def is_equal(t) end
482
+ alias_method :equal?, :is_equal
483
+
484
+ # Return true if this is the identity matrix.
485
+ # @return [Boolean]
486
+ def is_identity; end
487
+ alias_method :identity?, :is_identity
488
+
489
+ # Rotates this matrix clockwise (in radians).
490
+ #
491
+ # This can be useful for applying a tilt to your drawing commands or for drawing radial patterns.
492
+ # @see deg_to_rad
493
+ # @param angle [Float] Rotation angle in radians, clockwise.
494
+ # @return [void]
495
+ def rotate(angle) end
496
+
497
+ # Scales this matrix.
498
+ # @param xScale [Float]
499
+ # @param yScale [Float]
500
+ # @return [void]
501
+ def scale(xScale, yScale) end
502
+
503
+ # Sets the matrix to the respective values (default values are the identity matrix).
504
+ # @param a [Float]
505
+ # @param b [Float]
506
+ # @param c [Float]
507
+ # @param d [Float]
508
+ # @param tx [Float]
509
+ # @param ty [Float]
510
+ # @return [void]
511
+ def set(a=1.0, b=0.0, c=0.0, d=1.0, tx=0.0, ty=0.0) end
512
+
513
+ # @overload translate(dx, dy)
514
+ # Translates this matrix.
515
+ # @param dx [Float]
516
+ # @param dy [Float]
517
+ # @return [void]
518
+ # @overload translate(pt)
519
+ # This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
520
+ # @param pt [Wx::Point2DDouble]
521
+ # @return [void]
522
+ def translate(*args) end
523
+
524
+ end # GraphicsMatrix
525
+
526
+ # Represents a bitmap.
527
+ #
528
+ # The objects of this class are not created directly but only via {Wx::GraphicsContext} or {Wx::GraphicsRenderer} CreateBitmap(), CreateBitmapFromImage() or CreateSubBitmap() methods. They can subsequently be used with {Wx::GraphicsContext#draw_bitmap}. The only other operation is testing for the bitmap validity, which can be performed using {Wx::GraphicsBitmap#is_null} inherited from the base class.
529
+ #
530
+ # @wxrb_require USE_GRAPHICS_CONTEXT
531
+ class GraphicsBitmap < GraphicsObject
532
+
533
+ # Default constructor creates an invalid bitmap.
534
+ # @return [Wx::GraphicsBitmap]
535
+ def initialize; end
536
+
537
+ # Return the contents of this bitmap as a {Wx::Image}.
538
+ #
539
+ # Using this method is more efficient than converting a {Wx::GraphicsBitmap} to a {Wx::Bitmap} first and then to a {Wx::Image}. This can be useful if, for example, you want to save a {Wx::GraphicsBitmap} in a file format not directly supported by {Wx::Bitmap}.
540
+ # Invalid image is returned if the bitmap is invalid.
541
+ # @return [Wx::Image]
542
+ def convert_to_image; end
543
+
544
+ end # GraphicsBitmap
545
+
546
+ # A {Wx::GraphicsRenderer} is the instance corresponding to the rendering engine used.
547
+ #
548
+ # There may be multiple instances on a system, if there are different rendering engines present, but there is always only one instance per engine. This instance is pointed back to by all objects created by it ({Wx::GraphicsContext}, {Wx::GraphicsPath}, etc.) and can be retrieved through their {Wx::GraphicsObject#get_renderer} method. Therefore, you can create an additional instance of a path (or other objects) by calling {Wx::GraphicsObject#get_renderer} and then using the appropriate CreateXXX() function of that renderer.
549
+ #
550
+ # ```ruby
551
+ # # path = Wx::GraphicsPath from somewhere
552
+ # brush = path.get_renderer.create_brush(Wx::BLACK_BRUSH)
553
+ # ```
554
+ #
555
+ # Category: Graphics Device Interface (GDI)
556
+ #
557
+ # @wxrb_require USE_GRAPHICS_CONTEXT
558
+ class GraphicsRenderer < Object
559
+
560
+ # Creates {Wx::GraphicsBitmap} from an existing {Wx::Bitmap}.
561
+ #
562
+ # An invalid {Wx::NULL_GRAPHICS_BITMAP} on failure.
563
+ # @param bitmap [Wx::Bitmap]
564
+ # @return [Wx::GraphicsBitmap]
565
+ def create_bitmap(bitmap) end
566
+
567
+ # Creates {Wx::GraphicsBitmap} from an existing {Wx::Image}.
568
+ #
569
+ # This method is more efficient than converting a {Wx::Image} to a {Wx::Bitmap} first and then calling {Wx::GraphicsRenderer#create_bitmap}, but otherwise has the same effect.
570
+ # An invalid {Wx::NULL_GRAPHICS_BITMAP} on failure.
571
+ # @param image [Wx::Image]
572
+ # @return [Wx::GraphicsBitmap]
573
+ def create_bitmap_from_image(image) end
574
+
575
+ # Creates a {Wx::Image} from a {Wx::GraphicsBitmap}.
576
+ #
577
+ # This method is used by the more convenient {Wx::GraphicsBitmap#convert_to_image}.
578
+ # @param bmp [Wx::GraphicsBitmap]
579
+ # @return [Wx::Image]
580
+ def create_image_from_bitmap(bmp) end
581
+
582
+ # @overload create_context(window)
583
+ # Creates a {Wx::GraphicsContext} from a {Wx::Window}.
584
+ # @param window [Wx::Window]
585
+ # @return [Wx::GraphicsContext]
586
+ # @overload create_context(windowDC)
587
+ # Creates a {Wx::GraphicsContext} from a {Wx::WindowDC}.
588
+ # @param windowDC [Wx::WindowDC]
589
+ # @return [Wx::GraphicsContext]
590
+ # @overload create_context(memoryDC)
591
+ # Creates a {Wx::GraphicsContext} from a {Wx::MemoryDC}.
592
+ # @param memoryDC [Wx::MemoryDC]
593
+ # @return [Wx::GraphicsContext]
594
+ # @overload create_context(printerDC)
595
+ # Creates a {Wx::GraphicsContext} from a {Wx::PRT::PrinterDC}.
596
+ #
597
+ # <div class="wxrb-remark">
598
+ # <b>Remark:</b>
599
+ # <p>Not implemented for the Direct2D renderer (on MSW).
600
+ # </p>
601
+ # </div>
602
+ # @param printerDC [Wx::PRT::PrinterDC]
603
+ # @return [Wx::GraphicsContext]
604
+ def create_context(*args) end
605
+
606
+ # Creates a {Wx::GraphicsContext} from a DC of unknown specific type.
607
+ #
608
+ # Creates a {Wx::GraphicsContext} if dc is a supported type (i.e. has a corresponding {Wx::GraphicsRenderer#create_context} method, e.g. {Wx::WindowDC} or {Wx::MemoryDC}).
609
+ # This method is only useful as a helper in generic code that operates with {Wx::DC} and doesn't known its exact type. Use the appropriate {Wx::GraphicsRenderer#create_context} overload instead if you know what the DC is (e.g., {Wx::WindowDC}).
610
+ # nil if the DC is unsupported.
611
+ # @see Wx::GraphicsContext.create_from_unknown_dc
612
+ # @param dc [Wx::DC]
613
+ # @return [Wx::GraphicsContext]
614
+ def create_context_from_unknown_dc(dc) end
615
+
616
+ # Creates a {Wx::GraphicsContext} associated with a {Wx::Image}.
617
+ #
618
+ # This function is used by Wx::Context#create_from_image and is not normally called directly.
619
+ # @param image [Wx::Image]
620
+ # @return [Wx::GraphicsContext]
621
+ def create_context_from_image(image) end
622
+
623
+ # Creates a native brush from a {Wx::Brush}.
624
+ # @param brush [Wx::Brush]
625
+ # @return [Wx::GraphicsBrush]
626
+ def create_brush(brush) end
627
+
628
+ # Creates a {Wx::GraphicsContext} that can be used for measuring texts only.
629
+ #
630
+ # No drawing commands are allowed.
631
+ # @return [Wx::GraphicsContext]
632
+ def create_measuring_context; end
633
+
634
+ # @overload create_font(font, col=Wx::BLACK)
635
+ # Creates a native graphics font from a {Wx::Font} and a text colour.
636
+ # @param font [Wx::Font,Wx::FontInfo]
637
+ # @param col [Wx::Colour,String,Symbol]
638
+ # @return [Wx::GraphicsFont]
639
+ # @overload create_font(sizeInPixels, facename, flags=Wx::FontFlag::FONTFLAG_DEFAULT, col=Wx::BLACK)
640
+ # Creates a graphics font with the given characteristics.
641
+ #
642
+ # If possible, the {Wx::GraphicsRenderer#create_font} overload taking {Wx::Font} should be used instead. The main advantage of this overload is that it can be used without X server connection under Unix when using Cairo.
643
+ # @param sizeInPixels [Float] Height of the font in user space units (normally pixels). Notice that this is different from the overload taking {Wx::Font} as {Wx::Font}'s size is specified in points.
644
+ # @param facename [String] The name of the font. The same font name might not be available under all platforms so the font name can also be empty to use the default platform font.
645
+ # @param flags [Integer] Combination of {Wx::FontFlag} enum elements. Currently only {Wx::FontFlag::FONTFLAG_ITALIC} and {Wx::FontFlag::FONTFLAG_BOLD} are supported. By default, the normal font version is used.
646
+ # @param col [Wx::Colour,String,Symbol] The font colour, black by default.
647
+ # @return [Wx::GraphicsFont]
648
+ def create_font(*args) end
649
+
650
+ # Creates a native graphics font from a {Wx::Font} and a text colour.
651
+ #
652
+ # The specified DPI is used to convert the (fractional) {Wx::Font} point-size to a fractional pixel-size.
653
+ # @param font [Wx::Font,Wx::FontInfo]
654
+ # @param dpi [Wx::RealPoint]
655
+ # @param col [Wx::Colour,String,Symbol]
656
+ # @return [Wx::GraphicsFont]
657
+ def create_font_at_dpi(font, dpi, col=Wx::BLACK) end
658
+
659
+ # Creates a native brush with a linear gradient.
660
+ #
661
+ # Stops support is new since wxWidgets 2.9.1; previously, only the start and end colours could be specified.
662
+ # The ability to apply a transformation matrix to the gradient was added in 3.1.3.
663
+ # @param x1 [Float]
664
+ # @param y1 [Float]
665
+ # @param x2 [Float]
666
+ # @param y2 [Float]
667
+ # @param stops [Wx::GraphicsGradientStops]
668
+ # @param matrix [Wx::GraphicsMatrix]
669
+ # @return [Wx::GraphicsBrush]
670
+ def create_linear_gradient_brush(x1, y1, x2, y2, stops, matrix=Wx::NULL_GRAPHICS_MATRIX) end
671
+
672
+ # Creates a native affine transformation matrix from the passed in values.
673
+ #
674
+ # The defaults result in an identity matrix.
675
+ # @param a [Float]
676
+ # @param b [Float]
677
+ # @param c [Float]
678
+ # @param d [Float]
679
+ # @param tx [Float]
680
+ # @param ty [Float]
681
+ # @return [Wx::GraphicsMatrix]
682
+ def create_matrix(a=1.0, b=0.0, c=0.0, d=1.0, tx=0.0, ty=0.0) end
683
+
684
+ # Creates a native graphics path which is initially empty.
685
+ # @return [Wx::GraphicsPath]
686
+ def create_path; end
687
+
688
+ # Creates a native pen from its description.
689
+ # @param info [Wx::GraphicsPenInfo]
690
+ # @return [Wx::GraphicsPen]
691
+ def create_pen(info) end
692
+
693
+ # Creates a native brush with a radial gradient.
694
+ #
695
+ # Stops support is new since wxWidgets 2.9.1; previously, only the start and end colours could be specified.
696
+ # The ability to apply a transformation matrix to the gradient was added in 3.1.3.
697
+ # @param startX [Float]
698
+ # @param startY [Float]
699
+ # @param endX [Float]
700
+ # @param endY [Float]
701
+ # @param radius [Float]
702
+ # @param stops [Wx::GraphicsGradientStops]
703
+ # @param matrix [Wx::GraphicsMatrix]
704
+ # @return [Wx::GraphicsBrush]
705
+ def create_radial_gradient_brush(startX, startY, endX, endY, radius, stops, matrix=Wx::NULL_GRAPHICS_MATRIX) end
706
+
707
+ # Extracts a sub-bitmap from an existing bitmap.
708
+ # @param bitmap [Wx::GraphicsBitmap]
709
+ # @param x [Float]
710
+ # @param y [Float]
711
+ # @param w [Float]
712
+ # @param h [Float]
713
+ # @return [Wx::GraphicsBitmap]
714
+ def create_sub_bitmap(bitmap, x, y, w, h) end
715
+
716
+ # Returns the name of the technology used by the renderer.
717
+ #
718
+ # Currently, this function returns "gdiplus" for the Windows GDI+ implementation, "direct2d" for Windows Direct2D, "cairo" for Cairo and "cg" for macOS CoreGraphics.
719
+ #
720
+ # <div class="wxrb-remark">
721
+ # <b>Remark:</b>
722
+ # <p>The string returned by this method is not user-readable and is expected to be used internally by the program only.
723
+ # </p>
724
+ # </div>
725
+ # @return [String]
726
+ def get_name; end
727
+ alias_method :name, :get_name
728
+
729
+ # Returns the version major, minor and micro/build of the technology used by the renderer.
730
+ #
731
+ # Currently, this function returns the OS major and minor versions in the parameters with the matching names and sets micro to 0 for the GDI+ and CoreGraphics engines, which are considered to be parts of their respective OS.
732
+ # For Cairo, this is the major,minor,micro version of the Cairo library which is returned.
733
+ # @return [Array(Integer,Integer,Integer)]
734
+ def get_version; end
735
+ alias_method :version, :get_version
736
+
737
+ # Returns the default renderer on this platform.
738
+ #
739
+ # On macOS, this is the Core Graphics (a.k.a. Quartz 2D) renderer, on MSW the GDI+ renderer, and on GTK we currently default to the Cairo renderer.
740
+ # @return [Wx::GraphicsRenderer]
741
+ def self.get_default_renderer; end
742
+
743
+ # Returns the Cairo renderer.
744
+ # @return [Wx::GraphicsRenderer]
745
+ def self.get_cairo_renderer; end
746
+
747
+ end # GraphicsRenderer
748
+
749
+
750
+ end