wxruby3 1.8.0 → 1.8.1

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 (391) hide show
  1. checksums.yaml +4 -4
  2. data/lib/wx/doc/stream.rb +7 -3
  3. data/lib/wx/version.rb +1 -1
  4. data/lib/wx/wxruby/cmd/test.rb +8 -2
  5. data/rakelib/lib/config/pkgman/linux.rb +4 -2
  6. data/rakelib/lib/director/derived_dc.rb +41 -32
  7. data/rakelib/lib/director/editable_listbox.rb +10 -8
  8. data/rakelib/lib/director/fs_file.rb +23 -0
  9. data/rakelib/lib/director/ribbon_page.rb +11 -0
  10. data/rakelib/lib/director/top_level_window.rb +12 -4
  11. data/rakelib/lib/specs/interfaces.rb +2 -2
  12. data/tests/test_webview.rb +5 -5
  13. metadata +2 -380
  14. data/assets/repo-social-preview.odg +0 -0
  15. data/assets/repo-social-preview.xcf +0 -0
  16. data/lib/wx/aui/events/evt_list.rb +0 -148
  17. data/lib/wx/core/events/evt_list.rb +0 -1458
  18. data/lib/wx/core/font/encoding.rb +0 -113
  19. data/lib/wx/doc/gen/about_dialog_info.rb +0 -330
  20. data/lib/wx/doc/gen/accelerator.rb +0 -178
  21. data/lib/wx/doc/gen/activity_indicator.rb +0 -83
  22. data/lib/wx/doc/gen/affine_matrix2d.rb +0 -286
  23. data/lib/wx/doc/gen/animation.rb +0 -275
  24. data/lib/wx/doc/gen/animation_ctrl.rb +0 -300
  25. data/lib/wx/doc/gen/any_button.rb +0 -191
  26. data/lib/wx/doc/gen/app.rb +0 -463
  27. data/lib/wx/doc/gen/app_traits.rb +0 -396
  28. data/lib/wx/doc/gen/art_provider.rb +0 -617
  29. data/lib/wx/doc/gen/aui/aui_dock_art.rb +0 -455
  30. data/lib/wx/doc/gen/aui/aui_floating_frame.rb +0 -54
  31. data/lib/wx/doc/gen/aui/aui_manager.rb +0 -847
  32. data/lib/wx/doc/gen/aui/aui_manager_event.rb +0 -131
  33. data/lib/wx/doc/gen/aui/aui_mdi_child_frame.rb +0 -180
  34. data/lib/wx/doc/gen/aui/aui_mdi_client_window.rb +0 -59
  35. data/lib/wx/doc/gen/aui/aui_mdi_parent_frame.rb +0 -130
  36. data/lib/wx/doc/gen/aui/aui_notebook.rb +0 -631
  37. data/lib/wx/doc/gen/aui/aui_notebook_event.rb +0 -233
  38. data/lib/wx/doc/gen/aui/aui_pane_info.rb +0 -769
  39. data/lib/wx/doc/gen/aui/aui_tab_art.rb +0 -352
  40. data/lib/wx/doc/gen/aui/aui_tab_ctrl.rb +0 -14
  41. data/lib/wx/doc/gen/aui/aui_tool_bar.rb +0 -510
  42. data/lib/wx/doc/gen/aui/aui_tool_bar_art.rb +0 -340
  43. data/lib/wx/doc/gen/aui/aui_tool_bar_event.rb +0 -244
  44. data/lib/wx/doc/gen/aui/aui_tool_bar_item.rb +0 -257
  45. data/lib/wx/doc/gen/aui/event_list.rb +0 -179
  46. data/lib/wx/doc/gen/banner_window.rb +0 -124
  47. data/lib/wx/doc/gen/bitmap.rb +0 -731
  48. data/lib/wx/doc/gen/bitmap_button.rb +0 -123
  49. data/lib/wx/doc/gen/bitmap_combo_box.rb +0 -221
  50. data/lib/wx/doc/gen/book_ctrl_base.rb +0 -274
  51. data/lib/wx/doc/gen/book_ctrl_event.rb +0 -66
  52. data/lib/wx/doc/gen/box_sizer.rb +0 -85
  53. data/lib/wx/doc/gen/brush.rb +0 -251
  54. data/lib/wx/doc/gen/busy_info.rb +0 -157
  55. data/lib/wx/doc/gen/button.rb +0 -182
  56. data/lib/wx/doc/gen/calculate_layout_event.rb +0 -62
  57. data/lib/wx/doc/gen/calendar_ctrl.rb +0 -505
  58. data/lib/wx/doc/gen/calendar_date_attr.rb +0 -138
  59. data/lib/wx/doc/gen/calendar_event.rb +0 -147
  60. data/lib/wx/doc/gen/caret.rb +0 -97
  61. data/lib/wx/doc/gen/check_box.rb +0 -175
  62. data/lib/wx/doc/gen/check_list_box.rb +0 -121
  63. data/lib/wx/doc/gen/choice.rb +0 -175
  64. data/lib/wx/doc/gen/choicebook.rb +0 -116
  65. data/lib/wx/doc/gen/client_dc.rb +0 -43
  66. data/lib/wx/doc/gen/clipboard.rb +0 -144
  67. data/lib/wx/doc/gen/collapsible_pane.rb +0 -138
  68. data/lib/wx/doc/gen/collapsible_pane_event.rb +0 -46
  69. data/lib/wx/doc/gen/colour.rb +0 -333
  70. data/lib/wx/doc/gen/colour_dialog.rb +0 -190
  71. data/lib/wx/doc/gen/colour_picker_ctrl.rb +0 -110
  72. data/lib/wx/doc/gen/colour_picker_event.rb +0 -77
  73. data/lib/wx/doc/gen/combo_box.rb +0 -292
  74. data/lib/wx/doc/gen/combo_ctrl.rb +0 -662
  75. data/lib/wx/doc/gen/command_link_button.rb +0 -134
  76. data/lib/wx/doc/gen/config_base.rb +0 -10
  77. data/lib/wx/doc/gen/context_help_button.rb +0 -56
  78. data/lib/wx/doc/gen/control.rb +0 -277
  79. data/lib/wx/doc/gen/control_with_items.rb +0 -253
  80. data/lib/wx/doc/gen/core.rb +0 -45
  81. data/lib/wx/doc/gen/credential_entry_dialog.rb +0 -137
  82. data/lib/wx/doc/gen/cursor.rb +0 -193
  83. data/lib/wx/doc/gen/data_format.rb +0 -85
  84. data/lib/wx/doc/gen/data_object.rb +0 -436
  85. data/lib/wx/doc/gen/data_object_simple_base.rb +0 -10
  86. data/lib/wx/doc/gen/date_event.rb +0 -49
  87. data/lib/wx/doc/gen/date_picker_ctrl.rb +0 -161
  88. data/lib/wx/doc/gen/dc.rb +0 -1631
  89. data/lib/wx/doc/gen/dc_overlay.rb +0 -102
  90. data/lib/wx/doc/gen/defs.rb +0 -2802
  91. data/lib/wx/doc/gen/dial_up_event.rb +0 -45
  92. data/lib/wx/doc/gen/dial_up_manager.rb +0 -149
  93. data/lib/wx/doc/gen/dialog.rb +0 -541
  94. data/lib/wx/doc/gen/dir_dialog.rb +0 -164
  95. data/lib/wx/doc/gen/dir_filter_list_ctrl.rb +0 -90
  96. data/lib/wx/doc/gen/dir_picker_ctrl.rb +0 -125
  97. data/lib/wx/doc/gen/display.rb +0 -238
  98. data/lib/wx/doc/gen/drag_drop.rb +0 -299
  99. data/lib/wx/doc/gen/drag_image.rb +0 -116
  100. data/lib/wx/doc/gen/editable_list_box.rb +0 -109
  101. data/lib/wx/doc/gen/event.rb +0 -990
  102. data/lib/wx/doc/gen/event_blocker.rb +0 -50
  103. data/lib/wx/doc/gen/event_filter.rb +0 -92
  104. data/lib/wx/doc/gen/event_list.rb +0 -1644
  105. data/lib/wx/doc/gen/events.rb +0 -2809
  106. data/lib/wx/doc/gen/evt_handler.rb +0 -229
  107. data/lib/wx/doc/gen/ext_help_controller.rb +0 -155
  108. data/lib/wx/doc/gen/file_ctrl.rb +0 -231
  109. data/lib/wx/doc/gen/file_ctrl_event.rb +0 -83
  110. data/lib/wx/doc/gen/file_dialog.rb +0 -353
  111. data/lib/wx/doc/gen/file_dialog_custom_control.rb +0 -165
  112. data/lib/wx/doc/gen/file_dialog_customize_hook.rb +0 -158
  113. data/lib/wx/doc/gen/file_dir_picker_event.rb +0 -100
  114. data/lib/wx/doc/gen/file_picker_ctrl.rb +0 -132
  115. data/lib/wx/doc/gen/file_system.rb +0 -232
  116. data/lib/wx/doc/gen/find_dialog_event.rb +0 -126
  117. data/lib/wx/doc/gen/find_replace_data.rb +0 -60
  118. data/lib/wx/doc/gen/find_replace_dialog.rb +0 -58
  119. data/lib/wx/doc/gen/flex_grid_sizer.rb +0 -199
  120. data/lib/wx/doc/gen/font.rb +0 -1379
  121. data/lib/wx/doc/gen/font_data.rb +0 -151
  122. data/lib/wx/doc/gen/font_dialog.rb +0 -88
  123. data/lib/wx/doc/gen/font_picker_ctrl.rb +0 -143
  124. data/lib/wx/doc/gen/font_picker_event.rb +0 -65
  125. data/lib/wx/doc/gen/frame.rb +0 -352
  126. data/lib/wx/doc/gen/fs_file.rb +0 -337
  127. data/lib/wx/doc/gen/functions.rb +0 -10
  128. data/lib/wx/doc/gen/gauge.rb +0 -157
  129. data/lib/wx/doc/gen/gb_sizer_item.rb +0 -68
  130. data/lib/wx/doc/gen/gcdc.rb +0 -46
  131. data/lib/wx/doc/gen/gdi_common.rb +0 -1271
  132. data/lib/wx/doc/gen/gdi_object.rb +0 -31
  133. data/lib/wx/doc/gen/generic_about_dialog.rb +0 -140
  134. data/lib/wx/doc/gen/generic_dir_ctrl.rb +0 -223
  135. data/lib/wx/doc/gen/geometry.rb +0 -661
  136. data/lib/wx/doc/gen/graphics_context.rb +0 -1184
  137. data/lib/wx/doc/gen/graphics_object.rb +0 -750
  138. data/lib/wx/doc/gen/grid/event_list.rb +0 -191
  139. data/lib/wx/doc/gen/grid/grid_cell_activatable_editor.rb +0 -40
  140. data/lib/wx/doc/gen/grid/grid_cell_attr.rb +0 -280
  141. data/lib/wx/doc/gen/grid/grid_cell_auto_wrap_string_editor.rb +0 -35
  142. data/lib/wx/doc/gen/grid/grid_cell_auto_wrap_string_renderer.rb +0 -37
  143. data/lib/wx/doc/gen/grid/grid_cell_bool_editor.rb +0 -49
  144. data/lib/wx/doc/gen/grid/grid_cell_bool_renderer.rb +0 -35
  145. data/lib/wx/doc/gen/grid/grid_cell_choice_editor.rb +0 -46
  146. data/lib/wx/doc/gen/grid/grid_cell_date_editor.rb +0 -38
  147. data/lib/wx/doc/gen/grid/grid_cell_date_renderer.rb +0 -45
  148. data/lib/wx/doc/gen/grid/grid_cell_date_time_renderer.rb +0 -40
  149. data/lib/wx/doc/gen/grid/grid_cell_editor.rb +0 -197
  150. data/lib/wx/doc/gen/grid/grid_cell_enum_editor.rb +0 -39
  151. data/lib/wx/doc/gen/grid/grid_cell_enum_renderer.rb +0 -44
  152. data/lib/wx/doc/gen/grid/grid_cell_float_editor.rb +0 -45
  153. data/lib/wx/doc/gen/grid/grid_cell_float_renderer.rb +0 -79
  154. data/lib/wx/doc/gen/grid/grid_cell_number_editor.rb +0 -46
  155. data/lib/wx/doc/gen/grid/grid_cell_number_renderer.rb +0 -35
  156. data/lib/wx/doc/gen/grid/grid_cell_renderer.rb +0 -108
  157. data/lib/wx/doc/gen/grid/grid_cell_string_renderer.rb +0 -35
  158. data/lib/wx/doc/gen/grid/grid_cell_text_editor.rb +0 -49
  159. data/lib/wx/doc/gen/grid/grid_ctrl.rb +0 -3037
  160. data/lib/wx/doc/gen/grid/grid_editor_created_event.rb +0 -95
  161. data/lib/wx/doc/gen/grid/grid_event.rb +0 -129
  162. data/lib/wx/doc/gen/grid/grid_range_select_event.rb +0 -104
  163. data/lib/wx/doc/gen/grid/grid_size_event.rb +0 -85
  164. data/lib/wx/doc/gen/grid/grid_string_table.rb +0 -142
  165. data/lib/wx/doc/gen/grid/grid_table_base.rb +0 -317
  166. data/lib/wx/doc/gen/grid/grid_table_message.rb +0 -81
  167. data/lib/wx/doc/gen/grid_bag_sizer.rb +0 -323
  168. data/lib/wx/doc/gen/grid_sizer.rb +0 -195
  169. data/lib/wx/doc/gen/gui_event_loop.rb +0 -159
  170. data/lib/wx/doc/gen/h_scrolled_window.rb +0 -562
  171. data/lib/wx/doc/gen/header_ctrl.rb +0 -880
  172. data/lib/wx/doc/gen/header_ctrl_event.rb +0 -133
  173. data/lib/wx/doc/gen/help_controller.rb +0 -238
  174. data/lib/wx/doc/gen/help_provider.rb +0 -98
  175. data/lib/wx/doc/gen/html/event_list.rb +0 -38
  176. data/lib/wx/doc/gen/html/html_cell.rb +0 -536
  177. data/lib/wx/doc/gen/html/html_cell_event.rb +0 -69
  178. data/lib/wx/doc/gen/html/html_data_object.rb +0 -42
  179. data/lib/wx/doc/gen/html/html_easy_printing.rb +0 -203
  180. data/lib/wx/doc/gen/html/html_help_controller.rb +0 -382
  181. data/lib/wx/doc/gen/html/html_help_data.rb +0 -159
  182. data/lib/wx/doc/gen/html/html_help_window.rb +0 -258
  183. data/lib/wx/doc/gen/html/html_link_event.rb +0 -41
  184. data/lib/wx/doc/gen/html/html_list_box.rb +0 -346
  185. data/lib/wx/doc/gen/html/html_printout.rb +0 -109
  186. data/lib/wx/doc/gen/html/html_window.rb +0 -461
  187. data/lib/wx/doc/gen/hyperlink_ctrl.rb +0 -311
  188. data/lib/wx/doc/gen/hyperlink_event.rb +0 -44
  189. data/lib/wx/doc/gen/icon.rb +0 -267
  190. data/lib/wx/doc/gen/icon_location.rb +0 -40
  191. data/lib/wx/doc/gen/image.rb +0 -1371
  192. data/lib/wx/doc/gen/image_list.rb +0 -168
  193. data/lib/wx/doc/gen/info_bar.rb +0 -195
  194. data/lib/wx/doc/gen/keyboard_state.rb +0 -140
  195. data/lib/wx/doc/gen/list_box.rb +0 -304
  196. data/lib/wx/doc/gen/list_ctrl.rb +0 -1774
  197. data/lib/wx/doc/gen/list_event.rb +0 -208
  198. data/lib/wx/doc/gen/listbook.rb +0 -116
  199. data/lib/wx/doc/gen/locale.rb +0 -4293
  200. data/lib/wx/doc/gen/log.rb +0 -603
  201. data/lib/wx/doc/gen/mb_conv.rb +0 -10
  202. data/lib/wx/doc/gen/mdi_client_window.rb +0 -47
  203. data/lib/wx/doc/gen/mdi_frame.rb +0 -324
  204. data/lib/wx/doc/gen/media_ctrl.rb +0 -269
  205. data/lib/wx/doc/gen/media_event.rb +0 -117
  206. data/lib/wx/doc/gen/memory_dc.rb +0 -174
  207. data/lib/wx/doc/gen/menu.rb +0 -509
  208. data/lib/wx/doc/gen/menu_bar.rb +0 -287
  209. data/lib/wx/doc/gen/menu_item.rb +0 -362
  210. data/lib/wx/doc/gen/message_dialog.rb +0 -238
  211. data/lib/wx/doc/gen/mini_frame.rb +0 -108
  212. data/lib/wx/doc/gen/mirror_dc.rb +0 -22
  213. data/lib/wx/doc/gen/mouse_state.rb +0 -150
  214. data/lib/wx/doc/gen/multi_choice_dialog.rb +0 -80
  215. data/lib/wx/doc/gen/non_owned_window.rb +0 -49
  216. data/lib/wx/doc/gen/notebook.rb +0 -278
  217. data/lib/wx/doc/gen/num_validator.rb +0 -37
  218. data/lib/wx/doc/gen/number_entry_dialog.rb +0 -93
  219. data/lib/wx/doc/gen/object.rb +0 -59
  220. data/lib/wx/doc/gen/owner_drawn_combo_box.rb +0 -395
  221. data/lib/wx/doc/gen/paint_dc.rb +0 -27
  222. data/lib/wx/doc/gen/palette.rb +0 -92
  223. data/lib/wx/doc/gen/panel.rb +0 -127
  224. data/lib/wx/doc/gen/pen.rb +0 -511
  225. data/lib/wx/doc/gen/persistence_manager.rb +0 -135
  226. data/lib/wx/doc/gen/persistent_object.rb +0 -52
  227. data/lib/wx/doc/gen/persistent_window.rb +0 -241
  228. data/lib/wx/doc/gen/pg/event_list.rb +0 -106
  229. data/lib/wx/doc/gen/pg/numeric_property_validator.rb +0 -54
  230. data/lib/wx/doc/gen/pg/pg_array_editor_dialog.rb +0 -292
  231. data/lib/wx/doc/gen/pg/pg_cell.rb +0 -177
  232. data/lib/wx/doc/gen/pg/pg_editor.rb +0 -721
  233. data/lib/wx/doc/gen/pg/pg_multi_button.rb +0 -152
  234. data/lib/wx/doc/gen/pg/pg_properties.rb +0 -2829
  235. data/lib/wx/doc/gen/pg/pg_property.rb +0 -2078
  236. data/lib/wx/doc/gen/pg/pg_validation_info.rb +0 -344
  237. data/lib/wx/doc/gen/pg/property_grid.rb +0 -740
  238. data/lib/wx/doc/gen/pg/property_grid_event.rb +0 -184
  239. data/lib/wx/doc/gen/pg/property_grid_interface.rb +0 -1098
  240. data/lib/wx/doc/gen/pg/property_grid_manager.rb +0 -415
  241. data/lib/wx/doc/gen/pg/property_grid_page.rb +0 -354
  242. data/lib/wx/doc/gen/pg/property_grid_page_state.rb +0 -165
  243. data/lib/wx/doc/gen/picker_base.rb +0 -152
  244. data/lib/wx/doc/gen/platform_info.rb +0 -622
  245. data/lib/wx/doc/gen/popup_window.rb +0 -107
  246. data/lib/wx/doc/gen/progress_dialog.rb +0 -100
  247. data/lib/wx/doc/gen/property_sheet_dialog.rb +0 -216
  248. data/lib/wx/doc/gen/prt/event_list.rb +0 -17
  249. data/lib/wx/doc/gen/prt/page_setup_dialog.rb +0 -44
  250. data/lib/wx/doc/gen/prt/post_script_dc.rb +0 -30
  251. data/lib/wx/doc/gen/prt/preview_frame.rb +0 -78
  252. data/lib/wx/doc/gen/prt/print_abort_dialog.rb +0 -151
  253. data/lib/wx/doc/gen/prt/print_data.rb +0 -804
  254. data/lib/wx/doc/gen/prt/print_dialog.rb +0 -55
  255. data/lib/wx/doc/gen/prt/printer.rb +0 -518
  256. data/lib/wx/doc/gen/prt/printer_dc.rb +0 -37
  257. data/lib/wx/doc/gen/query_layout_info_event.rb +0 -106
  258. data/lib/wx/doc/gen/radio_box.rb +0 -306
  259. data/lib/wx/doc/gen/radio_button.rb +0 -159
  260. data/lib/wx/doc/gen/rbn/event_list.rb +0 -136
  261. data/lib/wx/doc/gen/rbn/ribbon_art_provider.rb +0 -1142
  262. data/lib/wx/doc/gen/rbn/ribbon_bar.rb +0 -308
  263. data/lib/wx/doc/gen/rbn/ribbon_bar_event.rb +0 -45
  264. data/lib/wx/doc/gen/rbn/ribbon_button_bar.rb +0 -458
  265. data/lib/wx/doc/gen/rbn/ribbon_button_bar_event.rb +0 -63
  266. data/lib/wx/doc/gen/rbn/ribbon_control.rb +0 -143
  267. data/lib/wx/doc/gen/rbn/ribbon_gallery.rb +0 -229
  268. data/lib/wx/doc/gen/rbn/ribbon_gallery_event.rb +0 -55
  269. data/lib/wx/doc/gen/rbn/ribbon_page.rb +0 -174
  270. data/lib/wx/doc/gen/rbn/ribbon_panel.rb +0 -270
  271. data/lib/wx/doc/gen/rbn/ribbon_panel_event.rb +0 -45
  272. data/lib/wx/doc/gen/rbn/ribbon_tool_bar.rb +0 -360
  273. data/lib/wx/doc/gen/rbn/ribbon_tool_bar_event.rb +0 -42
  274. data/lib/wx/doc/gen/rearrange_ctrl.rb +0 -78
  275. data/lib/wx/doc/gen/rearrange_list.rb +0 -123
  276. data/lib/wx/doc/gen/region.rb +0 -380
  277. data/lib/wx/doc/gen/region_iterator.rb +0 -76
  278. data/lib/wx/doc/gen/rich_tool_tip.rb +0 -154
  279. data/lib/wx/doc/gen/rt/event_list.rb +0 -17
  280. data/lib/wx/doc/gen/rt/shared_evt_handler.rb +0 -14
  281. data/lib/wx/doc/gen/rt/thread_event.rb +0 -71
  282. data/lib/wx/doc/gen/rtc/event_list.rb +0 -125
  283. data/lib/wx/doc/gen/rtc/rich_text_box.rb +0 -445
  284. data/lib/wx/doc/gen/rtc/rich_text_buffer.rb +0 -1188
  285. data/lib/wx/doc/gen/rtc/rich_text_buffer_data_object.rb +0 -41
  286. data/lib/wx/doc/gen/rtc/rich_text_composite_object.rb +0 -538
  287. data/lib/wx/doc/gen/rtc/rich_text_ctrl.rb +0 -2103
  288. data/lib/wx/doc/gen/rtc/rich_text_event.rb +0 -173
  289. data/lib/wx/doc/gen/rtc/rich_text_file_handler.rb +0 -181
  290. data/lib/wx/doc/gen/rtc/rich_text_formatting_dialog.rb +0 -319
  291. data/lib/wx/doc/gen/rtc/rich_text_header_footer_data.rb +0 -193
  292. data/lib/wx/doc/gen/rtc/rich_text_html_handler.rb +0 -102
  293. data/lib/wx/doc/gen/rtc/rich_text_image.rb +0 -337
  294. data/lib/wx/doc/gen/rtc/rich_text_object.rb +0 -2922
  295. data/lib/wx/doc/gen/rtc/rich_text_paragraph_layout_box.rb +0 -1240
  296. data/lib/wx/doc/gen/rtc/rich_text_printing.rb +0 -258
  297. data/lib/wx/doc/gen/rtc/rich_text_style_list_box.rb +0 -344
  298. data/lib/wx/doc/gen/rtc/rich_text_style_organiser_dialog.rb +0 -227
  299. data/lib/wx/doc/gen/rtc/rich_text_xml_handler.rb +0 -59
  300. data/lib/wx/doc/gen/rtc/symbol_picker_dialog.rb +0 -169
  301. data/lib/wx/doc/gen/sash_event.rb +0 -147
  302. data/lib/wx/doc/gen/sash_layout_window.rb +0 -232
  303. data/lib/wx/doc/gen/sash_window.rb +0 -171
  304. data/lib/wx/doc/gen/scaled_dc.rb +0 -10
  305. data/lib/wx/doc/gen/screen_dc.rb +0 -30
  306. data/lib/wx/doc/gen/scroll_bar.rb +0 -204
  307. data/lib/wx/doc/gen/scrolled_canvas.rb +0 -410
  308. data/lib/wx/doc/gen/scrolled_control.rb +0 -410
  309. data/lib/wx/doc/gen/scrolled_window.rb +0 -430
  310. data/lib/wx/doc/gen/search_ctrl.rb +0 -159
  311. data/lib/wx/doc/gen/secret_store.rb +0 -116
  312. data/lib/wx/doc/gen/simplebook.rb +0 -110
  313. data/lib/wx/doc/gen/single_choice_dialog.rb +0 -89
  314. data/lib/wx/doc/gen/sizer.rb +0 -945
  315. data/lib/wx/doc/gen/sizer_item.rb +0 -244
  316. data/lib/wx/doc/gen/slider.rb +0 -342
  317. data/lib/wx/doc/gen/spin_button.rb +0 -157
  318. data/lib/wx/doc/gen/spin_ctrl.rb +0 -231
  319. data/lib/wx/doc/gen/spin_ctrl_double.rb +0 -192
  320. data/lib/wx/doc/gen/spin_double_event.rb +0 -55
  321. data/lib/wx/doc/gen/spin_event.rb +0 -51
  322. data/lib/wx/doc/gen/splash_screen.rb +0 -113
  323. data/lib/wx/doc/gen/splitter_event.rb +0 -99
  324. data/lib/wx/doc/gen/splitter_window.rb +0 -498
  325. data/lib/wx/doc/gen/static_bitmap.rb +0 -256
  326. data/lib/wx/doc/gen/static_box.rb +0 -180
  327. data/lib/wx/doc/gen/static_box_sizer.rb +0 -85
  328. data/lib/wx/doc/gen/static_line.rb +0 -83
  329. data/lib/wx/doc/gen/static_text.rb +0 -127
  330. data/lib/wx/doc/gen/status_bar.rb +0 -290
  331. data/lib/wx/doc/gen/stc/event_list.rb +0 -221
  332. data/lib/wx/doc/gen/stc/styled_text_ctrl.rb +0 -4474
  333. data/lib/wx/doc/gen/stc/styled_text_event.rb +0 -8762
  334. data/lib/wx/doc/gen/std_dialog_button_sizer.rb +0 -129
  335. data/lib/wx/doc/gen/svg_file_dc.rb +0 -164
  336. data/lib/wx/doc/gen/system_options.rb +0 -129
  337. data/lib/wx/doc/gen/system_settings.rb +0 -507
  338. data/lib/wx/doc/gen/task_bar_icon.rb +0 -127
  339. data/lib/wx/doc/gen/task_bar_icon_event.rb +0 -88
  340. data/lib/wx/doc/gen/text_attr.rb +0 -756
  341. data/lib/wx/doc/gen/text_ctrl.rb +0 -1033
  342. data/lib/wx/doc/gen/text_entry.rb +0 -441
  343. data/lib/wx/doc/gen/text_entry_dialog.rb +0 -220
  344. data/lib/wx/doc/gen/text_validator.rb +0 -245
  345. data/lib/wx/doc/gen/time_picker_ctrl.rb +0 -128
  346. data/lib/wx/doc/gen/timer.rb +0 -119
  347. data/lib/wx/doc/gen/timer_event.rb +0 -68
  348. data/lib/wx/doc/gen/tip_provider.rb +0 -63
  349. data/lib/wx/doc/gen/tip_window.rb +0 -51
  350. data/lib/wx/doc/gen/toggle_button.rb +0 -182
  351. data/lib/wx/doc/gen/tool_bar.rb +0 -890
  352. data/lib/wx/doc/gen/tool_tip.rb +0 -86
  353. data/lib/wx/doc/gen/toolbook.rb +0 -118
  354. data/lib/wx/doc/gen/top_level_window.rb +0 -516
  355. data/lib/wx/doc/gen/tree_ctrl.rb +0 -1052
  356. data/lib/wx/doc/gen/tree_event.rb +0 -127
  357. data/lib/wx/doc/gen/treebook.rb +0 -180
  358. data/lib/wx/doc/gen/ui_action_simulator.rb +0 -109
  359. data/lib/wx/doc/gen/utils.rb +0 -273
  360. data/lib/wx/doc/gen/v_list_box.rb +0 -272
  361. data/lib/wx/doc/gen/v_scrolled_canvas.rb +0 -195
  362. data/lib/wx/doc/gen/v_scrolled_window.rb +0 -191
  363. data/lib/wx/doc/gen/validator.rb +0 -68
  364. data/lib/wx/doc/gen/variant.rb +0 -294
  365. data/lib/wx/doc/gen/web/event_list.rb +0 -95
  366. data/lib/wx/doc/gen/web/web_view.rb +0 -1136
  367. data/lib/wx/doc/gen/web/web_view_event.rb +0 -210
  368. data/lib/wx/doc/gen/web/web_view_handler.rb +0 -318
  369. data/lib/wx/doc/gen/window.rb +0 -2917
  370. data/lib/wx/doc/gen/window_dc.rb +0 -38
  371. data/lib/wx/doc/gen/window_disabler.rb +0 -30
  372. data/lib/wx/doc/gen/with_images.rb +0 -84
  373. data/lib/wx/doc/gen/wizard.rb +0 -257
  374. data/lib/wx/doc/gen/wizard_event.rb +0 -113
  375. data/lib/wx/doc/gen/wizard_page.rb +0 -65
  376. data/lib/wx/doc/gen/wizard_page_simple.rb +0 -88
  377. data/lib/wx/doc/gen/wrap_sizer.rb +0 -79
  378. data/lib/wx/doc/gen/xml_node.rb +0 -316
  379. data/lib/wx/doc/gen/xml_resource.rb +0 -320
  380. data/lib/wx/grid/events/evt_list.rb +0 -166
  381. data/lib/wx/html/events/evt_list.rb +0 -27
  382. data/lib/wx/pg/events/evt_list.rb +0 -73
  383. data/lib/wx/rbn/events/evt_list.rb +0 -102
  384. data/lib/wx/rt/events/evt_list.rb +0 -8
  385. data/lib/wx/rtc/events/evt_list.rb +0 -98
  386. data/lib/wx/rtc/ext/rich_text_ctrl.rb +0 -24
  387. data/lib/wx/stc/events/evt_list.rb +0 -178
  388. data/lib/wx/web/events/evt_list.rb +0 -74
  389. data/samples/art/wxruby-512x512.png +0 -0
  390. data/tests/assets/test.css +0 -1
  391. data/tests/assets/test.html +0 -9
@@ -1,750 +0,0 @@
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