fxruby 1.4.7 → 1.6.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.
- data/doc/apes02.html +6 -6
- data/doc/apes03.html +11 -11
- data/doc/book.html +1 -1
- data/doc/build.html +65 -67
- data/doc/ch03s02.html +7 -7
- data/doc/ch03s03.html +18 -18
- data/doc/ch03s04.html +11 -11
- data/doc/ch03s05.html +14 -14
- data/doc/ch04s02.html +14 -14
- data/doc/ch04s03.html +15 -15
- data/doc/ch04s04.html +28 -28
- data/doc/ch05s02.html +49 -49
- data/doc/ch05s03.html +8 -8
- data/doc/clipboardtut.html +45 -57
- data/doc/cvs.html +10 -10
- data/doc/differences.html +4 -4
- data/doc/dragdroptut.html +50 -50
- data/doc/events.html +11 -11
- data/doc/examples.html +48 -48
- data/doc/gems.html +38 -38
- data/doc/goals.html +4 -4
- data/doc/implementation.html +4 -4
- data/doc/infosources.html +9 -9
- data/doc/library.html +19 -19
- data/doc/opengl.html +31 -31
- data/doc/pt01.html +1 -1
- data/doc/pt02.html +1 -1
- data/doc/scintilla.html +15 -15
- data/doc/todo.html +6 -6
- data/doc/tutorial1.html +34 -34
- data/examples/babelfish.rb +1 -1
- data/examples/bounce.rb +1 -1
- data/examples/browser.rb +2 -2
- data/examples/button.rb +1 -1
- data/examples/datatarget.rb +2 -2
- data/examples/dctest.rb +12 -12
- data/examples/dialog.rb +1 -1
- data/examples/dilbert.rb +2 -2
- data/examples/dirlist.rb +1 -1
- data/examples/dragdrop.rb +1 -1
- data/examples/dragsource.rb +1 -1
- data/examples/dropsite.rb +1 -1
- data/examples/foursplit.rb +1 -1
- data/examples/gltest.rb +2 -2
- data/examples/glviewer.rb +4 -4
- data/examples/groupbox.rb +22 -22
- data/examples/header.rb +1 -1
- data/examples/hello.rb +1 -1
- data/examples/hello2.rb +1 -1
- data/examples/iconlist.rb +1 -1
- data/examples/image.rb +2 -2
- data/examples/imageviewer.rb +1 -1
- data/examples/inputs.rb +1 -1
- data/examples/mditest.rb +2 -2
- data/examples/pig.rb +1 -1
- data/examples/raabrowser.rb +2 -2
- data/examples/ratio.rb +2 -2
- data/examples/scintilla-test.rb +2 -2
- data/examples/scribble-orig.rb +3 -3
- data/examples/scribble.rb +1 -1
- data/examples/shutter.rb +1 -1
- data/examples/splitter.rb +36 -36
- data/examples/styledtext.rb +2 -2
- data/examples/tabbook.rb +1 -1
- data/examples/table.rb +1 -1
- data/examples/textedit/commands.rb +2 -2
- data/examples/textedit/helpwindow.rb +1 -1
- data/examples/textedit/prefdialog.rb +1 -1
- data/examples/textedit/textedit.rb +5 -3
- data/ext/{fox14 → fox16}/FXRbApp.cpp +1 -1
- data/ext/{fox14 → fox16}/FXRbDataTarget.cpp +1 -1
- data/ext/{fox14 → fox16}/FXRbGLViewer.cpp +1 -1
- data/ext/{fox14 → fox16}/FXRuby.cpp +137 -39
- data/ext/{fox14 → fox16}/MANIFEST +0 -0
- data/ext/{fox14 → fox16}/core_wrap.cpp +1177 -659
- data/ext/{fox14 → fox16}/dc_wrap.cpp +110 -3
- data/ext/{fox14 → fox16}/dialogs_wrap.cpp +381 -153
- data/ext/{fox14 → fox16}/extconf.rb +8 -8
- data/ext/{fox14 → fox16}/frames_wrap.cpp +1590 -1219
- data/ext/{fox14 → fox16}/fx3d_wrap.cpp +1060 -403
- data/ext/{fox14 → fox16}/iconlist_wrap.cpp +80 -25
- data/ext/{fox14 → fox16}/icons_wrap.cpp +296 -316
- data/ext/{fox14 → fox16}/image_wrap.cpp +267 -153
- data/ext/{fox14 → fox16}/impl.cpp +29 -0
- data/ext/{fox14 → fox16}/include/FXMemoryBuffer.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRb4Splitter.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRb7Segment.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbAccelTable.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbApp.h +3 -3
- data/ext/{fox14 → fox16}/include/FXRbAppVirtuals.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbArrowButton.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbBMPIcon.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbBMPImage.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbBitmap.h +23 -5
- data/ext/{fox14 → fox16}/include/FXRbBitmapFrame.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbBitmapView.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbBitmapVirtuals.h +12 -2
- data/ext/{fox14 → fox16}/include/FXRbButton.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbCURCursor.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbCanvas.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbCheckButton.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbChoiceBox.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbColorBar.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbColorDialog.h +1 -1
- data/ext/fox16/include/FXRbColorList.h +84 -0
- data/ext/fox16/include/FXRbColorRing.h +51 -0
- data/ext/{fox14 → fox16}/include/FXRbColorSelector.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbColorWell.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbColorWheel.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbComboBox.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbCommon.h +4 -1
- data/ext/{fox14 → fox16}/include/FXRbComposite.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbCursor.h +5 -5
- data/ext/{fox14 → fox16}/include/FXRbCursorVirtuals.h +2 -2
- data/ext/{fox14 → fox16}/include/FXRbDC.h +18 -0
- data/ext/{fox14 → fox16}/include/FXRbDCPrint.h +0 -0
- data/ext/{fox14 → fox16}/include/FXRbDCVirtuals.h +9 -0
- data/ext/{fox14 → fox16}/include/FXRbDCWindow.h +0 -0
- data/ext/{fox14 → fox16}/include/FXRbDataTarget.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbDebugTarget.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbDelegator.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbDial.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbDialogBox.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbDialogBoxVirtuals.h +0 -0
- data/ext/{fox14 → fox16}/include/FXRbDict.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbDirBox.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbDirDialog.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbDirList.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbDirSelector.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbDockBar.h +13 -13
- data/ext/{fox14 → fox16}/include/FXRbDockBarVirtuals.h +3 -3
- data/ext/{fox14 → fox16}/include/FXRbDockHandler.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbDockSite.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbDockSiteVirtuals.h +0 -0
- data/ext/{fox14 → fox16}/include/FXRbDockTitle.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbDocument.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbDragCorner.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbDrawable.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbDrawableVirtuals.h +0 -0
- data/ext/{fox14 → fox16}/include/FXRbDriveBox.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbFileDialog.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbFileDict.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbFileDictVirtuals.h +0 -0
- data/ext/{fox14 → fox16}/include/FXRbFileList.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbFileSelector.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbFoldingItemVirtuals.h +0 -0
- data/ext/{fox14 → fox16}/include/FXRbFoldingList.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbFoldingListVirtuals.h +0 -0
- data/ext/fox16/include/FXRbFont.h +183 -0
- data/ext/{fox14 → fox16}/include/FXRbFontDialog.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbFontSelector.h +1 -1
- data/ext/fox16/include/FXRbFontVirtuals.h +55 -0
- data/ext/{fox14 → fox16}/include/FXRbFrame.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbGIFCursor.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbGIFIcon.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbGIFImage.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbGLCanvas.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbGLCanvasVirtuals.h +0 -0
- data/ext/{fox14 → fox16}/include/FXRbGLContext.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbGLObject.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbGLObjectVirtuals.h +0 -0
- data/ext/{fox14 → fox16}/include/FXRbGLShape.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbGLShapeVirtuals.h +0 -0
- data/ext/{fox14 → fox16}/include/FXRbGLViewer.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbGLViewerVirtuals.h +0 -0
- data/ext/{fox14 → fox16}/include/FXRbGLVisual.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbGradientBar.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbGroupBox.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbHeader.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbHeaderItemVirtuals.h +0 -0
- data/ext/{fox14 → fox16}/include/FXRbHorizontalFrame.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbICOIcon.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbICOImage.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbIcon.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbIconItemVirtuals.h +0 -0
- data/ext/{fox14 → fox16}/include/FXRbIconList.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbIconListVirtuals.h +0 -0
- data/ext/fox16/include/FXRbIconSource.h +127 -0
- data/ext/fox16/include/FXRbIconSourceVirtuals.h +37 -0
- data/ext/{fox14 → fox16}/include/FXRbId.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbIdVirtuals.h +0 -0
- data/ext/{fox14 → fox16}/include/FXRbImage.h +7 -7
- data/ext/{fox14 → fox16}/include/FXRbImageFrame.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbImageView.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbImageVirtuals.h +3 -3
- data/ext/{fox14 → fox16}/include/FXRbInputDialog.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbJPGIcon.h +2 -2
- data/ext/{fox14 → fox16}/include/FXRbJPGImage.h +2 -2
- data/ext/fox16/include/FXRbKnob.h +51 -0
- data/ext/{fox14 → fox16}/include/FXRbLabel.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbList.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbListBox.h +5 -5
- data/ext/{fox14 → fox16}/include/FXRbListBoxVirtuals.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbListItemVirtuals.h +0 -0
- data/ext/{fox14 → fox16}/include/FXRbListVirtuals.h +0 -0
- data/ext/{fox14 → fox16}/include/FXRbMDIButton.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbMDIChild.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbMDIChildVirtuals.h +0 -0
- data/ext/{fox14 → fox16}/include/FXRbMDIClient.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbMDIClientVirtuals.h +0 -0
- data/ext/{fox14 → fox16}/include/FXRbMainWindow.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbMatrix.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbMenuBar.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbMenuButton.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbMenuCaption.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbMenuCascade.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbMenuCheck.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbMenuCommand.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbMenuPane.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbMenuRadio.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbMenuSeparator.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbMenuTitle.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbMessageBox.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbObject.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbObjectVirtuals.h +0 -0
- data/ext/{fox14 → fox16}/include/FXRbOptionMenu.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbPCXIcon.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbPCXImage.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbPNGIcon.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbPNGImage.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbPPMIcon.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbPPMImage.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbPacker.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbPicker.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbPopup.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbPopupVirtuals.h +0 -0
- data/ext/{fox14 → fox16}/include/FXRbPrintDialog.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbProgressBar.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbProgressDialog.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbRGBIcon.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbRGBImage.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbRadioButton.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbRealSlider.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbRealSpinner.h +5 -5
- data/ext/fox16/include/FXRbRealSpinnerVirtuals.h +3 -0
- data/ext/{fox14 → fox16}/include/FXRbRecentFiles.h +6 -3
- data/ext/{fox14 → fox16}/include/FXRbRegistry.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbReplaceDialog.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbRootWindow.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbRuler.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbScintilla.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbScrollArea.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbScrollAreaVirtuals.h +0 -0
- data/ext/{fox14 → fox16}/include/FXRbScrollBar.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbScrollPane.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbScrollWindow.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbSearchDialog.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbSeparator.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbSettings.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbShell.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbShutter.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbShutterVirtuals.h +0 -0
- data/ext/{fox14 → fox16}/include/FXRbSlider.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbSpinner.h +5 -5
- data/ext/{fox14 → fox16}/include/FXRbSpinnerVirtuals.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbSplashWindow.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbSplitter.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbSpring.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbStatusBar.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbStatusLine.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbStream.h +7 -7
- data/ext/{fox14 → fox16}/include/FXRbStreamVirtuals.h +3 -3
- data/ext/{fox14 → fox16}/include/FXRbStringDict.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbSwitcher.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbTGAIcon.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbTGAImage.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbTIFIcon.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbTIFImage.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbTabBar.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbTabBarVirtuals.h +0 -0
- data/ext/{fox14 → fox16}/include/FXRbTabBook.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbTabItem.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbTable.h +9 -3
- data/ext/{fox14 → fox16}/include/FXRbTableItemVirtuals.h +0 -0
- data/ext/{fox14 → fox16}/include/FXRbTableVirtuals.h +3 -0
- data/ext/fox16/include/FXRbText.h +187 -0
- data/ext/{fox14 → fox16}/include/FXRbTextField.h +1 -1
- data/ext/fox16/include/FXRbTextVirtuals.h +52 -0
- data/ext/{fox14 → fox16}/include/FXRbToggleButton.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbToolBar.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbToolBarGrip.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbToolBarShell.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbToolBarTab.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbToolTip.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbTopWindow.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbTopWindowVirtuals.h +0 -0
- data/ext/fox16/include/FXRbTranslator.h +61 -0
- data/ext/fox16/include/FXRbTranslatorVirtuals.h +4 -0
- data/ext/{fox14 → fox16}/include/FXRbTreeItemVirtuals.h +0 -0
- data/ext/{fox14 → fox16}/include/FXRbTreeList.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbTreeListBox.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbTreeListBoxVirtuals.h +0 -0
- data/ext/{fox14 → fox16}/include/FXRbTreeListVirtuals.h +0 -0
- data/ext/{fox14 → fox16}/include/FXRbTriStateButton.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbVerticalFrame.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbVisual.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbWindow.h +27 -9
- data/ext/{fox14 → fox16}/include/FXRbWindowVirtuals.h +13 -4
- data/ext/{fox14 → fox16}/include/FXRbWizard.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbXBMIcon.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbXBMImage.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbXPMIcon.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRbXPMImage.h +1 -1
- data/ext/{fox14 → fox16}/include/FXRuby.h +43 -18
- data/ext/{fox14 → fox16}/include/impl.h +5 -0
- data/ext/{fox14 → fox16}/include/inlinestubs.h +29 -0
- data/ext/{fox14 → fox16}/label_wrap.cpp +319 -122
- data/ext/{fox14 → fox16}/layout_wrap.cpp +443 -153
- data/ext/{fox14 → fox16}/librb.c +0 -0
- data/ext/{fox14 → fox16}/list_wrap.cpp +660 -44
- data/ext/{fox14 → fox16}/markfuncs.cpp +38 -8
- data/ext/{fox14 → fox16}/mdi_wrap.cpp +253 -109
- data/ext/{fox14 → fox16}/menu_wrap.cpp +342 -146
- data/ext/{fox14 → fox16}/scintilla_wrap.cpp +58 -39
- data/ext/{fox14 → fox16}/table_wrap.cpp +294 -82
- data/ext/{fox14 → fox16}/text_wrap.cpp +203 -193
- data/ext/{fox14 → fox16}/treelist_wrap.cpp +125 -60
- data/ext/{fox14 → fox16}/ui_wrap.cpp +993 -714
- data/ext/{fox14 → fox16}/unregisterOwnedObjects.cpp +6 -1
- data/lib/{fox14 → fox16}/aliases.rb +119 -46
- data/lib/{fox14 → fox16}/calendar.rb +2 -2
- data/lib/{fox14 → fox16}/chore.rb +6 -22
- data/lib/{fox14 → fox16}/colors.rb +1 -1
- data/lib/{fox14 → fox16}/core.rb +122 -4
- data/lib/{fox14 → fox16}/dict.rb +0 -0
- data/lib/{fox14 → fox16}/execute_nonmodal.rb +0 -0
- data/lib/{fox14 → fox16}/glgroup.rb +4 -2
- data/lib/{fox14 → fox16}/glshapes.rb +1 -1
- data/lib/{fox14 → fox16}/input.rb +1 -1
- data/lib/{fox14 → fox16}/irb.rb +1 -1
- data/lib/{fox14 → fox16}/iterators.rb +1 -1
- data/lib/{fox14 → fox16}/keys.rb +2 -2
- data/lib/{fox14 → fox16}/missingdep.rb +1 -1
- data/lib/{fox14 → fox16}/pseudokeyboard.rb +1 -1
- data/lib/{fox14 → fox16}/pseudomouse.rb +1 -1
- data/lib/{fox14 → fox16}/responder.rb +1 -1
- data/lib/{fox14 → fox16}/responder2.rb +5 -5
- data/lib/{fox14 → fox16}/scintilla.rb +249 -12
- data/lib/{fox14 → fox16}/settings.rb +0 -0
- data/lib/{fox14 → fox16}/signal.rb +1 -1
- data/lib/{fox14 → fox16}/splashscreen.rb +2 -2
- data/lib/{fox14 → fox16}/timeout.rb +10 -37
- data/lib/{fox14 → fox16}/undolist.rb +2 -2
- data/lib/{fox14 → fox16}/version.rb +2 -2
- data/rdoc-sources/FX4Splitter.rb +24 -6
- data/rdoc-sources/FX7Segment.rb +6 -0
- data/rdoc-sources/FXAccelTable.rb +35 -0
- data/rdoc-sources/FXApp.rb +113 -1
- data/rdoc-sources/FXBMPIcon.rb +5 -0
- data/rdoc-sources/FXBMPImage.rb +5 -0
- data/rdoc-sources/FXBitmap.rb +23 -1
- data/rdoc-sources/FXCheckButton.rb +7 -0
- data/rdoc-sources/FXColorList.rb +55 -0
- data/rdoc-sources/FXColorRing.rb +49 -0
- data/rdoc-sources/FXColorWheel.rb +22 -2
- data/rdoc-sources/FXComboBox.rb +10 -0
- data/rdoc-sources/FXDC.rb +18 -0
- data/rdoc-sources/FXDial.rb +34 -1
- data/rdoc-sources/FXDirList.rb +1 -0
- data/rdoc-sources/FXDockBar.rb +21 -6
- data/rdoc-sources/FXDockHandler.rb +7 -0
- data/rdoc-sources/FXDockSite.rb +18 -0
- data/rdoc-sources/FXExtentd.rb +85 -0
- data/rdoc-sources/FXExtentf.rb +85 -0
- data/rdoc-sources/FXFileDialog.rb +11 -0
- data/rdoc-sources/FXFileDict.rb +7 -7
- data/rdoc-sources/FXFileList.rb +22 -0
- data/rdoc-sources/FXFileSelector.rb +10 -0
- data/rdoc-sources/FXFoldingList.rb +13 -2
- data/rdoc-sources/FXFont.rb +68 -62
- data/rdoc-sources/FXGIFIcon.rb +5 -0
- data/rdoc-sources/FXGIFImage.rb +5 -0
- data/rdoc-sources/FXGLViewer.rb +23 -0
- data/rdoc-sources/FXGradientBar.rb +10 -0
- data/rdoc-sources/FXHeader.rb +11 -0
- data/rdoc-sources/FXICOIcon.rb +5 -0
- data/rdoc-sources/FXICOImage.rb +5 -0
- data/rdoc-sources/FXIconList.rb +8 -0
- data/rdoc-sources/FXIconSource.rb +12 -12
- data/rdoc-sources/FXImage.rb +0 -4
- data/rdoc-sources/FXInputDialog.rb +19 -6
- data/rdoc-sources/FXJPGIcon.rb +5 -0
- data/rdoc-sources/FXJPGImage.rb +5 -0
- data/rdoc-sources/FXKnob.rb +76 -0
- data/rdoc-sources/FXList.rb +8 -0
- data/rdoc-sources/FXListBox.rb +7 -1
- data/rdoc-sources/FXMenuCaption.rb +3 -0
- data/rdoc-sources/FXMenuCheck.rb +2 -2
- data/rdoc-sources/FXMenuCommand.rb +1 -2
- data/rdoc-sources/FXMenuRadio.rb +5 -2
- data/rdoc-sources/FXOptionMenu.rb +7 -0
- data/rdoc-sources/FXPCXIcon.rb +5 -0
- data/rdoc-sources/FXPCXImage.rb +5 -0
- data/rdoc-sources/FXPNGIcon.rb +5 -0
- data/rdoc-sources/FXPNGImage.rb +5 -0
- data/rdoc-sources/FXPPMIcon.rb +5 -0
- data/rdoc-sources/FXPPMImage.rb +5 -0
- data/rdoc-sources/FXQuatd.rb +5 -12
- data/rdoc-sources/FXQuatf.rb +5 -7
- data/rdoc-sources/FXRGBIcon.rb +5 -0
- data/rdoc-sources/FXRGBImage.rb +5 -0
- data/rdoc-sources/FXRadioButton.rb +6 -0
- data/rdoc-sources/FXRanged.rb +3 -0
- data/rdoc-sources/FXRangef.rb +3 -0
- data/rdoc-sources/FXRealSlider.rb +3 -1
- data/rdoc-sources/FXRealSpinner.rb +11 -4
- data/rdoc-sources/FXRecentFiles.rb +10 -6
- data/rdoc-sources/FXRectangle.rb +12 -0
- data/rdoc-sources/FXRuler.rb +28 -0
- data/rdoc-sources/FXScrollBar.rb +9 -3
- data/rdoc-sources/FXScrollPane.rb +3 -0
- data/rdoc-sources/FXSettings.rb +26 -0
- data/rdoc-sources/FXSize.rb +65 -0
- data/rdoc-sources/FXSlider.rb +2 -0
- data/rdoc-sources/FXSphered.rb +12 -0
- data/rdoc-sources/FXSpheref.rb +12 -0
- data/rdoc-sources/FXSpinner.rb +8 -4
- data/rdoc-sources/FXTGAIcon.rb +5 -0
- data/rdoc-sources/FXTGAImage.rb +5 -0
- data/rdoc-sources/FXTIFIcon.rb +5 -0
- data/rdoc-sources/FXTIFImage.rb +5 -0
- data/rdoc-sources/FXTabBar.rb +5 -1
- data/rdoc-sources/FXTabBook.rb +3 -0
- data/rdoc-sources/FXTabItem.rb +7 -0
- data/rdoc-sources/FXTable.rb +96 -18
- data/rdoc-sources/FXText.rb +47 -12
- data/rdoc-sources/FXTextField.rb +6 -0
- data/rdoc-sources/FXToggleButton.rb +0 -1
- data/rdoc-sources/FXTopWindow.rb +44 -2
- data/rdoc-sources/FXTranslator.rb +32 -0
- data/rdoc-sources/FXTreeList.rb +8 -0
- data/rdoc-sources/FXTreeListBox.rb +20 -0
- data/rdoc-sources/{FXVec.rb → FXVec2d.rb} +28 -29
- data/rdoc-sources/FXVec2f.rb +96 -0
- data/rdoc-sources/FXVec3d.rb +113 -0
- data/rdoc-sources/FXVec3f.rb +113 -0
- data/rdoc-sources/FXVec4d.rb +129 -0
- data/rdoc-sources/FXVec4f.rb +129 -0
- data/rdoc-sources/FXWindow.rb +89 -14
- data/rdoc-sources/FXXBMIcon.rb +5 -0
- data/rdoc-sources/FXXBMImage.rb +5 -0
- data/rdoc-sources/FXXPMIcon.rb +5 -0
- data/rdoc-sources/FXXPMImage.rb +5 -0
- data/rdoc-sources/README.rdoc +1 -1
- data/tests/TC_FXAccelTable.rb +1 -1
- data/tests/TC_FXApp.rb +1 -1
- data/tests/TC_FXArc.rb +1 -1
- data/tests/TC_FXBMPIcon.rb +1 -1
- data/tests/TC_FXBMPImage.rb +1 -1
- data/tests/TC_FXButton.rb +1 -1
- data/tests/TC_FXCheckButton.rb +1 -1
- data/tests/TC_FXComboBox.rb +2 -1
- data/tests/TC_FXDC.rb +1 -1
- data/tests/TC_FXDCPrint.rb +1 -1
- data/tests/TC_FXDCWindow.rb +1 -1
- data/tests/TC_FXDataTarget.rb +1 -1
- data/tests/TC_FXDirList.rb +2 -2
- data/tests/TC_FXFileAssoc.rb +1 -1
- data/tests/TC_FXFileStream.rb +1 -1
- data/tests/TC_FXFont.rb +2 -2
- data/tests/TC_FXFontDesc.rb +15 -19
- data/tests/TC_FXGLGroup.rb +1 -1
- data/tests/TC_FXGLShape.rb +1 -1
- data/tests/TC_FXGLViewer.rb +1 -3
- data/tests/TC_FXGradientBar.rb +1 -1
- data/tests/TC_FXHeader.rb +2 -2
- data/tests/TC_FXIconDict.rb +1 -1
- data/tests/TC_FXIconList.rb +2 -2
- data/tests/TC_FXId.rb +2 -2
- data/tests/TC_FXImage.rb +1 -1
- data/tests/TC_FXLight.rb +1 -1
- data/tests/TC_FXList.rb +2 -12
- data/tests/TC_FXListBox.rb +2 -2
- data/tests/TC_FXMat4f.rb +1 -1
- data/tests/TC_FXMaterial.rb +2 -2
- data/tests/TC_FXMemoryStream.rb +1 -1
- data/tests/TC_FXMenuCheck.rb +1 -1
- data/tests/TC_FXMenuCommand.rb +15 -1
- data/tests/TC_FXMenuRadio.rb +1 -1
- data/tests/TC_FXPoint.rb +1 -1
- data/tests/TC_FXQuatf.rb +1 -1
- data/tests/TC_FXRadioButton.rb +1 -1
- data/tests/TC_FXRangef.rb +1 -1
- data/tests/TC_FXRectangle.rb +1 -1
- data/tests/TC_FXRegion.rb +1 -1
- data/tests/TC_FXRegistry.rb +1 -1
- data/tests/TC_FXScrollArea.rb +1 -1
- data/tests/TC_FXScrollWindow.rb +1 -1
- data/tests/TC_FXSegment.rb +1 -1
- data/tests/TC_FXSettings.rb +1 -1
- data/tests/TC_FXShell.rb +1 -1
- data/tests/TC_FXSize.rb +1 -1
- data/tests/TC_FXStream.rb +1 -1
- data/tests/TC_FXTable.rb +33 -1
- data/tests/TC_FXTableItem.rb +2 -2
- data/tests/TC_FXText.rb +2 -2
- data/tests/TC_FXTopWindow.rb +1 -1
- data/tests/TC_FXTreeList.rb +2 -2
- data/tests/TC_FXTreeListBox.rb +2 -2
- data/tests/TC_FXUndoList.rb +2 -2
- data/tests/TC_FXVec2d.rb +6 -6
- data/tests/TC_FXVec2f.rb +5 -5
- data/tests/TC_FXVec3d.rb +5 -5
- data/tests/TC_FXVec3f.rb +5 -5
- data/tests/TC_FXVec4f.rb +3 -3
- data/tests/TC_FXViewport.rb +1 -1
- data/tests/TC_FXXBMIcon.rb +1 -1
- data/tests/TC_FXXBMImage.rb +1 -1
- data/tests/TC_FXXPMIcon.rb +1 -1
- data/tests/TC_FXXPMImage.rb +1 -1
- data/tests/TC_Misc.rb +1 -1
- data/tests/TC_downcast.rb +1 -1
- data/tests/TS_All.rb +1 -2
- data/tests/stress1.rb +5 -5
- data/tests/stress2.rb +1 -1
- data/tests/stress3.rb +1 -1
- data/tests/testcase.rb +1 -1
- metadata +294 -280
- data/doc/changes.html +0 -433
- data/ext/fox14/include/FXRbFont.h +0 -70
- data/ext/fox14/include/FXRbIconSource.h +0 -127
- data/ext/fox14/include/FXRbIconSourceVirtuals.h +0 -37
- data/ext/fox14/include/FXRbRealSpinnerVirtuals.h +0 -3
- data/ext/fox14/include/FXRbText.h +0 -94
- data/ext/fox14/include/FXRbTextVirtuals.h +0 -9
- data/rdoc-sources/FXMat4.rb +0 -171
- data/rdoc-sources/FXVec4.rb +0 -91
|
@@ -547,17 +547,19 @@ SWIGIMPORT(void) SWIG_Ruby_ConvertPacked(VALUE obj, void *ptr, int sz, swig_ty
|
|
|
547
547
|
#define SWIGTYPE_p_FXMaterial swig_types[28]
|
|
548
548
|
#define SWIGTYPE_p_FXdouble swig_types[29]
|
|
549
549
|
#define SWIGTYPE_p_FXQuatf swig_types[30]
|
|
550
|
-
#define
|
|
551
|
-
#define
|
|
552
|
-
#define
|
|
553
|
-
#define
|
|
554
|
-
#define
|
|
555
|
-
#define
|
|
556
|
-
#define
|
|
557
|
-
#define
|
|
558
|
-
#define
|
|
559
|
-
#define
|
|
560
|
-
|
|
550
|
+
#define SWIGTYPE_p_FXExtentd swig_types[31]
|
|
551
|
+
#define SWIGTYPE_p_FXGLShape swig_types[32]
|
|
552
|
+
#define SWIGTYPE_p_FXDrawable swig_types[33]
|
|
553
|
+
#define SWIGTYPE_p_FXExtentf swig_types[34]
|
|
554
|
+
#define SWIGTYPE_p_FXStream swig_types[35]
|
|
555
|
+
#define SWIGTYPE_p_FXApp swig_types[36]
|
|
556
|
+
#define SWIGTYPE_p_FXLight swig_types[37]
|
|
557
|
+
#define SWIGTYPE_p_FXRegion swig_types[38]
|
|
558
|
+
#define SWIGTYPE_p_FXFont swig_types[39]
|
|
559
|
+
#define SWIGTYPE_p_FXGLVisual swig_types[40]
|
|
560
|
+
#define SWIGTYPE_p_FXVisual swig_types[41]
|
|
561
|
+
#define SWIGTYPE_p_FXuint swig_types[42]
|
|
562
|
+
static swig_type_info *swig_types[44];
|
|
561
563
|
|
|
562
564
|
/* -------- TYPES TABLE (END) -------- */
|
|
563
565
|
|
|
@@ -640,8 +642,6 @@ FXVec2f FXVec2f_operator_Sd_(FXVec2f const *self,FXfloat n){
|
|
|
640
642
|
FXfloat FXVec2f_operator_Sm___SWIG_1(FXVec2f const *self,FXVec2f const &other){ return (*self)*other; }
|
|
641
643
|
FXfloat FXVec2f_dot(FXVec2f const *self,FXVec2f const &other){ return (*self)*other; }
|
|
642
644
|
bool FXVec2f_operator_Se__Se_(FXVec2f const *self,FXVec2f const &other){ return (*self)==other; }
|
|
643
|
-
FXfloat FXVec2f_len2(FXVec2f const *self){ return len2(*self); }
|
|
644
|
-
FXfloat FXVec2f_len(FXVec2f const *self){ return len(*self); }
|
|
645
645
|
FXVec2f FXVec2f_normalize(FXVec2f const *self){ return normalize(*self); }
|
|
646
646
|
FXVec2f FXVec2f_lo(FXVec2f const *self,FXVec2f const &other){ return lo(*self,other); }
|
|
647
647
|
FXVec2f FXVec2f_hi(FXVec2f const *self,FXVec2f const &other){ return hi(*self,other); }
|
|
@@ -667,8 +667,6 @@ FXVec2d FXVec2d_operator_Sd_(FXVec2d const *self,FXdouble n){
|
|
|
667
667
|
FXdouble FXVec2d_operator_Sm___SWIG_1(FXVec2d const *self,FXVec2d const &other){ return (*self)*other; }
|
|
668
668
|
FXdouble FXVec2d_dot(FXVec2d const *self,FXVec2d const &other){ return (*self)*other; }
|
|
669
669
|
bool FXVec2d_operator_Se__Se_(FXVec2d const *self,FXVec2d const &other){ return (*self)==other; }
|
|
670
|
-
FXdouble FXVec2d_len2(FXVec2d const *self){ return len2(*self); }
|
|
671
|
-
FXdouble FXVec2d_len(FXVec2d const *self){ return len(*self); }
|
|
672
670
|
FXVec2d FXVec2d_normalize(FXVec2d const *self){ return normalize(*self); }
|
|
673
671
|
FXVec2d FXVec2d_lo(FXVec2d const *self,FXVec2d const &other){ return lo(*self,other); }
|
|
674
672
|
FXVec2d FXVec2d_hi(FXVec2d const *self,FXVec2d const &other){ return hi(*self,other); }
|
|
@@ -696,8 +694,6 @@ FXfloat FXVec3f_dot(FXVec3f const *self,FXVec3f const &other){ return (*self)*ot
|
|
|
696
694
|
FXVec3f FXVec3f_operator_Sx_(FXVec3f const *self,FXVec3f const &other){ return (*self)^other; }
|
|
697
695
|
FXVec3f FXVec3f_cross(FXVec3f const *self,FXVec3f const &other){ return (*self)^other; }
|
|
698
696
|
bool FXVec3f_operator_Se__Se_(FXVec3f const *self,FXVec3f const &other){ return (*self)==other; }
|
|
699
|
-
FXfloat FXVec3f_len2(FXVec3f const *self){ return len2(*self); }
|
|
700
|
-
FXfloat FXVec3f_len(FXVec3f const *self){ return len(*self); }
|
|
701
697
|
FXVec3f FXVec3f_normalize(FXVec3f const *self){ return normalize(*self); }
|
|
702
698
|
FXVec3f FXVec3f_lo(FXVec3f const *self,FXVec3f const &other){ return lo(*self,other); }
|
|
703
699
|
FXVec3f FXVec3f_hi(FXVec3f const *self,FXVec3f const &other){ return hi(*self,other); }
|
|
@@ -731,8 +727,6 @@ FXdouble FXVec3d_dot(FXVec3d const *self,FXVec3d const &other){ return (*self)*o
|
|
|
731
727
|
FXVec3d FXVec3d_operator_Sx_(FXVec3d const *self,FXVec3d const &other){ return (*self)^other; }
|
|
732
728
|
FXVec3d FXVec3d_cross(FXVec3d const *self,FXVec3d const &other){ return (*self)^other; }
|
|
733
729
|
bool FXVec3d_operator_Se__Se_(FXVec3d const *self,FXVec3d const &other){ return (*self)==other; }
|
|
734
|
-
FXdouble FXVec3d_len2(FXVec3d const *self){ return len2(*self); }
|
|
735
|
-
FXdouble FXVec3d_len(FXVec3d const *self){ return len(*self); }
|
|
736
730
|
FXVec3d FXVec3d_normalize(FXVec3d const *self){ return normalize(*self); }
|
|
737
731
|
FXVec3d FXVec3d_lo(FXVec3d const *self,FXVec3d const &other){ return lo(*self,other); }
|
|
738
732
|
FXVec3d FXVec3d_hi(FXVec3d const *self,FXVec3d const &other){ return hi(*self,other); }
|
|
@@ -765,8 +759,6 @@ FXfloat FXVec4f_operator_Sm___SWIG_1(FXVec4f const *self,FXVec4f const &a){ retu
|
|
|
765
759
|
FXfloat FXVec4f_dot(FXVec4f const *self,FXVec4f const &a){ return (*self)*a; }
|
|
766
760
|
bool FXVec4f_operator_Se__Se___SWIG_0(FXVec4f const *self,FXVec4f const &b){ return (*self == b); }
|
|
767
761
|
bool FXVec4f_operator_Se__Se___SWIG_1(FXVec4f const *self,FXfloat n){ return (*self == n); }
|
|
768
|
-
FXfloat FXVec4f_len(FXVec4f const *self){ return len(*self); }
|
|
769
|
-
FXfloat FXVec4f_len2(FXVec4f const *self){ return len2(*self); }
|
|
770
762
|
FXVec4f FXVec4f_normalize(FXVec4f const *self){ return normalize(*self); }
|
|
771
763
|
FXVec4f FXVec4f_lo(FXVec4f const *self,FXVec4f const &other){ return lo(*self,other); }
|
|
772
764
|
FXVec4f FXVec4f_hi(FXVec4f const *self,FXVec4f const &other){ return hi(*self,other); }
|
|
@@ -774,8 +766,6 @@ FXVec4f FXVec4f_plane(FXVec4f const &vec){ return FX::plane(vec); }
|
|
|
774
766
|
FXVec4f FXVec4f_plane(FXVec3f const &vec,FXfloat dist){ return FX::plane(vec,dist); }
|
|
775
767
|
FXVec4f FXVec4f_plane(FXVec3f const &vec,FXVec3f const &p){ return FX::plane(vec,p); }
|
|
776
768
|
FXVec4f FXVec4f_plane(FXVec3f const &a,FXVec3f const &b,FXVec3f const &c){ return FX::plane(a,b,c); }
|
|
777
|
-
FXfloat FXVec4f_distance(FXVec4f const &plane,FXVec3f const &p){ return FX::distance(plane,p); }
|
|
778
|
-
FXbool FXVec4f_crosses(FXVec4f const &plane,FXVec3f const &a,FXVec3f const &b){ return FX::crosses(plane,a,b); }
|
|
779
769
|
|
|
780
770
|
swig_class cFXVec4f;
|
|
781
771
|
FXdouble FXVec4d___getitem__(FXVec4d const *self,FXint i){
|
|
@@ -798,8 +788,6 @@ FXVec4d FXVec4d_operator_Sd_(FXVec4d const *self,FXdouble n){
|
|
|
798
788
|
FXdouble FXVec4d_operator_Sm___SWIG_1(FXVec4d const *self,FXVec4d const &other){ return (*self)*other; }
|
|
799
789
|
FXdouble FXVec4d_dot(FXVec4d const *self,FXVec4d const &other){ return (*self)*other; }
|
|
800
790
|
bool FXVec4d_operator_Se__Se_(FXVec4d const *self,FXVec4d const &other){ return (*self)==other; }
|
|
801
|
-
FXdouble FXVec4d_len2(FXVec4d const *self){ return len2(*self); }
|
|
802
|
-
FXdouble FXVec4d_len(FXVec4d const *self){ return len(*self); }
|
|
803
791
|
FXVec4d FXVec4d_normalize(FXVec4d const *self){ return normalize(*self); }
|
|
804
792
|
FXVec4d FXVec4d_lo(FXVec4d const *self,FXVec4d const &other){ return lo(*self,other); }
|
|
805
793
|
FXVec4d FXVec4d_hi(FXVec4d const *self,FXVec4d const &other){ return hi(*self,other); }
|
|
@@ -807,8 +795,6 @@ FXVec4d FXVec4d_plane(FXVec4d const &vec){ return FX::plane(vec); }
|
|
|
807
795
|
FXVec4d FXVec4d_plane(FXVec3d const &vec,FXdouble dist){ return FX::plane(vec,dist); }
|
|
808
796
|
FXVec4d FXVec4d_plane(FXVec3d const &vec,FXVec3d const &p){ return FX::plane(vec,p); }
|
|
809
797
|
FXVec4d FXVec4d_plane(FXVec3d const &a,FXVec3d const &b,FXVec3d const &c){ return FX::plane(a,b,c); }
|
|
810
|
-
FXdouble FXVec4d_distance(FXVec4d const &plane,FXVec3d const &p){ return FX::distance(plane,p); }
|
|
811
|
-
FXbool FXVec4d_crosses(FXVec4d const &plane,FXVec3d const &a,FXVec3d const &b){ return FX::crosses(plane,a,b); }
|
|
812
798
|
|
|
813
799
|
swig_class cFXVec4d;
|
|
814
800
|
VALUE FXQuatf_getAxisAngle(FXQuatf const *self){
|
|
@@ -827,19 +813,10 @@ VALUE FXQuatf_getAxes(FXQuatf const *self){
|
|
|
827
813
|
self->getAxes(ex,ey,ez);
|
|
828
814
|
return rb_ary_new3(3,Qnil,Qnil,Qnil); // FIXME
|
|
829
815
|
}
|
|
830
|
-
FXQuatf FXQuatf_exp(FXQuatf const *self){ return exp(*self); }
|
|
831
|
-
FXQuatf FXQuatf_log(FXQuatf const *self){ return log(*self); }
|
|
832
|
-
FXQuatf FXQuatf_invert(FXQuatf const *self){ return invert(*self); }
|
|
833
|
-
FXQuatf FXQuatf_unitinvert(FXQuatf const *self){ return unitinvert(*self); }
|
|
834
|
-
FXQuatf FXQuatf_conj(FXQuatf const *self){ return conj(*self); }
|
|
835
816
|
FXQuatf FXQuatf_operator_Sm___SWIG_0(FXQuatf const *self,FXQuatf const &other){ return (*self)*other; }
|
|
836
817
|
FXVec3f FXQuatf_operator_Sm___SWIG_1(FXQuatf const *self,FXVec3f const &vec){ return (*self)*vec; }
|
|
837
|
-
FXQuatf FXQuatf_arc(FXVec3f const &a,FXVec3f const &b){ return arc(a,b); }
|
|
838
|
-
FXQuatf FXQuatf_lerp(FXQuatf const &u,FXQuatf const &v,FXfloat f){ return lerp(u,v,f); }
|
|
839
|
-
FXMat3f FXQuatf_toMatrix(FXQuatf const *self){ return toMatrix(*self); }
|
|
840
818
|
|
|
841
819
|
swig_class cFXQuatf;
|
|
842
|
-
FXQuatd FXQuatd_fromMatrix(FXMat3d const &mat){ return fromMatrix(mat); }
|
|
843
820
|
VALUE FXQuatd_getAxisAngle(FXQuatd const *self){
|
|
844
821
|
FXVec3d axis;
|
|
845
822
|
FXdouble phi;
|
|
@@ -851,16 +828,8 @@ VALUE FXQuatd_getRollPitchYaw(FXQuatd const *self){
|
|
|
851
828
|
self->getRollPitchYaw(roll,pitch,yaw);
|
|
852
829
|
return rb_ary_new3(3,rb_float_new(roll),rb_float_new(pitch),rb_float_new(yaw));
|
|
853
830
|
}
|
|
854
|
-
FXQuatd FXQuatd_exp(FXQuatd const *self){ return exp(*self); }
|
|
855
|
-
FXQuatd FXQuatd_log(FXQuatd const *self){ return log(*self); }
|
|
856
|
-
FXQuatd FXQuatd_invert(FXQuatd const *self){ return invert(*self); }
|
|
857
|
-
FXQuatd FXQuatd_unitinvert(FXQuatd const *self){ return unitinvert(*self); }
|
|
858
|
-
FXQuatd FXQuatd_conj(FXQuatd const *self){ return conj(*self); }
|
|
859
831
|
FXQuatd FXQuatd_operator_Sm___SWIG_0(FXQuatd const *self,FXQuatd const &other){ return (*self)*other; }
|
|
860
832
|
FXVec3d FXQuatd_operator_Sm___SWIG_1(FXQuatd const *self,FXVec3d const &vec){ return (*self)*vec; }
|
|
861
|
-
FXQuatd FXQuatd_arc(FXVec3d const &a,FXVec3d const &b){ return arc(a,b); }
|
|
862
|
-
FXQuatd FXQuatd_lerp(FXQuatd const &u,FXQuatd const &v,FXdouble f){ return lerp(u,v,f); }
|
|
863
|
-
FXMat3d FXQuatd_toMatrix(FXQuatd const *self){ return toMatrix(*self); }
|
|
864
833
|
VALUE FXQuatd_getAxes(FXQuatd const *self){
|
|
865
834
|
FXVec3d ex,ey,ez;
|
|
866
835
|
self->getAxes(ex,ey,ez);
|
|
@@ -888,9 +857,6 @@ FXMat3f FXMat3f_operator_Sd_(FXMat3f const *self,FXfloat x){
|
|
|
888
857
|
}
|
|
889
858
|
FXVec3f FXMat3f_operator_Sm___SWIG_2(FXMat3f const *self,FXVec3f const &other){ return (*self)*other; }
|
|
890
859
|
FXVec2f FXMat3f_operator_Sm___SWIG_3(FXMat3f const *self,FXVec2f const &other){ return (*self)*other; }
|
|
891
|
-
FXfloat FXMat3f_det(FXMat3f const *self){ return det(*self); }
|
|
892
|
-
FXMat3f FXMat3f_transpose(FXMat3f const *self){ return transpose(*self); }
|
|
893
|
-
FXMat3f FXMat3f_invert(FXMat3f const *self){ return invert(*self); }
|
|
894
860
|
|
|
895
861
|
swig_class cFXMat3f;
|
|
896
862
|
FXVec3d const &FXMat3d___getitem__(FXMat3d const *self,FXint i){
|
|
@@ -913,9 +879,6 @@ FXMat3d FXMat3d_operator_Sd_(FXMat3d const *self,FXdouble x){
|
|
|
913
879
|
}
|
|
914
880
|
FXVec3d FXMat3d_operator_Sm___SWIG_2(FXMat3d const *self,FXVec3d const &other){ return (*self)*other; }
|
|
915
881
|
FXVec2d FXMat3d_operator_Sm___SWIG_3(FXMat3d const *self,FXVec2d const &other){ return (*self)*other; }
|
|
916
|
-
FXdouble FXMat3d_det(FXMat3d const *self){ return det(*self); }
|
|
917
|
-
FXMat3d FXMat3d_transpose(FXMat3d const *self){ return transpose(*self); }
|
|
918
|
-
FXMat3d FXMat3d_invert(FXMat3d const *self){ return invert(*self); }
|
|
919
882
|
|
|
920
883
|
swig_class cFXMat3d;
|
|
921
884
|
FXVec4f const &FXMat4f___getitem__(FXMat4f const *self,FXint i){
|
|
@@ -938,15 +901,6 @@ FXMat4f FXMat4f_operator_Sd_(FXMat4f const *self,FXfloat x){
|
|
|
938
901
|
return (*self)/x;
|
|
939
902
|
}
|
|
940
903
|
FXMat4f FXMat4f_operator_Ss_(FXMat4f const *self){ return -(*self); }
|
|
941
|
-
FXfloat FXMat4f_det(FXMat4f const *self){
|
|
942
|
-
return det(*self);
|
|
943
|
-
}
|
|
944
|
-
FXMat4f FXMat4f_transpose(FXMat4f const *self){
|
|
945
|
-
return transpose(*self);
|
|
946
|
-
}
|
|
947
|
-
FXMat4f FXMat4f_invert(FXMat4f const *self){
|
|
948
|
-
return invert(*self);
|
|
949
|
-
}
|
|
950
904
|
FXString FXMat4f_to_s(FXMat4f const *self){
|
|
951
905
|
const FXMat4f& m = *self;
|
|
952
906
|
return FXStringFormat("[[%g, %g, %g, %g], [%g, %g, %g, %g], [%g, %g, %g, %g], [%g, %g, %g, %g]]",m[0][0],m[0][1],m[0][2],m[0][3],m[1][0],m[1][1],m[1][2],m[1][3],m[2][0],m[2][1],m[2][2],m[2][3],m[3][0],m[3][1],m[3][2],m[3][3]);
|
|
@@ -973,9 +927,6 @@ FXMat4d FXMat4d_operator_Sd_(FXMat4d const *self,FXdouble x){
|
|
|
973
927
|
}
|
|
974
928
|
FXVec4d FXMat4d_operator_Sm___SWIG_2(FXMat4d const *self,FXVec4d const &other){ return (*self)*other; }
|
|
975
929
|
FXVec3d FXMat4d_operator_Sm___SWIG_3(FXMat4d const *self,FXVec3d const &v){ return (*self)*v; }
|
|
976
|
-
FXdouble FXMat4d_det(FXMat4d const *self){ return det(*self); }
|
|
977
|
-
FXMat4d FXMat4d_transpose(FXMat4d const *self){ return transpose(*self); }
|
|
978
|
-
FXMat4d FXMat4d_invert(FXMat4d const *self){ return invert(*self); }
|
|
979
930
|
|
|
980
931
|
swig_class cFXMat4d;
|
|
981
932
|
FXVec3f &FXRangef___getitem__(FXRangef *self,FXint i){
|
|
@@ -990,7 +941,7 @@ void FXRangef___setitem__(FXRangef *self,FXint i,FXVec3f &slice){
|
|
|
990
941
|
}
|
|
991
942
|
(*self)[i]=slice;
|
|
992
943
|
}
|
|
993
|
-
|
|
944
|
+
bool FXRangef_overlaps(FXRangef const *self,FXRangef const &other){
|
|
994
945
|
return FX::overlap(*self,other);
|
|
995
946
|
}
|
|
996
947
|
FXVec3f FXRangef_corner(FXRangef const *self,FXint c){
|
|
@@ -1019,7 +970,7 @@ void FXRanged___setitem__(FXRanged *self,FXint i,FXVec3d &slice){
|
|
|
1019
970
|
}
|
|
1020
971
|
(*self)[i]=slice;
|
|
1021
972
|
}
|
|
1022
|
-
|
|
973
|
+
bool FXRanged_overlaps(FXRanged const *self,FXRanged const &other){
|
|
1023
974
|
return FX::overlap(*self,other);
|
|
1024
975
|
}
|
|
1025
976
|
FXVec3d FXRanged_corner(FXRanged const *self,FXint c){
|
|
@@ -1036,18 +987,18 @@ FXRanged FXRanged_intersection(FXRanged const *self,FXRanged const &other){
|
|
|
1036
987
|
}
|
|
1037
988
|
|
|
1038
989
|
swig_class cFXRanged;
|
|
1039
|
-
|
|
990
|
+
bool FXSpheref_overlap__SWIG_0(FXSpheref const *self,FXRangef const &other){
|
|
1040
991
|
return overlap(*self,other);
|
|
1041
992
|
}
|
|
1042
|
-
|
|
993
|
+
bool FXSpheref_overlap__SWIG_1(FXSpheref const *self,FXSpheref const &other){
|
|
1043
994
|
return overlap(*self,other);
|
|
1044
995
|
}
|
|
1045
996
|
|
|
1046
997
|
swig_class cFXSpheref;
|
|
1047
|
-
|
|
998
|
+
bool FXSphered_overlap__SWIG_0(FXSphered const *self,FXRanged const &other){
|
|
1048
999
|
return overlap(*self,other);
|
|
1049
1000
|
}
|
|
1050
|
-
|
|
1001
|
+
bool FXSphered_overlap__SWIG_1(FXSphered const *self,FXSphered const &other){
|
|
1051
1002
|
return overlap(*self,other);
|
|
1052
1003
|
}
|
|
1053
1004
|
|
|
@@ -1251,6 +1202,46 @@ void FXGLShape_setRange(FXGLShape *self,FXRangef const &box){
|
|
|
1251
1202
|
|
|
1252
1203
|
swig_class cFXGLShape;
|
|
1253
1204
|
static void free_FXGLShape(FXGLShape *);
|
|
1205
|
+
FXVec2f &FXExtentf___setitem__(FXExtentf *self,FXint i,FXVec2f &v){
|
|
1206
|
+
if(i<0||i>1) rb_raise(rb_eIndexError,"index %d out of bounds",i);
|
|
1207
|
+
(*self)[i]=v;
|
|
1208
|
+
return v;
|
|
1209
|
+
}
|
|
1210
|
+
FXVec2f const &FXExtentf___getitem__(FXExtentf const *self,FXint i){
|
|
1211
|
+
if(i<0||i>1) rb_raise(rb_eIndexError,"index %d out of bounds",i);
|
|
1212
|
+
return (*self)[i];
|
|
1213
|
+
}
|
|
1214
|
+
bool FXExtentf_overlap(FXExtentf const *self,FXExtentf const &other){
|
|
1215
|
+
return overlap(*self,other);
|
|
1216
|
+
}
|
|
1217
|
+
FXExtentf FXExtentf_unite_with(FXExtentf const *self,FXExtentf const &other){
|
|
1218
|
+
return unite(*self,other);
|
|
1219
|
+
}
|
|
1220
|
+
FXExtentf FXExtentf_intersect_with(FXExtentf const *self,FXExtentf const &other){
|
|
1221
|
+
return intersect(*self,other);
|
|
1222
|
+
}
|
|
1223
|
+
|
|
1224
|
+
swig_class cFXExtentf;
|
|
1225
|
+
FXVec2d &FXExtentd___setitem__(FXExtentd *self,FXint i,FXVec2d &v){
|
|
1226
|
+
if(i<0||i>1) rb_raise(rb_eIndexError,"index %d out of bounds",i);
|
|
1227
|
+
(*self)[i]=v;
|
|
1228
|
+
return v;
|
|
1229
|
+
}
|
|
1230
|
+
FXVec2d const &FXExtentd___getitem__(FXExtentd const *self,FXint i){
|
|
1231
|
+
if(i<0||i>1) rb_raise(rb_eIndexError,"index %d out of bounds",i);
|
|
1232
|
+
return (*self)[i];
|
|
1233
|
+
}
|
|
1234
|
+
bool FXExtentd_overlap(FXExtentd const *self,FXExtentd const &other){
|
|
1235
|
+
return overlap(*self,other);
|
|
1236
|
+
}
|
|
1237
|
+
FXExtentd FXExtentd_unite_with(FXExtentd const *self,FXExtentd const &other){
|
|
1238
|
+
return unite(*self,other);
|
|
1239
|
+
}
|
|
1240
|
+
FXExtentd FXExtentd_intersect_with(FXExtentd const *self,FXExtentd const &other){
|
|
1241
|
+
return intersect(*self,other);
|
|
1242
|
+
}
|
|
1243
|
+
|
|
1244
|
+
swig_class cFXExtentd;
|
|
1254
1245
|
static VALUE _wrap_FXVec2f_x_set(int argc, VALUE *argv, VALUE self) { FXVec2f *arg1 = (FXVec2f *) 0 ; FXfloat arg2 ;
|
|
1255
1246
|
if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
|
1256
1247
|
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXVec2f, 1); arg2 = (FXfloat) NUM2DBL(argv[0]);
|
|
@@ -1305,6 +1296,14 @@ static VALUE _wrap_new_FXVec2f(int nargs, VALUE *args, VALUE self) { int argc; V
|
|
|
1305
1296
|
if (_v) { { _v = ((TYPE(argv[1]) == T_FLOAT) || (TYPE(argv[1]) == T_FIXNUM) || (TYPE(argv[1]) == T_BIGNUM)) ? 1 : 0; }
|
|
1306
1297
|
if (_v) { return _wrap_new_FXVec2f__SWIG_3(nargs, args, self);} } }
|
|
1307
1298
|
rb_raise(rb_eArgError, "No matching function for overloaded 'new_FXVec2f'"); return Qnil; }
|
|
1299
|
+
static VALUE _wrap_FXVec2f_length2(int argc, VALUE *argv, VALUE self) { FXVec2f *arg1 = (FXVec2f *) 0 ; FXfloat result;
|
|
1300
|
+
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
|
1301
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXVec2f, 1); result = (FXfloat)((FXVec2f const *)arg1)->length2();
|
|
1302
|
+
vresult = rb_float_new(result); return vresult; }
|
|
1303
|
+
static VALUE _wrap_FXVec2f_length(int argc, VALUE *argv, VALUE self) { FXVec2f *arg1 = (FXVec2f *) 0 ; FXfloat result;
|
|
1304
|
+
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
|
1305
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXVec2f, 1); result = (FXfloat)((FXVec2f const *)arg1)->length();
|
|
1306
|
+
vresult = rb_float_new(result); return vresult; }
|
|
1308
1307
|
static VALUE _wrap_FXVec2f___getitem__(int argc, VALUE *argv, VALUE self) { FXVec2f *arg1 = (FXVec2f *) 0 ; FXint arg2 ;
|
|
1309
1308
|
FXfloat result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
|
|
1310
1309
|
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
|
@@ -1382,14 +1381,6 @@ static VALUE _wrap_FXVec2f___eq__(int argc, VALUE *argv, VALUE self) { FXVec2f *
|
|
|
1382
1381
|
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXVec2f, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
|
|
1383
1382
|
result = (bool)FXVec2f_operator_Se__Se_((FXVec2f const *)arg1,(FXVec2f const &)*arg2); vresult = result ? Qtrue : Qfalse;
|
|
1384
1383
|
return vresult; }
|
|
1385
|
-
static VALUE _wrap_FXVec2f_len2(int argc, VALUE *argv, VALUE self) { FXVec2f *arg1 = (FXVec2f *) 0 ; FXfloat result;
|
|
1386
|
-
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
|
1387
|
-
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXVec2f, 1); result = (FXfloat)FXVec2f_len2((FXVec2f const *)arg1);
|
|
1388
|
-
vresult = rb_float_new(result); return vresult; }
|
|
1389
|
-
static VALUE _wrap_FXVec2f_len(int argc, VALUE *argv, VALUE self) { FXVec2f *arg1 = (FXVec2f *) 0 ; FXfloat result;
|
|
1390
|
-
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
|
1391
|
-
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXVec2f, 1); result = (FXfloat)FXVec2f_len((FXVec2f const *)arg1);
|
|
1392
|
-
vresult = rb_float_new(result); return vresult; }
|
|
1393
1384
|
static VALUE _wrap_FXVec2f_normalize(int argc, VALUE *argv, VALUE self) { FXVec2f *arg1 = (FXVec2f *) 0 ; FXVec2f result;
|
|
1394
1385
|
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
|
1395
1386
|
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXVec2f, 1); result = FXVec2f_normalize((FXVec2f const *)arg1); {
|
|
@@ -1411,6 +1402,12 @@ static VALUE _wrap_FXVec2f_hi(int argc, VALUE *argv, VALUE self) { FXVec2f *arg1
|
|
|
1411
1402
|
result = FXVec2f_hi((FXVec2f const *)arg1,(FXVec2f const &)*arg2); { FXVec2f * resultptr;
|
|
1412
1403
|
resultptr = new FXVec2f((FXVec2f &)result); vresult = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_FXVec2f, 1); }
|
|
1413
1404
|
return vresult; }
|
|
1405
|
+
static VALUE _wrap_FXVec2f_clamp(int argc, VALUE *argv, VALUE self) { FXVec2f *arg1 = (FXVec2f *) 0 ; FXfloat arg2 ;
|
|
1406
|
+
FXfloat arg3 ; FXVec2f *result; VALUE vresult = Qnil; if ((argc < 2) || (argc > 2))
|
|
1407
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
|
|
1408
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXVec2f, 1); arg2 = (FXfloat) NUM2DBL(argv[0]);
|
|
1409
|
+
arg3 = (FXfloat) NUM2DBL(argv[1]); { FXVec2f &_result_ref = (arg1)->clamp(arg2,arg3); result = (FXVec2f *) &_result_ref; }
|
|
1410
|
+
vresult = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_FXVec2f,0); return vresult; }
|
|
1414
1411
|
static VALUE _wrap_FXVec2d_x_set(int argc, VALUE *argv, VALUE self) { FXVec2d *arg1 = (FXVec2d *) 0 ; FXdouble arg2 ;
|
|
1415
1412
|
if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
|
1416
1413
|
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXVec2d, 1); arg2 = (FXdouble) NUM2DBL(argv[0]);
|
|
@@ -1458,6 +1455,14 @@ static VALUE _wrap_new_FXVec2d(int nargs, VALUE *args, VALUE self) { int argc; V
|
|
|
1458
1455
|
if (_v) { { _v = ((TYPE(argv[1]) == T_FLOAT) || (TYPE(argv[1]) == T_FIXNUM) || (TYPE(argv[1]) == T_BIGNUM)) ? 1 : 0; }
|
|
1459
1456
|
if (_v) { return _wrap_new_FXVec2d__SWIG_2(nargs, args, self);} } }
|
|
1460
1457
|
rb_raise(rb_eArgError, "No matching function for overloaded 'new_FXVec2d'"); return Qnil; }
|
|
1458
|
+
static VALUE _wrap_FXVec2d_length2(int argc, VALUE *argv, VALUE self) { FXVec2d *arg1 = (FXVec2d *) 0 ; FXdouble result;
|
|
1459
|
+
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
|
1460
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXVec2d, 1); result = (FXdouble)((FXVec2d const *)arg1)->length2();
|
|
1461
|
+
vresult = rb_float_new(result); return vresult; }
|
|
1462
|
+
static VALUE _wrap_FXVec2d_length(int argc, VALUE *argv, VALUE self) { FXVec2d *arg1 = (FXVec2d *) 0 ; FXdouble result;
|
|
1463
|
+
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
|
1464
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXVec2d, 1); result = (FXdouble)((FXVec2d const *)arg1)->length();
|
|
1465
|
+
vresult = rb_float_new(result); return vresult; }
|
|
1461
1466
|
static VALUE _wrap_FXVec2d___getitem__(int argc, VALUE *argv, VALUE self) { FXVec2d *arg1 = (FXVec2d *) 0 ; FXint arg2 ;
|
|
1462
1467
|
FXdouble result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
|
|
1463
1468
|
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
|
@@ -1535,14 +1540,6 @@ static VALUE _wrap_FXVec2d___eq__(int argc, VALUE *argv, VALUE self) { FXVec2d *
|
|
|
1535
1540
|
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXVec2d, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
|
|
1536
1541
|
result = (bool)FXVec2d_operator_Se__Se_((FXVec2d const *)arg1,(FXVec2d const &)*arg2); vresult = result ? Qtrue : Qfalse;
|
|
1537
1542
|
return vresult; }
|
|
1538
|
-
static VALUE _wrap_FXVec2d_len2(int argc, VALUE *argv, VALUE self) { FXVec2d *arg1 = (FXVec2d *) 0 ; FXdouble result;
|
|
1539
|
-
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
|
1540
|
-
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXVec2d, 1); result = (FXdouble)FXVec2d_len2((FXVec2d const *)arg1);
|
|
1541
|
-
vresult = rb_float_new(result); return vresult; }
|
|
1542
|
-
static VALUE _wrap_FXVec2d_len(int argc, VALUE *argv, VALUE self) { FXVec2d *arg1 = (FXVec2d *) 0 ; FXdouble result;
|
|
1543
|
-
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
|
1544
|
-
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXVec2d, 1); result = (FXdouble)FXVec2d_len((FXVec2d const *)arg1);
|
|
1545
|
-
vresult = rb_float_new(result); return vresult; }
|
|
1546
1543
|
static VALUE _wrap_FXVec2d_normalize(int argc, VALUE *argv, VALUE self) { FXVec2d *arg1 = (FXVec2d *) 0 ; FXVec2d result;
|
|
1547
1544
|
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
|
1548
1545
|
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXVec2d, 1); result = FXVec2d_normalize((FXVec2d const *)arg1); {
|
|
@@ -1564,6 +1561,12 @@ static VALUE _wrap_FXVec2d_hi(int argc, VALUE *argv, VALUE self) { FXVec2d *arg1
|
|
|
1564
1561
|
result = FXVec2d_hi((FXVec2d const *)arg1,(FXVec2d const &)*arg2); { FXVec2d * resultptr;
|
|
1565
1562
|
resultptr = new FXVec2d((FXVec2d &)result); vresult = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_FXVec2d, 1); }
|
|
1566
1563
|
return vresult; }
|
|
1564
|
+
static VALUE _wrap_FXVec2d_clamp(int argc, VALUE *argv, VALUE self) { FXVec2d *arg1 = (FXVec2d *) 0 ; FXdouble arg2 ;
|
|
1565
|
+
FXdouble arg3 ; FXVec2d *result; VALUE vresult = Qnil; if ((argc < 2) || (argc > 2))
|
|
1566
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
|
|
1567
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXVec2d, 1); arg2 = (FXdouble) NUM2DBL(argv[0]);
|
|
1568
|
+
arg3 = (FXdouble) NUM2DBL(argv[1]); { FXVec2d &_result_ref = (arg1)->clamp(arg2,arg3); result = (FXVec2d *) &_result_ref; }
|
|
1569
|
+
vresult = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_FXVec2d,0); return vresult; }
|
|
1567
1570
|
static VALUE _wrap_FXVec3f_x_set(int argc, VALUE *argv, VALUE self) { FXVec3f *arg1 = (FXVec3f *) 0 ; FXfloat arg2 ;
|
|
1568
1571
|
FXVec3f tmp1 ; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); {
|
|
1569
1572
|
if (TYPE(self) == T_ARRAY) {
|
|
@@ -1643,6 +1646,18 @@ static VALUE _wrap_new_FXVec3f(int nargs, VALUE *args, VALUE self) { int argc; V
|
|
|
1643
1646
|
_v = ((TYPE(argv[2]) == T_FLOAT) || (TYPE(argv[2]) == T_FIXNUM) || (TYPE(argv[2]) == T_BIGNUM)) ? 1 : 0; }
|
|
1644
1647
|
if (_v) { return _wrap_new_FXVec3f__SWIG_2(nargs, args, self);} } } }
|
|
1645
1648
|
rb_raise(rb_eArgError, "No matching function for overloaded 'new_FXVec3f'"); return Qnil; }
|
|
1649
|
+
static VALUE _wrap_FXVec3f_length2(int argc, VALUE *argv, VALUE self) { FXVec3f *arg1 = (FXVec3f *) 0 ; FXfloat result;
|
|
1650
|
+
FXVec3f tmp1 ; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0))
|
|
1651
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); { if (TYPE(self) == T_ARRAY) {
|
|
1652
|
+
tmp1 = FXVec3f(NUM2DBL(rb_ary_entry(self, 0)), NUM2DBL(rb_ary_entry(self, 1)), NUM2DBL(rb_ary_entry(self, 2)));
|
|
1653
|
+
arg1 = &tmp1; } else { SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXVec3f, 1); } }
|
|
1654
|
+
result = (FXfloat)((FXVec3f const *)arg1)->length2(); vresult = rb_float_new(result); return vresult; }
|
|
1655
|
+
static VALUE _wrap_FXVec3f_length(int argc, VALUE *argv, VALUE self) { FXVec3f *arg1 = (FXVec3f *) 0 ; FXfloat result;
|
|
1656
|
+
FXVec3f tmp1 ; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0))
|
|
1657
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); { if (TYPE(self) == T_ARRAY) {
|
|
1658
|
+
tmp1 = FXVec3f(NUM2DBL(rb_ary_entry(self, 0)), NUM2DBL(rb_ary_entry(self, 1)), NUM2DBL(rb_ary_entry(self, 2)));
|
|
1659
|
+
arg1 = &tmp1; } else { SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXVec3f, 1); } }
|
|
1660
|
+
result = (FXfloat)((FXVec3f const *)arg1)->length(); vresult = rb_float_new(result); return vresult; }
|
|
1646
1661
|
static VALUE _wrap_FXVec3f___getitem__(int argc, VALUE *argv, VALUE self) { FXVec3f *arg1 = (FXVec3f *) 0 ; FXint arg2 ;
|
|
1647
1662
|
FXfloat result; FXVec3f tmp1 ; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
|
|
1648
1663
|
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); { if (TYPE(self) == T_ARRAY) {
|
|
@@ -1759,18 +1774,6 @@ static VALUE _wrap_FXVec3f___eq__(int argc, VALUE *argv, VALUE self) { FXVec3f *
|
|
|
1759
1774
|
else { FXVec3f *p; SWIG_ConvertPtr(argv[0], (void **)&p, SWIGTYPE_p_FXVec3f, 1); arg2 = new FXVec3f(*p); } }
|
|
1760
1775
|
result = (bool)FXVec3f_operator_Se__Se_((FXVec3f const *)arg1,(FXVec3f const &)*arg2); vresult = result ? Qtrue : Qfalse;
|
|
1761
1776
|
delete arg2; return vresult; }
|
|
1762
|
-
static VALUE _wrap_FXVec3f_len2(int argc, VALUE *argv, VALUE self) { FXVec3f *arg1 = (FXVec3f *) 0 ; FXfloat result;
|
|
1763
|
-
FXVec3f tmp1 ; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0))
|
|
1764
|
-
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); { if (TYPE(self) == T_ARRAY) {
|
|
1765
|
-
tmp1 = FXVec3f(NUM2DBL(rb_ary_entry(self, 0)), NUM2DBL(rb_ary_entry(self, 1)), NUM2DBL(rb_ary_entry(self, 2)));
|
|
1766
|
-
arg1 = &tmp1; } else { SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXVec3f, 1); } }
|
|
1767
|
-
result = (FXfloat)FXVec3f_len2((FXVec3f const *)arg1); vresult = rb_float_new(result); return vresult; }
|
|
1768
|
-
static VALUE _wrap_FXVec3f_len(int argc, VALUE *argv, VALUE self) { FXVec3f *arg1 = (FXVec3f *) 0 ; FXfloat result;
|
|
1769
|
-
FXVec3f tmp1 ; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0))
|
|
1770
|
-
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); { if (TYPE(self) == T_ARRAY) {
|
|
1771
|
-
tmp1 = FXVec3f(NUM2DBL(rb_ary_entry(self, 0)), NUM2DBL(rb_ary_entry(self, 1)), NUM2DBL(rb_ary_entry(self, 2)));
|
|
1772
|
-
arg1 = &tmp1; } else { SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXVec3f, 1); } }
|
|
1773
|
-
result = (FXfloat)FXVec3f_len((FXVec3f const *)arg1); vresult = rb_float_new(result); return vresult; }
|
|
1774
1777
|
static VALUE _wrap_FXVec3f_normalize(int argc, VALUE *argv, VALUE self) { FXVec3f *arg1 = (FXVec3f *) 0 ; FXVec3f result;
|
|
1775
1778
|
FXVec3f tmp1 ; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0))
|
|
1776
1779
|
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); { if (TYPE(self) == T_ARRAY) {
|
|
@@ -1847,6 +1850,14 @@ static VALUE _wrap_FXVec3f_normal(int nargs, VALUE *args, VALUE self) { int argc
|
|
|
1847
1850
|
_v = (NIL_P(argv[3]) || (TYPE(argv[3]) == T_DATA && SWIG_ConvertPtr(argv[3], &ptr, SWIGTYPE_p_FXVec3f, 0) != -1)) ? 1 : 0; }
|
|
1848
1851
|
if (_v) { return _wrap_FXVec3f_normal__SWIG_1(nargs, args, self);} } } } }
|
|
1849
1852
|
rb_raise(rb_eArgError, "No matching function for overloaded 'FXVec3f_normal'"); return Qnil; }
|
|
1853
|
+
static VALUE _wrap_FXVec3f_clamp(int argc, VALUE *argv, VALUE self) { FXVec3f *arg1 = (FXVec3f *) 0 ; FXfloat arg2 ;
|
|
1854
|
+
FXfloat arg3 ; FXVec3f *result; FXVec3f tmp1 ; VALUE vresult = Qnil; if ((argc < 2) || (argc > 2))
|
|
1855
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); { if (TYPE(self) == T_ARRAY) {
|
|
1856
|
+
tmp1 = FXVec3f(NUM2DBL(rb_ary_entry(self, 0)), NUM2DBL(rb_ary_entry(self, 1)), NUM2DBL(rb_ary_entry(self, 2)));
|
|
1857
|
+
arg1 = &tmp1; } else { SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXVec3f, 1); } }
|
|
1858
|
+
arg2 = (FXfloat) NUM2DBL(argv[0]); arg3 = (FXfloat) NUM2DBL(argv[1]); { FXVec3f &_result_ref = (arg1)->clamp(arg2,arg3);
|
|
1859
|
+
result = (FXVec3f *) &_result_ref; } vresult = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_FXVec3f,0);
|
|
1860
|
+
return vresult; }
|
|
1850
1861
|
static VALUE _wrap_FXVec3d_x_set(int argc, VALUE *argv, VALUE self) { FXVec3d *arg1 = (FXVec3d *) 0 ; FXdouble arg2 ;
|
|
1851
1862
|
if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
|
1852
1863
|
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXVec3d, 1); arg2 = (FXdouble) NUM2DBL(argv[0]);
|
|
@@ -1912,6 +1923,14 @@ static VALUE _wrap_new_FXVec3d(int nargs, VALUE *args, VALUE self) { int argc; V
|
|
|
1912
1923
|
_v = ((TYPE(argv[2]) == T_FLOAT) || (TYPE(argv[2]) == T_FIXNUM) || (TYPE(argv[2]) == T_BIGNUM)) ? 1 : 0; }
|
|
1913
1924
|
if (_v) { return _wrap_new_FXVec3d__SWIG_2(nargs, args, self);} } } }
|
|
1914
1925
|
rb_raise(rb_eArgError, "No matching function for overloaded 'new_FXVec3d'"); return Qnil; }
|
|
1926
|
+
static VALUE _wrap_FXVec3d_length2(int argc, VALUE *argv, VALUE self) { FXVec3d *arg1 = (FXVec3d *) 0 ; FXdouble result;
|
|
1927
|
+
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
|
1928
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXVec3d, 1); result = (FXdouble)((FXVec3d const *)arg1)->length2();
|
|
1929
|
+
vresult = rb_float_new(result); return vresult; }
|
|
1930
|
+
static VALUE _wrap_FXVec3d_length(int argc, VALUE *argv, VALUE self) { FXVec3d *arg1 = (FXVec3d *) 0 ; FXdouble result;
|
|
1931
|
+
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
|
1932
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXVec3d, 1); result = (FXdouble)((FXVec3d const *)arg1)->length();
|
|
1933
|
+
vresult = rb_float_new(result); return vresult; }
|
|
1915
1934
|
static VALUE _wrap_FXVec3d___getitem__(int argc, VALUE *argv, VALUE self) { FXVec3d *arg1 = (FXVec3d *) 0 ; FXint arg2 ;
|
|
1916
1935
|
FXdouble result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
|
|
1917
1936
|
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
|
@@ -2005,14 +2024,6 @@ static VALUE _wrap_FXVec3d___eq__(int argc, VALUE *argv, VALUE self) { FXVec3d *
|
|
|
2005
2024
|
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXVec3d, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
|
|
2006
2025
|
result = (bool)FXVec3d_operator_Se__Se_((FXVec3d const *)arg1,(FXVec3d const &)*arg2); vresult = result ? Qtrue : Qfalse;
|
|
2007
2026
|
return vresult; }
|
|
2008
|
-
static VALUE _wrap_FXVec3d_len2(int argc, VALUE *argv, VALUE self) { FXVec3d *arg1 = (FXVec3d *) 0 ; FXdouble result;
|
|
2009
|
-
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
|
2010
|
-
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXVec3d, 1); result = (FXdouble)FXVec3d_len2((FXVec3d const *)arg1);
|
|
2011
|
-
vresult = rb_float_new(result); return vresult; }
|
|
2012
|
-
static VALUE _wrap_FXVec3d_len(int argc, VALUE *argv, VALUE self) { FXVec3d *arg1 = (FXVec3d *) 0 ; FXdouble result;
|
|
2013
|
-
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
|
2014
|
-
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXVec3d, 1); result = (FXdouble)FXVec3d_len((FXVec3d const *)arg1);
|
|
2015
|
-
vresult = rb_float_new(result); return vresult; }
|
|
2016
2027
|
static VALUE _wrap_FXVec3d_normalize(int argc, VALUE *argv, VALUE self) { FXVec3d *arg1 = (FXVec3d *) 0 ; FXVec3d result;
|
|
2017
2028
|
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
|
2018
2029
|
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXVec3d, 1); result = FXVec3d_normalize((FXVec3d const *)arg1); {
|
|
@@ -2071,6 +2082,12 @@ static VALUE _wrap_FXVec3d_normal(int nargs, VALUE *args, VALUE self) { int argc
|
|
|
2071
2082
|
_v = (NIL_P(argv[3]) || (TYPE(argv[3]) == T_DATA && SWIG_ConvertPtr(argv[3], &ptr, SWIGTYPE_p_FXVec3d, 0) != -1)) ? 1 : 0; }
|
|
2072
2083
|
if (_v) { return _wrap_FXVec3d_normal__SWIG_1(nargs, args, self);} } } } }
|
|
2073
2084
|
rb_raise(rb_eArgError, "No matching function for overloaded 'FXVec3d_normal'"); return Qnil; }
|
|
2085
|
+
static VALUE _wrap_FXVec3d_clamp(int argc, VALUE *argv, VALUE self) { FXVec3d *arg1 = (FXVec3d *) 0 ; FXdouble arg2 ;
|
|
2086
|
+
FXdouble arg3 ; FXVec3d *result; VALUE vresult = Qnil; if ((argc < 2) || (argc > 2))
|
|
2087
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
|
|
2088
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXVec3d, 1); arg2 = (FXdouble) NUM2DBL(argv[0]);
|
|
2089
|
+
arg3 = (FXdouble) NUM2DBL(argv[1]); { FXVec3d &_result_ref = (arg1)->clamp(arg2,arg3); result = (FXVec3d *) &_result_ref; }
|
|
2090
|
+
vresult = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_FXVec3d,0); return vresult; }
|
|
2074
2091
|
static VALUE _wrap_FXVec4f_x_set(int argc, VALUE *argv, VALUE self) { FXVec4f *arg1 = (FXVec4f *) 0 ; FXfloat arg2 ;
|
|
2075
2092
|
FXVec4f tmp1 ; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); {
|
|
2076
2093
|
if (TYPE(self) == T_ARRAY) {
|
|
@@ -2177,6 +2194,41 @@ static VALUE _wrap_new_FXVec4f(int nargs, VALUE *args, VALUE self) { int argc; V
|
|
|
2177
2194
|
_v = ((TYPE(argv[3]) == T_FLOAT) || (TYPE(argv[3]) == T_FIXNUM) || (TYPE(argv[3]) == T_BIGNUM)) ? 1 : 0; }
|
|
2178
2195
|
if (_v) { return _wrap_new_FXVec4f__SWIG_3(nargs, args, self);} } } } }
|
|
2179
2196
|
rb_raise(rb_eArgError, "No matching function for overloaded 'new_FXVec4f'"); return Qnil; }
|
|
2197
|
+
static VALUE _wrap_FXVec4f_distance(int argc, VALUE *argv, VALUE self) { FXVec4f *arg1 = (FXVec4f *) 0 ; FXVec3f *arg2 = 0 ;
|
|
2198
|
+
FXfloat result; FXVec4f tmp1 ; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
|
|
2199
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); { if (TYPE(self) == T_ARRAY) {
|
|
2200
|
+
tmp1 = FXVec4f(NUM2DBL(rb_ary_entry(self, 0)), NUM2DBL(rb_ary_entry(self, 1)), NUM2DBL(rb_ary_entry(self, 2)), NUM2DBL(rb_ary_entry(self, 3)));
|
|
2201
|
+
arg1 = &tmp1; } else { SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXVec4f, 1); } } {
|
|
2202
|
+
if (TYPE(argv[0]) == T_ARRAY) {
|
|
2203
|
+
arg2 = new FXVec3f(NUM2DBL(rb_ary_entry(argv[0], 0)), NUM2DBL(rb_ary_entry(argv[0], 1)), NUM2DBL(rb_ary_entry(argv[0], 2))); }
|
|
2204
|
+
else { FXVec3f *p; SWIG_ConvertPtr(argv[0], (void **)&p, SWIGTYPE_p_FXVec3f, 1); arg2 = new FXVec3f(*p); } }
|
|
2205
|
+
result = (FXfloat)((FXVec4f const *)arg1)->distance((FXVec3f const &)*arg2); vresult = rb_float_new(result); delete arg2;
|
|
2206
|
+
return vresult; }
|
|
2207
|
+
static VALUE _wrap_FXVec4f_crossesq___(int argc, VALUE *argv, VALUE self) { FXVec4f *arg1 = (FXVec4f *) 0 ; FXVec3f *arg2 = 0 ;
|
|
2208
|
+
FXVec3f *arg3 = 0 ; bool result; FXVec4f tmp1 ; VALUE vresult = Qnil; if ((argc < 2) || (argc > 2))
|
|
2209
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); { if (TYPE(self) == T_ARRAY) {
|
|
2210
|
+
tmp1 = FXVec4f(NUM2DBL(rb_ary_entry(self, 0)), NUM2DBL(rb_ary_entry(self, 1)), NUM2DBL(rb_ary_entry(self, 2)), NUM2DBL(rb_ary_entry(self, 3)));
|
|
2211
|
+
arg1 = &tmp1; } else { SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXVec4f, 1); } } {
|
|
2212
|
+
if (TYPE(argv[0]) == T_ARRAY) {
|
|
2213
|
+
arg2 = new FXVec3f(NUM2DBL(rb_ary_entry(argv[0], 0)), NUM2DBL(rb_ary_entry(argv[0], 1)), NUM2DBL(rb_ary_entry(argv[0], 2))); }
|
|
2214
|
+
else { FXVec3f *p; SWIG_ConvertPtr(argv[0], (void **)&p, SWIGTYPE_p_FXVec3f, 1); arg2 = new FXVec3f(*p); } } {
|
|
2215
|
+
if (TYPE(argv[1]) == T_ARRAY) {
|
|
2216
|
+
arg3 = new FXVec3f(NUM2DBL(rb_ary_entry(argv[1], 0)), NUM2DBL(rb_ary_entry(argv[1], 1)), NUM2DBL(rb_ary_entry(argv[1], 2))); }
|
|
2217
|
+
else { FXVec3f *p; SWIG_ConvertPtr(argv[1], (void **)&p, SWIGTYPE_p_FXVec3f, 1); arg3 = new FXVec3f(*p); } }
|
|
2218
|
+
result = (bool)((FXVec4f const *)arg1)->crosses((FXVec3f const &)*arg2,(FXVec3f const &)*arg3);
|
|
2219
|
+
vresult = result ? Qtrue : Qfalse; delete arg2; delete arg3; return vresult; }
|
|
2220
|
+
static VALUE _wrap_FXVec4f_length(int argc, VALUE *argv, VALUE self) { FXVec4f *arg1 = (FXVec4f *) 0 ; FXfloat result;
|
|
2221
|
+
FXVec4f tmp1 ; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0))
|
|
2222
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); { if (TYPE(self) == T_ARRAY) {
|
|
2223
|
+
tmp1 = FXVec4f(NUM2DBL(rb_ary_entry(self, 0)), NUM2DBL(rb_ary_entry(self, 1)), NUM2DBL(rb_ary_entry(self, 2)), NUM2DBL(rb_ary_entry(self, 3)));
|
|
2224
|
+
arg1 = &tmp1; } else { SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXVec4f, 1); } }
|
|
2225
|
+
result = (FXfloat)((FXVec4f const *)arg1)->length(); vresult = rb_float_new(result); return vresult; }
|
|
2226
|
+
static VALUE _wrap_FXVec4f_length2(int argc, VALUE *argv, VALUE self) { FXVec4f *arg1 = (FXVec4f *) 0 ; FXfloat result;
|
|
2227
|
+
FXVec4f tmp1 ; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0))
|
|
2228
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); { if (TYPE(self) == T_ARRAY) {
|
|
2229
|
+
tmp1 = FXVec4f(NUM2DBL(rb_ary_entry(self, 0)), NUM2DBL(rb_ary_entry(self, 1)), NUM2DBL(rb_ary_entry(self, 2)), NUM2DBL(rb_ary_entry(self, 3)));
|
|
2230
|
+
arg1 = &tmp1; } else { SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXVec4f, 1); } }
|
|
2231
|
+
result = (FXfloat)((FXVec4f const *)arg1)->length2(); vresult = rb_float_new(result); return vresult; }
|
|
2180
2232
|
static VALUE _wrap_FXVec4f___getitem__(int argc, VALUE *argv, VALUE self) { FXVec4f *arg1 = (FXVec4f *) 0 ; FXint arg2 ;
|
|
2181
2233
|
FXfloat result; FXVec4f tmp1 ; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
|
|
2182
2234
|
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); { if (TYPE(self) == T_ARRAY) {
|
|
@@ -2291,18 +2343,6 @@ static VALUE _wrap_FXVec4f___eq__(int nargs, VALUE *args, VALUE self) { int argc
|
|
|
2291
2343
|
if (_v) { { _v = ((TYPE(argv[1]) == T_FLOAT) || (TYPE(argv[1]) == T_FIXNUM) || (TYPE(argv[1]) == T_BIGNUM)) ? 1 : 0; }
|
|
2292
2344
|
if (_v) { return _wrap_FXVec4f___eq____SWIG_1(nargs, args, self);} } }
|
|
2293
2345
|
rb_raise(rb_eArgError, "No matching function for overloaded 'FXVec4f___eq__'"); return Qnil; }
|
|
2294
|
-
static VALUE _wrap_FXVec4f_len(int argc, VALUE *argv, VALUE self) { FXVec4f *arg1 = (FXVec4f *) 0 ; FXfloat result;
|
|
2295
|
-
FXVec4f tmp1 ; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0))
|
|
2296
|
-
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); { if (TYPE(self) == T_ARRAY) {
|
|
2297
|
-
tmp1 = FXVec4f(NUM2DBL(rb_ary_entry(self, 0)), NUM2DBL(rb_ary_entry(self, 1)), NUM2DBL(rb_ary_entry(self, 2)), NUM2DBL(rb_ary_entry(self, 3)));
|
|
2298
|
-
arg1 = &tmp1; } else { SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXVec4f, 1); } }
|
|
2299
|
-
result = (FXfloat)FXVec4f_len((FXVec4f const *)arg1); vresult = rb_float_new(result); return vresult; }
|
|
2300
|
-
static VALUE _wrap_FXVec4f_len2(int argc, VALUE *argv, VALUE self) { FXVec4f *arg1 = (FXVec4f *) 0 ; FXfloat result;
|
|
2301
|
-
FXVec4f tmp1 ; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0))
|
|
2302
|
-
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); { if (TYPE(self) == T_ARRAY) {
|
|
2303
|
-
tmp1 = FXVec4f(NUM2DBL(rb_ary_entry(self, 0)), NUM2DBL(rb_ary_entry(self, 1)), NUM2DBL(rb_ary_entry(self, 2)), NUM2DBL(rb_ary_entry(self, 3)));
|
|
2304
|
-
arg1 = &tmp1; } else { SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXVec4f, 1); } }
|
|
2305
|
-
result = (FXfloat)FXVec4f_len2((FXVec4f const *)arg1); vresult = rb_float_new(result); return vresult; }
|
|
2306
2346
|
static VALUE _wrap_FXVec4f_normalize(int argc, VALUE *argv, VALUE self) { FXVec4f *arg1 = (FXVec4f *) 0 ; FXVec4f result;
|
|
2307
2347
|
FXVec4f tmp1 ; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0))
|
|
2308
2348
|
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); { if (TYPE(self) == T_ARRAY) {
|
|
@@ -2387,29 +2427,13 @@ static VALUE _wrap_FXVec4f_plane(int nargs, VALUE *args, VALUE self) { int argc;
|
|
|
2387
2427
|
_v = (NIL_P(argv[2]) || (TYPE(argv[2]) == T_DATA && SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_FXVec3f, 0) != -1)) ? 1 : 0; }
|
|
2388
2428
|
if (_v) { return _wrap_FXVec4f_plane__SWIG_3(nargs, args, self);} } } }
|
|
2389
2429
|
rb_raise(rb_eArgError, "No matching function for overloaded 'FXVec4f_plane'"); return Qnil; }
|
|
2390
|
-
static VALUE
|
|
2391
|
-
VALUE vresult = Qnil; if ((argc < 2) || (argc > 2))
|
|
2392
|
-
|
|
2393
|
-
|
|
2394
|
-
|
|
2395
|
-
|
|
2396
|
-
|
|
2397
|
-
else { FXVec3f *p; SWIG_ConvertPtr(argv[1], (void **)&p, SWIGTYPE_p_FXVec3f, 1); arg2 = new FXVec3f(*p); } }
|
|
2398
|
-
result = (FXfloat)FXVec4f_distance((FXVec4f const &)*arg1,(FXVec3f const &)*arg2); vresult = rb_float_new(result);
|
|
2399
|
-
delete arg1; delete arg2; return vresult; }
|
|
2400
|
-
static VALUE _wrap_FXVec4f_crosses(int argc, VALUE *argv, VALUE self) { FXVec4f *arg1 = 0 ; FXVec3f *arg2 = 0 ;
|
|
2401
|
-
FXVec3f *arg3 = 0 ; FXbool result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3))
|
|
2402
|
-
rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); { if (TYPE(argv[0]) == T_ARRAY) {
|
|
2403
|
-
arg1 = new FXVec4f(NUM2DBL(rb_ary_entry(argv[0], 0)), NUM2DBL(rb_ary_entry(argv[0], 1)), NUM2DBL(rb_ary_entry(argv[0], 2)), NUM2DBL(rb_ary_entry(argv[0], 3))); }
|
|
2404
|
-
else { FXVec4f *p; SWIG_ConvertPtr(argv[0],(void **)&p,SWIGTYPE_p_FXVec4f,1); arg1 = new FXVec4f(*p); } } {
|
|
2405
|
-
if (TYPE(argv[1]) == T_ARRAY) {
|
|
2406
|
-
arg2 = new FXVec3f(NUM2DBL(rb_ary_entry(argv[1], 0)), NUM2DBL(rb_ary_entry(argv[1], 1)), NUM2DBL(rb_ary_entry(argv[1], 2))); }
|
|
2407
|
-
else { FXVec3f *p; SWIG_ConvertPtr(argv[1], (void **)&p, SWIGTYPE_p_FXVec3f, 1); arg2 = new FXVec3f(*p); } } {
|
|
2408
|
-
if (TYPE(argv[2]) == T_ARRAY) {
|
|
2409
|
-
arg3 = new FXVec3f(NUM2DBL(rb_ary_entry(argv[2], 0)), NUM2DBL(rb_ary_entry(argv[2], 1)), NUM2DBL(rb_ary_entry(argv[2], 2))); }
|
|
2410
|
-
else { FXVec3f *p; SWIG_ConvertPtr(argv[2], (void **)&p, SWIGTYPE_p_FXVec3f, 1); arg3 = new FXVec3f(*p); } }
|
|
2411
|
-
result = (FXbool)FXVec4f_crosses((FXVec4f const &)*arg1,(FXVec3f const &)*arg2,(FXVec3f const &)*arg3);
|
|
2412
|
-
vresult = result ? Qtrue : Qfalse; delete arg1; delete arg2; delete arg3; return vresult; }
|
|
2430
|
+
static VALUE _wrap_FXVec4f_clamp(int argc, VALUE *argv, VALUE self) { FXVec4f *arg1 = (FXVec4f *) 0 ; FXfloat arg2 ;
|
|
2431
|
+
FXfloat arg3 ; FXVec4f *result; FXVec4f tmp1 ; VALUE vresult = Qnil; if ((argc < 2) || (argc > 2))
|
|
2432
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); { if (TYPE(self) == T_ARRAY) {
|
|
2433
|
+
tmp1 = FXVec4f(NUM2DBL(rb_ary_entry(self, 0)), NUM2DBL(rb_ary_entry(self, 1)), NUM2DBL(rb_ary_entry(self, 2)), NUM2DBL(rb_ary_entry(self, 3)));
|
|
2434
|
+
arg1 = &tmp1; } else { SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXVec4f, 1); } }
|
|
2435
|
+
arg2 = (FXfloat) NUM2DBL(argv[0]); arg3 = (FXfloat) NUM2DBL(argv[1]); { FXVec4f &_result_ref = (arg1)->clamp(arg2,arg3);
|
|
2436
|
+
result = (FXVec4f *) &_result_ref; } vresult = FXRbGetRubyObj(result, "FXVec4f *"); return vresult; }
|
|
2413
2437
|
static VALUE _wrap_FXVec4d_x_set(int argc, VALUE *argv, VALUE self) { FXVec4d *arg1 = (FXVec4d *) 0 ; FXdouble arg2 ;
|
|
2414
2438
|
if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
|
2415
2439
|
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXVec4d, 1); arg2 = (FXdouble) NUM2DBL(argv[0]);
|
|
@@ -2495,6 +2519,29 @@ static VALUE _wrap_new_FXVec4d(int nargs, VALUE *args, VALUE self) { int argc; V
|
|
|
2495
2519
|
_v = ((TYPE(argv[3]) == T_FLOAT) || (TYPE(argv[3]) == T_FIXNUM) || (TYPE(argv[3]) == T_BIGNUM)) ? 1 : 0; }
|
|
2496
2520
|
if (_v) { return _wrap_new_FXVec4d__SWIG_3(nargs, args, self);} } } } }
|
|
2497
2521
|
rb_raise(rb_eArgError, "No matching function for overloaded 'new_FXVec4d'"); return Qnil; }
|
|
2522
|
+
static VALUE _wrap_FXVec4d_distance(int argc, VALUE *argv, VALUE self) { FXVec4d *arg1 = (FXVec4d *) 0 ; FXVec3d *arg2 = 0 ;
|
|
2523
|
+
FXdouble result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
|
|
2524
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
|
2525
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXVec4d, 1);
|
|
2526
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXVec3d, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
|
|
2527
|
+
result = (FXdouble)((FXVec4d const *)arg1)->distance((FXVec3d const &)*arg2); vresult = rb_float_new(result);
|
|
2528
|
+
return vresult; }
|
|
2529
|
+
static VALUE _wrap_FXVec4d_crossesq___(int argc, VALUE *argv, VALUE self) { FXVec4d *arg1 = (FXVec4d *) 0 ; FXVec3d *arg2 = 0 ;
|
|
2530
|
+
FXVec3d *arg3 = 0 ; bool result; VALUE vresult = Qnil; if ((argc < 2) || (argc > 2))
|
|
2531
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
|
|
2532
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXVec4d, 1);
|
|
2533
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXVec3d, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
|
|
2534
|
+
SWIG_ConvertPtr(argv[1], (void **) &arg3, SWIGTYPE_p_FXVec3d, 1); if (arg3 == NULL) rb_raise(rb_eTypeError, "null reference");
|
|
2535
|
+
result = (bool)((FXVec4d const *)arg1)->crosses((FXVec3d const &)*arg2,(FXVec3d const &)*arg3);
|
|
2536
|
+
vresult = result ? Qtrue : Qfalse; return vresult; }
|
|
2537
|
+
static VALUE _wrap_FXVec4d_length2(int argc, VALUE *argv, VALUE self) { FXVec4d *arg1 = (FXVec4d *) 0 ; FXdouble result;
|
|
2538
|
+
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
|
2539
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXVec4d, 1); result = (FXdouble)((FXVec4d const *)arg1)->length2();
|
|
2540
|
+
vresult = rb_float_new(result); return vresult; }
|
|
2541
|
+
static VALUE _wrap_FXVec4d_length(int argc, VALUE *argv, VALUE self) { FXVec4d *arg1 = (FXVec4d *) 0 ; FXdouble result;
|
|
2542
|
+
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
|
2543
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXVec4d, 1); result = (FXdouble)((FXVec4d const *)arg1)->length();
|
|
2544
|
+
vresult = rb_float_new(result); return vresult; }
|
|
2498
2545
|
static VALUE _wrap_FXVec4d___getitem__(int argc, VALUE *argv, VALUE self) { FXVec4d *arg1 = (FXVec4d *) 0 ; FXint arg2 ;
|
|
2499
2546
|
FXdouble result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
|
|
2500
2547
|
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
|
@@ -2572,14 +2619,6 @@ static VALUE _wrap_FXVec4d___eq__(int argc, VALUE *argv, VALUE self) { FXVec4d *
|
|
|
2572
2619
|
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXVec4d, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
|
|
2573
2620
|
result = (bool)FXVec4d_operator_Se__Se_((FXVec4d const *)arg1,(FXVec4d const &)*arg2); vresult = result ? Qtrue : Qfalse;
|
|
2574
2621
|
return vresult; }
|
|
2575
|
-
static VALUE _wrap_FXVec4d_len2(int argc, VALUE *argv, VALUE self) { FXVec4d *arg1 = (FXVec4d *) 0 ; FXdouble result;
|
|
2576
|
-
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
|
2577
|
-
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXVec4d, 1); result = (FXdouble)FXVec4d_len2((FXVec4d const *)arg1);
|
|
2578
|
-
vresult = rb_float_new(result); return vresult; }
|
|
2579
|
-
static VALUE _wrap_FXVec4d_len(int argc, VALUE *argv, VALUE self) { FXVec4d *arg1 = (FXVec4d *) 0 ; FXdouble result;
|
|
2580
|
-
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
|
2581
|
-
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXVec4d, 1); result = (FXdouble)FXVec4d_len((FXVec4d const *)arg1);
|
|
2582
|
-
vresult = rb_float_new(result); return vresult; }
|
|
2583
2622
|
static VALUE _wrap_FXVec4d_normalize(int argc, VALUE *argv, VALUE self) { FXVec4d *arg1 = (FXVec4d *) 0 ; FXVec4d result;
|
|
2584
2623
|
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
|
2585
2624
|
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXVec4d, 1); result = FXVec4d_normalize((FXVec4d const *)arg1); {
|
|
@@ -2648,21 +2687,12 @@ static VALUE _wrap_FXVec4d_plane(int nargs, VALUE *args, VALUE self) { int argc;
|
|
|
2648
2687
|
_v = (NIL_P(argv[2]) || (TYPE(argv[2]) == T_DATA && SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_FXVec3d, 0) != -1)) ? 1 : 0; }
|
|
2649
2688
|
if (_v) { return _wrap_FXVec4d_plane__SWIG_3(nargs, args, self);} } } }
|
|
2650
2689
|
rb_raise(rb_eArgError, "No matching function for overloaded 'FXVec4d_plane'"); return Qnil; }
|
|
2651
|
-
static VALUE
|
|
2652
|
-
FXdouble result; VALUE vresult = Qnil; if ((argc < 2) || (argc > 2))
|
|
2690
|
+
static VALUE _wrap_FXVec4d_clamp(int argc, VALUE *argv, VALUE self) { FXVec4d *arg1 = (FXVec4d *) 0 ; FXdouble arg2 ;
|
|
2691
|
+
FXdouble arg3 ; FXVec4d *result; VALUE vresult = Qnil; if ((argc < 2) || (argc > 2))
|
|
2653
2692
|
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
|
|
2654
|
-
SWIG_ConvertPtr(
|
|
2655
|
-
|
|
2656
|
-
|
|
2657
|
-
return vresult; }
|
|
2658
|
-
static VALUE _wrap_FXVec4d_crosses(int argc, VALUE *argv, VALUE self) { FXVec4d *arg1 = 0 ; FXVec3d *arg2 = 0 ;
|
|
2659
|
-
FXVec3d *arg3 = 0 ; FXbool result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3))
|
|
2660
|
-
rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc);
|
|
2661
|
-
SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_FXVec4d, 1); if (arg1 == NULL) rb_raise(rb_eTypeError, "null reference");
|
|
2662
|
-
SWIG_ConvertPtr(argv[1], (void **) &arg2, SWIGTYPE_p_FXVec3d, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
|
|
2663
|
-
SWIG_ConvertPtr(argv[2], (void **) &arg3, SWIGTYPE_p_FXVec3d, 1); if (arg3 == NULL) rb_raise(rb_eTypeError, "null reference");
|
|
2664
|
-
result = (FXbool)FXVec4d_crosses((FXVec4d const &)*arg1,(FXVec3d const &)*arg2,(FXVec3d const &)*arg3);
|
|
2665
|
-
vresult = result ? Qtrue : Qfalse; return vresult; }
|
|
2693
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXVec4d, 1); arg2 = (FXdouble) NUM2DBL(argv[0]);
|
|
2694
|
+
arg3 = (FXdouble) NUM2DBL(argv[1]); { FXVec4d &_result_ref = (arg1)->clamp(arg2,arg3); result = (FXVec4d *) &_result_ref; }
|
|
2695
|
+
vresult = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_FXVec4d,0); return vresult; }
|
|
2666
2696
|
static VALUE _wrap_new_FXQuatf__SWIG_0(int argc, VALUE *argv, VALUE self) { FXQuatf *result; if ((argc < 0) || (argc > 0))
|
|
2667
2697
|
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); { result = (FXQuatf *)new FXQuatf();
|
|
2668
2698
|
DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result); if(rb_block_given_p()){ rb_yield(self); } } return self; }
|
|
@@ -2786,34 +2816,54 @@ static VALUE _wrap_FXQuatf_getZAxis(int argc, VALUE *argv, VALUE self) { FXQuatf
|
|
|
2786
2816
|
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
|
2787
2817
|
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXQuatf, 1); result = ((FXQuatf const *)arg1)->getZAxis(); {
|
|
2788
2818
|
FXVec3f* resultptr = new FXVec3f(result); vresult = FXRbGetRubyObj(resultptr, "FXVec3f *"); } return vresult; }
|
|
2789
|
-
static VALUE _wrap_FXQuatf_getRollPitchYaw(int argc, VALUE *argv, VALUE self) { FXQuatf *arg1 = (FXQuatf *) 0 ; VALUE result;
|
|
2790
|
-
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
|
2791
|
-
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXQuatf, 1);
|
|
2792
|
-
result = (VALUE)FXQuatf_getRollPitchYaw((FXQuatf const *)arg1); vresult = result; return vresult; }
|
|
2793
|
-
static VALUE _wrap_FXQuatf_getAxes(int argc, VALUE *argv, VALUE self) { FXQuatf *arg1 = (FXQuatf *) 0 ; VALUE result;
|
|
2794
|
-
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
|
2795
|
-
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXQuatf, 1); result = (VALUE)FXQuatf_getAxes((FXQuatf const *)arg1);
|
|
2796
|
-
vresult = result; return vresult; }
|
|
2797
2819
|
static VALUE _wrap_FXQuatf_exp(int argc, VALUE *argv, VALUE self) { FXQuatf *arg1 = (FXQuatf *) 0 ; FXQuatf result;
|
|
2798
2820
|
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
|
2799
|
-
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXQuatf, 1); result =
|
|
2821
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXQuatf, 1); result = ((FXQuatf const *)arg1)->exp(); {
|
|
2800
2822
|
FXQuatf *resultptr = new FXQuatf(result); vresult = FXRbGetRubyObj(resultptr, "FXQuatf *"); } return vresult; }
|
|
2801
2823
|
static VALUE _wrap_FXQuatf_log(int argc, VALUE *argv, VALUE self) { FXQuatf *arg1 = (FXQuatf *) 0 ; FXQuatf result;
|
|
2802
2824
|
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
|
2803
|
-
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXQuatf, 1); result =
|
|
2825
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXQuatf, 1); result = ((FXQuatf const *)arg1)->log(); {
|
|
2804
2826
|
FXQuatf *resultptr = new FXQuatf(result); vresult = FXRbGetRubyObj(resultptr, "FXQuatf *"); } return vresult; }
|
|
2805
2827
|
static VALUE _wrap_FXQuatf_invert(int argc, VALUE *argv, VALUE self) { FXQuatf *arg1 = (FXQuatf *) 0 ; FXQuatf result;
|
|
2806
2828
|
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
|
2807
|
-
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXQuatf, 1); result =
|
|
2829
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXQuatf, 1); result = ((FXQuatf const *)arg1)->invert(); {
|
|
2808
2830
|
FXQuatf *resultptr = new FXQuatf(result); vresult = FXRbGetRubyObj(resultptr, "FXQuatf *"); } return vresult; }
|
|
2809
2831
|
static VALUE _wrap_FXQuatf_unitinvert(int argc, VALUE *argv, VALUE self) { FXQuatf *arg1 = (FXQuatf *) 0 ; FXQuatf result;
|
|
2810
2832
|
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
|
2811
|
-
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXQuatf, 1); result =
|
|
2833
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXQuatf, 1); result = ((FXQuatf const *)arg1)->unitinvert(); {
|
|
2812
2834
|
FXQuatf *resultptr = new FXQuatf(result); vresult = FXRbGetRubyObj(resultptr, "FXQuatf *"); } return vresult; }
|
|
2813
2835
|
static VALUE _wrap_FXQuatf_conj(int argc, VALUE *argv, VALUE self) { FXQuatf *arg1 = (FXQuatf *) 0 ; FXQuatf result;
|
|
2814
2836
|
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
|
2815
|
-
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXQuatf, 1); result =
|
|
2837
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXQuatf, 1); result = ((FXQuatf const *)arg1)->conj(); {
|
|
2816
2838
|
FXQuatf *resultptr = new FXQuatf(result); vresult = FXRbGetRubyObj(resultptr, "FXQuatf *"); } return vresult; }
|
|
2839
|
+
static VALUE _wrap_FXQuatf_arcN___(int argc, VALUE *argv, VALUE self) { FXQuatf *arg1 = (FXQuatf *) 0 ; FXVec3f *arg2 = 0 ;
|
|
2840
|
+
FXVec3f *arg3 = 0 ; FXQuatf *result; VALUE vresult = Qnil; if ((argc < 2) || (argc > 2))
|
|
2841
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
|
|
2842
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXQuatf, 1); { if (TYPE(argv[0]) == T_ARRAY) {
|
|
2843
|
+
arg2 = new FXVec3f(NUM2DBL(rb_ary_entry(argv[0], 0)), NUM2DBL(rb_ary_entry(argv[0], 1)), NUM2DBL(rb_ary_entry(argv[0], 2))); }
|
|
2844
|
+
else { FXVec3f *p; SWIG_ConvertPtr(argv[0], (void **)&p, SWIGTYPE_p_FXVec3f, 1); arg2 = new FXVec3f(*p); } } {
|
|
2845
|
+
if (TYPE(argv[1]) == T_ARRAY) {
|
|
2846
|
+
arg3 = new FXVec3f(NUM2DBL(rb_ary_entry(argv[1], 0)), NUM2DBL(rb_ary_entry(argv[1], 1)), NUM2DBL(rb_ary_entry(argv[1], 2))); }
|
|
2847
|
+
else { FXVec3f *p; SWIG_ConvertPtr(argv[1], (void **)&p, SWIGTYPE_p_FXVec3f, 1); arg3 = new FXVec3f(*p); } } {
|
|
2848
|
+
FXQuatf &_result_ref = (arg1)->arc((FXVec3f const &)*arg2,(FXVec3f const &)*arg3); result = (FXQuatf *) &_result_ref; }
|
|
2849
|
+
vresult = FXRbGetRubyObj(result, "FXQuatf *"); delete arg2; delete arg3; return vresult; }
|
|
2850
|
+
static VALUE _wrap_FXQuatf_lerpN___(int argc, VALUE *argv, VALUE self) { FXQuatf *arg1 = (FXQuatf *) 0 ; FXQuatf *arg2 = 0 ;
|
|
2851
|
+
FXQuatf *arg3 = 0 ; FXfloat arg4 ; FXQuatf *result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3))
|
|
2852
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc);
|
|
2853
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXQuatf, 1);
|
|
2854
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXQuatf, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
|
|
2855
|
+
SWIG_ConvertPtr(argv[1], (void **) &arg3, SWIGTYPE_p_FXQuatf, 1); if (arg3 == NULL) rb_raise(rb_eTypeError, "null reference");
|
|
2856
|
+
arg4 = (FXfloat) NUM2DBL(argv[2]); {
|
|
2857
|
+
FXQuatf &_result_ref = (arg1)->lerp((FXQuatf const &)*arg2,(FXQuatf const &)*arg3,arg4);
|
|
2858
|
+
result = (FXQuatf *) &_result_ref; } vresult = FXRbGetRubyObj(result, "FXQuatf *"); return vresult; }
|
|
2859
|
+
static VALUE _wrap_FXQuatf_getRollPitchYaw(int argc, VALUE *argv, VALUE self) { FXQuatf *arg1 = (FXQuatf *) 0 ; VALUE result;
|
|
2860
|
+
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
|
2861
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXQuatf, 1);
|
|
2862
|
+
result = (VALUE)FXQuatf_getRollPitchYaw((FXQuatf const *)arg1); vresult = result; return vresult; }
|
|
2863
|
+
static VALUE _wrap_FXQuatf_getAxes(int argc, VALUE *argv, VALUE self) { FXQuatf *arg1 = (FXQuatf *) 0 ; VALUE result;
|
|
2864
|
+
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
|
2865
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXQuatf, 1); result = (VALUE)FXQuatf_getAxes((FXQuatf const *)arg1);
|
|
2866
|
+
vresult = result; return vresult; }
|
|
2817
2867
|
static VALUE _wrap_FXQuatf___mul____SWIG_0(int argc, VALUE *argv, VALUE self) { FXQuatf *arg1 = (FXQuatf *) 0 ;
|
|
2818
2868
|
FXQuatf *arg2 = 0 ; FXQuatf result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
|
|
2819
2869
|
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
|
@@ -2842,28 +2892,6 @@ static VALUE _wrap_FXQuatf___mul__(int nargs, VALUE *args, VALUE self) { int arg
|
|
|
2842
2892
|
_v = (NIL_P(argv[1]) || (TYPE(argv[1]) == T_DATA && SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_FXVec3f, 0) != -1)) ? 1 : 0; }
|
|
2843
2893
|
if (_v) { return _wrap_FXQuatf___mul____SWIG_1(nargs, args, self);} } }
|
|
2844
2894
|
rb_raise(rb_eArgError, "No matching function for overloaded 'FXQuatf___mul__'"); return Qnil; }
|
|
2845
|
-
static VALUE _wrap_FXQuatf_arc(int argc, VALUE *argv, VALUE self) { FXVec3f *arg1 = 0 ; FXVec3f *arg2 = 0 ; FXQuatf result;
|
|
2846
|
-
VALUE vresult = Qnil; if ((argc < 2) || (argc > 2)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); {
|
|
2847
|
-
if (TYPE(argv[0]) == T_ARRAY) {
|
|
2848
|
-
arg1 = new FXVec3f(NUM2DBL(rb_ary_entry(argv[0], 0)), NUM2DBL(rb_ary_entry(argv[0], 1)), NUM2DBL(rb_ary_entry(argv[0], 2))); }
|
|
2849
|
-
else { FXVec3f *p; SWIG_ConvertPtr(argv[0], (void **)&p, SWIGTYPE_p_FXVec3f, 1); arg1 = new FXVec3f(*p); } } {
|
|
2850
|
-
if (TYPE(argv[1]) == T_ARRAY) {
|
|
2851
|
-
arg2 = new FXVec3f(NUM2DBL(rb_ary_entry(argv[1], 0)), NUM2DBL(rb_ary_entry(argv[1], 1)), NUM2DBL(rb_ary_entry(argv[1], 2))); }
|
|
2852
|
-
else { FXVec3f *p; SWIG_ConvertPtr(argv[1], (void **)&p, SWIGTYPE_p_FXVec3f, 1); arg2 = new FXVec3f(*p); } }
|
|
2853
|
-
result = FXQuatf_arc((FXVec3f const &)*arg1,(FXVec3f const &)*arg2); { FXQuatf *resultptr = new FXQuatf(result);
|
|
2854
|
-
vresult = FXRbGetRubyObj(resultptr, "FXQuatf *"); } delete arg1; delete arg2; return vresult; }
|
|
2855
|
-
static VALUE _wrap_FXQuatf_lerp(int argc, VALUE *argv, VALUE self) { FXQuatf *arg1 = 0 ; FXQuatf *arg2 = 0 ; FXfloat arg3 ;
|
|
2856
|
-
FXQuatf result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3))
|
|
2857
|
-
rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc);
|
|
2858
|
-
SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_FXQuatf, 1); if (arg1 == NULL) rb_raise(rb_eTypeError, "null reference");
|
|
2859
|
-
SWIG_ConvertPtr(argv[1], (void **) &arg2, SWIGTYPE_p_FXQuatf, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
|
|
2860
|
-
arg3 = (FXfloat) NUM2DBL(argv[2]); result = FXQuatf_lerp((FXQuatf const &)*arg1,(FXQuatf const &)*arg2,arg3); {
|
|
2861
|
-
FXQuatf *resultptr = new FXQuatf(result); vresult = FXRbGetRubyObj(resultptr, "FXQuatf *"); } return vresult; }
|
|
2862
|
-
static VALUE _wrap_FXQuatf_toMatrix(int argc, VALUE *argv, VALUE self) { FXQuatf *arg1 = (FXQuatf *) 0 ; FXMat3f result;
|
|
2863
|
-
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
|
2864
|
-
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXQuatf, 1); result = FXQuatf_toMatrix((FXQuatf const *)arg1); {
|
|
2865
|
-
FXMat3f * resultptr; resultptr = new FXMat3f((FXMat3f &)result);
|
|
2866
|
-
vresult = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_FXMat3f, 1); } return vresult; }
|
|
2867
2895
|
static VALUE _wrap_new_FXQuatd__SWIG_0(int argc, VALUE *argv, VALUE self) { FXQuatd *result; if ((argc < 0) || (argc > 0))
|
|
2868
2896
|
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); { result = (FXQuatd *)new FXQuatd();
|
|
2869
2897
|
DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result); if(rb_block_given_p()){ rb_yield(self); } } return self; }
|
|
@@ -2942,12 +2970,7 @@ static VALUE _wrap_new_FXQuatd(int nargs, VALUE *args, VALUE self) { int argc; V
|
|
|
2942
2970
|
_v = ((TYPE(argv[3]) == T_FLOAT) || (TYPE(argv[3]) == T_FIXNUM) || (TYPE(argv[3]) == T_BIGNUM)) ? 1 : 0; }
|
|
2943
2971
|
if (_v) { return _wrap_new_FXQuatd__SWIG_2(nargs, args, self);} } } } }
|
|
2944
2972
|
rb_raise(rb_eArgError, "No matching function for overloaded 'new_FXQuatd'"); return Qnil; }
|
|
2945
|
-
static VALUE
|
|
2946
|
-
VALUE vresult = Qnil; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
|
2947
|
-
SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_FXMat3d, 1); if (arg1 == NULL) rb_raise(rb_eTypeError, "null reference");
|
|
2948
|
-
result = FXQuatd_fromMatrix((FXMat3d const &)*arg1); { FXQuatd * resultptr; resultptr = new FXQuatd((FXQuatd &)result);
|
|
2949
|
-
vresult = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_FXQuatd, 1); } return vresult; }
|
|
2950
|
-
static VALUE _wrap_FXQuatd_adjust(int argc, VALUE *argv, VALUE self) { FXQuatd *arg1 = (FXQuatd *) 0 ; FXQuatd *result;
|
|
2973
|
+
static VALUE _wrap_FXQuatd_adjustN___(int argc, VALUE *argv, VALUE self) { FXQuatd *arg1 = (FXQuatd *) 0 ; FXQuatd *result;
|
|
2951
2974
|
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
|
2952
2975
|
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXQuatd, 1); { FXQuatd &_result_ref = (arg1)->adjust();
|
|
2953
2976
|
result = (FXQuatd *) &_result_ref; } vresult = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_FXQuatd,0);
|
|
@@ -2967,35 +2990,53 @@ static VALUE _wrap_FXQuatd_setRollPitchYaw(int argc, VALUE *argv, VALUE self) {
|
|
|
2967
2990
|
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXQuatd, 1); arg2 = (FXdouble) NUM2DBL(argv[0]);
|
|
2968
2991
|
arg3 = (FXdouble) NUM2DBL(argv[1]); arg4 = (FXdouble) NUM2DBL(argv[2]); (arg1)->setRollPitchYaw(arg2,arg3,arg4);
|
|
2969
2992
|
return Qnil; }
|
|
2970
|
-
static VALUE _wrap_FXQuatd_getRollPitchYaw(int argc, VALUE *argv, VALUE self) { FXQuatd *arg1 = (FXQuatd *) 0 ; VALUE result;
|
|
2971
|
-
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
|
2972
|
-
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXQuatd, 1);
|
|
2973
|
-
result = (VALUE)FXQuatd_getRollPitchYaw((FXQuatd const *)arg1); vresult = result; return vresult; }
|
|
2974
2993
|
static VALUE _wrap_FXQuatd_exp(int argc, VALUE *argv, VALUE self) { FXQuatd *arg1 = (FXQuatd *) 0 ; FXQuatd result;
|
|
2975
2994
|
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
|
2976
|
-
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXQuatd, 1); result =
|
|
2995
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXQuatd, 1); result = ((FXQuatd const *)arg1)->exp(); {
|
|
2977
2996
|
FXQuatd * resultptr; resultptr = new FXQuatd((FXQuatd &)result);
|
|
2978
2997
|
vresult = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_FXQuatd, 1); } return vresult; }
|
|
2979
2998
|
static VALUE _wrap_FXQuatd_log(int argc, VALUE *argv, VALUE self) { FXQuatd *arg1 = (FXQuatd *) 0 ; FXQuatd result;
|
|
2980
2999
|
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
|
2981
|
-
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXQuatd, 1); result =
|
|
3000
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXQuatd, 1); result = ((FXQuatd const *)arg1)->log(); {
|
|
2982
3001
|
FXQuatd * resultptr; resultptr = new FXQuatd((FXQuatd &)result);
|
|
2983
3002
|
vresult = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_FXQuatd, 1); } return vresult; }
|
|
2984
3003
|
static VALUE _wrap_FXQuatd_invert(int argc, VALUE *argv, VALUE self) { FXQuatd *arg1 = (FXQuatd *) 0 ; FXQuatd result;
|
|
2985
3004
|
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
|
2986
|
-
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXQuatd, 1); result =
|
|
3005
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXQuatd, 1); result = ((FXQuatd const *)arg1)->invert(); {
|
|
2987
3006
|
FXQuatd * resultptr; resultptr = new FXQuatd((FXQuatd &)result);
|
|
2988
3007
|
vresult = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_FXQuatd, 1); } return vresult; }
|
|
2989
3008
|
static VALUE _wrap_FXQuatd_unitinvert(int argc, VALUE *argv, VALUE self) { FXQuatd *arg1 = (FXQuatd *) 0 ; FXQuatd result;
|
|
2990
3009
|
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
|
2991
|
-
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXQuatd, 1); result =
|
|
3010
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXQuatd, 1); result = ((FXQuatd const *)arg1)->unitinvert(); {
|
|
2992
3011
|
FXQuatd * resultptr; resultptr = new FXQuatd((FXQuatd &)result);
|
|
2993
3012
|
vresult = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_FXQuatd, 1); } return vresult; }
|
|
2994
3013
|
static VALUE _wrap_FXQuatd_conj(int argc, VALUE *argv, VALUE self) { FXQuatd *arg1 = (FXQuatd *) 0 ; FXQuatd result;
|
|
2995
3014
|
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
|
2996
|
-
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXQuatd, 1); result =
|
|
3015
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXQuatd, 1); result = ((FXQuatd const *)arg1)->conj(); {
|
|
2997
3016
|
FXQuatd * resultptr; resultptr = new FXQuatd((FXQuatd &)result);
|
|
2998
3017
|
vresult = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_FXQuatd, 1); } return vresult; }
|
|
3018
|
+
static VALUE _wrap_FXQuatd_arcN___(int argc, VALUE *argv, VALUE self) { FXQuatd *arg1 = (FXQuatd *) 0 ; FXVec3d *arg2 = 0 ;
|
|
3019
|
+
FXVec3d *arg3 = 0 ; FXQuatd *result; VALUE vresult = Qnil; if ((argc < 2) || (argc > 2))
|
|
3020
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
|
|
3021
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXQuatd, 1);
|
|
3022
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXVec3d, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
|
|
3023
|
+
SWIG_ConvertPtr(argv[1], (void **) &arg3, SWIGTYPE_p_FXVec3d, 1); if (arg3 == NULL) rb_raise(rb_eTypeError, "null reference");
|
|
3024
|
+
{ FXQuatd &_result_ref = (arg1)->arc((FXVec3d const &)*arg2,(FXVec3d const &)*arg3); result = (FXQuatd *) &_result_ref; }
|
|
3025
|
+
vresult = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_FXQuatd,0); return vresult; }
|
|
3026
|
+
static VALUE _wrap_FXQuatd_lerpN___(int argc, VALUE *argv, VALUE self) { FXQuatd *arg1 = (FXQuatd *) 0 ; FXQuatd *arg2 = 0 ;
|
|
3027
|
+
FXQuatd *arg3 = 0 ; FXdouble arg4 ; FXQuatd *result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3))
|
|
3028
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc);
|
|
3029
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXQuatd, 1);
|
|
3030
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXQuatd, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
|
|
3031
|
+
SWIG_ConvertPtr(argv[1], (void **) &arg3, SWIGTYPE_p_FXQuatd, 1); if (arg3 == NULL) rb_raise(rb_eTypeError, "null reference");
|
|
3032
|
+
arg4 = (FXdouble) NUM2DBL(argv[2]); {
|
|
3033
|
+
FXQuatd &_result_ref = (arg1)->lerp((FXQuatd const &)*arg2,(FXQuatd const &)*arg3,arg4);
|
|
3034
|
+
result = (FXQuatd *) &_result_ref; } vresult = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_FXQuatd,0);
|
|
3035
|
+
return vresult; }
|
|
3036
|
+
static VALUE _wrap_FXQuatd_getRollPitchYaw(int argc, VALUE *argv, VALUE self) { FXQuatd *arg1 = (FXQuatd *) 0 ; VALUE result;
|
|
3037
|
+
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
|
3038
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXQuatd, 1);
|
|
3039
|
+
result = (VALUE)FXQuatd_getRollPitchYaw((FXQuatd const *)arg1); vresult = result; return vresult; }
|
|
2999
3040
|
static VALUE _wrap_FXQuatd___mul____SWIG_0(int argc, VALUE *argv, VALUE self) { FXQuatd *arg1 = (FXQuatd *) 0 ;
|
|
3000
3041
|
FXQuatd *arg2 = 0 ; FXQuatd result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
|
|
3001
3042
|
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
|
@@ -3024,26 +3065,6 @@ static VALUE _wrap_FXQuatd___mul__(int nargs, VALUE *args, VALUE self) { int arg
|
|
|
3024
3065
|
_v = (NIL_P(argv[1]) || (TYPE(argv[1]) == T_DATA && SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_FXVec3d, 0) != -1)) ? 1 : 0; }
|
|
3025
3066
|
if (_v) { return _wrap_FXQuatd___mul____SWIG_1(nargs, args, self);} } }
|
|
3026
3067
|
rb_raise(rb_eArgError, "No matching function for overloaded 'FXQuatd___mul__'"); return Qnil; }
|
|
3027
|
-
static VALUE _wrap_FXQuatd_arc(int argc, VALUE *argv, VALUE self) { FXVec3d *arg1 = 0 ; FXVec3d *arg2 = 0 ; FXQuatd result;
|
|
3028
|
-
VALUE vresult = Qnil; if ((argc < 2) || (argc > 2)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
|
|
3029
|
-
SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_FXVec3d, 1); if (arg1 == NULL) rb_raise(rb_eTypeError, "null reference");
|
|
3030
|
-
SWIG_ConvertPtr(argv[1], (void **) &arg2, SWIGTYPE_p_FXVec3d, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
|
|
3031
|
-
result = FXQuatd_arc((FXVec3d const &)*arg1,(FXVec3d const &)*arg2); { FXQuatd * resultptr;
|
|
3032
|
-
resultptr = new FXQuatd((FXQuatd &)result); vresult = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_FXQuatd, 1); }
|
|
3033
|
-
return vresult; }
|
|
3034
|
-
static VALUE _wrap_FXQuatd_lerp(int argc, VALUE *argv, VALUE self) { FXQuatd *arg1 = 0 ; FXQuatd *arg2 = 0 ; FXdouble arg3 ;
|
|
3035
|
-
FXQuatd result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3))
|
|
3036
|
-
rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc);
|
|
3037
|
-
SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_FXQuatd, 1); if (arg1 == NULL) rb_raise(rb_eTypeError, "null reference");
|
|
3038
|
-
SWIG_ConvertPtr(argv[1], (void **) &arg2, SWIGTYPE_p_FXQuatd, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
|
|
3039
|
-
arg3 = (FXdouble) NUM2DBL(argv[2]); result = FXQuatd_lerp((FXQuatd const &)*arg1,(FXQuatd const &)*arg2,arg3); {
|
|
3040
|
-
FXQuatd * resultptr; resultptr = new FXQuatd((FXQuatd &)result);
|
|
3041
|
-
vresult = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_FXQuatd, 1); } return vresult; }
|
|
3042
|
-
static VALUE _wrap_FXQuatd_toMatrix(int argc, VALUE *argv, VALUE self) { FXQuatd *arg1 = (FXQuatd *) 0 ; FXMat3d result;
|
|
3043
|
-
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
|
3044
|
-
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXQuatd, 1); result = FXQuatd_toMatrix((FXQuatd const *)arg1); {
|
|
3045
|
-
FXMat3d * resultptr; resultptr = new FXMat3d((FXMat3d &)result);
|
|
3046
|
-
vresult = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_FXMat3d, 1); } return vresult; }
|
|
3047
3068
|
static VALUE _wrap_FXQuatd_setAxes(int argc, VALUE *argv, VALUE self) { FXQuatd *arg1 = (FXQuatd *) 0 ; FXVec3d *arg2 = 0 ;
|
|
3048
3069
|
FXVec3d *arg3 = 0 ; FXVec3d *arg4 = 0 ; if ((argc < 3) || (argc > 3))
|
|
3049
3070
|
rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc);
|
|
@@ -3306,16 +3327,16 @@ static VALUE _wrap_FXMat3f_scale(int nargs, VALUE *args, VALUE self) { int argc;
|
|
|
3306
3327
|
rb_raise(rb_eArgError, "No matching function for overloaded 'FXMat3f_scale'"); return Qnil; }
|
|
3307
3328
|
static VALUE _wrap_FXMat3f_det(int argc, VALUE *argv, VALUE self) { FXMat3f *arg1 = (FXMat3f *) 0 ; FXfloat result;
|
|
3308
3329
|
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
|
3309
|
-
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXMat3f, 1); result = (FXfloat)
|
|
3330
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXMat3f, 1); result = (FXfloat)((FXMat3f const *)arg1)->det();
|
|
3310
3331
|
vresult = rb_float_new(result); return vresult; }
|
|
3311
3332
|
static VALUE _wrap_FXMat3f_transpose(int argc, VALUE *argv, VALUE self) { FXMat3f *arg1 = (FXMat3f *) 0 ; FXMat3f result;
|
|
3312
3333
|
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
|
3313
|
-
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXMat3f, 1); result =
|
|
3334
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXMat3f, 1); result = ((FXMat3f const *)arg1)->transpose(); {
|
|
3314
3335
|
FXMat3f * resultptr; resultptr = new FXMat3f((FXMat3f &)result);
|
|
3315
3336
|
vresult = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_FXMat3f, 1); } return vresult; }
|
|
3316
3337
|
static VALUE _wrap_FXMat3f_invert(int argc, VALUE *argv, VALUE self) { FXMat3f *arg1 = (FXMat3f *) 0 ; FXMat3f result;
|
|
3317
3338
|
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
|
3318
|
-
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXMat3f, 1); result =
|
|
3339
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXMat3f, 1); result = ((FXMat3f const *)arg1)->invert(); {
|
|
3319
3340
|
FXMat3f * resultptr; resultptr = new FXMat3f((FXMat3f &)result);
|
|
3320
3341
|
vresult = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_FXMat3f, 1); } return vresult; }
|
|
3321
3342
|
static VALUE _wrap_new_FXMat3d__SWIG_0(int argc, VALUE *argv, VALUE self) { FXMat3d *result; if ((argc < 0) || (argc > 0))
|
|
@@ -3546,16 +3567,16 @@ static VALUE _wrap_FXMat3d_scale(int nargs, VALUE *args, VALUE self) { int argc;
|
|
|
3546
3567
|
rb_raise(rb_eArgError, "No matching function for overloaded 'FXMat3d_scale'"); return Qnil; }
|
|
3547
3568
|
static VALUE _wrap_FXMat3d_det(int argc, VALUE *argv, VALUE self) { FXMat3d *arg1 = (FXMat3d *) 0 ; FXdouble result;
|
|
3548
3569
|
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
|
3549
|
-
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXMat3d, 1); result = (FXdouble)
|
|
3570
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXMat3d, 1); result = (FXdouble)((FXMat3d const *)arg1)->det();
|
|
3550
3571
|
vresult = rb_float_new(result); return vresult; }
|
|
3551
3572
|
static VALUE _wrap_FXMat3d_transpose(int argc, VALUE *argv, VALUE self) { FXMat3d *arg1 = (FXMat3d *) 0 ; FXMat3d result;
|
|
3552
3573
|
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
|
3553
|
-
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXMat3d, 1); result =
|
|
3574
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXMat3d, 1); result = ((FXMat3d const *)arg1)->transpose(); {
|
|
3554
3575
|
FXMat3d * resultptr; resultptr = new FXMat3d((FXMat3d &)result);
|
|
3555
3576
|
vresult = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_FXMat3d, 1); } return vresult; }
|
|
3556
3577
|
static VALUE _wrap_FXMat3d_invert(int argc, VALUE *argv, VALUE self) { FXMat3d *arg1 = (FXMat3d *) 0 ; FXMat3d result;
|
|
3557
3578
|
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
|
3558
|
-
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXMat3d, 1); result =
|
|
3579
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXMat3d, 1); result = ((FXMat3d const *)arg1)->invert(); {
|
|
3559
3580
|
FXMat3d * resultptr; resultptr = new FXMat3d((FXMat3d &)result);
|
|
3560
3581
|
vresult = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_FXMat3d, 1); } return vresult; }
|
|
3561
3582
|
static VALUE _wrap_new_FXMat4f__SWIG_0(int argc, VALUE *argv, VALUE self) { FXMat4f *result; if ((argc < 0) || (argc > 0))
|
|
@@ -3658,6 +3679,18 @@ static VALUE _wrap_new_FXMat4f(int nargs, VALUE *args, VALUE self) { int argc; V
|
|
|
3658
3679
|
return _wrap_new_FXMat4f__SWIG_2(nargs, args, self);} }
|
|
3659
3680
|
} } } } } } } } } } } } } } }
|
|
3660
3681
|
rb_raise(rb_eArgError, "No matching function for overloaded 'new_FXMat4f'"); return Qnil; }
|
|
3682
|
+
static VALUE _wrap_FXMat4f_det(int argc, VALUE *argv, VALUE self) { FXMat4f *arg1 = (FXMat4f *) 0 ; FXfloat result;
|
|
3683
|
+
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
|
3684
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXMat4f, 1); result = (FXfloat)((FXMat4f const *)arg1)->det();
|
|
3685
|
+
vresult = rb_float_new(result); return vresult; }
|
|
3686
|
+
static VALUE _wrap_FXMat4f_transpose(int argc, VALUE *argv, VALUE self) { FXMat4f *arg1 = (FXMat4f *) 0 ; FXMat4f result;
|
|
3687
|
+
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
|
3688
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXMat4f, 1); result = ((FXMat4f const *)arg1)->transpose(); {
|
|
3689
|
+
FXMat4f* resultptr = new FXMat4f(result); vresult = FXRbGetRubyObj(resultptr, "FXMat4f *"); } return vresult; }
|
|
3690
|
+
static VALUE _wrap_FXMat4f_invert(int argc, VALUE *argv, VALUE self) { FXMat4f *arg1 = (FXMat4f *) 0 ; FXMat4f result;
|
|
3691
|
+
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
|
3692
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXMat4f, 1); result = ((FXMat4f const *)arg1)->invert(); {
|
|
3693
|
+
FXMat4f* resultptr = new FXMat4f(result); vresult = FXRbGetRubyObj(resultptr, "FXMat4f *"); } return vresult; }
|
|
3661
3694
|
static VALUE _wrap_FXMat4f___getitem__(int argc, VALUE *argv, VALUE self) { FXMat4f *arg1 = (FXMat4f *) 0 ; FXint arg2 ;
|
|
3662
3695
|
FXVec4f *result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
|
|
3663
3696
|
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
|
@@ -3745,18 +3778,6 @@ static VALUE _wrap_FXMat4f___neg__(int argc, VALUE *argv, VALUE self) { FXMat4f
|
|
|
3745
3778
|
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
|
3746
3779
|
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXMat4f, 1); result = FXMat4f_operator_Ss_((FXMat4f const *)arg1); {
|
|
3747
3780
|
FXMat4f* resultptr = new FXMat4f(result); vresult = FXRbGetRubyObj(resultptr, "FXMat4f *"); } return vresult; }
|
|
3748
|
-
static VALUE _wrap_FXMat4f_det(int argc, VALUE *argv, VALUE self) { FXMat4f *arg1 = (FXMat4f *) 0 ; FXfloat result;
|
|
3749
|
-
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
|
3750
|
-
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXMat4f, 1); result = (FXfloat)FXMat4f_det((FXMat4f const *)arg1);
|
|
3751
|
-
vresult = rb_float_new(result); return vresult; }
|
|
3752
|
-
static VALUE _wrap_FXMat4f_transpose(int argc, VALUE *argv, VALUE self) { FXMat4f *arg1 = (FXMat4f *) 0 ; FXMat4f result;
|
|
3753
|
-
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
|
3754
|
-
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXMat4f, 1); result = FXMat4f_transpose((FXMat4f const *)arg1); {
|
|
3755
|
-
FXMat4f* resultptr = new FXMat4f(result); vresult = FXRbGetRubyObj(resultptr, "FXMat4f *"); } return vresult; }
|
|
3756
|
-
static VALUE _wrap_FXMat4f_invert(int argc, VALUE *argv, VALUE self) { FXMat4f *arg1 = (FXMat4f *) 0 ; FXMat4f result;
|
|
3757
|
-
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
|
3758
|
-
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXMat4f, 1); result = FXMat4f_invert((FXMat4f const *)arg1); {
|
|
3759
|
-
FXMat4f* resultptr = new FXMat4f(result); vresult = FXRbGetRubyObj(resultptr, "FXMat4f *"); } return vresult; }
|
|
3760
3781
|
static VALUE _wrap_FXMat4f_to_s(int argc, VALUE *argv, VALUE self) { FXMat4f *arg1 = (FXMat4f *) 0 ; FXString result;
|
|
3761
3782
|
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
|
3762
3783
|
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXMat4f, 1); result = FXMat4f_to_s((FXMat4f const *)arg1);
|
|
@@ -4393,16 +4414,16 @@ static VALUE _wrap_FXMat4d_scale(int nargs, VALUE *args, VALUE self) { int argc;
|
|
|
4393
4414
|
rb_raise(rb_eArgError, "No matching function for overloaded 'FXMat4d_scale'"); return Qnil; }
|
|
4394
4415
|
static VALUE _wrap_FXMat4d_det(int argc, VALUE *argv, VALUE self) { FXMat4d *arg1 = (FXMat4d *) 0 ; FXdouble result;
|
|
4395
4416
|
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
|
4396
|
-
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXMat4d, 1); result = (FXdouble)
|
|
4417
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXMat4d, 1); result = (FXdouble)((FXMat4d const *)arg1)->det();
|
|
4397
4418
|
vresult = rb_float_new(result); return vresult; }
|
|
4398
4419
|
static VALUE _wrap_FXMat4d_transpose(int argc, VALUE *argv, VALUE self) { FXMat4d *arg1 = (FXMat4d *) 0 ; FXMat4d result;
|
|
4399
4420
|
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
|
4400
|
-
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXMat4d, 1); result =
|
|
4421
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXMat4d, 1); result = ((FXMat4d const *)arg1)->transpose(); {
|
|
4401
4422
|
FXMat4d * resultptr; resultptr = new FXMat4d((FXMat4d &)result);
|
|
4402
4423
|
vresult = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_FXMat4d, 1); } return vresult; }
|
|
4403
4424
|
static VALUE _wrap_FXMat4d_invert(int argc, VALUE *argv, VALUE self) { FXMat4d *arg1 = (FXMat4d *) 0 ; FXMat4d result;
|
|
4404
4425
|
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
|
4405
|
-
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXMat4d, 1); result =
|
|
4426
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXMat4d, 1); result = ((FXMat4d const *)arg1)->invert(); {
|
|
4406
4427
|
FXMat4d * resultptr; resultptr = new FXMat4d((FXMat4d &)result);
|
|
4407
4428
|
vresult = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_FXMat4d, 1); } return vresult; }
|
|
4408
4429
|
static VALUE _wrap_FXRangef_lower_set(int argc, VALUE *argv, VALUE self) { FXRangef *arg1 = (FXRangef *) 0 ;
|
|
@@ -4511,6 +4532,10 @@ static VALUE _wrap_FXRangef_diameter(int argc, VALUE *argv, VALUE self) { FXRang
|
|
|
4511
4532
|
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
|
4512
4533
|
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXRangef, 1); result = (FXfloat)((FXRangef const *)arg1)->diameter();
|
|
4513
4534
|
vresult = rb_float_new(result); return vresult; }
|
|
4535
|
+
static VALUE _wrap_FXRangef_radius(int argc, VALUE *argv, VALUE self) { FXRangef *arg1 = (FXRangef *) 0 ; FXfloat result;
|
|
4536
|
+
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
|
4537
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXRangef, 1); result = (FXfloat)((FXRangef const *)arg1)->radius();
|
|
4538
|
+
vresult = rb_float_new(result); return vresult; }
|
|
4514
4539
|
static VALUE _wrap_FXRangef_diagonal(int argc, VALUE *argv, VALUE self) { FXRangef *arg1 = (FXRangef *) 0 ; FXVec3f result;
|
|
4515
4540
|
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
|
4516
4541
|
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXRangef, 1); result = ((FXRangef const *)arg1)->diagonal(); {
|
|
@@ -4519,37 +4544,37 @@ static VALUE _wrap_FXRangef_center(int argc, VALUE *argv, VALUE self) { FXRangef
|
|
|
4519
4544
|
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
|
4520
4545
|
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXRangef, 1); result = ((FXRangef const *)arg1)->center(); {
|
|
4521
4546
|
FXVec3f* resultptr = new FXVec3f(result); vresult = FXRbGetRubyObj(resultptr, "FXVec3f *"); } return vresult; }
|
|
4522
|
-
static VALUE _wrap_FXRangef_emptyq___(int argc, VALUE *argv, VALUE self) { FXRangef *arg1 = (FXRangef *) 0 ;
|
|
4547
|
+
static VALUE _wrap_FXRangef_emptyq___(int argc, VALUE *argv, VALUE self) { FXRangef *arg1 = (FXRangef *) 0 ; bool result;
|
|
4523
4548
|
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
|
4524
|
-
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXRangef, 1); result = (
|
|
4549
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXRangef, 1); result = (bool)((FXRangef const *)arg1)->empty();
|
|
4525
4550
|
vresult = result ? Qtrue : Qfalse; return vresult; }
|
|
4526
4551
|
static VALUE _wrap_FXRangef_containsq_____SWIG_0(int argc, VALUE *argv, VALUE self) { FXRangef *arg1 = (FXRangef *) 0 ;
|
|
4527
|
-
FXfloat arg2 ; FXfloat arg3 ; FXfloat arg4 ;
|
|
4552
|
+
FXfloat arg2 ; FXfloat arg3 ; FXfloat arg4 ; bool result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3))
|
|
4528
4553
|
rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc);
|
|
4529
4554
|
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXRangef, 1); arg2 = (FXfloat) NUM2DBL(argv[0]);
|
|
4530
4555
|
arg3 = (FXfloat) NUM2DBL(argv[1]); arg4 = (FXfloat) NUM2DBL(argv[2]);
|
|
4531
|
-
result = (
|
|
4556
|
+
result = (bool)((FXRangef const *)arg1)->contains(arg2,arg3,arg4); vresult = result ? Qtrue : Qfalse; return vresult; }
|
|
4532
4557
|
static VALUE _wrap_FXRangef_containsq_____SWIG_1(int argc, VALUE *argv, VALUE self) { FXRangef *arg1 = (FXRangef *) 0 ;
|
|
4533
|
-
FXVec3f *arg2 = 0 ;
|
|
4558
|
+
FXVec3f *arg2 = 0 ; bool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
|
|
4534
4559
|
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
|
4535
4560
|
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXRangef, 1); { if (TYPE(argv[0]) == T_ARRAY) {
|
|
4536
4561
|
arg2 = new FXVec3f(NUM2DBL(rb_ary_entry(argv[0], 0)), NUM2DBL(rb_ary_entry(argv[0], 1)), NUM2DBL(rb_ary_entry(argv[0], 2))); }
|
|
4537
4562
|
else { FXVec3f *p; SWIG_ConvertPtr(argv[0], (void **)&p, SWIGTYPE_p_FXVec3f, 1); arg2 = new FXVec3f(*p); } }
|
|
4538
|
-
result = (
|
|
4563
|
+
result = (bool)((FXRangef const *)arg1)->contains((FXVec3f const &)*arg2); vresult = result ? Qtrue : Qfalse; delete arg2;
|
|
4539
4564
|
return vresult; }
|
|
4540
4565
|
static VALUE _wrap_FXRangef_containsq_____SWIG_2(int argc, VALUE *argv, VALUE self) { FXRangef *arg1 = (FXRangef *) 0 ;
|
|
4541
|
-
FXRangef *arg2 = 0 ;
|
|
4566
|
+
FXRangef *arg2 = 0 ; bool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
|
|
4542
4567
|
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
|
4543
4568
|
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXRangef, 1);
|
|
4544
4569
|
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXRangef, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
|
|
4545
|
-
result = (
|
|
4570
|
+
result = (bool)((FXRangef const *)arg1)->contains((FXRangef const &)*arg2); vresult = result ? Qtrue : Qfalse;
|
|
4546
4571
|
return vresult; }
|
|
4547
4572
|
static VALUE _wrap_FXRangef_containsq_____SWIG_3(int argc, VALUE *argv, VALUE self) { FXRangef *arg1 = (FXRangef *) 0 ;
|
|
4548
|
-
FXSpheref *arg2 = 0 ;
|
|
4573
|
+
FXSpheref *arg2 = 0 ; bool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
|
|
4549
4574
|
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
|
4550
4575
|
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXRangef, 1);
|
|
4551
4576
|
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXSpheref, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
|
|
4552
|
-
result = (
|
|
4577
|
+
result = (bool)((FXRangef const *)arg1)->contains((FXSpheref const &)*arg2); vresult = result ? Qtrue : Qfalse;
|
|
4553
4578
|
return vresult; }
|
|
4554
4579
|
static VALUE _wrap_FXRangef_containsq___(int nargs, VALUE *args, VALUE self) { int argc; VALUE argv[5]; int ii;
|
|
4555
4580
|
argc = nargs + 1; argv[0] = self; for (ii = 1; (ii < argc) && (ii < 4); ii++) { argv[ii] = args[ii-1]; } if (argc == 2) {
|
|
@@ -4641,7 +4666,7 @@ static VALUE _wrap_FXRangef_intersect__SWIG_0(int argc, VALUE *argv, VALUE self)
|
|
|
4641
4666
|
result = (FXint)((FXRangef const *)arg1)->intersect((FXVec4f const &)*arg2); vresult = INT2NUM(result); delete arg2;
|
|
4642
4667
|
return vresult; }
|
|
4643
4668
|
static VALUE _wrap_FXRangef_intersect__SWIG_1(int argc, VALUE *argv, VALUE self) { FXRangef *arg1 = (FXRangef *) 0 ;
|
|
4644
|
-
FXVec3f *arg2 = 0 ; FXVec3f *arg3 = 0 ;
|
|
4669
|
+
FXVec3f *arg2 = 0 ; FXVec3f *arg3 = 0 ; bool result; VALUE vresult = Qnil; if ((argc < 2) || (argc > 2))
|
|
4645
4670
|
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
|
|
4646
4671
|
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXRangef, 1); { if (TYPE(argv[0]) == T_ARRAY) {
|
|
4647
4672
|
arg2 = new FXVec3f(NUM2DBL(rb_ary_entry(argv[0], 0)), NUM2DBL(rb_ary_entry(argv[0], 1)), NUM2DBL(rb_ary_entry(argv[0], 2))); }
|
|
@@ -4649,7 +4674,7 @@ static VALUE _wrap_FXRangef_intersect__SWIG_1(int argc, VALUE *argv, VALUE self)
|
|
|
4649
4674
|
if (TYPE(argv[1]) == T_ARRAY) {
|
|
4650
4675
|
arg3 = new FXVec3f(NUM2DBL(rb_ary_entry(argv[1], 0)), NUM2DBL(rb_ary_entry(argv[1], 1)), NUM2DBL(rb_ary_entry(argv[1], 2))); }
|
|
4651
4676
|
else { FXVec3f *p; SWIG_ConvertPtr(argv[1], (void **)&p, SWIGTYPE_p_FXVec3f, 1); arg3 = new FXVec3f(*p); } }
|
|
4652
|
-
result = (
|
|
4677
|
+
result = (bool)(arg1)->intersect((FXVec3f const &)*arg2,(FXVec3f const &)*arg3); vresult = result ? Qtrue : Qfalse;
|
|
4653
4678
|
delete arg2; delete arg3; return vresult; }
|
|
4654
4679
|
static VALUE _wrap_FXRangef_intersect(int nargs, VALUE *args, VALUE self) { int argc; VALUE argv[4]; int ii; argc = nargs + 1;
|
|
4655
4680
|
argv[0] = self; for (ii = 1; (ii < argc) && (ii < 3); ii++) { argv[ii] = args[ii-1]; } if (argc == 2) { int _v; {
|
|
@@ -4666,11 +4691,11 @@ static VALUE _wrap_FXRangef_intersect(int nargs, VALUE *args, VALUE self) { int
|
|
|
4666
4691
|
if (_v) { return _wrap_FXRangef_intersect__SWIG_1(nargs, args, self);} } } }
|
|
4667
4692
|
rb_raise(rb_eArgError, "No matching function for overloaded 'FXRangef_intersect'"); return Qnil; }
|
|
4668
4693
|
static VALUE _wrap_FXRangef_overlapsq___(int argc, VALUE *argv, VALUE self) { FXRangef *arg1 = (FXRangef *) 0 ;
|
|
4669
|
-
FXRangef *arg2 = 0 ;
|
|
4694
|
+
FXRangef *arg2 = 0 ; bool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
|
|
4670
4695
|
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
|
4671
4696
|
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXRangef, 1);
|
|
4672
4697
|
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXRangef, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
|
|
4673
|
-
result = (
|
|
4698
|
+
result = (bool)FXRangef_overlaps((FXRangef const *)arg1,(FXRangef const &)*arg2); vresult = result ? Qtrue : Qfalse;
|
|
4674
4699
|
return vresult; }
|
|
4675
4700
|
static VALUE _wrap_FXRangef_corner(int argc, VALUE *argv, VALUE self) { FXRangef *arg1 = (FXRangef *) 0 ; FXint arg2 ;
|
|
4676
4701
|
FXVec3f result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
|
|
@@ -4792,6 +4817,10 @@ static VALUE _wrap_FXRanged_diameter(int argc, VALUE *argv, VALUE self) { FXRang
|
|
|
4792
4817
|
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
|
4793
4818
|
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXRanged, 1); result = (FXdouble)((FXRanged const *)arg1)->diameter();
|
|
4794
4819
|
vresult = rb_float_new(result); return vresult; }
|
|
4820
|
+
static VALUE _wrap_FXRanged_radius(int argc, VALUE *argv, VALUE self) { FXRanged *arg1 = (FXRanged *) 0 ; FXdouble result;
|
|
4821
|
+
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
|
4822
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXRanged, 1); result = (FXdouble)((FXRanged const *)arg1)->radius();
|
|
4823
|
+
vresult = rb_float_new(result); return vresult; }
|
|
4795
4824
|
static VALUE _wrap_FXRanged_diagonal(int argc, VALUE *argv, VALUE self) { FXRanged *arg1 = (FXRanged *) 0 ; FXVec3d result;
|
|
4796
4825
|
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
|
4797
4826
|
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXRanged, 1); result = ((FXRanged const *)arg1)->diagonal(); {
|
|
@@ -4802,36 +4831,36 @@ static VALUE _wrap_FXRanged_center(int argc, VALUE *argv, VALUE self) { FXRanged
|
|
|
4802
4831
|
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXRanged, 1); result = ((FXRanged const *)arg1)->center(); {
|
|
4803
4832
|
FXVec3d * resultptr; resultptr = new FXVec3d((FXVec3d &)result);
|
|
4804
4833
|
vresult = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_FXVec3d, 1); } return vresult; }
|
|
4805
|
-
static VALUE _wrap_FXRanged_emptyq___(int argc, VALUE *argv, VALUE self) { FXRanged *arg1 = (FXRanged *) 0 ;
|
|
4834
|
+
static VALUE _wrap_FXRanged_emptyq___(int argc, VALUE *argv, VALUE self) { FXRanged *arg1 = (FXRanged *) 0 ; bool result;
|
|
4806
4835
|
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
|
4807
|
-
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXRanged, 1); result = (
|
|
4836
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXRanged, 1); result = (bool)((FXRanged const *)arg1)->empty();
|
|
4808
4837
|
vresult = result ? Qtrue : Qfalse; return vresult; }
|
|
4809
4838
|
static VALUE _wrap_FXRanged_contains(int argc, VALUE *argv, VALUE self) { FXRanged *arg1 = (FXRanged *) 0 ; FXdouble arg2 ;
|
|
4810
|
-
FXdouble arg3 ; FXdouble arg4 ;
|
|
4839
|
+
FXdouble arg3 ; FXdouble arg4 ; bool result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3))
|
|
4811
4840
|
rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc);
|
|
4812
4841
|
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXRanged, 1); arg2 = (FXdouble) NUM2DBL(argv[0]);
|
|
4813
4842
|
arg3 = (FXdouble) NUM2DBL(argv[1]); arg4 = (FXdouble) NUM2DBL(argv[2]);
|
|
4814
|
-
result = (
|
|
4843
|
+
result = (bool)((FXRanged const *)arg1)->contains(arg2,arg3,arg4); vresult = result ? Qtrue : Qfalse; return vresult; }
|
|
4815
4844
|
static VALUE _wrap_FXRanged_containsq_____SWIG_0(int argc, VALUE *argv, VALUE self) { FXRanged *arg1 = (FXRanged *) 0 ;
|
|
4816
|
-
FXVec3d *arg2 = 0 ;
|
|
4845
|
+
FXVec3d *arg2 = 0 ; bool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
|
|
4817
4846
|
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
|
4818
4847
|
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXRanged, 1);
|
|
4819
4848
|
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXVec3d, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
|
|
4820
|
-
result = (
|
|
4849
|
+
result = (bool)((FXRanged const *)arg1)->contains((FXVec3d const &)*arg2); vresult = result ? Qtrue : Qfalse;
|
|
4821
4850
|
return vresult; }
|
|
4822
4851
|
static VALUE _wrap_FXRanged_containsq_____SWIG_1(int argc, VALUE *argv, VALUE self) { FXRanged *arg1 = (FXRanged *) 0 ;
|
|
4823
|
-
FXRanged *arg2 = 0 ;
|
|
4852
|
+
FXRanged *arg2 = 0 ; bool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
|
|
4824
4853
|
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
|
4825
4854
|
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXRanged, 1);
|
|
4826
4855
|
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXRanged, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
|
|
4827
|
-
result = (
|
|
4856
|
+
result = (bool)((FXRanged const *)arg1)->contains((FXRanged const &)*arg2); vresult = result ? Qtrue : Qfalse;
|
|
4828
4857
|
return vresult; }
|
|
4829
4858
|
static VALUE _wrap_FXRanged_containsq_____SWIG_2(int argc, VALUE *argv, VALUE self) { FXRanged *arg1 = (FXRanged *) 0 ;
|
|
4830
|
-
FXSphered *arg2 = 0 ;
|
|
4859
|
+
FXSphered *arg2 = 0 ; bool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
|
|
4831
4860
|
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
|
4832
4861
|
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXRanged, 1);
|
|
4833
4862
|
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXSphered, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
|
|
4834
|
-
result = (
|
|
4863
|
+
result = (bool)((FXRanged const *)arg1)->contains((FXSphered const &)*arg2); vresult = result ? Qtrue : Qfalse;
|
|
4835
4864
|
return vresult; }
|
|
4836
4865
|
static VALUE _wrap_FXRanged_containsq___(int nargs, VALUE *args, VALUE self) { int argc; VALUE argv[3]; int ii;
|
|
4837
4866
|
argc = nargs + 1; argv[0] = self; for (ii = 1; (ii < argc) && (ii < 2); ii++) { argv[ii] = args[ii-1]; } if (argc == 2) {
|
|
@@ -4909,12 +4938,12 @@ static VALUE _wrap_FXRanged_intersect__SWIG_0(int argc, VALUE *argv, VALUE self)
|
|
|
4909
4938
|
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXVec4d, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
|
|
4910
4939
|
result = (FXint)((FXRanged const *)arg1)->intersect((FXVec4d const &)*arg2); vresult = INT2NUM(result); return vresult; }
|
|
4911
4940
|
static VALUE _wrap_FXRanged_intersect__SWIG_1(int argc, VALUE *argv, VALUE self) { FXRanged *arg1 = (FXRanged *) 0 ;
|
|
4912
|
-
FXVec3d *arg2 = 0 ; FXVec3d *arg3 = 0 ;
|
|
4941
|
+
FXVec3d *arg2 = 0 ; FXVec3d *arg3 = 0 ; bool result; VALUE vresult = Qnil; if ((argc < 2) || (argc > 2))
|
|
4913
4942
|
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
|
|
4914
4943
|
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXRanged, 1);
|
|
4915
4944
|
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXVec3d, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
|
|
4916
4945
|
SWIG_ConvertPtr(argv[1], (void **) &arg3, SWIGTYPE_p_FXVec3d, 1); if (arg3 == NULL) rb_raise(rb_eTypeError, "null reference");
|
|
4917
|
-
result = (
|
|
4946
|
+
result = (bool)(arg1)->intersect((FXVec3d const &)*arg2,(FXVec3d const &)*arg3); vresult = result ? Qtrue : Qfalse;
|
|
4918
4947
|
return vresult; }
|
|
4919
4948
|
static VALUE _wrap_FXRanged_intersect(int nargs, VALUE *args, VALUE self) { int argc; VALUE argv[4]; int ii; argc = nargs + 1;
|
|
4920
4949
|
argv[0] = self; for (ii = 1; (ii < argc) && (ii < 3); ii++) { argv[ii] = args[ii-1]; } if (argc == 2) { int _v; {
|
|
@@ -4931,11 +4960,11 @@ static VALUE _wrap_FXRanged_intersect(int nargs, VALUE *args, VALUE self) { int
|
|
|
4931
4960
|
if (_v) { return _wrap_FXRanged_intersect__SWIG_1(nargs, args, self);} } } }
|
|
4932
4961
|
rb_raise(rb_eArgError, "No matching function for overloaded 'FXRanged_intersect'"); return Qnil; }
|
|
4933
4962
|
static VALUE _wrap_FXRanged_overlapsq___(int argc, VALUE *argv, VALUE self) { FXRanged *arg1 = (FXRanged *) 0 ;
|
|
4934
|
-
FXRanged *arg2 = 0 ;
|
|
4963
|
+
FXRanged *arg2 = 0 ; bool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
|
|
4935
4964
|
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
|
4936
4965
|
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXRanged, 1);
|
|
4937
4966
|
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXRanged, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
|
|
4938
|
-
result = (
|
|
4967
|
+
result = (bool)FXRanged_overlaps((FXRanged const *)arg1,(FXRanged const &)*arg2); vresult = result ? Qtrue : Qfalse;
|
|
4939
4968
|
return vresult; }
|
|
4940
4969
|
static VALUE _wrap_FXRanged_corner(int argc, VALUE *argv, VALUE self) { FXRanged *arg1 = (FXRanged *) 0 ; FXint arg2 ;
|
|
4941
4970
|
FXVec3d result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
|
|
@@ -5036,37 +5065,37 @@ static VALUE _wrap_FXSpheref_diameter(int argc, VALUE *argv, VALUE self) { FXSph
|
|
|
5036
5065
|
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
|
5037
5066
|
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXSpheref, 1); result = (FXfloat)((FXSpheref const *)arg1)->diameter();
|
|
5038
5067
|
vresult = rb_float_new(result); return vresult; }
|
|
5039
|
-
static VALUE _wrap_FXSpheref_emptyq___(int argc, VALUE *argv, VALUE self) { FXSpheref *arg1 = (FXSpheref *) 0 ;
|
|
5068
|
+
static VALUE _wrap_FXSpheref_emptyq___(int argc, VALUE *argv, VALUE self) { FXSpheref *arg1 = (FXSpheref *) 0 ; bool result;
|
|
5040
5069
|
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
|
5041
|
-
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXSpheref, 1); result = (
|
|
5070
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXSpheref, 1); result = (bool)((FXSpheref const *)arg1)->empty();
|
|
5042
5071
|
vresult = result ? Qtrue : Qfalse; return vresult; }
|
|
5043
5072
|
static VALUE _wrap_FXSpheref_containsq_____SWIG_0(int argc, VALUE *argv, VALUE self) { FXSpheref *arg1 = (FXSpheref *) 0 ;
|
|
5044
|
-
FXfloat arg2 ; FXfloat arg3 ; FXfloat arg4 ;
|
|
5073
|
+
FXfloat arg2 ; FXfloat arg3 ; FXfloat arg4 ; bool result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3))
|
|
5045
5074
|
rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc);
|
|
5046
5075
|
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXSpheref, 1); arg2 = (FXfloat) NUM2DBL(argv[0]);
|
|
5047
5076
|
arg3 = (FXfloat) NUM2DBL(argv[1]); arg4 = (FXfloat) NUM2DBL(argv[2]);
|
|
5048
|
-
result = (
|
|
5077
|
+
result = (bool)((FXSpheref const *)arg1)->contains(arg2,arg3,arg4); vresult = result ? Qtrue : Qfalse; return vresult; }
|
|
5049
5078
|
static VALUE _wrap_FXSpheref_containsq_____SWIG_1(int argc, VALUE *argv, VALUE self) { FXSpheref *arg1 = (FXSpheref *) 0 ;
|
|
5050
|
-
FXVec3f *arg2 = 0 ;
|
|
5079
|
+
FXVec3f *arg2 = 0 ; bool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
|
|
5051
5080
|
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
|
5052
5081
|
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXSpheref, 1); { if (TYPE(argv[0]) == T_ARRAY) {
|
|
5053
5082
|
arg2 = new FXVec3f(NUM2DBL(rb_ary_entry(argv[0], 0)), NUM2DBL(rb_ary_entry(argv[0], 1)), NUM2DBL(rb_ary_entry(argv[0], 2))); }
|
|
5054
5083
|
else { FXVec3f *p; SWIG_ConvertPtr(argv[0], (void **)&p, SWIGTYPE_p_FXVec3f, 1); arg2 = new FXVec3f(*p); } }
|
|
5055
|
-
result = (
|
|
5056
|
-
|
|
5084
|
+
result = (bool)((FXSpheref const *)arg1)->contains((FXVec3f const &)*arg2); vresult = result ? Qtrue : Qfalse; delete arg2;
|
|
5085
|
+
return vresult; }
|
|
5057
5086
|
static VALUE _wrap_FXSpheref_containsq_____SWIG_2(int argc, VALUE *argv, VALUE self) { FXSpheref *arg1 = (FXSpheref *) 0 ;
|
|
5058
|
-
FXRangef *arg2 = 0 ;
|
|
5087
|
+
FXRangef *arg2 = 0 ; bool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
|
|
5059
5088
|
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
|
5060
5089
|
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXSpheref, 1);
|
|
5061
5090
|
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXRangef, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
|
|
5062
|
-
result = (
|
|
5091
|
+
result = (bool)((FXSpheref const *)arg1)->contains((FXRangef const &)*arg2); vresult = result ? Qtrue : Qfalse;
|
|
5063
5092
|
return vresult; }
|
|
5064
5093
|
static VALUE _wrap_FXSpheref_containsq_____SWIG_3(int argc, VALUE *argv, VALUE self) { FXSpheref *arg1 = (FXSpheref *) 0 ;
|
|
5065
|
-
FXSpheref *arg2 = 0 ;
|
|
5094
|
+
FXSpheref *arg2 = 0 ; bool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
|
|
5066
5095
|
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
|
5067
5096
|
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXSpheref, 1);
|
|
5068
5097
|
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXSpheref, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
|
|
5069
|
-
result = (
|
|
5098
|
+
result = (bool)((FXSpheref const *)arg1)->contains((FXSpheref const &)*arg2); vresult = result ? Qtrue : Qfalse;
|
|
5070
5099
|
return vresult; }
|
|
5071
5100
|
static VALUE _wrap_FXSpheref_containsq___(int nargs, VALUE *args, VALUE self) { int argc; VALUE argv[5]; int ii;
|
|
5072
5101
|
argc = nargs + 1; argv[0] = self; for (ii = 1; (ii < argc) && (ii < 4); ii++) { argv[ii] = args[ii-1]; } if (argc == 2) {
|
|
@@ -5109,6 +5138,21 @@ static VALUE _wrap_FXSpheref_includeN_____SWIG_1(int argc, VALUE *argv, VALUE se
|
|
|
5109
5138
|
else { FXVec3f *p; SWIG_ConvertPtr(argv[0], (void **)&p, SWIGTYPE_p_FXVec3f, 1); arg2 = new FXVec3f(*p); } } {
|
|
5110
5139
|
FXSpheref &_result_ref = (arg1)->include((FXVec3f const &)*arg2); result = (FXSpheref *) &_result_ref; }
|
|
5111
5140
|
vresult = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_FXSpheref,0); delete arg2; return vresult; }
|
|
5141
|
+
static VALUE _wrap_FXSpheref_includeInRadiusN_____SWIG_0(int argc, VALUE *argv, VALUE self) {
|
|
5142
|
+
FXSpheref *arg1 = (FXSpheref *) 0 ; FXfloat arg2 ; FXfloat arg3 ; FXfloat arg4 ; FXSpheref *result; VALUE vresult = Qnil;
|
|
5143
|
+
if ((argc < 3) || (argc > 3)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc);
|
|
5144
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXSpheref, 1); arg2 = (FXfloat) NUM2DBL(argv[0]);
|
|
5145
|
+
arg3 = (FXfloat) NUM2DBL(argv[1]); arg4 = (FXfloat) NUM2DBL(argv[2]); {
|
|
5146
|
+
FXSpheref &_result_ref = (arg1)->includeInRadius(arg2,arg3,arg4); result = (FXSpheref *) &_result_ref; }
|
|
5147
|
+
vresult = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_FXSpheref,0); return vresult; }
|
|
5148
|
+
static VALUE _wrap_FXSpheref_includeInRadiusN_____SWIG_1(int argc, VALUE *argv, VALUE self) {
|
|
5149
|
+
FXSpheref *arg1 = (FXSpheref *) 0 ; FXVec3f *arg2 = 0 ; FXSpheref *result; VALUE vresult = Qnil;
|
|
5150
|
+
if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
|
5151
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXSpheref, 1); { if (TYPE(argv[0]) == T_ARRAY) {
|
|
5152
|
+
arg2 = new FXVec3f(NUM2DBL(rb_ary_entry(argv[0], 0)), NUM2DBL(rb_ary_entry(argv[0], 1)), NUM2DBL(rb_ary_entry(argv[0], 2))); }
|
|
5153
|
+
else { FXVec3f *p; SWIG_ConvertPtr(argv[0], (void **)&p, SWIGTYPE_p_FXVec3f, 1); arg2 = new FXVec3f(*p); } } {
|
|
5154
|
+
FXSpheref &_result_ref = (arg1)->includeInRadius((FXVec3f const &)*arg2); result = (FXSpheref *) &_result_ref; }
|
|
5155
|
+
vresult = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_FXSpheref,0); delete arg2; return vresult; }
|
|
5112
5156
|
static VALUE _wrap_FXSpheref_includeN_____SWIG_2(int argc, VALUE *argv, VALUE self) { FXSpheref *arg1 = (FXSpheref *) 0 ;
|
|
5113
5157
|
FXRangef *arg2 = 0 ; FXSpheref *result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
|
|
5114
5158
|
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
|
@@ -5116,30 +5160,70 @@ static VALUE _wrap_FXSpheref_includeN_____SWIG_2(int argc, VALUE *argv, VALUE se
|
|
|
5116
5160
|
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXRangef, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
|
|
5117
5161
|
{ FXSpheref &_result_ref = (arg1)->include((FXRangef const &)*arg2); result = (FXSpheref *) &_result_ref; }
|
|
5118
5162
|
vresult = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_FXSpheref,0); return vresult; }
|
|
5163
|
+
static VALUE _wrap_FXSpheref_includeInRadiusN_____SWIG_2(int argc, VALUE *argv, VALUE self) {
|
|
5164
|
+
FXSpheref *arg1 = (FXSpheref *) 0 ; FXRangef *arg2 = 0 ; FXSpheref *result; VALUE vresult = Qnil;
|
|
5165
|
+
if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
|
5166
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXSpheref, 1);
|
|
5167
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXRangef, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
|
|
5168
|
+
{ FXSpheref &_result_ref = (arg1)->includeInRadius((FXRangef const &)*arg2); result = (FXSpheref *) &_result_ref; }
|
|
5169
|
+
vresult = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_FXSpheref,0); return vresult; }
|
|
5119
5170
|
static VALUE _wrap_FXSpheref_includeN_____SWIG_3(int argc, VALUE *argv, VALUE self) { FXSpheref *arg1 = (FXSpheref *) 0 ;
|
|
5120
5171
|
FXSpheref *arg2 = 0 ; FXSpheref *result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
|
|
5121
5172
|
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
|
5122
5173
|
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXSpheref, 1);
|
|
5123
5174
|
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXSpheref, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
|
|
5124
|
-
{ FXSpheref &_result_ref = (arg1)->include((FXSpheref const &)*arg2); result = (FXSpheref *) &_result_ref; }
|
|
5175
|
+
{ FXSpheref &_result_ref = (arg1)->include((FXSpheref const &)*arg2); result = (FXSpheref *) &_result_ref; }
|
|
5176
|
+
vresult = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_FXSpheref,0); return vresult; }
|
|
5177
|
+
static VALUE _wrap_FXSpheref_includeN___(int nargs, VALUE *args, VALUE self) { int argc; VALUE argv[5]; int ii;
|
|
5178
|
+
argc = nargs + 1; argv[0] = self; for (ii = 1; (ii < argc) && (ii < 4); ii++) { argv[ii] = args[ii-1]; } if (argc == 2) {
|
|
5179
|
+
int _v; { void *ptr;
|
|
5180
|
+
_v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_FXSpheref, 0) != -1)) ? 1 : 0; }
|
|
5181
|
+
if (_v) { { void *ptr;
|
|
5182
|
+
_v = (NIL_P(argv[1]) || (TYPE(argv[1]) == T_DATA && SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_FXVec3f, 0) != -1)) ? 1 : 0; }
|
|
5183
|
+
if (_v) { return _wrap_FXSpheref_includeN_____SWIG_1(nargs, args, self);} } } if (argc == 2) { int _v; {
|
|
5184
|
+
void *ptr;
|
|
5185
|
+
_v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_FXSpheref, 0) != -1)) ? 1 : 0; }
|
|
5186
|
+
if (_v) { { void *ptr;
|
|
5187
|
+
_v = (NIL_P(argv[1]) || (TYPE(argv[1]) == T_DATA && SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_FXRangef, 0) != -1)) ? 1 : 0; }
|
|
5188
|
+
if (_v) { return _wrap_FXSpheref_includeN_____SWIG_2(nargs, args, self);} } } if (argc == 2) { int _v; {
|
|
5189
|
+
void *ptr;
|
|
5190
|
+
_v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_FXSpheref, 0) != -1)) ? 1 : 0; }
|
|
5191
|
+
if (_v) { { void *ptr;
|
|
5192
|
+
_v = (NIL_P(argv[1]) || (TYPE(argv[1]) == T_DATA && SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_FXSpheref, 0) != -1)) ? 1 : 0; }
|
|
5193
|
+
if (_v) { return _wrap_FXSpheref_includeN_____SWIG_3(nargs, args, self);} } } if (argc == 4) { int _v; {
|
|
5194
|
+
void *ptr;
|
|
5195
|
+
_v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_FXSpheref, 0) != -1)) ? 1 : 0; }
|
|
5196
|
+
if (_v) { { _v = ((TYPE(argv[1]) == T_FLOAT) || (TYPE(argv[1]) == T_FIXNUM) || (TYPE(argv[1]) == T_BIGNUM)) ? 1 : 0; }
|
|
5197
|
+
if (_v) { {
|
|
5198
|
+
_v = ((TYPE(argv[2]) == T_FLOAT) || (TYPE(argv[2]) == T_FIXNUM) || (TYPE(argv[2]) == T_BIGNUM)) ? 1 : 0; }
|
|
5199
|
+
if (_v) { {
|
|
5200
|
+
_v = ((TYPE(argv[3]) == T_FLOAT) || (TYPE(argv[3]) == T_FIXNUM) || (TYPE(argv[3]) == T_BIGNUM)) ? 1 : 0; }
|
|
5201
|
+
if (_v) { return _wrap_FXSpheref_includeN_____SWIG_0(nargs, args, self);} } } } }
|
|
5202
|
+
rb_raise(rb_eArgError, "No matching function for overloaded 'FXSpheref_include!'"); return Qnil; }
|
|
5203
|
+
static VALUE _wrap_FXSpheref_includeInRadiusN_____SWIG_3(int argc, VALUE *argv, VALUE self) {
|
|
5204
|
+
FXSpheref *arg1 = (FXSpheref *) 0 ; FXSpheref *arg2 = 0 ; FXSpheref *result; VALUE vresult = Qnil;
|
|
5205
|
+
if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
|
5206
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXSpheref, 1);
|
|
5207
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXSpheref, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
|
|
5208
|
+
{ FXSpheref &_result_ref = (arg1)->includeInRadius((FXSpheref const &)*arg2); result = (FXSpheref *) &_result_ref; }
|
|
5125
5209
|
vresult = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_FXSpheref,0); return vresult; }
|
|
5126
|
-
static VALUE
|
|
5210
|
+
static VALUE _wrap_FXSpheref_includeInRadiusN___(int nargs, VALUE *args, VALUE self) { int argc; VALUE argv[5]; int ii;
|
|
5127
5211
|
argc = nargs + 1; argv[0] = self; for (ii = 1; (ii < argc) && (ii < 4); ii++) { argv[ii] = args[ii-1]; } if (argc == 2) {
|
|
5128
5212
|
int _v; { void *ptr;
|
|
5129
5213
|
_v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_FXSpheref, 0) != -1)) ? 1 : 0; }
|
|
5130
5214
|
if (_v) { { void *ptr;
|
|
5131
5215
|
_v = (NIL_P(argv[1]) || (TYPE(argv[1]) == T_DATA && SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_FXVec3f, 0) != -1)) ? 1 : 0; }
|
|
5132
|
-
if (_v) { return
|
|
5216
|
+
if (_v) { return _wrap_FXSpheref_includeInRadiusN_____SWIG_1(nargs, args, self);} } } if (argc == 2) { int _v; {
|
|
5133
5217
|
void *ptr;
|
|
5134
5218
|
_v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_FXSpheref, 0) != -1)) ? 1 : 0; }
|
|
5135
5219
|
if (_v) { { void *ptr;
|
|
5136
5220
|
_v = (NIL_P(argv[1]) || (TYPE(argv[1]) == T_DATA && SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_FXRangef, 0) != -1)) ? 1 : 0; }
|
|
5137
|
-
if (_v) { return
|
|
5221
|
+
if (_v) { return _wrap_FXSpheref_includeInRadiusN_____SWIG_2(nargs, args, self);} } } if (argc == 2) { int _v; {
|
|
5138
5222
|
void *ptr;
|
|
5139
5223
|
_v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_FXSpheref, 0) != -1)) ? 1 : 0; }
|
|
5140
5224
|
if (_v) { { void *ptr;
|
|
5141
5225
|
_v = (NIL_P(argv[1]) || (TYPE(argv[1]) == T_DATA && SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_FXSpheref, 0) != -1)) ? 1 : 0; }
|
|
5142
|
-
if (_v) { return
|
|
5226
|
+
if (_v) { return _wrap_FXSpheref_includeInRadiusN_____SWIG_3(nargs, args, self);} } } if (argc == 4) { int _v; {
|
|
5143
5227
|
void *ptr;
|
|
5144
5228
|
_v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_FXSpheref, 0) != -1)) ? 1 : 0; }
|
|
5145
5229
|
if (_v) { { _v = ((TYPE(argv[1]) == T_FLOAT) || (TYPE(argv[1]) == T_FIXNUM) || (TYPE(argv[1]) == T_BIGNUM)) ? 1 : 0; }
|
|
@@ -5147,8 +5231,8 @@ static VALUE _wrap_FXSpheref_includeN___(int nargs, VALUE *args, VALUE self) { i
|
|
|
5147
5231
|
_v = ((TYPE(argv[2]) == T_FLOAT) || (TYPE(argv[2]) == T_FIXNUM) || (TYPE(argv[2]) == T_BIGNUM)) ? 1 : 0; }
|
|
5148
5232
|
if (_v) { {
|
|
5149
5233
|
_v = ((TYPE(argv[3]) == T_FLOAT) || (TYPE(argv[3]) == T_FIXNUM) || (TYPE(argv[3]) == T_BIGNUM)) ? 1 : 0; }
|
|
5150
|
-
if (_v) { return
|
|
5151
|
-
rb_raise(rb_eArgError, "No matching function for overloaded '
|
|
5234
|
+
if (_v) { return _wrap_FXSpheref_includeInRadiusN_____SWIG_0(nargs, args, self);} } } } }
|
|
5235
|
+
rb_raise(rb_eArgError, "No matching function for overloaded 'FXSpheref_includeInRadius!'"); return Qnil; }
|
|
5152
5236
|
static VALUE _wrap_FXSpheref_intersect(int argc, VALUE *argv, VALUE self) { FXSpheref *arg1 = (FXSpheref *) 0 ;
|
|
5153
5237
|
FXVec4f *arg2 = 0 ; FXint result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
|
|
5154
5238
|
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
|
@@ -5158,7 +5242,7 @@ static VALUE _wrap_FXSpheref_intersect(int argc, VALUE *argv, VALUE self) { FXSp
|
|
|
5158
5242
|
result = (FXint)((FXSpheref const *)arg1)->intersect((FXVec4f const &)*arg2); vresult = INT2NUM(result); delete arg2;
|
|
5159
5243
|
return vresult; }
|
|
5160
5244
|
static VALUE _wrap_FXSpheref_intersectsq___(int argc, VALUE *argv, VALUE self) { FXSpheref *arg1 = (FXSpheref *) 0 ;
|
|
5161
|
-
FXVec3f *arg2 = 0 ; FXVec3f *arg3 = 0 ;
|
|
5245
|
+
FXVec3f *arg2 = 0 ; FXVec3f *arg3 = 0 ; bool result; VALUE vresult = Qnil; if ((argc < 2) || (argc > 2))
|
|
5162
5246
|
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
|
|
5163
5247
|
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXSpheref, 1); { if (TYPE(argv[0]) == T_ARRAY) {
|
|
5164
5248
|
arg2 = new FXVec3f(NUM2DBL(rb_ary_entry(argv[0], 0)), NUM2DBL(rb_ary_entry(argv[0], 1)), NUM2DBL(rb_ary_entry(argv[0], 2))); }
|
|
@@ -5166,21 +5250,21 @@ static VALUE _wrap_FXSpheref_intersectsq___(int argc, VALUE *argv, VALUE self) {
|
|
|
5166
5250
|
if (TYPE(argv[1]) == T_ARRAY) {
|
|
5167
5251
|
arg3 = new FXVec3f(NUM2DBL(rb_ary_entry(argv[1], 0)), NUM2DBL(rb_ary_entry(argv[1], 1)), NUM2DBL(rb_ary_entry(argv[1], 2))); }
|
|
5168
5252
|
else { FXVec3f *p; SWIG_ConvertPtr(argv[1], (void **)&p, SWIGTYPE_p_FXVec3f, 1); arg3 = new FXVec3f(*p); } }
|
|
5169
|
-
result = (
|
|
5253
|
+
result = (bool)((FXSpheref const *)arg1)->intersect((FXVec3f const &)*arg2,(FXVec3f const &)*arg3);
|
|
5170
5254
|
vresult = result ? Qtrue : Qfalse; delete arg2; delete arg3; return vresult; }
|
|
5171
5255
|
static VALUE _wrap_FXSpheref_overlapsq_____SWIG_0(int argc, VALUE *argv, VALUE self) { FXSpheref *arg1 = (FXSpheref *) 0 ;
|
|
5172
|
-
FXRangef *arg2 = 0 ;
|
|
5256
|
+
FXRangef *arg2 = 0 ; bool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
|
|
5173
5257
|
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
|
5174
5258
|
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXSpheref, 1);
|
|
5175
5259
|
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXRangef, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
|
|
5176
|
-
result = (
|
|
5260
|
+
result = (bool)FXSpheref_overlap__SWIG_0((FXSpheref const *)arg1,(FXRangef const &)*arg2);
|
|
5177
5261
|
vresult = result ? Qtrue : Qfalse; return vresult; }
|
|
5178
5262
|
static VALUE _wrap_FXSpheref_overlapsq_____SWIG_1(int argc, VALUE *argv, VALUE self) { FXSpheref *arg1 = (FXSpheref *) 0 ;
|
|
5179
|
-
FXSpheref *arg2 = 0 ;
|
|
5263
|
+
FXSpheref *arg2 = 0 ; bool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
|
|
5180
5264
|
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
|
5181
5265
|
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXSpheref, 1);
|
|
5182
5266
|
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXSpheref, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
|
|
5183
|
-
result = (
|
|
5267
|
+
result = (bool)FXSpheref_overlap__SWIG_1((FXSpheref const *)arg1,(FXSpheref const &)*arg2);
|
|
5184
5268
|
vresult = result ? Qtrue : Qfalse; return vresult; }
|
|
5185
5269
|
static VALUE _wrap_FXSpheref_overlapsq___(int nargs, VALUE *args, VALUE self) { int argc; VALUE argv[3]; int ii;
|
|
5186
5270
|
argc = nargs + 1; argv[0] = self; for (ii = 1; (ii < argc) && (ii < 2); ii++) { argv[ii] = args[ii-1]; } if (argc == 2) {
|
|
@@ -5269,36 +5353,36 @@ static VALUE _wrap_FXSphered_diameter(int argc, VALUE *argv, VALUE self) { FXSph
|
|
|
5269
5353
|
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
|
5270
5354
|
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXSphered, 1); result = (FXdouble)((FXSphered const *)arg1)->diameter();
|
|
5271
5355
|
vresult = rb_float_new(result); return vresult; }
|
|
5272
|
-
static VALUE _wrap_FXSphered_emptyq___(int argc, VALUE *argv, VALUE self) { FXSphered *arg1 = (FXSphered *) 0 ;
|
|
5356
|
+
static VALUE _wrap_FXSphered_emptyq___(int argc, VALUE *argv, VALUE self) { FXSphered *arg1 = (FXSphered *) 0 ; bool result;
|
|
5273
5357
|
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
|
5274
|
-
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXSphered, 1); result = (
|
|
5358
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXSphered, 1); result = (bool)((FXSphered const *)arg1)->empty();
|
|
5275
5359
|
vresult = result ? Qtrue : Qfalse; return vresult; }
|
|
5276
5360
|
static VALUE _wrap_FXSphered_containsq_____SWIG_0(int argc, VALUE *argv, VALUE self) { FXSphered *arg1 = (FXSphered *) 0 ;
|
|
5277
|
-
FXdouble arg2 ; FXdouble arg3 ; FXdouble arg4 ;
|
|
5361
|
+
FXdouble arg2 ; FXdouble arg3 ; FXdouble arg4 ; bool result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3))
|
|
5278
5362
|
rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc);
|
|
5279
5363
|
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXSphered, 1); arg2 = (FXdouble) NUM2DBL(argv[0]);
|
|
5280
5364
|
arg3 = (FXdouble) NUM2DBL(argv[1]); arg4 = (FXdouble) NUM2DBL(argv[2]);
|
|
5281
|
-
result = (
|
|
5365
|
+
result = (bool)((FXSphered const *)arg1)->contains(arg2,arg3,arg4); vresult = result ? Qtrue : Qfalse; return vresult; }
|
|
5282
5366
|
static VALUE _wrap_FXSphered_containsq_____SWIG_1(int argc, VALUE *argv, VALUE self) { FXSphered *arg1 = (FXSphered *) 0 ;
|
|
5283
|
-
FXVec3d *arg2 = 0 ;
|
|
5367
|
+
FXVec3d *arg2 = 0 ; bool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
|
|
5284
5368
|
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
|
5285
5369
|
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXSphered, 1);
|
|
5286
5370
|
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXVec3d, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
|
|
5287
|
-
result = (
|
|
5371
|
+
result = (bool)((FXSphered const *)arg1)->contains((FXVec3d const &)*arg2); vresult = result ? Qtrue : Qfalse;
|
|
5288
5372
|
return vresult; }
|
|
5289
5373
|
static VALUE _wrap_FXSphered_containsq_____SWIG_2(int argc, VALUE *argv, VALUE self) { FXSphered *arg1 = (FXSphered *) 0 ;
|
|
5290
|
-
FXRanged *arg2 = 0 ;
|
|
5374
|
+
FXRanged *arg2 = 0 ; bool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
|
|
5291
5375
|
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
|
5292
5376
|
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXSphered, 1);
|
|
5293
5377
|
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXRanged, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
|
|
5294
|
-
result = (
|
|
5378
|
+
result = (bool)((FXSphered const *)arg1)->contains((FXRanged const &)*arg2); vresult = result ? Qtrue : Qfalse;
|
|
5295
5379
|
return vresult; }
|
|
5296
5380
|
static VALUE _wrap_FXSphered_containsq_____SWIG_3(int argc, VALUE *argv, VALUE self) { FXSphered *arg1 = (FXSphered *) 0 ;
|
|
5297
|
-
FXSphered *arg2 = 0 ;
|
|
5381
|
+
FXSphered *arg2 = 0 ; bool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
|
|
5298
5382
|
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
|
5299
5383
|
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXSphered, 1);
|
|
5300
5384
|
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXSphered, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
|
|
5301
|
-
result = (
|
|
5385
|
+
result = (bool)((FXSphered const *)arg1)->contains((FXSphered const &)*arg2); vresult = result ? Qtrue : Qfalse;
|
|
5302
5386
|
return vresult; }
|
|
5303
5387
|
static VALUE _wrap_FXSphered_containsq___(int nargs, VALUE *args, VALUE self) { int argc; VALUE argv[5]; int ii;
|
|
5304
5388
|
argc = nargs + 1; argv[0] = self; for (ii = 1; (ii < argc) && (ii < 4); ii++) { argv[ii] = args[ii-1]; } if (argc == 2) {
|
|
@@ -5340,6 +5424,20 @@ static VALUE _wrap_FXSphered_includeN_____SWIG_1(int argc, VALUE *argv, VALUE se
|
|
|
5340
5424
|
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXVec3d, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
|
|
5341
5425
|
{ FXSphered &_result_ref = (arg1)->include((FXVec3d const &)*arg2); result = (FXSphered *) &_result_ref; }
|
|
5342
5426
|
vresult = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_FXSphered,0); return vresult; }
|
|
5427
|
+
static VALUE _wrap_FXSphered_includeInRadiusN_____SWIG_0(int argc, VALUE *argv, VALUE self) {
|
|
5428
|
+
FXSphered *arg1 = (FXSphered *) 0 ; FXdouble arg2 ; FXdouble arg3 ; FXdouble arg4 ; FXSphered *result; VALUE vresult = Qnil;
|
|
5429
|
+
if ((argc < 3) || (argc > 3)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc);
|
|
5430
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXSphered, 1); arg2 = (FXdouble) NUM2DBL(argv[0]);
|
|
5431
|
+
arg3 = (FXdouble) NUM2DBL(argv[1]); arg4 = (FXdouble) NUM2DBL(argv[2]); {
|
|
5432
|
+
FXSphered &_result_ref = (arg1)->includeInRadius(arg2,arg3,arg4); result = (FXSphered *) &_result_ref; }
|
|
5433
|
+
vresult = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_FXSphered,0); return vresult; }
|
|
5434
|
+
static VALUE _wrap_FXSphered_includeInRadiusN_____SWIG_1(int argc, VALUE *argv, VALUE self) {
|
|
5435
|
+
FXSphered *arg1 = (FXSphered *) 0 ; FXVec3d *arg2 = 0 ; FXSphered *result; VALUE vresult = Qnil;
|
|
5436
|
+
if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
|
5437
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXSphered, 1);
|
|
5438
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXVec3d, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
|
|
5439
|
+
{ FXSphered &_result_ref = (arg1)->includeInRadius((FXVec3d const &)*arg2); result = (FXSphered *) &_result_ref; }
|
|
5440
|
+
vresult = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_FXSphered,0); return vresult; }
|
|
5343
5441
|
static VALUE _wrap_FXSphered_includeN_____SWIG_2(int argc, VALUE *argv, VALUE self) { FXSphered *arg1 = (FXSphered *) 0 ;
|
|
5344
5442
|
FXRanged *arg2 = 0 ; FXSphered *result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
|
|
5345
5443
|
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
|
@@ -5347,6 +5445,13 @@ static VALUE _wrap_FXSphered_includeN_____SWIG_2(int argc, VALUE *argv, VALUE se
|
|
|
5347
5445
|
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXRanged, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
|
|
5348
5446
|
{ FXSphered &_result_ref = (arg1)->include((FXRanged const &)*arg2); result = (FXSphered *) &_result_ref; }
|
|
5349
5447
|
vresult = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_FXSphered,0); return vresult; }
|
|
5448
|
+
static VALUE _wrap_FXSphered_includeInRadiusN_____SWIG_2(int argc, VALUE *argv, VALUE self) {
|
|
5449
|
+
FXSphered *arg1 = (FXSphered *) 0 ; FXRanged *arg2 = 0 ; FXSphered *result; VALUE vresult = Qnil;
|
|
5450
|
+
if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
|
5451
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXSphered, 1);
|
|
5452
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXRanged, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
|
|
5453
|
+
{ FXSphered &_result_ref = (arg1)->includeInRadius((FXRanged const &)*arg2); result = (FXSphered *) &_result_ref; }
|
|
5454
|
+
vresult = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_FXSphered,0); return vresult; }
|
|
5350
5455
|
static VALUE _wrap_FXSphered_includeN_____SWIG_3(int argc, VALUE *argv, VALUE self) { FXSphered *arg1 = (FXSphered *) 0 ;
|
|
5351
5456
|
FXSphered *arg2 = 0 ; FXSphered *result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
|
|
5352
5457
|
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
|
@@ -5380,6 +5485,39 @@ static VALUE _wrap_FXSphered_includeN___(int nargs, VALUE *args, VALUE self) { i
|
|
|
5380
5485
|
_v = ((TYPE(argv[3]) == T_FLOAT) || (TYPE(argv[3]) == T_FIXNUM) || (TYPE(argv[3]) == T_BIGNUM)) ? 1 : 0; }
|
|
5381
5486
|
if (_v) { return _wrap_FXSphered_includeN_____SWIG_0(nargs, args, self);} } } } }
|
|
5382
5487
|
rb_raise(rb_eArgError, "No matching function for overloaded 'FXSphered_include!'"); return Qnil; }
|
|
5488
|
+
static VALUE _wrap_FXSphered_includeInRadiusN_____SWIG_3(int argc, VALUE *argv, VALUE self) {
|
|
5489
|
+
FXSphered *arg1 = (FXSphered *) 0 ; FXSphered *arg2 = 0 ; FXSphered *result; VALUE vresult = Qnil;
|
|
5490
|
+
if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
|
5491
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXSphered, 1);
|
|
5492
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXSphered, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
|
|
5493
|
+
{ FXSphered &_result_ref = (arg1)->includeInRadius((FXSphered const &)*arg2); result = (FXSphered *) &_result_ref; }
|
|
5494
|
+
vresult = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_FXSphered,0); return vresult; }
|
|
5495
|
+
static VALUE _wrap_FXSphered_includeInRadiusN___(int nargs, VALUE *args, VALUE self) { int argc; VALUE argv[5]; int ii;
|
|
5496
|
+
argc = nargs + 1; argv[0] = self; for (ii = 1; (ii < argc) && (ii < 4); ii++) { argv[ii] = args[ii-1]; } if (argc == 2) {
|
|
5497
|
+
int _v; { void *ptr;
|
|
5498
|
+
_v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_FXSphered, 0) != -1)) ? 1 : 0; }
|
|
5499
|
+
if (_v) { { void *ptr;
|
|
5500
|
+
_v = (NIL_P(argv[1]) || (TYPE(argv[1]) == T_DATA && SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_FXVec3d, 0) != -1)) ? 1 : 0; }
|
|
5501
|
+
if (_v) { return _wrap_FXSphered_includeInRadiusN_____SWIG_1(nargs, args, self);} } } if (argc == 2) { int _v; {
|
|
5502
|
+
void *ptr;
|
|
5503
|
+
_v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_FXSphered, 0) != -1)) ? 1 : 0; }
|
|
5504
|
+
if (_v) { { void *ptr;
|
|
5505
|
+
_v = (NIL_P(argv[1]) || (TYPE(argv[1]) == T_DATA && SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_FXRanged, 0) != -1)) ? 1 : 0; }
|
|
5506
|
+
if (_v) { return _wrap_FXSphered_includeInRadiusN_____SWIG_2(nargs, args, self);} } } if (argc == 2) { int _v; {
|
|
5507
|
+
void *ptr;
|
|
5508
|
+
_v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_FXSphered, 0) != -1)) ? 1 : 0; }
|
|
5509
|
+
if (_v) { { void *ptr;
|
|
5510
|
+
_v = (NIL_P(argv[1]) || (TYPE(argv[1]) == T_DATA && SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_FXSphered, 0) != -1)) ? 1 : 0; }
|
|
5511
|
+
if (_v) { return _wrap_FXSphered_includeInRadiusN_____SWIG_3(nargs, args, self);} } } if (argc == 4) { int _v; {
|
|
5512
|
+
void *ptr;
|
|
5513
|
+
_v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_FXSphered, 0) != -1)) ? 1 : 0; }
|
|
5514
|
+
if (_v) { { _v = ((TYPE(argv[1]) == T_FLOAT) || (TYPE(argv[1]) == T_FIXNUM) || (TYPE(argv[1]) == T_BIGNUM)) ? 1 : 0; }
|
|
5515
|
+
if (_v) { {
|
|
5516
|
+
_v = ((TYPE(argv[2]) == T_FLOAT) || (TYPE(argv[2]) == T_FIXNUM) || (TYPE(argv[2]) == T_BIGNUM)) ? 1 : 0; }
|
|
5517
|
+
if (_v) { {
|
|
5518
|
+
_v = ((TYPE(argv[3]) == T_FLOAT) || (TYPE(argv[3]) == T_FIXNUM) || (TYPE(argv[3]) == T_BIGNUM)) ? 1 : 0; }
|
|
5519
|
+
if (_v) { return _wrap_FXSphered_includeInRadiusN_____SWIG_0(nargs, args, self);} } } } }
|
|
5520
|
+
rb_raise(rb_eArgError, "No matching function for overloaded 'FXSphered_includeInRadius!'"); return Qnil; }
|
|
5383
5521
|
static VALUE _wrap_FXSphered_intersect(int argc, VALUE *argv, VALUE self) { FXSphered *arg1 = (FXSphered *) 0 ;
|
|
5384
5522
|
FXVec4d *arg2 = 0 ; FXint result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
|
|
5385
5523
|
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
|
@@ -5387,26 +5525,26 @@ static VALUE _wrap_FXSphered_intersect(int argc, VALUE *argv, VALUE self) { FXSp
|
|
|
5387
5525
|
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXVec4d, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
|
|
5388
5526
|
result = (FXint)((FXSphered const *)arg1)->intersect((FXVec4d const &)*arg2); vresult = INT2NUM(result); return vresult; }
|
|
5389
5527
|
static VALUE _wrap_FXSphered_intersectsq___(int argc, VALUE *argv, VALUE self) { FXSphered *arg1 = (FXSphered *) 0 ;
|
|
5390
|
-
FXVec3d *arg2 = 0 ; FXVec3d *arg3 = 0 ;
|
|
5528
|
+
FXVec3d *arg2 = 0 ; FXVec3d *arg3 = 0 ; bool result; VALUE vresult = Qnil; if ((argc < 2) || (argc > 2))
|
|
5391
5529
|
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
|
|
5392
5530
|
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXSphered, 1);
|
|
5393
5531
|
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXVec3d, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
|
|
5394
5532
|
SWIG_ConvertPtr(argv[1], (void **) &arg3, SWIGTYPE_p_FXVec3d, 1); if (arg3 == NULL) rb_raise(rb_eTypeError, "null reference");
|
|
5395
|
-
result = (
|
|
5533
|
+
result = (bool)((FXSphered const *)arg1)->intersect((FXVec3d const &)*arg2,(FXVec3d const &)*arg3);
|
|
5396
5534
|
vresult = result ? Qtrue : Qfalse; return vresult; }
|
|
5397
5535
|
static VALUE _wrap_FXSphered_overlapsq_____SWIG_0(int argc, VALUE *argv, VALUE self) { FXSphered *arg1 = (FXSphered *) 0 ;
|
|
5398
|
-
FXRanged *arg2 = 0 ;
|
|
5536
|
+
FXRanged *arg2 = 0 ; bool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
|
|
5399
5537
|
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
|
5400
5538
|
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXSphered, 1);
|
|
5401
5539
|
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXRanged, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
|
|
5402
|
-
result = (
|
|
5540
|
+
result = (bool)FXSphered_overlap__SWIG_0((FXSphered const *)arg1,(FXRanged const &)*arg2);
|
|
5403
5541
|
vresult = result ? Qtrue : Qfalse; return vresult; }
|
|
5404
5542
|
static VALUE _wrap_FXSphered_overlapsq_____SWIG_1(int argc, VALUE *argv, VALUE self) { FXSphered *arg1 = (FXSphered *) 0 ;
|
|
5405
|
-
FXSphered *arg2 = 0 ;
|
|
5543
|
+
FXSphered *arg2 = 0 ; bool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
|
|
5406
5544
|
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
|
5407
5545
|
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXSphered, 1);
|
|
5408
5546
|
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXSphered, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
|
|
5409
|
-
result = (
|
|
5547
|
+
result = (bool)FXSphered_overlap__SWIG_1((FXSphered const *)arg1,(FXSphered const &)*arg2);
|
|
5410
5548
|
vresult = result ? Qtrue : Qfalse; return vresult; }
|
|
5411
5549
|
static VALUE _wrap_FXSphered_overlapsq___(int nargs, VALUE *args, VALUE self) { int argc; VALUE argv[3]; int ii;
|
|
5412
5550
|
argc = nargs + 1; argv[0] = self; for (ii = 1; (ii < argc) && (ii < 2); ii++) { argv[ii] = args[ii-1]; } if (argc == 2) {
|
|
@@ -5795,9 +5933,8 @@ static VALUE _wrap_new_FXGLCanvas(int nargs, VALUE *args, VALUE self) { int argc
|
|
|
5795
5933
|
_v = ((TYPE(argv[9]) == T_FIXNUM) || (TYPE(argv[9]) == T_BIGNUM)) ? 1 : 0; }
|
|
5796
5934
|
if (_v) { return _wrap_new_FXGLCanvas__SWIG_1(nargs, args, self);} } } } } } }
|
|
5797
5935
|
} } } } rb_raise(rb_eArgError, "No matching function for overloaded 'new_FXGLCanvas'"); return Qnil; }
|
|
5798
|
-
static VALUE
|
|
5799
|
-
|
|
5800
|
-
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
|
5936
|
+
static VALUE _wrap_FXGLCanvas_isShared(int argc, VALUE *argv, VALUE self) { FXGLCanvas *arg1 = (FXGLCanvas *) 0 ; FXbool result;
|
|
5937
|
+
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
|
5801
5938
|
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXGLCanvas, 1); result = (FXbool)((FXGLCanvas const *)arg1)->isShared();
|
|
5802
5939
|
vresult = result ? Qtrue : Qfalse; return vresult; }
|
|
5803
5940
|
static VALUE _wrap_FXGLCanvas_getCurrentContext(int argc, VALUE *argv, VALUE self) { unsigned long result; VALUE vresult = Qnil;
|
|
@@ -5855,10 +5992,10 @@ static VALUE _wrap_FXGLCanvas_getHeightForWidth(int argc, VALUE *argv, VALUE sel
|
|
|
5855
5992
|
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
|
5856
5993
|
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXGLCanvas, 1); arg2 = NUM2INT(argv[0]);
|
|
5857
5994
|
result = (FXint)FXGLCanvas_getHeightForWidth(arg1,arg2); vresult = INT2NUM(result); return vresult; }
|
|
5858
|
-
static VALUE _wrap_FXGLCanvas_canFocus(int argc, VALUE *argv, VALUE self) { FXGLCanvas *arg1 = (FXGLCanvas *) 0 ;
|
|
5995
|
+
static VALUE _wrap_FXGLCanvas_canFocus(int argc, VALUE *argv, VALUE self) { FXGLCanvas *arg1 = (FXGLCanvas *) 0 ; bool result;
|
|
5859
5996
|
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
|
5860
5997
|
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXGLCanvas, 1);
|
|
5861
|
-
result = (
|
|
5998
|
+
result = (bool)FXGLCanvas_canFocus((FXGLCanvas const *)arg1); vresult = result ? Qtrue : Qfalse; return vresult; }
|
|
5862
5999
|
static VALUE _wrap_FXGLCanvas_setFocus(int argc, VALUE *argv, VALUE self) { FXGLCanvas *arg1 = (FXGLCanvas *) 0 ;
|
|
5863
6000
|
if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
|
5864
6001
|
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXGLCanvas, 1); FXGLCanvas_setFocus(arg1); return Qnil; }
|
|
@@ -5914,25 +6051,37 @@ static VALUE _wrap_FXGLCanvas_hide(int argc, VALUE *argv, VALUE self) { FXGLCanv
|
|
|
5914
6051
|
if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
|
5915
6052
|
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXGLCanvas, 1); FXGLCanvas_hide(arg1); return Qnil; }
|
|
5916
6053
|
static VALUE _wrap_FXGLCanvas_isComposite(int argc, VALUE *argv, VALUE self) { FXGLCanvas *arg1 = (FXGLCanvas *) 0 ;
|
|
5917
|
-
|
|
6054
|
+
bool result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0))
|
|
5918
6055
|
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
|
5919
6056
|
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXGLCanvas, 1);
|
|
5920
|
-
result = (
|
|
6057
|
+
result = (bool)FXGLCanvas_isComposite((FXGLCanvas const *)arg1); vresult = result ? Qtrue : Qfalse; return vresult; }
|
|
5921
6058
|
static VALUE _wrap_FXGLCanvas_contains(int argc, VALUE *argv, VALUE self) { FXGLCanvas *arg1 = (FXGLCanvas *) 0 ; FXint arg2 ;
|
|
5922
|
-
FXint arg3 ;
|
|
6059
|
+
FXint arg3 ; bool result; VALUE vresult = Qnil; if ((argc < 2) || (argc > 2))
|
|
5923
6060
|
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
|
|
5924
6061
|
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXGLCanvas, 1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]);
|
|
5925
|
-
result = (
|
|
5926
|
-
return vresult; }
|
|
6062
|
+
result = (bool)FXGLCanvas_contains((FXGLCanvas const *)arg1,arg2,arg3); vresult = result ? Qtrue : Qfalse; return vresult; }
|
|
5927
6063
|
static VALUE _wrap_FXGLCanvas_doesSaveUnder(int argc, VALUE *argv, VALUE self) { FXGLCanvas *arg1 = (FXGLCanvas *) 0 ;
|
|
5928
|
-
|
|
6064
|
+
bool result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0))
|
|
5929
6065
|
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
|
5930
6066
|
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXGLCanvas, 1);
|
|
5931
|
-
result = (
|
|
6067
|
+
result = (bool)FXGLCanvas_doesSaveUnder((FXGLCanvas const *)arg1); vresult = result ? Qtrue : Qfalse; return vresult; }
|
|
5932
6068
|
static VALUE _wrap_FXGLCanvas_setBackColor(int argc, VALUE *argv, VALUE self) { FXGLCanvas *arg1 = (FXGLCanvas *) 0 ;
|
|
5933
6069
|
FXColor arg2 ; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
|
5934
6070
|
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXGLCanvas, 1); arg2 = to_FXColor(argv[0]);
|
|
5935
6071
|
FXGLCanvas_setBackColor(arg1,arg2); return Qnil; }
|
|
6072
|
+
static VALUE _wrap_FXGLCanvas_tr(int argc, VALUE *argv, VALUE self) { FXGLCanvas *arg1 = (FXGLCanvas *) 0 ; FXchar *arg2 ;
|
|
6073
|
+
FXchar *arg3 = (FXchar *) 0 ; FXchar *result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 2))
|
|
6074
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
|
6075
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXGLCanvas, 1); arg2 = StringValuePtr(argv[0]); if (argc > 1) {
|
|
6076
|
+
arg3 = StringValuePtr(argv[1]); }
|
|
6077
|
+
result = (FXchar *)FXGLCanvas_tr((FXGLCanvas const *)arg1,(FXchar const *)arg2,(FXchar const *)arg3);
|
|
6078
|
+
vresult = rb_str_new2(result); return vresult; }
|
|
6079
|
+
static VALUE _wrap_FXGLCanvas_dropEnable(int argc, VALUE *argv, VALUE self) { FXGLCanvas *arg1 = (FXGLCanvas *) 0 ;
|
|
6080
|
+
if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
|
6081
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXGLCanvas, 1); FXGLCanvas_dropEnable(arg1); return Qnil; }
|
|
6082
|
+
static VALUE _wrap_FXGLCanvas_dropDisable(int argc, VALUE *argv, VALUE self) { FXGLCanvas *arg1 = (FXGLCanvas *) 0 ;
|
|
6083
|
+
if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
|
6084
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXGLCanvas, 1); FXGLCanvas_dropDisable(arg1); return Qnil; }
|
|
5936
6085
|
static VALUE _wrap_FXGLCanvas_setShape__SWIG_0(int argc, VALUE *argv, VALUE self) { FXGLCanvas *arg1 = (FXGLCanvas *) 0 ;
|
|
5937
6086
|
FXRegion *arg2 = 0 ; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
|
5938
6087
|
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXGLCanvas, 1);
|
|
@@ -7273,10 +7422,10 @@ static VALUE _wrap_FXGLViewer_getHeightForWidth(int argc, VALUE *argv, VALUE sel
|
|
|
7273
7422
|
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
|
7274
7423
|
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXGLViewer, 1); arg2 = NUM2INT(argv[0]);
|
|
7275
7424
|
result = (FXint)FXGLViewer_getHeightForWidth(arg1,arg2); vresult = INT2NUM(result); return vresult; }
|
|
7276
|
-
static VALUE _wrap_FXGLViewer_canFocus(int argc, VALUE *argv, VALUE self) { FXGLViewer *arg1 = (FXGLViewer *) 0 ;
|
|
7425
|
+
static VALUE _wrap_FXGLViewer_canFocus(int argc, VALUE *argv, VALUE self) { FXGLViewer *arg1 = (FXGLViewer *) 0 ; bool result;
|
|
7277
7426
|
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
|
7278
7427
|
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXGLViewer, 1);
|
|
7279
|
-
result = (
|
|
7428
|
+
result = (bool)FXGLViewer_canFocus((FXGLViewer const *)arg1); vresult = result ? Qtrue : Qfalse; return vresult; }
|
|
7280
7429
|
static VALUE _wrap_FXGLViewer_setFocus(int argc, VALUE *argv, VALUE self) { FXGLViewer *arg1 = (FXGLViewer *) 0 ;
|
|
7281
7430
|
if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
|
7282
7431
|
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXGLViewer, 1); FXGLViewer_setFocus(arg1); return Qnil; }
|
|
@@ -7332,25 +7481,37 @@ static VALUE _wrap_FXGLViewer_hide(int argc, VALUE *argv, VALUE self) { FXGLView
|
|
|
7332
7481
|
if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
|
7333
7482
|
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXGLViewer, 1); FXGLViewer_hide(arg1); return Qnil; }
|
|
7334
7483
|
static VALUE _wrap_FXGLViewer_isComposite(int argc, VALUE *argv, VALUE self) { FXGLViewer *arg1 = (FXGLViewer *) 0 ;
|
|
7335
|
-
|
|
7484
|
+
bool result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0))
|
|
7336
7485
|
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
|
7337
7486
|
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXGLViewer, 1);
|
|
7338
|
-
result = (
|
|
7487
|
+
result = (bool)FXGLViewer_isComposite((FXGLViewer const *)arg1); vresult = result ? Qtrue : Qfalse; return vresult; }
|
|
7339
7488
|
static VALUE _wrap_FXGLViewer_contains(int argc, VALUE *argv, VALUE self) { FXGLViewer *arg1 = (FXGLViewer *) 0 ; FXint arg2 ;
|
|
7340
|
-
FXint arg3 ;
|
|
7489
|
+
FXint arg3 ; bool result; VALUE vresult = Qnil; if ((argc < 2) || (argc > 2))
|
|
7341
7490
|
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
|
|
7342
7491
|
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXGLViewer, 1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]);
|
|
7343
|
-
result = (
|
|
7344
|
-
return vresult; }
|
|
7492
|
+
result = (bool)FXGLViewer_contains((FXGLViewer const *)arg1,arg2,arg3); vresult = result ? Qtrue : Qfalse; return vresult; }
|
|
7345
7493
|
static VALUE _wrap_FXGLViewer_doesSaveUnder(int argc, VALUE *argv, VALUE self) { FXGLViewer *arg1 = (FXGLViewer *) 0 ;
|
|
7346
|
-
|
|
7494
|
+
bool result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0))
|
|
7347
7495
|
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
|
7348
7496
|
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXGLViewer, 1);
|
|
7349
|
-
result = (
|
|
7497
|
+
result = (bool)FXGLViewer_doesSaveUnder((FXGLViewer const *)arg1); vresult = result ? Qtrue : Qfalse; return vresult; }
|
|
7350
7498
|
static VALUE _wrap_FXGLViewer_setBackColor(int argc, VALUE *argv, VALUE self) { FXGLViewer *arg1 = (FXGLViewer *) 0 ;
|
|
7351
7499
|
FXColor arg2 ; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
|
7352
7500
|
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXGLViewer, 1); arg2 = to_FXColor(argv[0]);
|
|
7353
7501
|
FXGLViewer_setBackColor(arg1,arg2); return Qnil; }
|
|
7502
|
+
static VALUE _wrap_FXGLViewer_tr(int argc, VALUE *argv, VALUE self) { FXGLViewer *arg1 = (FXGLViewer *) 0 ; FXchar *arg2 ;
|
|
7503
|
+
FXchar *arg3 = (FXchar *) 0 ; FXchar *result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 2))
|
|
7504
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
|
7505
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXGLViewer, 1); arg2 = StringValuePtr(argv[0]); if (argc > 1) {
|
|
7506
|
+
arg3 = StringValuePtr(argv[1]); }
|
|
7507
|
+
result = (FXchar *)FXGLViewer_tr((FXGLViewer const *)arg1,(FXchar const *)arg2,(FXchar const *)arg3);
|
|
7508
|
+
vresult = rb_str_new2(result); return vresult; }
|
|
7509
|
+
static VALUE _wrap_FXGLViewer_dropEnable(int argc, VALUE *argv, VALUE self) { FXGLViewer *arg1 = (FXGLViewer *) 0 ;
|
|
7510
|
+
if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
|
7511
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXGLViewer, 1); FXGLViewer_dropEnable(arg1); return Qnil; }
|
|
7512
|
+
static VALUE _wrap_FXGLViewer_dropDisable(int argc, VALUE *argv, VALUE self) { FXGLViewer *arg1 = (FXGLViewer *) 0 ;
|
|
7513
|
+
if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
|
7514
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXGLViewer, 1); FXGLViewer_dropDisable(arg1); return Qnil; }
|
|
7354
7515
|
static VALUE _wrap_FXGLViewer_setShape__SWIG_0(int argc, VALUE *argv, VALUE self) { FXGLViewer *arg1 = (FXGLViewer *) 0 ;
|
|
7355
7516
|
FXRegion *arg2 = 0 ; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
|
7356
7517
|
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXGLViewer, 1);
|
|
@@ -7740,6 +7901,420 @@ static VALUE _wrap_FXGLShape_drawshape(int argc, VALUE *argv, VALUE self) { FXGL
|
|
|
7740
7901
|
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
|
7741
7902
|
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXGLShape, 1);
|
|
7742
7903
|
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXGLViewer, 1); FXGLShape_drawshape(arg1,arg2); return Qnil; }
|
|
7904
|
+
static VALUE _wrap_FXExtentf_lower_set(int argc, VALUE *argv, VALUE self) { FXExtentf *arg1 = (FXExtentf *) 0 ;
|
|
7905
|
+
FXVec2f *arg2 = (FXVec2f *) 0 ; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
|
7906
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXExtentf, 1);
|
|
7907
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXVec2f, 1); if (arg1) (arg1)->lower = *arg2; return Qnil; }
|
|
7908
|
+
static VALUE _wrap_FXExtentf_lower_get(int argc, VALUE *argv, VALUE self) { FXExtentf *arg1 = (FXExtentf *) 0 ; FXVec2f *result;
|
|
7909
|
+
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
|
7910
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXExtentf, 1); result = (FXVec2f *)& ((arg1)->lower);
|
|
7911
|
+
vresult = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_FXVec2f,0); return vresult; }
|
|
7912
|
+
static VALUE _wrap_FXExtentf_upper_set(int argc, VALUE *argv, VALUE self) { FXExtentf *arg1 = (FXExtentf *) 0 ;
|
|
7913
|
+
FXVec2f *arg2 = (FXVec2f *) 0 ; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
|
7914
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXExtentf, 1);
|
|
7915
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXVec2f, 1); if (arg1) (arg1)->upper = *arg2; return Qnil; }
|
|
7916
|
+
static VALUE _wrap_FXExtentf_upper_get(int argc, VALUE *argv, VALUE self) { FXExtentf *arg1 = (FXExtentf *) 0 ; FXVec2f *result;
|
|
7917
|
+
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
|
7918
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXExtentf, 1); result = (FXVec2f *)& ((arg1)->upper);
|
|
7919
|
+
vresult = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_FXVec2f,0); return vresult; }
|
|
7920
|
+
static VALUE _wrap_new_FXExtentf__SWIG_0(int argc, VALUE *argv, VALUE self) { FXExtentf *result; if ((argc < 0) || (argc > 0))
|
|
7921
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); result = (FXExtentf *)new FXExtentf();
|
|
7922
|
+
DATA_PTR(self) = result; return self; }
|
|
7923
|
+
static VALUE _wrap_new_FXExtentf__SWIG_1(int argc, VALUE *argv, VALUE self) { FXExtentf *arg1 = 0 ; FXExtentf *result;
|
|
7924
|
+
if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
|
7925
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_FXExtentf, 1); if (arg1 == NULL) rb_raise(rb_eTypeError, "null reference");
|
|
7926
|
+
result = (FXExtentf *)new FXExtentf((FXExtentf const &)*arg1); DATA_PTR(self) = result; return self; }
|
|
7927
|
+
static VALUE _wrap_new_FXExtentf__SWIG_2(int argc, VALUE *argv, VALUE self) { FXVec2f *arg1 = 0 ; FXVec2f *arg2 = 0 ;
|
|
7928
|
+
FXExtentf *result; if ((argc < 2) || (argc > 2)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
|
|
7929
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_FXVec2f, 1); if (arg1 == NULL) rb_raise(rb_eTypeError, "null reference");
|
|
7930
|
+
SWIG_ConvertPtr(argv[1], (void **) &arg2, SWIGTYPE_p_FXVec2f, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
|
|
7931
|
+
result = (FXExtentf *)new FXExtentf((FXVec2f const &)*arg1,(FXVec2f const &)*arg2); DATA_PTR(self) = result; return self; }
|
|
7932
|
+
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
|
|
7933
|
+
static VALUE _wrap_FXExtentf_allocate(VALUE self) {
|
|
7934
|
+
#else
|
|
7935
|
+
static VALUE _wrap_FXExtentf_allocate(int argc, VALUE *argv, VALUE self) {
|
|
7936
|
+
#endif
|
|
7937
|
+
VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_FXExtentf);
|
|
7938
|
+
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
|
|
7939
|
+
rb_obj_call_init(vresult, argc, argv);
|
|
7940
|
+
#endif
|
|
7941
|
+
return vresult; }
|
|
7942
|
+
static VALUE _wrap_new_FXExtentf__SWIG_3(int argc, VALUE *argv, VALUE self) { FXfloat arg1 ; FXfloat arg2 ; FXfloat arg3 ;
|
|
7943
|
+
FXfloat arg4 ; FXExtentf *result; if ((argc < 4) || (argc > 4))
|
|
7944
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); arg1 = (FXfloat) NUM2DBL(argv[0]);
|
|
7945
|
+
arg2 = (FXfloat) NUM2DBL(argv[1]); arg3 = (FXfloat) NUM2DBL(argv[2]); arg4 = (FXfloat) NUM2DBL(argv[3]);
|
|
7946
|
+
result = (FXExtentf *)new FXExtentf(arg1,arg2,arg3,arg4); DATA_PTR(self) = result; return self; }
|
|
7947
|
+
static VALUE _wrap_new_FXExtentf(int nargs, VALUE *args, VALUE self) { int argc; VALUE argv[4]; int ii; argc = nargs;
|
|
7948
|
+
for (ii = 0; (ii < argc) && (ii < 4); ii++) { argv[ii] = args[ii]; } if (argc == 0) {
|
|
7949
|
+
return _wrap_new_FXExtentf__SWIG_0(nargs, args, self);} if (argc == 1) { int _v; { void *ptr;
|
|
7950
|
+
_v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_FXExtentf, 0) != -1)) ? 1 : 0; }
|
|
7951
|
+
if (_v) { return _wrap_new_FXExtentf__SWIG_1(nargs, args, self);} } if (argc == 2) { int _v; { void *ptr;
|
|
7952
|
+
_v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_FXVec2f, 0) != -1)) ? 1 : 0; }
|
|
7953
|
+
if (_v) { { void *ptr;
|
|
7954
|
+
_v = (NIL_P(argv[1]) || (TYPE(argv[1]) == T_DATA && SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_FXVec2f, 0) != -1)) ? 1 : 0; }
|
|
7955
|
+
if (_v) { return _wrap_new_FXExtentf__SWIG_2(nargs, args, self);} } } if (argc == 4) { int _v; {
|
|
7956
|
+
_v = ((TYPE(argv[0]) == T_FLOAT) || (TYPE(argv[0]) == T_FIXNUM) || (TYPE(argv[0]) == T_BIGNUM)) ? 1 : 0; }
|
|
7957
|
+
if (_v) { { _v = ((TYPE(argv[1]) == T_FLOAT) || (TYPE(argv[1]) == T_FIXNUM) || (TYPE(argv[1]) == T_BIGNUM)) ? 1 : 0; }
|
|
7958
|
+
if (_v) { {
|
|
7959
|
+
_v = ((TYPE(argv[2]) == T_FLOAT) || (TYPE(argv[2]) == T_FIXNUM) || (TYPE(argv[2]) == T_BIGNUM)) ? 1 : 0; }
|
|
7960
|
+
if (_v) { {
|
|
7961
|
+
_v = ((TYPE(argv[3]) == T_FLOAT) || (TYPE(argv[3]) == T_FIXNUM) || (TYPE(argv[3]) == T_BIGNUM)) ? 1 : 0; }
|
|
7962
|
+
if (_v) { return _wrap_new_FXExtentf__SWIG_3(nargs, args, self);} } } } }
|
|
7963
|
+
rb_raise(rb_eArgError, "No matching function for overloaded 'new_FXExtentf'"); return Qnil; }
|
|
7964
|
+
static VALUE _wrap_FXExtentf___setitem__(int argc, VALUE *argv, VALUE self) { FXExtentf *arg1 = (FXExtentf *) 0 ; FXint arg2 ;
|
|
7965
|
+
FXVec2f *arg3 = 0 ; FXVec2f *result; VALUE vresult = Qnil; if ((argc < 2) || (argc > 2))
|
|
7966
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
|
|
7967
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXExtentf, 1); arg2 = NUM2INT(argv[0]);
|
|
7968
|
+
SWIG_ConvertPtr(argv[1], (void **) &arg3, SWIGTYPE_p_FXVec2f, 1); if (arg3 == NULL) rb_raise(rb_eTypeError, "null reference");
|
|
7969
|
+
{ FXVec2f &_result_ref = FXExtentf___setitem__(arg1,arg2,*arg3); result = (FXVec2f *) &_result_ref; }
|
|
7970
|
+
vresult = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_FXVec2f,0); return vresult; }
|
|
7971
|
+
static VALUE _wrap_FXExtentf___getitem__(int argc, VALUE *argv, VALUE self) { FXExtentf *arg1 = (FXExtentf *) 0 ; FXint arg2 ;
|
|
7972
|
+
FXVec2f *result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
|
|
7973
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
|
7974
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXExtentf, 1); arg2 = NUM2INT(argv[0]); {
|
|
7975
|
+
FXVec2f const &_result_ref = FXExtentf___getitem__((FXExtentf const *)arg1,arg2); result = (FXVec2f *) &_result_ref; }
|
|
7976
|
+
vresult = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_FXVec2f,0); return vresult; }
|
|
7977
|
+
static VALUE _wrap_FXExtentf_width(int argc, VALUE *argv, VALUE self) { FXExtentf *arg1 = (FXExtentf *) 0 ; FXfloat result;
|
|
7978
|
+
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
|
7979
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXExtentf, 1); result = (FXfloat)((FXExtentf const *)arg1)->width();
|
|
7980
|
+
vresult = rb_float_new(result); return vresult; }
|
|
7981
|
+
static VALUE _wrap_FXExtentf_height(int argc, VALUE *argv, VALUE self) { FXExtentf *arg1 = (FXExtentf *) 0 ; FXfloat result;
|
|
7982
|
+
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
|
7983
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXExtentf, 1); result = (FXfloat)((FXExtentf const *)arg1)->height();
|
|
7984
|
+
vresult = rb_float_new(result); return vresult; }
|
|
7985
|
+
static VALUE _wrap_FXExtentf_longest(int argc, VALUE *argv, VALUE self) { FXExtentf *arg1 = (FXExtentf *) 0 ; FXfloat result;
|
|
7986
|
+
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
|
7987
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXExtentf, 1); result = (FXfloat)((FXExtentf const *)arg1)->longest();
|
|
7988
|
+
vresult = rb_float_new(result); return vresult; }
|
|
7989
|
+
static VALUE _wrap_FXExtentf_shortest(int argc, VALUE *argv, VALUE self) { FXExtentf *arg1 = (FXExtentf *) 0 ; FXfloat result;
|
|
7990
|
+
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
|
7991
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXExtentf, 1); result = (FXfloat)((FXExtentf const *)arg1)->shortest();
|
|
7992
|
+
vresult = rb_float_new(result); return vresult; }
|
|
7993
|
+
static VALUE _wrap_FXExtentf_diameter(int argc, VALUE *argv, VALUE self) { FXExtentf *arg1 = (FXExtentf *) 0 ; FXfloat result;
|
|
7994
|
+
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
|
7995
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXExtentf, 1); result = (FXfloat)((FXExtentf const *)arg1)->diameter();
|
|
7996
|
+
vresult = rb_float_new(result); return vresult; }
|
|
7997
|
+
static VALUE _wrap_FXExtentf_radius(int argc, VALUE *argv, VALUE self) { FXExtentf *arg1 = (FXExtentf *) 0 ; FXfloat result;
|
|
7998
|
+
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
|
7999
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXExtentf, 1); result = (FXfloat)((FXExtentf const *)arg1)->radius();
|
|
8000
|
+
vresult = rb_float_new(result); return vresult; }
|
|
8001
|
+
static VALUE _wrap_FXExtentf_diagonal(int argc, VALUE *argv, VALUE self) { FXExtentf *arg1 = (FXExtentf *) 0 ; FXVec2f result;
|
|
8002
|
+
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
|
8003
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXExtentf, 1); result = ((FXExtentf const *)arg1)->diagonal(); {
|
|
8004
|
+
FXVec2f * resultptr; resultptr = new FXVec2f((FXVec2f &)result);
|
|
8005
|
+
vresult = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_FXVec2f, 1); } return vresult; }
|
|
8006
|
+
static VALUE _wrap_FXExtentf_center(int argc, VALUE *argv, VALUE self) { FXExtentf *arg1 = (FXExtentf *) 0 ; FXVec2f result;
|
|
8007
|
+
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
|
8008
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXExtentf, 1); result = ((FXExtentf const *)arg1)->center(); {
|
|
8009
|
+
FXVec2f * resultptr; resultptr = new FXVec2f((FXVec2f &)result);
|
|
8010
|
+
vresult = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_FXVec2f, 1); } return vresult; }
|
|
8011
|
+
static VALUE _wrap_FXExtentf_emptyq___(int argc, VALUE *argv, VALUE self) { FXExtentf *arg1 = (FXExtentf *) 0 ; bool result;
|
|
8012
|
+
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
|
8013
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXExtentf, 1); result = (bool)((FXExtentf const *)arg1)->empty();
|
|
8014
|
+
vresult = result ? Qtrue : Qfalse; return vresult; }
|
|
8015
|
+
static VALUE _wrap_FXExtentf_contains(int argc, VALUE *argv, VALUE self) { FXExtentf *arg1 = (FXExtentf *) 0 ; FXfloat arg2 ;
|
|
8016
|
+
FXfloat arg3 ; bool result; VALUE vresult = Qnil; if ((argc < 2) || (argc > 2))
|
|
8017
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
|
|
8018
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXExtentf, 1); arg2 = (FXfloat) NUM2DBL(argv[0]);
|
|
8019
|
+
arg3 = (FXfloat) NUM2DBL(argv[1]); result = (bool)((FXExtentf const *)arg1)->contains(arg2,arg3);
|
|
8020
|
+
vresult = result ? Qtrue : Qfalse; return vresult; }
|
|
8021
|
+
static VALUE _wrap_FXExtentf_containsq_____SWIG_0(int argc, VALUE *argv, VALUE self) { FXExtentf *arg1 = (FXExtentf *) 0 ;
|
|
8022
|
+
FXVec2f *arg2 = 0 ; bool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
|
|
8023
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
|
8024
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXExtentf, 1);
|
|
8025
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXVec2f, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
|
|
8026
|
+
result = (bool)((FXExtentf const *)arg1)->contains((FXVec2f const &)*arg2); vresult = result ? Qtrue : Qfalse;
|
|
8027
|
+
return vresult; }
|
|
8028
|
+
static VALUE _wrap_FXExtentf_containsq_____SWIG_1(int argc, VALUE *argv, VALUE self) { FXExtentf *arg1 = (FXExtentf *) 0 ;
|
|
8029
|
+
FXExtentf *arg2 = 0 ; bool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
|
|
8030
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
|
8031
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXExtentf, 1);
|
|
8032
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXExtentf, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
|
|
8033
|
+
result = (bool)((FXExtentf const *)arg1)->contains((FXExtentf const &)*arg2); vresult = result ? Qtrue : Qfalse;
|
|
8034
|
+
return vresult; }
|
|
8035
|
+
static VALUE _wrap_FXExtentf_containsq___(int nargs, VALUE *args, VALUE self) { int argc; VALUE argv[3]; int ii;
|
|
8036
|
+
argc = nargs + 1; argv[0] = self; for (ii = 1; (ii < argc) && (ii < 2); ii++) { argv[ii] = args[ii-1]; } if (argc == 2) {
|
|
8037
|
+
int _v; { void *ptr;
|
|
8038
|
+
_v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_FXExtentf, 0) != -1)) ? 1 : 0; }
|
|
8039
|
+
if (_v) { { void *ptr;
|
|
8040
|
+
_v = (NIL_P(argv[1]) || (TYPE(argv[1]) == T_DATA && SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_FXVec2f, 0) != -1)) ? 1 : 0; }
|
|
8041
|
+
if (_v) { return _wrap_FXExtentf_containsq_____SWIG_0(nargs, args, self);} } } if (argc == 2) { int _v; {
|
|
8042
|
+
void *ptr;
|
|
8043
|
+
_v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_FXExtentf, 0) != -1)) ? 1 : 0; }
|
|
8044
|
+
if (_v) { { void *ptr;
|
|
8045
|
+
_v = (NIL_P(argv[1]) || (TYPE(argv[1]) == T_DATA && SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_FXExtentf, 0) != -1)) ? 1 : 0; }
|
|
8046
|
+
if (_v) { return _wrap_FXExtentf_containsq_____SWIG_1(nargs, args, self);} } }
|
|
8047
|
+
rb_raise(rb_eArgError, "No matching function for overloaded 'FXExtentf_contains?'"); return Qnil; }
|
|
8048
|
+
static VALUE _wrap_FXExtentf_include(int argc, VALUE *argv, VALUE self) { FXExtentf *arg1 = (FXExtentf *) 0 ; FXfloat arg2 ;
|
|
8049
|
+
FXfloat arg3 ; FXExtentf *result; VALUE vresult = Qnil; if ((argc < 2) || (argc > 2))
|
|
8050
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
|
|
8051
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXExtentf, 1); arg2 = (FXfloat) NUM2DBL(argv[0]);
|
|
8052
|
+
arg3 = (FXfloat) NUM2DBL(argv[1]); { FXExtentf &_result_ref = (arg1)->include(arg2,arg3);
|
|
8053
|
+
result = (FXExtentf *) &_result_ref; } vresult = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_FXExtentf,0);
|
|
8054
|
+
return vresult; }
|
|
8055
|
+
static VALUE _wrap_FXExtentf_includeN_____SWIG_0(int argc, VALUE *argv, VALUE self) { FXExtentf *arg1 = (FXExtentf *) 0 ;
|
|
8056
|
+
FXVec2f *arg2 = 0 ; FXExtentf *result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
|
|
8057
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
|
8058
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXExtentf, 1);
|
|
8059
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXVec2f, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
|
|
8060
|
+
{ FXExtentf &_result_ref = (arg1)->include((FXVec2f const &)*arg2); result = (FXExtentf *) &_result_ref; }
|
|
8061
|
+
vresult = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_FXExtentf,0); return vresult; }
|
|
8062
|
+
static VALUE _wrap_FXExtentf_includeN_____SWIG_1(int argc, VALUE *argv, VALUE self) { FXExtentf *arg1 = (FXExtentf *) 0 ;
|
|
8063
|
+
FXExtentf *arg2 = 0 ; FXExtentf *result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
|
|
8064
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
|
8065
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXExtentf, 1);
|
|
8066
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXExtentf, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
|
|
8067
|
+
{ FXExtentf &_result_ref = (arg1)->include((FXExtentf const &)*arg2); result = (FXExtentf *) &_result_ref; }
|
|
8068
|
+
vresult = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_FXExtentf,0); return vresult; }
|
|
8069
|
+
static VALUE _wrap_FXExtentf_includeN___(int nargs, VALUE *args, VALUE self) { int argc; VALUE argv[3]; int ii;
|
|
8070
|
+
argc = nargs + 1; argv[0] = self; for (ii = 1; (ii < argc) && (ii < 2); ii++) { argv[ii] = args[ii-1]; } if (argc == 2) {
|
|
8071
|
+
int _v; { void *ptr;
|
|
8072
|
+
_v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_FXExtentf, 0) != -1)) ? 1 : 0; }
|
|
8073
|
+
if (_v) { { void *ptr;
|
|
8074
|
+
_v = (NIL_P(argv[1]) || (TYPE(argv[1]) == T_DATA && SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_FXVec2f, 0) != -1)) ? 1 : 0; }
|
|
8075
|
+
if (_v) { return _wrap_FXExtentf_includeN_____SWIG_0(nargs, args, self);} } } if (argc == 2) { int _v; {
|
|
8076
|
+
void *ptr;
|
|
8077
|
+
_v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_FXExtentf, 0) != -1)) ? 1 : 0; }
|
|
8078
|
+
if (_v) { { void *ptr;
|
|
8079
|
+
_v = (NIL_P(argv[1]) || (TYPE(argv[1]) == T_DATA && SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_FXExtentf, 0) != -1)) ? 1 : 0; }
|
|
8080
|
+
if (_v) { return _wrap_FXExtentf_includeN_____SWIG_1(nargs, args, self);} } }
|
|
8081
|
+
rb_raise(rb_eArgError, "No matching function for overloaded 'FXExtentf_include!'"); return Qnil; }
|
|
8082
|
+
static VALUE _wrap_FXExtentf_corner(int argc, VALUE *argv, VALUE self) { FXExtentf *arg1 = (FXExtentf *) 0 ; FXint arg2 ;
|
|
8083
|
+
FXVec2f result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
|
|
8084
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
|
8085
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXExtentf, 1); arg2 = NUM2INT(argv[0]);
|
|
8086
|
+
result = ((FXExtentf const *)arg1)->corner(arg2); { FXVec2f * resultptr; resultptr = new FXVec2f((FXVec2f &)result);
|
|
8087
|
+
vresult = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_FXVec2f, 1); } return vresult; }
|
|
8088
|
+
static VALUE _wrap_FXExtentf_overlapq___(int argc, VALUE *argv, VALUE self) { FXExtentf *arg1 = (FXExtentf *) 0 ;
|
|
8089
|
+
FXExtentf *arg2 = 0 ; bool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
|
|
8090
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
|
8091
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXExtentf, 1);
|
|
8092
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXExtentf, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
|
|
8093
|
+
result = (bool)FXExtentf_overlap((FXExtentf const *)arg1,(FXExtentf const &)*arg2); vresult = result ? Qtrue : Qfalse;
|
|
8094
|
+
return vresult; }
|
|
8095
|
+
static VALUE _wrap_FXExtentf_unite_with(int argc, VALUE *argv, VALUE self) { FXExtentf *arg1 = (FXExtentf *) 0 ;
|
|
8096
|
+
FXExtentf *arg2 = 0 ; FXExtentf result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
|
|
8097
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
|
8098
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXExtentf, 1);
|
|
8099
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXExtentf, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
|
|
8100
|
+
result = FXExtentf_unite_with((FXExtentf const *)arg1,(FXExtentf const &)*arg2); { FXExtentf * resultptr;
|
|
8101
|
+
resultptr = new FXExtentf((FXExtentf &)result);
|
|
8102
|
+
vresult = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_FXExtentf, 1); } return vresult; }
|
|
8103
|
+
static VALUE _wrap_FXExtentf_intersect_with(int argc, VALUE *argv, VALUE self) { FXExtentf *arg1 = (FXExtentf *) 0 ;
|
|
8104
|
+
FXExtentf *arg2 = 0 ; FXExtentf result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
|
|
8105
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
|
8106
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXExtentf, 1);
|
|
8107
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXExtentf, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
|
|
8108
|
+
result = FXExtentf_intersect_with((FXExtentf const *)arg1,(FXExtentf const &)*arg2); { FXExtentf * resultptr;
|
|
8109
|
+
resultptr = new FXExtentf((FXExtentf &)result);
|
|
8110
|
+
vresult = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_FXExtentf, 1); } return vresult; }
|
|
8111
|
+
static VALUE _wrap_FXExtentd_lower_set(int argc, VALUE *argv, VALUE self) { FXExtentd *arg1 = (FXExtentd *) 0 ;
|
|
8112
|
+
FXVec2d *arg2 = (FXVec2d *) 0 ; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
|
8113
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXExtentd, 1);
|
|
8114
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXVec2d, 1); if (arg1) (arg1)->lower = *arg2; return Qnil; }
|
|
8115
|
+
static VALUE _wrap_FXExtentd_lower_get(int argc, VALUE *argv, VALUE self) { FXExtentd *arg1 = (FXExtentd *) 0 ; FXVec2d *result;
|
|
8116
|
+
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
|
8117
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXExtentd, 1); result = (FXVec2d *)& ((arg1)->lower);
|
|
8118
|
+
vresult = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_FXVec2d,0); return vresult; }
|
|
8119
|
+
static VALUE _wrap_FXExtentd_upper_set(int argc, VALUE *argv, VALUE self) { FXExtentd *arg1 = (FXExtentd *) 0 ;
|
|
8120
|
+
FXVec2d *arg2 = (FXVec2d *) 0 ; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
|
8121
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXExtentd, 1);
|
|
8122
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXVec2d, 1); if (arg1) (arg1)->upper = *arg2; return Qnil; }
|
|
8123
|
+
static VALUE _wrap_FXExtentd_upper_get(int argc, VALUE *argv, VALUE self) { FXExtentd *arg1 = (FXExtentd *) 0 ; FXVec2d *result;
|
|
8124
|
+
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
|
8125
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXExtentd, 1); result = (FXVec2d *)& ((arg1)->upper);
|
|
8126
|
+
vresult = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_FXVec2d,0); return vresult; }
|
|
8127
|
+
static VALUE _wrap_new_FXExtentd__SWIG_0(int argc, VALUE *argv, VALUE self) { FXExtentd *result; if ((argc < 0) || (argc > 0))
|
|
8128
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); result = (FXExtentd *)new FXExtentd();
|
|
8129
|
+
DATA_PTR(self) = result; return self; }
|
|
8130
|
+
static VALUE _wrap_new_FXExtentd__SWIG_1(int argc, VALUE *argv, VALUE self) { FXExtentd *arg1 = 0 ; FXExtentd *result;
|
|
8131
|
+
if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
|
8132
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_FXExtentd, 1); if (arg1 == NULL) rb_raise(rb_eTypeError, "null reference");
|
|
8133
|
+
result = (FXExtentd *)new FXExtentd((FXExtentd const &)*arg1); DATA_PTR(self) = result; return self; }
|
|
8134
|
+
static VALUE _wrap_new_FXExtentd__SWIG_2(int argc, VALUE *argv, VALUE self) { FXVec2d *arg1 = 0 ; FXVec2d *arg2 = 0 ;
|
|
8135
|
+
FXExtentd *result; if ((argc < 2) || (argc > 2)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
|
|
8136
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_FXVec2d, 1); if (arg1 == NULL) rb_raise(rb_eTypeError, "null reference");
|
|
8137
|
+
SWIG_ConvertPtr(argv[1], (void **) &arg2, SWIGTYPE_p_FXVec2d, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
|
|
8138
|
+
result = (FXExtentd *)new FXExtentd((FXVec2d const &)*arg1,(FXVec2d const &)*arg2); DATA_PTR(self) = result; return self; }
|
|
8139
|
+
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
|
|
8140
|
+
static VALUE _wrap_FXExtentd_allocate(VALUE self) {
|
|
8141
|
+
#else
|
|
8142
|
+
static VALUE _wrap_FXExtentd_allocate(int argc, VALUE *argv, VALUE self) {
|
|
8143
|
+
#endif
|
|
8144
|
+
VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_FXExtentd);
|
|
8145
|
+
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
|
|
8146
|
+
rb_obj_call_init(vresult, argc, argv);
|
|
8147
|
+
#endif
|
|
8148
|
+
return vresult; }
|
|
8149
|
+
static VALUE _wrap_new_FXExtentd__SWIG_3(int argc, VALUE *argv, VALUE self) { FXdouble arg1 ; FXdouble arg2 ; FXdouble arg3 ;
|
|
8150
|
+
FXdouble arg4 ; FXExtentd *result; if ((argc < 4) || (argc > 4))
|
|
8151
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); arg1 = (FXdouble) NUM2DBL(argv[0]);
|
|
8152
|
+
arg2 = (FXdouble) NUM2DBL(argv[1]); arg3 = (FXdouble) NUM2DBL(argv[2]); arg4 = (FXdouble) NUM2DBL(argv[3]);
|
|
8153
|
+
result = (FXExtentd *)new FXExtentd(arg1,arg2,arg3,arg4); DATA_PTR(self) = result; return self; }
|
|
8154
|
+
static VALUE _wrap_new_FXExtentd(int nargs, VALUE *args, VALUE self) { int argc; VALUE argv[4]; int ii; argc = nargs;
|
|
8155
|
+
for (ii = 0; (ii < argc) && (ii < 4); ii++) { argv[ii] = args[ii]; } if (argc == 0) {
|
|
8156
|
+
return _wrap_new_FXExtentd__SWIG_0(nargs, args, self);} if (argc == 1) { int _v; { void *ptr;
|
|
8157
|
+
_v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_FXExtentd, 0) != -1)) ? 1 : 0; }
|
|
8158
|
+
if (_v) { return _wrap_new_FXExtentd__SWIG_1(nargs, args, self);} } if (argc == 2) { int _v; { void *ptr;
|
|
8159
|
+
_v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_FXVec2d, 0) != -1)) ? 1 : 0; }
|
|
8160
|
+
if (_v) { { void *ptr;
|
|
8161
|
+
_v = (NIL_P(argv[1]) || (TYPE(argv[1]) == T_DATA && SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_FXVec2d, 0) != -1)) ? 1 : 0; }
|
|
8162
|
+
if (_v) { return _wrap_new_FXExtentd__SWIG_2(nargs, args, self);} } } if (argc == 4) { int _v; {
|
|
8163
|
+
_v = ((TYPE(argv[0]) == T_FLOAT) || (TYPE(argv[0]) == T_FIXNUM) || (TYPE(argv[0]) == T_BIGNUM)) ? 1 : 0; }
|
|
8164
|
+
if (_v) { { _v = ((TYPE(argv[1]) == T_FLOAT) || (TYPE(argv[1]) == T_FIXNUM) || (TYPE(argv[1]) == T_BIGNUM)) ? 1 : 0; }
|
|
8165
|
+
if (_v) { {
|
|
8166
|
+
_v = ((TYPE(argv[2]) == T_FLOAT) || (TYPE(argv[2]) == T_FIXNUM) || (TYPE(argv[2]) == T_BIGNUM)) ? 1 : 0; }
|
|
8167
|
+
if (_v) { {
|
|
8168
|
+
_v = ((TYPE(argv[3]) == T_FLOAT) || (TYPE(argv[3]) == T_FIXNUM) || (TYPE(argv[3]) == T_BIGNUM)) ? 1 : 0; }
|
|
8169
|
+
if (_v) { return _wrap_new_FXExtentd__SWIG_3(nargs, args, self);} } } } }
|
|
8170
|
+
rb_raise(rb_eArgError, "No matching function for overloaded 'new_FXExtentd'"); return Qnil; }
|
|
8171
|
+
static VALUE _wrap_FXExtentd___setitem__(int argc, VALUE *argv, VALUE self) { FXExtentd *arg1 = (FXExtentd *) 0 ; FXint arg2 ;
|
|
8172
|
+
FXVec2d *arg3 = 0 ; FXVec2d *result; VALUE vresult = Qnil; if ((argc < 2) || (argc > 2))
|
|
8173
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
|
|
8174
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXExtentd, 1); arg2 = NUM2INT(argv[0]);
|
|
8175
|
+
SWIG_ConvertPtr(argv[1], (void **) &arg3, SWIGTYPE_p_FXVec2d, 1); if (arg3 == NULL) rb_raise(rb_eTypeError, "null reference");
|
|
8176
|
+
{ FXVec2d &_result_ref = FXExtentd___setitem__(arg1,arg2,*arg3); result = (FXVec2d *) &_result_ref; }
|
|
8177
|
+
vresult = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_FXVec2d,0); return vresult; }
|
|
8178
|
+
static VALUE _wrap_FXExtentd___getitem__(int argc, VALUE *argv, VALUE self) { FXExtentd *arg1 = (FXExtentd *) 0 ; FXint arg2 ;
|
|
8179
|
+
FXVec2d *result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
|
|
8180
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
|
8181
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXExtentd, 1); arg2 = NUM2INT(argv[0]); {
|
|
8182
|
+
FXVec2d const &_result_ref = FXExtentd___getitem__((FXExtentd const *)arg1,arg2); result = (FXVec2d *) &_result_ref; }
|
|
8183
|
+
vresult = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_FXVec2d,0); return vresult; }
|
|
8184
|
+
static VALUE _wrap_FXExtentd_width(int argc, VALUE *argv, VALUE self) { FXExtentd *arg1 = (FXExtentd *) 0 ; FXdouble result;
|
|
8185
|
+
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
|
8186
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXExtentd, 1); result = (FXdouble)((FXExtentd const *)arg1)->width();
|
|
8187
|
+
vresult = rb_float_new(result); return vresult; }
|
|
8188
|
+
static VALUE _wrap_FXExtentd_height(int argc, VALUE *argv, VALUE self) { FXExtentd *arg1 = (FXExtentd *) 0 ; FXdouble result;
|
|
8189
|
+
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
|
8190
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXExtentd, 1); result = (FXdouble)((FXExtentd const *)arg1)->height();
|
|
8191
|
+
vresult = rb_float_new(result); return vresult; }
|
|
8192
|
+
static VALUE _wrap_FXExtentd_longest(int argc, VALUE *argv, VALUE self) { FXExtentd *arg1 = (FXExtentd *) 0 ; FXdouble result;
|
|
8193
|
+
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
|
8194
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXExtentd, 1); result = (FXdouble)((FXExtentd const *)arg1)->longest();
|
|
8195
|
+
vresult = rb_float_new(result); return vresult; }
|
|
8196
|
+
static VALUE _wrap_FXExtentd_shortest(int argc, VALUE *argv, VALUE self) { FXExtentd *arg1 = (FXExtentd *) 0 ; FXdouble result;
|
|
8197
|
+
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
|
8198
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXExtentd, 1); result = (FXdouble)((FXExtentd const *)arg1)->shortest();
|
|
8199
|
+
vresult = rb_float_new(result); return vresult; }
|
|
8200
|
+
static VALUE _wrap_FXExtentd_diameter(int argc, VALUE *argv, VALUE self) { FXExtentd *arg1 = (FXExtentd *) 0 ; FXdouble result;
|
|
8201
|
+
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
|
8202
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXExtentd, 1); result = (FXdouble)((FXExtentd const *)arg1)->diameter();
|
|
8203
|
+
vresult = rb_float_new(result); return vresult; }
|
|
8204
|
+
static VALUE _wrap_FXExtentd_radius(int argc, VALUE *argv, VALUE self) { FXExtentd *arg1 = (FXExtentd *) 0 ; FXdouble result;
|
|
8205
|
+
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
|
8206
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXExtentd, 1); result = (FXdouble)((FXExtentd const *)arg1)->radius();
|
|
8207
|
+
vresult = rb_float_new(result); return vresult; }
|
|
8208
|
+
static VALUE _wrap_FXExtentd_diagonal(int argc, VALUE *argv, VALUE self) { FXExtentd *arg1 = (FXExtentd *) 0 ; FXVec2d result;
|
|
8209
|
+
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
|
8210
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXExtentd, 1); result = ((FXExtentd const *)arg1)->diagonal(); {
|
|
8211
|
+
FXVec2d * resultptr; resultptr = new FXVec2d((FXVec2d &)result);
|
|
8212
|
+
vresult = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_FXVec2d, 1); } return vresult; }
|
|
8213
|
+
static VALUE _wrap_FXExtentd_center(int argc, VALUE *argv, VALUE self) { FXExtentd *arg1 = (FXExtentd *) 0 ; FXVec2d result;
|
|
8214
|
+
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
|
8215
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXExtentd, 1); result = ((FXExtentd const *)arg1)->center(); {
|
|
8216
|
+
FXVec2d * resultptr; resultptr = new FXVec2d((FXVec2d &)result);
|
|
8217
|
+
vresult = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_FXVec2d, 1); } return vresult; }
|
|
8218
|
+
static VALUE _wrap_FXExtentd_emptyq___(int argc, VALUE *argv, VALUE self) { FXExtentd *arg1 = (FXExtentd *) 0 ; bool result;
|
|
8219
|
+
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
|
8220
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXExtentd, 1); result = (bool)((FXExtentd const *)arg1)->empty();
|
|
8221
|
+
vresult = result ? Qtrue : Qfalse; return vresult; }
|
|
8222
|
+
static VALUE _wrap_FXExtentd_contains(int argc, VALUE *argv, VALUE self) { FXExtentd *arg1 = (FXExtentd *) 0 ; FXdouble arg2 ;
|
|
8223
|
+
FXdouble arg3 ; bool result; VALUE vresult = Qnil; if ((argc < 2) || (argc > 2))
|
|
8224
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
|
|
8225
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXExtentd, 1); arg2 = (FXdouble) NUM2DBL(argv[0]);
|
|
8226
|
+
arg3 = (FXdouble) NUM2DBL(argv[1]); result = (bool)((FXExtentd const *)arg1)->contains(arg2,arg3);
|
|
8227
|
+
vresult = result ? Qtrue : Qfalse; return vresult; }
|
|
8228
|
+
static VALUE _wrap_FXExtentd_containsq_____SWIG_0(int argc, VALUE *argv, VALUE self) { FXExtentd *arg1 = (FXExtentd *) 0 ;
|
|
8229
|
+
FXVec2d *arg2 = 0 ; bool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
|
|
8230
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
|
8231
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXExtentd, 1);
|
|
8232
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXVec2d, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
|
|
8233
|
+
result = (bool)((FXExtentd const *)arg1)->contains((FXVec2d const &)*arg2); vresult = result ? Qtrue : Qfalse;
|
|
8234
|
+
return vresult; }
|
|
8235
|
+
static VALUE _wrap_FXExtentd_containsq_____SWIG_1(int argc, VALUE *argv, VALUE self) { FXExtentd *arg1 = (FXExtentd *) 0 ;
|
|
8236
|
+
FXExtentd *arg2 = 0 ; bool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
|
|
8237
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
|
8238
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXExtentd, 1);
|
|
8239
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXExtentd, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
|
|
8240
|
+
result = (bool)((FXExtentd const *)arg1)->contains((FXExtentd const &)*arg2); vresult = result ? Qtrue : Qfalse;
|
|
8241
|
+
return vresult; }
|
|
8242
|
+
static VALUE _wrap_FXExtentd_containsq___(int nargs, VALUE *args, VALUE self) { int argc; VALUE argv[3]; int ii;
|
|
8243
|
+
argc = nargs + 1; argv[0] = self; for (ii = 1; (ii < argc) && (ii < 2); ii++) { argv[ii] = args[ii-1]; } if (argc == 2) {
|
|
8244
|
+
int _v; { void *ptr;
|
|
8245
|
+
_v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_FXExtentd, 0) != -1)) ? 1 : 0; }
|
|
8246
|
+
if (_v) { { void *ptr;
|
|
8247
|
+
_v = (NIL_P(argv[1]) || (TYPE(argv[1]) == T_DATA && SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_FXVec2d, 0) != -1)) ? 1 : 0; }
|
|
8248
|
+
if (_v) { return _wrap_FXExtentd_containsq_____SWIG_0(nargs, args, self);} } } if (argc == 2) { int _v; {
|
|
8249
|
+
void *ptr;
|
|
8250
|
+
_v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_FXExtentd, 0) != -1)) ? 1 : 0; }
|
|
8251
|
+
if (_v) { { void *ptr;
|
|
8252
|
+
_v = (NIL_P(argv[1]) || (TYPE(argv[1]) == T_DATA && SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_FXExtentd, 0) != -1)) ? 1 : 0; }
|
|
8253
|
+
if (_v) { return _wrap_FXExtentd_containsq_____SWIG_1(nargs, args, self);} } }
|
|
8254
|
+
rb_raise(rb_eArgError, "No matching function for overloaded 'FXExtentd_contains?'"); return Qnil; }
|
|
8255
|
+
static VALUE _wrap_FXExtentd_include(int argc, VALUE *argv, VALUE self) { FXExtentd *arg1 = (FXExtentd *) 0 ; FXdouble arg2 ;
|
|
8256
|
+
FXdouble arg3 ; FXExtentd *result; VALUE vresult = Qnil; if ((argc < 2) || (argc > 2))
|
|
8257
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
|
|
8258
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXExtentd, 1); arg2 = (FXdouble) NUM2DBL(argv[0]);
|
|
8259
|
+
arg3 = (FXdouble) NUM2DBL(argv[1]); { FXExtentd &_result_ref = (arg1)->include(arg2,arg3);
|
|
8260
|
+
result = (FXExtentd *) &_result_ref; } vresult = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_FXExtentd,0);
|
|
8261
|
+
return vresult; }
|
|
8262
|
+
static VALUE _wrap_FXExtentd_includeN_____SWIG_0(int argc, VALUE *argv, VALUE self) { FXExtentd *arg1 = (FXExtentd *) 0 ;
|
|
8263
|
+
FXVec2d *arg2 = 0 ; FXExtentd *result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
|
|
8264
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
|
8265
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXExtentd, 1);
|
|
8266
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXVec2d, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
|
|
8267
|
+
{ FXExtentd &_result_ref = (arg1)->include((FXVec2d const &)*arg2); result = (FXExtentd *) &_result_ref; }
|
|
8268
|
+
vresult = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_FXExtentd,0); return vresult; }
|
|
8269
|
+
static VALUE _wrap_FXExtentd_includeN_____SWIG_1(int argc, VALUE *argv, VALUE self) { FXExtentd *arg1 = (FXExtentd *) 0 ;
|
|
8270
|
+
FXExtentd *arg2 = 0 ; FXExtentd *result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
|
|
8271
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
|
8272
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXExtentd, 1);
|
|
8273
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXExtentd, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
|
|
8274
|
+
{ FXExtentd &_result_ref = (arg1)->include((FXExtentd const &)*arg2); result = (FXExtentd *) &_result_ref; }
|
|
8275
|
+
vresult = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_FXExtentd,0); return vresult; }
|
|
8276
|
+
static VALUE _wrap_FXExtentd_includeN___(int nargs, VALUE *args, VALUE self) { int argc; VALUE argv[3]; int ii;
|
|
8277
|
+
argc = nargs + 1; argv[0] = self; for (ii = 1; (ii < argc) && (ii < 2); ii++) { argv[ii] = args[ii-1]; } if (argc == 2) {
|
|
8278
|
+
int _v; { void *ptr;
|
|
8279
|
+
_v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_FXExtentd, 0) != -1)) ? 1 : 0; }
|
|
8280
|
+
if (_v) { { void *ptr;
|
|
8281
|
+
_v = (NIL_P(argv[1]) || (TYPE(argv[1]) == T_DATA && SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_FXVec2d, 0) != -1)) ? 1 : 0; }
|
|
8282
|
+
if (_v) { return _wrap_FXExtentd_includeN_____SWIG_0(nargs, args, self);} } } if (argc == 2) { int _v; {
|
|
8283
|
+
void *ptr;
|
|
8284
|
+
_v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_FXExtentd, 0) != -1)) ? 1 : 0; }
|
|
8285
|
+
if (_v) { { void *ptr;
|
|
8286
|
+
_v = (NIL_P(argv[1]) || (TYPE(argv[1]) == T_DATA && SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_FXExtentd, 0) != -1)) ? 1 : 0; }
|
|
8287
|
+
if (_v) { return _wrap_FXExtentd_includeN_____SWIG_1(nargs, args, self);} } }
|
|
8288
|
+
rb_raise(rb_eArgError, "No matching function for overloaded 'FXExtentd_include!'"); return Qnil; }
|
|
8289
|
+
static VALUE _wrap_FXExtentd_corner(int argc, VALUE *argv, VALUE self) { FXExtentd *arg1 = (FXExtentd *) 0 ; FXint arg2 ;
|
|
8290
|
+
FXVec2d result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
|
|
8291
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
|
8292
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXExtentd, 1); arg2 = NUM2INT(argv[0]);
|
|
8293
|
+
result = ((FXExtentd const *)arg1)->corner(arg2); { FXVec2d * resultptr; resultptr = new FXVec2d((FXVec2d &)result);
|
|
8294
|
+
vresult = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_FXVec2d, 1); } return vresult; }
|
|
8295
|
+
static VALUE _wrap_FXExtentd_overlapq___(int argc, VALUE *argv, VALUE self) { FXExtentd *arg1 = (FXExtentd *) 0 ;
|
|
8296
|
+
FXExtentd *arg2 = 0 ; bool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
|
|
8297
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
|
8298
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXExtentd, 1);
|
|
8299
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXExtentd, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
|
|
8300
|
+
result = (bool)FXExtentd_overlap((FXExtentd const *)arg1,(FXExtentd const &)*arg2); vresult = result ? Qtrue : Qfalse;
|
|
8301
|
+
return vresult; }
|
|
8302
|
+
static VALUE _wrap_FXExtentd_unite_with(int argc, VALUE *argv, VALUE self) { FXExtentd *arg1 = (FXExtentd *) 0 ;
|
|
8303
|
+
FXExtentd *arg2 = 0 ; FXExtentd result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
|
|
8304
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
|
8305
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXExtentd, 1);
|
|
8306
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXExtentd, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
|
|
8307
|
+
result = FXExtentd_unite_with((FXExtentd const *)arg1,(FXExtentd const &)*arg2); { FXExtentd * resultptr;
|
|
8308
|
+
resultptr = new FXExtentd((FXExtentd &)result);
|
|
8309
|
+
vresult = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_FXExtentd, 1); } return vresult; }
|
|
8310
|
+
static VALUE _wrap_FXExtentd_intersect_with(int argc, VALUE *argv, VALUE self) { FXExtentd *arg1 = (FXExtentd *) 0 ;
|
|
8311
|
+
FXExtentd *arg2 = 0 ; FXExtentd result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
|
|
8312
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
|
8313
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXExtentd, 1);
|
|
8314
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXExtentd, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
|
|
8315
|
+
result = FXExtentd_intersect_with((FXExtentd const *)arg1,(FXExtentd const &)*arg2); { FXExtentd * resultptr;
|
|
8316
|
+
resultptr = new FXExtentd((FXExtentd &)result);
|
|
8317
|
+
vresult = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_FXExtentd, 1); } return vresult; }
|
|
7743
8318
|
|
|
7744
8319
|
/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
|
|
7745
8320
|
|
|
@@ -7947,6 +8522,9 @@ static void *_p_FXStatusLineTo_p_FXWindow(void *x) {
|
|
|
7947
8522
|
static void *_p_FXComboBoxTo_p_FXWindow(void *x) {
|
|
7948
8523
|
return (void *)((FXWindow *) (FXComposite *)(FXPacker *) ((FXComboBox *) x));
|
|
7949
8524
|
}
|
|
8525
|
+
static void *_p_FXKnobTo_p_FXWindow(void *x) {
|
|
8526
|
+
return (void *)((FXWindow *) (FXFrame *) ((FXKnob *) x));
|
|
8527
|
+
}
|
|
7950
8528
|
static void *_p_FXHorizontalFrameTo_p_FXWindow(void *x) {
|
|
7951
8529
|
return (void *)((FXWindow *) (FXComposite *)(FXPacker *) ((FXHorizontalFrame *) x));
|
|
7952
8530
|
}
|
|
@@ -7977,9 +8555,6 @@ static void *_p_FXColorWheelTo_p_FXWindow(void *x) {
|
|
|
7977
8555
|
static void *_p_FXBitmapFrameTo_p_FXWindow(void *x) {
|
|
7978
8556
|
return (void *)((FXWindow *) (FXFrame *) ((FXBitmapFrame *) x));
|
|
7979
8557
|
}
|
|
7980
|
-
static void *_p_FXGradientBarTo_p_FXWindow(void *x) {
|
|
7981
|
-
return (void *)((FXWindow *) (FXFrame *) ((FXGradientBar *) x));
|
|
7982
|
-
}
|
|
7983
8558
|
static void *_p_FXDirBoxTo_p_FXWindow(void *x) {
|
|
7984
8559
|
return (void *)((FXWindow *) (FXComposite *)(FXPacker *)(FXTreeListBox *) ((FXDirBox *) x));
|
|
7985
8560
|
}
|
|
@@ -8019,9 +8594,6 @@ static void *_p_FXProgressBarTo_p_FXWindow(void *x) {
|
|
|
8019
8594
|
static void *_p_FXDockSiteTo_p_FXWindow(void *x) {
|
|
8020
8595
|
return (void *)((FXWindow *) (FXComposite *)(FXPacker *) ((FXDockSite *) x));
|
|
8021
8596
|
}
|
|
8022
|
-
static void *_p_FXDockTitleTo_p_FXWindow(void *x) {
|
|
8023
|
-
return (void *)((FXWindow *) (FXFrame *)(FXDockHandler *) ((FXDockTitle *) x));
|
|
8024
|
-
}
|
|
8025
8597
|
static void *_p_FXListBoxTo_p_FXWindow(void *x) {
|
|
8026
8598
|
return (void *)((FXWindow *) (FXComposite *)(FXPacker *) ((FXListBox *) x));
|
|
8027
8599
|
}
|
|
@@ -8070,6 +8642,9 @@ static void *_p_FXRealSliderTo_p_FXWindow(void *x) {
|
|
|
8070
8642
|
static void *_p_FXSpringTo_p_FXWindow(void *x) {
|
|
8071
8643
|
return (void *)((FXWindow *) (FXComposite *)(FXPacker *) ((FXSpring *) x));
|
|
8072
8644
|
}
|
|
8645
|
+
static void *_p_FXColorRingTo_p_FXWindow(void *x) {
|
|
8646
|
+
return (void *)((FXWindow *) (FXFrame *) ((FXColorRing *) x));
|
|
8647
|
+
}
|
|
8073
8648
|
static void *_p_FXColorBarTo_p_FXWindow(void *x) {
|
|
8074
8649
|
return (void *)((FXWindow *) (FXFrame *) ((FXColorBar *) x));
|
|
8075
8650
|
}
|
|
@@ -8088,9 +8663,6 @@ static void *_p_FXGLViewerTo_p_FXGLCanvas(void *x) {
|
|
|
8088
8663
|
static void *_p_FXDocumentTo_p_FXObject(void *x) {
|
|
8089
8664
|
return (void *)((FXObject *) ((FXDocument *) x));
|
|
8090
8665
|
}
|
|
8091
|
-
static void *_p_FXGradientBarTo_p_FXObject(void *x) {
|
|
8092
|
-
return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *) ((FXGradientBar *) x));
|
|
8093
|
-
}
|
|
8094
8666
|
static void *_p_FXRegistryTo_p_FXObject(void *x) {
|
|
8095
8667
|
return (void *)((FXObject *) (FXDict *)(FXSettings *) ((FXRegistry *) x));
|
|
8096
8668
|
}
|
|
@@ -8151,6 +8723,9 @@ static void *_p_FXAppTo_p_FXObject(void *x) {
|
|
|
8151
8723
|
static void *_p_FXHeaderTo_p_FXObject(void *x) {
|
|
8152
8724
|
return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *) ((FXHeader *) x));
|
|
8153
8725
|
}
|
|
8726
|
+
static void *_p_FXTranslatorTo_p_FXObject(void *x) {
|
|
8727
|
+
return (void *)((FXObject *) ((FXTranslator *) x));
|
|
8728
|
+
}
|
|
8154
8729
|
static void *_p_FX4SplitterTo_p_FXObject(void *x) {
|
|
8155
8730
|
return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *) ((FX4Splitter *) x));
|
|
8156
8731
|
}
|
|
@@ -8217,6 +8792,9 @@ static void *_p_FXDockSiteTo_p_FXObject(void *x) {
|
|
|
8217
8792
|
static void *_p_FXGroupBoxTo_p_FXObject(void *x) {
|
|
8218
8793
|
return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXGroupBox *) x));
|
|
8219
8794
|
}
|
|
8795
|
+
static void *_p_FXColorRingTo_p_FXObject(void *x) {
|
|
8796
|
+
return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *) ((FXColorRing *) x));
|
|
8797
|
+
}
|
|
8220
8798
|
static void *_p_FXDebugTargetTo_p_FXObject(void *x) {
|
|
8221
8799
|
return (void *)((FXObject *) ((FXDebugTarget *) x));
|
|
8222
8800
|
}
|
|
@@ -8265,9 +8843,6 @@ static void *_p_FXFrameTo_p_FXObject(void *x) {
|
|
|
8265
8843
|
static void *_p_FX7SegmentTo_p_FXObject(void *x) {
|
|
8266
8844
|
return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *) ((FX7Segment *) x));
|
|
8267
8845
|
}
|
|
8268
|
-
static void *_p_FXDockTitleTo_p_FXObject(void *x) {
|
|
8269
|
-
return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *)(FXDockHandler *) ((FXDockTitle *) x));
|
|
8270
|
-
}
|
|
8271
8846
|
static void *_p_FXStringDictTo_p_FXObject(void *x) {
|
|
8272
8847
|
return (void *)((FXObject *) (FXDict *) ((FXStringDict *) x));
|
|
8273
8848
|
}
|
|
@@ -8292,6 +8867,9 @@ static void *_p_FXGIFCursorTo_p_FXObject(void *x) {
|
|
|
8292
8867
|
static void *_p_FXGLObjectTo_p_FXObject(void *x) {
|
|
8293
8868
|
return (void *)((FXObject *) ((FXGLObject *) x));
|
|
8294
8869
|
}
|
|
8870
|
+
static void *_p_FXKnobTo_p_FXObject(void *x) {
|
|
8871
|
+
return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *) ((FXKnob *) x));
|
|
8872
|
+
}
|
|
8295
8873
|
static void *_p_FXRealSpinnerTo_p_FXObject(void *x) {
|
|
8296
8874
|
return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXRealSpinner *) x));
|
|
8297
8875
|
}
|
|
@@ -8343,12 +8921,12 @@ static void *_p_FXRulerTo_p_FXObject(void *x) {
|
|
|
8343
8921
|
static void *_p_FXDialTo_p_FXObject(void *x) {
|
|
8344
8922
|
return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *) ((FXDial *) x));
|
|
8345
8923
|
}
|
|
8346
|
-
static void *_p_FXHorizontalFrameTo_p_FXObject(void *x) {
|
|
8347
|
-
return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXHorizontalFrame *) x));
|
|
8348
|
-
}
|
|
8349
8924
|
static void *_p_FXVerticalFrameTo_p_FXObject(void *x) {
|
|
8350
8925
|
return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXVerticalFrame *) x));
|
|
8351
8926
|
}
|
|
8927
|
+
static void *_p_FXHorizontalFrameTo_p_FXObject(void *x) {
|
|
8928
|
+
return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXHorizontalFrame *) x));
|
|
8929
|
+
}
|
|
8352
8930
|
static void *_p_FXImageViewTo_p_FXObject(void *x) {
|
|
8353
8931
|
return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXScrollArea *) ((FXImageView *) x));
|
|
8354
8932
|
}
|
|
@@ -8460,6 +9038,9 @@ static void *_p_FXStatusLineTo_p_FXDrawable(void *x) {
|
|
|
8460
9038
|
static void *_p_FXComboBoxTo_p_FXDrawable(void *x) {
|
|
8461
9039
|
return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXPacker *) ((FXComboBox *) x));
|
|
8462
9040
|
}
|
|
9041
|
+
static void *_p_FXKnobTo_p_FXDrawable(void *x) {
|
|
9042
|
+
return (void *)((FXDrawable *) (FXWindow *)(FXFrame *) ((FXKnob *) x));
|
|
9043
|
+
}
|
|
8463
9044
|
static void *_p_FXHorizontalFrameTo_p_FXDrawable(void *x) {
|
|
8464
9045
|
return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXPacker *) ((FXHorizontalFrame *) x));
|
|
8465
9046
|
}
|
|
@@ -8490,9 +9071,6 @@ static void *_p_FXColorWheelTo_p_FXDrawable(void *x) {
|
|
|
8490
9071
|
static void *_p_FXBitmapFrameTo_p_FXDrawable(void *x) {
|
|
8491
9072
|
return (void *)((FXDrawable *) (FXWindow *)(FXFrame *) ((FXBitmapFrame *) x));
|
|
8492
9073
|
}
|
|
8493
|
-
static void *_p_FXGradientBarTo_p_FXDrawable(void *x) {
|
|
8494
|
-
return (void *)((FXDrawable *) (FXWindow *)(FXFrame *) ((FXGradientBar *) x));
|
|
8495
|
-
}
|
|
8496
9074
|
static void *_p_FXDirBoxTo_p_FXDrawable(void *x) {
|
|
8497
9075
|
return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXPacker *)(FXTreeListBox *) ((FXDirBox *) x));
|
|
8498
9076
|
}
|
|
@@ -8532,9 +9110,6 @@ static void *_p_FXProgressBarTo_p_FXDrawable(void *x) {
|
|
|
8532
9110
|
static void *_p_FXDockSiteTo_p_FXDrawable(void *x) {
|
|
8533
9111
|
return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXPacker *) ((FXDockSite *) x));
|
|
8534
9112
|
}
|
|
8535
|
-
static void *_p_FXDockTitleTo_p_FXDrawable(void *x) {
|
|
8536
|
-
return (void *)((FXDrawable *) (FXWindow *)(FXFrame *)(FXDockHandler *) ((FXDockTitle *) x));
|
|
8537
|
-
}
|
|
8538
9113
|
static void *_p_FXListBoxTo_p_FXDrawable(void *x) {
|
|
8539
9114
|
return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXPacker *) ((FXListBox *) x));
|
|
8540
9115
|
}
|
|
@@ -8583,6 +9158,9 @@ static void *_p_FXRealSliderTo_p_FXDrawable(void *x) {
|
|
|
8583
9158
|
static void *_p_FXSpringTo_p_FXDrawable(void *x) {
|
|
8584
9159
|
return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXPacker *) ((FXSpring *) x));
|
|
8585
9160
|
}
|
|
9161
|
+
static void *_p_FXColorRingTo_p_FXDrawable(void *x) {
|
|
9162
|
+
return (void *)((FXDrawable *) (FXWindow *)(FXFrame *) ((FXColorRing *) x));
|
|
9163
|
+
}
|
|
8586
9164
|
static void *_p_FXColorBarTo_p_FXDrawable(void *x) {
|
|
8587
9165
|
return (void *)((FXDrawable *) (FXWindow *)(FXFrame *) ((FXColorBar *) x));
|
|
8588
9166
|
}
|
|
@@ -8595,9 +9173,6 @@ static void *_p_FXFileStreamTo_p_FXStream(void *x) {
|
|
|
8595
9173
|
static void *_p_FXMemoryStreamTo_p_FXStream(void *x) {
|
|
8596
9174
|
return (void *)((FXStream *) ((FXMemoryStream *) x));
|
|
8597
9175
|
}
|
|
8598
|
-
static void *_p_FXGradientBarTo_p_FXId(void *x) {
|
|
8599
|
-
return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *) ((FXGradientBar *) x));
|
|
8600
|
-
}
|
|
8601
9176
|
static void *_p_FXShutterItemTo_p_FXId(void *x) {
|
|
8602
9177
|
return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *)(FXVerticalFrame *) ((FXShutterItem *) x));
|
|
8603
9178
|
}
|
|
@@ -8697,6 +9272,9 @@ static void *_p_FXDockSiteTo_p_FXId(void *x) {
|
|
|
8697
9272
|
static void *_p_FXGroupBoxTo_p_FXId(void *x) {
|
|
8698
9273
|
return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXGroupBox *) x));
|
|
8699
9274
|
}
|
|
9275
|
+
static void *_p_FXColorRingTo_p_FXId(void *x) {
|
|
9276
|
+
return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *) ((FXColorRing *) x));
|
|
9277
|
+
}
|
|
8700
9278
|
static void *_p_FXDockHandlerTo_p_FXId(void *x) {
|
|
8701
9279
|
return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *) ((FXDockHandler *) x));
|
|
8702
9280
|
}
|
|
@@ -8739,9 +9317,6 @@ static void *_p_FXFrameTo_p_FXId(void *x) {
|
|
|
8739
9317
|
static void *_p_FX7SegmentTo_p_FXId(void *x) {
|
|
8740
9318
|
return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *) ((FX7Segment *) x));
|
|
8741
9319
|
}
|
|
8742
|
-
static void *_p_FXDockTitleTo_p_FXId(void *x) {
|
|
8743
|
-
return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *)(FXDockHandler *) ((FXDockTitle *) x));
|
|
8744
|
-
}
|
|
8745
9320
|
static void *_p_FXStatusBarTo_p_FXId(void *x) {
|
|
8746
9321
|
return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *)(FXHorizontalFrame *) ((FXStatusBar *) x));
|
|
8747
9322
|
}
|
|
@@ -8754,6 +9329,9 @@ static void *_p_FXCURCursorTo_p_FXId(void *x) {
|
|
|
8754
9329
|
static void *_p_FXCursorTo_p_FXId(void *x) {
|
|
8755
9330
|
return (void *)((FXId *) ((FXCursor *) x));
|
|
8756
9331
|
}
|
|
9332
|
+
static void *_p_FXKnobTo_p_FXId(void *x) {
|
|
9333
|
+
return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *) ((FXKnob *) x));
|
|
9334
|
+
}
|
|
8757
9335
|
static void *_p_FXRealSpinnerTo_p_FXId(void *x) {
|
|
8758
9336
|
return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXRealSpinner *) x));
|
|
8759
9337
|
}
|
|
@@ -8845,10 +9423,10 @@ static swig_type_info _swigt__p_FXComposite[] = {{"_p_FXComposite", 0, "FXCompos
|
|
|
8845
9423
|
static swig_type_info _swigt__p_FXVec3d[] = {{"_p_FXVec3d", 0, "FXVec3d *", 0, 0, 0, 0},{"_p_FXVec3d", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
|
|
8846
9424
|
static swig_type_info _swigt__p_FXGLViewer[] = {{"_p_FXGLViewer", 0, "FXGLViewer *", 0, 0, 0, 0},{"_p_FXGLViewer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
|
|
8847
9425
|
static swig_type_info _swigt__p_FXMat3f[] = {{"_p_FXMat3f", 0, "FXMat3f *", 0, 0, 0, 0},{"_p_FXMat3f", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
|
|
8848
|
-
static swig_type_info _swigt__p_FXId[] = {{"_p_FXId", 0, "FXId *", 0, 0, 0, 0},{"
|
|
9426
|
+
static swig_type_info _swigt__p_FXId[] = {{"_p_FXId", 0, "FXId *", 0, 0, 0, 0},{"_p_FXShutterItem", _p_FXShutterItemTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXColorBar", _p_FXColorBarTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXTabBar", _p_FXTabBarTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXSwitcher", _p_FXSwitcherTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXTextField", _p_FXTextFieldTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXToolBarTab", _p_FXToolBarTabTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXDriveBox", _p_FXDriveBoxTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXMatrix", _p_FXMatrixTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXScrollCorner", _p_FXScrollCornerTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXArrowButton", _p_FXArrowButtonTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXGLViewer", _p_FXGLViewerTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXPopup", _p_FXPopupTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXDrawable", _p_FXDrawableTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXFont", _p_FXFontTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXHeader", _p_FXHeaderTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXSplitter", _p_FXSplitterTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FX4Splitter", _p_FX4SplitterTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXSpring", _p_FXSpringTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXPacker", _p_FXPackerTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXTabBook", _p_FXTabBookTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXImageFrame", _p_FXImageFrameTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXSeparator", _p_FXSeparatorTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXHorizontalSeparator", _p_FXHorizontalSeparatorTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXVerticalSeparator", _p_FXVerticalSeparatorTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXKnob", _p_FXKnobTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXProgressBar", _p_FXProgressBarTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXShutter", _p_FXShutterTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXGLContext", _p_FXGLContextTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXToolTip", _p_FXToolTipTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXComposite", _p_FXCompositeTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXBitmapFrame", _p_FXBitmapFrameTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXRealSlider", _p_FXRealSliderTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXSlider", _p_FXSliderTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXDockSite", _p_FXDockSiteTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXGroupBox", _p_FXGroupBoxTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXColorRing", _p_FXColorRingTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXDockHandler", _p_FXDockHandlerTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXTreeListBox", _p_FXTreeListBoxTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXListBox", _p_FXListBoxTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXCanvas", _p_FXCanvasTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXGLCanvas", _p_FXGLCanvasTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXId", 0, 0, 0, 0, 0, 0},{"_p_FXColorWheel", _p_FXColorWheelTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXDial", _p_FXDialTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXToolBarGrip", _p_FXToolBarGripTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXScrollBar", _p_FXScrollBarTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXGLVisual", _p_FXGLVisualTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXVisual", _p_FXVisualTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXComboBox", _p_FXComboBoxTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXFrame", _p_FXFrameTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FX7Segment", _p_FX7SegmentTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXStatusBar", _p_FXStatusBarTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXCursor", _p_FXCursorTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXCURCursor", _p_FXCURCursorTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXGIFCursor", _p_FXGIFCursorTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXRealSpinner", _p_FXRealSpinnerTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXSpinner", _p_FXSpinnerTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXStatusLine", _p_FXStatusLineTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXWindow", _p_FXWindowTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXSplashWindow", _p_FXSplashWindowTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXScrollWindow", _p_FXScrollWindowTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXRootWindow", _p_FXRootWindowTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXTopWindow", _p_FXTopWindowTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXMainWindow", _p_FXMainWindowTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXDockBar", _p_FXDockBarTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXShell", _p_FXShellTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXScrollArea", _p_FXScrollAreaTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXColorWell", _p_FXColorWellTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXDragCorner", _p_FXDragCornerTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXRuler", _p_FXRulerTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXVerticalFrame", _p_FXVerticalFrameTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXHorizontalFrame", _p_FXHorizontalFrameTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXImageView", _p_FXImageViewTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXDirSelector", _p_FXDirSelectorTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXFileSelector", _p_FXFileSelectorTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXColorSelector", _p_FXColorSelectorTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXFontSelector", _p_FXFontSelectorTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXToolBarShell", _p_FXToolBarShellTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXToolBar", _p_FXToolBarTo_p_FXId, 0, 0, 0, 0, 0},{"_p_FXDirBox", _p_FXDirBoxTo_p_FXId, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
|
|
8849
9427
|
static swig_type_info _swigt__p_FXViewport[] = {{"_p_FXViewport", 0, "FXViewport *", 0, 0, 0, 0},{"_p_FXViewport", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
|
|
8850
9428
|
static swig_type_info _swigt__p_FXVec3f[] = {{"_p_FXVec3f", 0, "FXVec3f *", 0, 0, 0, 0},{"_p_FXVec3f", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
|
|
8851
|
-
static swig_type_info _swigt__p_FXWindow[] = {{"_p_FXWindow", 0, "FXWindow *", 0, 0, 0, 0},{"_p_FXDriveBox", _p_FXDriveBoxTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXDial", _p_FXDialTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXToolBar", _p_FXToolBarTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXComposite", _p_FXCompositeTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXToolTip", _p_FXToolTipTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXTabBook", _p_FXTabBookTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXGLViewer", _p_FXGLViewerTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXTextField", _p_FXTextFieldTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXArrowButton", _p_FXArrowButtonTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXGroupBox", _p_FXGroupBoxTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXShell", _p_FXShellTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXStatusBar", _p_FXStatusBarTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXScrollArea", _p_FXScrollAreaTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXPopup", _p_FXPopupTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXMainWindow", _p_FXMainWindowTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXTopWindow", _p_FXTopWindowTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXRootWindow", _p_FXRootWindowTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXWindow", 0, 0, 0, 0, 0, 0},{"_p_FXSplashWindow", _p_FXSplashWindowTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXScrollWindow", _p_FXScrollWindowTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXScrollCorner", _p_FXScrollCornerTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXRuler", _p_FXRulerTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXGLCanvas", _p_FXGLCanvasTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXCanvas", _p_FXCanvasTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXComboBox", _p_FXComboBoxTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXVerticalSeparator", _p_FXVerticalSeparatorTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXHorizontalSeparator", _p_FXHorizontalSeparatorTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXSeparator", _p_FXSeparatorTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXStatusLine", _p_FXStatusLineTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXHorizontalFrame", _p_FXHorizontalFrameTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXVerticalFrame", _p_FXVerticalFrameTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FX4Splitter", _p_FX4SplitterTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXSplitter", _p_FXSplitterTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXRealSpinner", _p_FXRealSpinnerTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXSpinner", _p_FXSpinnerTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXPacker", _p_FXPackerTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXScrollBar", _p_FXScrollBarTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXColorWheel", _p_FXColorWheelTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXBitmapFrame", _p_FXBitmapFrameTo_p_FXWindow, 0, 0, 0, 0, 0},{"
|
|
9429
|
+
static swig_type_info _swigt__p_FXWindow[] = {{"_p_FXWindow", 0, "FXWindow *", 0, 0, 0, 0},{"_p_FXDriveBox", _p_FXDriveBoxTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXDial", _p_FXDialTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXToolBar", _p_FXToolBarTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXComposite", _p_FXCompositeTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXToolTip", _p_FXToolTipTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXTabBook", _p_FXTabBookTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXGLViewer", _p_FXGLViewerTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXTextField", _p_FXTextFieldTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXArrowButton", _p_FXArrowButtonTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXGroupBox", _p_FXGroupBoxTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXShell", _p_FXShellTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXStatusBar", _p_FXStatusBarTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXScrollArea", _p_FXScrollAreaTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXPopup", _p_FXPopupTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXMainWindow", _p_FXMainWindowTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXTopWindow", _p_FXTopWindowTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXRootWindow", _p_FXRootWindowTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXWindow", 0, 0, 0, 0, 0, 0},{"_p_FXSplashWindow", _p_FXSplashWindowTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXScrollWindow", _p_FXScrollWindowTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXScrollCorner", _p_FXScrollCornerTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXRuler", _p_FXRulerTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXGLCanvas", _p_FXGLCanvasTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXCanvas", _p_FXCanvasTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXComboBox", _p_FXComboBoxTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXVerticalSeparator", _p_FXVerticalSeparatorTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXHorizontalSeparator", _p_FXHorizontalSeparatorTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXSeparator", _p_FXSeparatorTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXStatusLine", _p_FXStatusLineTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXHorizontalFrame", _p_FXHorizontalFrameTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXVerticalFrame", _p_FXVerticalFrameTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FX4Splitter", _p_FX4SplitterTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXSplitter", _p_FXSplitterTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXRealSpinner", _p_FXRealSpinnerTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXSpinner", _p_FXSpinnerTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXPacker", _p_FXPackerTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXScrollBar", _p_FXScrollBarTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXColorWheel", _p_FXColorWheelTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXBitmapFrame", _p_FXBitmapFrameTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXDirBox", _p_FXDirBoxTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXDockHandler", _p_FXDockHandlerTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXToolBarGrip", _p_FXToolBarGripTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXImageFrame", _p_FXImageFrameTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXDragCorner", _p_FXDragCornerTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXSwitcher", _p_FXSwitcherTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXDirSelector", _p_FXDirSelectorTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXFileSelector", _p_FXFileSelectorTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXColorSelector", _p_FXColorSelectorTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXFontSelector", _p_FXFontSelectorTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXShutter", _p_FXShutterTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXKnob", _p_FXKnobTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXProgressBar", _p_FXProgressBarTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXDockSite", _p_FXDockSiteTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXListBox", _p_FXListBoxTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXTreeListBox", _p_FXTreeListBoxTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXHeader", _p_FXHeaderTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXMatrix", _p_FXMatrixTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXShutterItem", _p_FXShutterItemTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXColorWell", _p_FXColorWellTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXToolBarTab", _p_FXToolBarTabTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXDockBar", _p_FXDockBarTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXTabBar", _p_FXTabBarTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXFrame", _p_FXFrameTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXImageView", _p_FXImageViewTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FX7Segment", _p_FX7SegmentTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXSlider", _p_FXSliderTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXRealSlider", _p_FXRealSliderTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXSpring", _p_FXSpringTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXColorRing", _p_FXColorRingTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXColorBar", _p_FXColorBarTo_p_FXWindow, 0, 0, 0, 0, 0},{"_p_FXToolBarShell", _p_FXToolBarShellTo_p_FXWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
|
|
8852
9430
|
static swig_type_info _swigt__p_FXCanvas[] = {{"_p_FXCanvas", 0, "FXCanvas *", 0, 0, 0, 0},{"_p_FXCanvas", 0, 0, 0, 0, 0, 0},{"_p_FXGLCanvas", _p_FXGLCanvasTo_p_FXCanvas, 0, 0, 0, 0, 0},{"_p_FXGLViewer", _p_FXGLViewerTo_p_FXCanvas, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
|
|
8853
9431
|
static swig_type_info _swigt__p_FXGLCanvas[] = {{"_p_FXGLCanvas", 0, "FXGLCanvas *", 0, 0, 0, 0},{"_p_FXGLCanvas", 0, 0, 0, 0, 0, 0},{"_p_FXGLViewer", _p_FXGLViewerTo_p_FXGLCanvas, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
|
|
8854
9432
|
static swig_type_info _swigt__p_FXRanged[] = {{"_p_FXRanged", 0, "FXRanged *", 0, 0, 0, 0},{"_p_FXRanged", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
|
|
@@ -8859,15 +9437,17 @@ static swig_type_info _swigt__p_FXSpheref[] = {{"_p_FXSpheref", 0, "FXSpheref *"
|
|
|
8859
9437
|
static swig_type_info _swigt__p_FXRangef[] = {{"_p_FXRangef", 0, "FXRangef *", 0, 0, 0, 0},{"_p_FXRangef", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
|
|
8860
9438
|
static swig_type_info _swigt__p_FXVec2f[] = {{"_p_FXVec2f", 0, "FXVec2f *", 0, 0, 0, 0},{"_p_FXVec2f", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
|
|
8861
9439
|
static swig_type_info _swigt__p_FXBitmap[] = {{"_p_FXBitmap", 0, "FXBitmap *", 0, 0, 0, 0},{"_p_FXBitmap", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
|
|
8862
|
-
static swig_type_info _swigt__p_FXObject[] = {{"_p_FXObject", 0, "FXObject *", 0, 0, 0, 0},{"_p_FXDocument", _p_FXDocumentTo_p_FXObject, 0, 0, 0, 0, 0},{"
|
|
9440
|
+
static swig_type_info _swigt__p_FXObject[] = {{"_p_FXObject", 0, "FXObject *", 0, 0, 0, 0},{"_p_FXDocument", _p_FXDocumentTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXRegistry", _p_FXRegistryTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXHeaderItem", _p_FXHeaderItemTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXShutterItem", _p_FXShutterItemTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXColorBar", _p_FXColorBarTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXTabBar", _p_FXTabBarTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXSwitcher", _p_FXSwitcherTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXTextField", _p_FXTextFieldTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXToolBarTab", _p_FXToolBarTabTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXDriveBox", _p_FXDriveBoxTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXIconDict", _p_FXIconDictTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXMatrix", _p_FXMatrixTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXFileDict", _p_FXFileDictTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXRecentFiles", _p_FXRecentFilesTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXScrollCorner", _p_FXScrollCornerTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXArrowButton", _p_FXArrowButtonTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXGLViewer", _p_FXGLViewerTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXPopup", _p_FXPopupTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXDrawable", _p_FXDrawableTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXFont", _p_FXFontTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXHeader", _p_FXHeaderTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FX4Splitter", _p_FX4SplitterTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXSplitter", _p_FXSplitterTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXTranslator", _p_FXTranslatorTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXSpring", _p_FXSpringTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXPacker", _p_FXPackerTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXTabBook", _p_FXTabBookTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXApp", _p_FXAppTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXImageFrame", _p_FXImageFrameTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXSeparator", _p_FXSeparatorTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXHorizontalSeparator", _p_FXHorizontalSeparatorTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXVerticalSeparator", _p_FXVerticalSeparatorTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXKnob", _p_FXKnobTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXGLShape", _p_FXGLShapeTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXProgressBar", _p_FXProgressBarTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXShutter", _p_FXShutterTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXGLContext", _p_FXGLContextTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXToolTip", _p_FXToolTipTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXComposite", _p_FXCompositeTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXDict", _p_FXDictTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXBitmapFrame", _p_FXBitmapFrameTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXSlider", _p_FXSliderTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXRealSlider", _p_FXRealSliderTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXSettings", _p_FXSettingsTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXDockSite", _p_FXDockSiteTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXGroupBox", _p_FXGroupBoxTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXColorRing", _p_FXColorRingTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXDataTarget", _p_FXDataTargetTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXDebugTarget", _p_FXDebugTargetTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXDockHandler", _p_FXDockHandlerTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXTreeListBox", _p_FXTreeListBoxTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXListBox", _p_FXListBoxTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXCanvas", _p_FXCanvasTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXGLCanvas", _p_FXGLCanvasTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXId", _p_FXIdTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXColorWheel", _p_FXColorWheelTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXDial", _p_FXDialTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXToolBarGrip", _p_FXToolBarGripTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXScrollBar", _p_FXScrollBarTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXGLVisual", _p_FXGLVisualTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXVisual", _p_FXVisualTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXComboBox", _p_FXComboBoxTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXFrame", _p_FXFrameTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FX7Segment", _p_FX7SegmentTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXStatusBar", _p_FXStatusBarTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXStringDict", _p_FXStringDictTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXDelegator", _p_FXDelegatorTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXAccelTable", _p_FXAccelTableTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXObject", 0, 0, 0, 0, 0, 0},{"_p_FXCursor", _p_FXCursorTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXCURCursor", _p_FXCURCursorTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXGIFCursor", _p_FXGIFCursorTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXGLObject", _p_FXGLObjectTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXRealSpinner", _p_FXRealSpinnerTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXSpinner", _p_FXSpinnerTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXStatusLine", _p_FXStatusLineTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXWindow", _p_FXWindowTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXSplashWindow", _p_FXSplashWindowTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXScrollWindow", _p_FXScrollWindowTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXRootWindow", _p_FXRootWindowTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXTopWindow", _p_FXTopWindowTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXMainWindow", _p_FXMainWindowTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXDockBar", _p_FXDockBarTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXShell", _p_FXShellTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXScrollArea", _p_FXScrollAreaTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXColorWell", _p_FXColorWellTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXDragCorner", _p_FXDragCornerTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXRuler", _p_FXRulerTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXHorizontalFrame", _p_FXHorizontalFrameTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXVerticalFrame", _p_FXVerticalFrameTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXImageView", _p_FXImageViewTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXDirSelector", _p_FXDirSelectorTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXFileSelector", _p_FXFileSelectorTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXColorSelector", _p_FXColorSelectorTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXFontSelector", _p_FXFontSelectorTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXToolBarShell", _p_FXToolBarShellTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXToolBar", _p_FXToolBarTo_p_FXObject, 0, 0, 0, 0, 0},{"_p_FXDirBox", _p_FXDirBoxTo_p_FXObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
|
|
8863
9441
|
static swig_type_info _swigt__p_FXGLObject[] = {{"_p_FXGLObject", 0, "FXGLObject *", 0, 0, 0, 0},{"_p_FXGLShape", _p_FXGLShapeTo_p_FXGLObject, 0, 0, 0, 0, 0},{"_p_FXGLObject", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
|
|
8864
9442
|
static swig_type_info _swigt__p_FXGLContext[] = {{"_p_FXGLContext", 0, "FXGLContext *", 0, 0, 0, 0},{"_p_FXGLContext", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
|
|
8865
9443
|
static swig_type_info _swigt__p_FXQuatd[] = {{"_p_FXQuatd", 0, "FXQuatd *", 0, 0, 0, 0},{"_p_FXQuatd", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
|
|
8866
9444
|
static swig_type_info _swigt__p_FXMaterial[] = {{"_p_FXMaterial", 0, "FXMaterial *", 0, 0, 0, 0},{"_p_FXMaterial", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
|
|
8867
9445
|
static swig_type_info _swigt__p_FXdouble[] = {{"_p_FXdouble", 0, "double const []|FXdouble const []", 0, 0, 0, 0},{"_p_FXdouble", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
|
|
8868
9446
|
static swig_type_info _swigt__p_FXQuatf[] = {{"_p_FXQuatf", 0, "FXQuatf *", 0, 0, 0, 0},{"_p_FXQuatf", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
|
|
9447
|
+
static swig_type_info _swigt__p_FXExtentd[] = {{"_p_FXExtentd", 0, "FXExtentd *", 0, 0, 0, 0},{"_p_FXExtentd", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
|
|
8869
9448
|
static swig_type_info _swigt__p_FXGLShape[] = {{"_p_FXGLShape", 0, "FXGLShape *", 0, 0, 0, 0},{"_p_FXGLShape", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
|
|
8870
|
-
static swig_type_info _swigt__p_FXDrawable[] = {{"_p_FXDrawable", 0, "FXDrawable *", 0, 0, 0, 0},{"_p_FXDriveBox", _p_FXDriveBoxTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXDial", _p_FXDialTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXToolBar", _p_FXToolBarTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXComposite", _p_FXCompositeTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXToolTip", _p_FXToolTipTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXTabBook", _p_FXTabBookTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXGLViewer", _p_FXGLViewerTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXTextField", _p_FXTextFieldTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXArrowButton", _p_FXArrowButtonTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXGroupBox", _p_FXGroupBoxTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXShell", _p_FXShellTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXStatusBar", _p_FXStatusBarTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXScrollArea", _p_FXScrollAreaTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXPopup", _p_FXPopupTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXMainWindow", _p_FXMainWindowTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXTopWindow", _p_FXTopWindowTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXRootWindow", _p_FXRootWindowTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXSplashWindow", _p_FXSplashWindowTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXScrollWindow", _p_FXScrollWindowTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXScrollCorner", _p_FXScrollCornerTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXWindow", _p_FXWindowTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXRuler", _p_FXRulerTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXGLCanvas", _p_FXGLCanvasTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXCanvas", _p_FXCanvasTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXComboBox", _p_FXComboBoxTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXVerticalSeparator", _p_FXVerticalSeparatorTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXHorizontalSeparator", _p_FXHorizontalSeparatorTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXSeparator", _p_FXSeparatorTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXStatusLine", _p_FXStatusLineTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXHorizontalFrame", _p_FXHorizontalFrameTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXVerticalFrame", _p_FXVerticalFrameTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FX4Splitter", _p_FX4SplitterTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXSplitter", _p_FXSplitterTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXRealSpinner", _p_FXRealSpinnerTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXSpinner", _p_FXSpinnerTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXPacker", _p_FXPackerTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXScrollBar", _p_FXScrollBarTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXColorWheel", _p_FXColorWheelTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXBitmapFrame", _p_FXBitmapFrameTo_p_FXDrawable, 0, 0, 0, 0, 0},{"
|
|
9449
|
+
static swig_type_info _swigt__p_FXDrawable[] = {{"_p_FXDrawable", 0, "FXDrawable *", 0, 0, 0, 0},{"_p_FXDriveBox", _p_FXDriveBoxTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXDial", _p_FXDialTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXToolBar", _p_FXToolBarTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXComposite", _p_FXCompositeTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXToolTip", _p_FXToolTipTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXTabBook", _p_FXTabBookTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXGLViewer", _p_FXGLViewerTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXTextField", _p_FXTextFieldTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXArrowButton", _p_FXArrowButtonTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXGroupBox", _p_FXGroupBoxTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXShell", _p_FXShellTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXStatusBar", _p_FXStatusBarTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXScrollArea", _p_FXScrollAreaTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXPopup", _p_FXPopupTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXMainWindow", _p_FXMainWindowTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXTopWindow", _p_FXTopWindowTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXRootWindow", _p_FXRootWindowTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXSplashWindow", _p_FXSplashWindowTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXScrollWindow", _p_FXScrollWindowTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXScrollCorner", _p_FXScrollCornerTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXWindow", _p_FXWindowTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXRuler", _p_FXRulerTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXGLCanvas", _p_FXGLCanvasTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXCanvas", _p_FXCanvasTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXComboBox", _p_FXComboBoxTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXVerticalSeparator", _p_FXVerticalSeparatorTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXHorizontalSeparator", _p_FXHorizontalSeparatorTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXSeparator", _p_FXSeparatorTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXStatusLine", _p_FXStatusLineTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXHorizontalFrame", _p_FXHorizontalFrameTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXVerticalFrame", _p_FXVerticalFrameTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FX4Splitter", _p_FX4SplitterTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXSplitter", _p_FXSplitterTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXRealSpinner", _p_FXRealSpinnerTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXSpinner", _p_FXSpinnerTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXPacker", _p_FXPackerTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXScrollBar", _p_FXScrollBarTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXColorWheel", _p_FXColorWheelTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXBitmapFrame", _p_FXBitmapFrameTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXDirBox", _p_FXDirBoxTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXDockHandler", _p_FXDockHandlerTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXToolBarGrip", _p_FXToolBarGripTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXImageFrame", _p_FXImageFrameTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXDragCorner", _p_FXDragCornerTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXSwitcher", _p_FXSwitcherTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXDirSelector", _p_FXDirSelectorTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXFileSelector", _p_FXFileSelectorTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXColorSelector", _p_FXColorSelectorTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXFontSelector", _p_FXFontSelectorTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXShutter", _p_FXShutterTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXDrawable", 0, 0, 0, 0, 0, 0},{"_p_FXKnob", _p_FXKnobTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXProgressBar", _p_FXProgressBarTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXDockSite", _p_FXDockSiteTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXListBox", _p_FXListBoxTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXTreeListBox", _p_FXTreeListBoxTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXHeader", _p_FXHeaderTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXMatrix", _p_FXMatrixTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXShutterItem", _p_FXShutterItemTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXColorWell", _p_FXColorWellTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXToolBarTab", _p_FXToolBarTabTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXDockBar", _p_FXDockBarTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXTabBar", _p_FXTabBarTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXFrame", _p_FXFrameTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXImageView", _p_FXImageViewTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FX7Segment", _p_FX7SegmentTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXSlider", _p_FXSliderTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXRealSlider", _p_FXRealSliderTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXSpring", _p_FXSpringTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXColorRing", _p_FXColorRingTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXColorBar", _p_FXColorBarTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXToolBarShell", _p_FXToolBarShellTo_p_FXDrawable, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
|
|
9450
|
+
static swig_type_info _swigt__p_FXExtentf[] = {{"_p_FXExtentf", 0, "FXExtentf *", 0, 0, 0, 0},{"_p_FXExtentf", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
|
|
8871
9451
|
static swig_type_info _swigt__p_FXStream[] = {{"_p_FXStream", 0, "FXStream *", 0, 0, 0, 0},{"_p_FXFileStream", _p_FXFileStreamTo_p_FXStream, 0, 0, 0, 0, 0},{"_p_FXMemoryStream", _p_FXMemoryStreamTo_p_FXStream, 0, 0, 0, 0, 0},{"_p_FXStream", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
|
|
8872
9452
|
static swig_type_info _swigt__p_FXApp[] = {{"_p_FXApp", 0, "FXApp *", 0, 0, 0, 0},{"_p_FXApp", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
|
|
8873
9453
|
static swig_type_info _swigt__p_FXLight[] = {{"_p_FXLight", 0, "FXLight *", 0, 0, 0, 0},{"_p_FXLight", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
|
|
@@ -8909,8 +9489,10 @@ _swigt__p_FXQuatd,
|
|
|
8909
9489
|
_swigt__p_FXMaterial,
|
|
8910
9490
|
_swigt__p_FXdouble,
|
|
8911
9491
|
_swigt__p_FXQuatf,
|
|
9492
|
+
_swigt__p_FXExtentd,
|
|
8912
9493
|
_swigt__p_FXGLShape,
|
|
8913
9494
|
_swigt__p_FXDrawable,
|
|
9495
|
+
_swigt__p_FXExtentf,
|
|
8914
9496
|
_swigt__p_FXStream,
|
|
8915
9497
|
_swigt__p_FXApp,
|
|
8916
9498
|
_swigt__p_FXLight,
|
|
@@ -8948,6 +9530,8 @@ SWIGEXPORT(void) Init_fx3d(void) {
|
|
|
8948
9530
|
rb_define_method(cFXVec2f.klass, "x", VALUEFUNC(_wrap_FXVec2f_x_get), -1);
|
|
8949
9531
|
rb_define_method(cFXVec2f.klass, "y=", VALUEFUNC(_wrap_FXVec2f_y_set), -1);
|
|
8950
9532
|
rb_define_method(cFXVec2f.klass, "y", VALUEFUNC(_wrap_FXVec2f_y_get), -1);
|
|
9533
|
+
rb_define_method(cFXVec2f.klass, "length2", VALUEFUNC(_wrap_FXVec2f_length2), -1);
|
|
9534
|
+
rb_define_method(cFXVec2f.klass, "length", VALUEFUNC(_wrap_FXVec2f_length), -1);
|
|
8951
9535
|
rb_define_method(cFXVec2f.klass, "[]", VALUEFUNC(_wrap_FXVec2f___getitem__), -1);
|
|
8952
9536
|
rb_define_method(cFXVec2f.klass, "[]=", VALUEFUNC(_wrap_FXVec2f___setitem__), -1);
|
|
8953
9537
|
rb_define_method(cFXVec2f.klass, "-@", VALUEFUNC(_wrap_FXVec2f___neg__), -1);
|
|
@@ -8957,11 +9541,10 @@ SWIGEXPORT(void) Init_fx3d(void) {
|
|
|
8957
9541
|
rb_define_method(cFXVec2f.klass, "*", VALUEFUNC(_wrap_FXVec2f___mul__), -1);
|
|
8958
9542
|
rb_define_method(cFXVec2f.klass, "dot", VALUEFUNC(_wrap_FXVec2f_dot), -1);
|
|
8959
9543
|
rb_define_method(cFXVec2f.klass, "==", VALUEFUNC(_wrap_FXVec2f___eq__), -1);
|
|
8960
|
-
rb_define_method(cFXVec2f.klass, "len2", VALUEFUNC(_wrap_FXVec2f_len2), -1);
|
|
8961
|
-
rb_define_method(cFXVec2f.klass, "len", VALUEFUNC(_wrap_FXVec2f_len), -1);
|
|
8962
9544
|
rb_define_method(cFXVec2f.klass, "normalize", VALUEFUNC(_wrap_FXVec2f_normalize), -1);
|
|
8963
9545
|
rb_define_method(cFXVec2f.klass, "lo", VALUEFUNC(_wrap_FXVec2f_lo), -1);
|
|
8964
9546
|
rb_define_method(cFXVec2f.klass, "hi", VALUEFUNC(_wrap_FXVec2f_hi), -1);
|
|
9547
|
+
rb_define_method(cFXVec2f.klass, "clamp", VALUEFUNC(_wrap_FXVec2f_clamp), -1);
|
|
8965
9548
|
cFXVec2f.mark = 0;
|
|
8966
9549
|
cFXVec2f.destroy = (void (*)(void *)) FXRbUnregisterRubyObj;
|
|
8967
9550
|
|
|
@@ -8973,6 +9556,8 @@ SWIGEXPORT(void) Init_fx3d(void) {
|
|
|
8973
9556
|
rb_define_method(cFXVec2d.klass, "x", VALUEFUNC(_wrap_FXVec2d_x_get), -1);
|
|
8974
9557
|
rb_define_method(cFXVec2d.klass, "y=", VALUEFUNC(_wrap_FXVec2d_y_set), -1);
|
|
8975
9558
|
rb_define_method(cFXVec2d.klass, "y", VALUEFUNC(_wrap_FXVec2d_y_get), -1);
|
|
9559
|
+
rb_define_method(cFXVec2d.klass, "length2", VALUEFUNC(_wrap_FXVec2d_length2), -1);
|
|
9560
|
+
rb_define_method(cFXVec2d.klass, "length", VALUEFUNC(_wrap_FXVec2d_length), -1);
|
|
8976
9561
|
rb_define_method(cFXVec2d.klass, "[]", VALUEFUNC(_wrap_FXVec2d___getitem__), -1);
|
|
8977
9562
|
rb_define_method(cFXVec2d.klass, "[]=", VALUEFUNC(_wrap_FXVec2d___setitem__), -1);
|
|
8978
9563
|
rb_define_method(cFXVec2d.klass, "-@", VALUEFUNC(_wrap_FXVec2d___neg__), -1);
|
|
@@ -8982,11 +9567,10 @@ SWIGEXPORT(void) Init_fx3d(void) {
|
|
|
8982
9567
|
rb_define_method(cFXVec2d.klass, "*", VALUEFUNC(_wrap_FXVec2d___mul__), -1);
|
|
8983
9568
|
rb_define_method(cFXVec2d.klass, "dot", VALUEFUNC(_wrap_FXVec2d_dot), -1);
|
|
8984
9569
|
rb_define_method(cFXVec2d.klass, "==", VALUEFUNC(_wrap_FXVec2d___eq__), -1);
|
|
8985
|
-
rb_define_method(cFXVec2d.klass, "len2", VALUEFUNC(_wrap_FXVec2d_len2), -1);
|
|
8986
|
-
rb_define_method(cFXVec2d.klass, "len", VALUEFUNC(_wrap_FXVec2d_len), -1);
|
|
8987
9570
|
rb_define_method(cFXVec2d.klass, "normalize", VALUEFUNC(_wrap_FXVec2d_normalize), -1);
|
|
8988
9571
|
rb_define_method(cFXVec2d.klass, "lo", VALUEFUNC(_wrap_FXVec2d_lo), -1);
|
|
8989
9572
|
rb_define_method(cFXVec2d.klass, "hi", VALUEFUNC(_wrap_FXVec2d_hi), -1);
|
|
9573
|
+
rb_define_method(cFXVec2d.klass, "clamp", VALUEFUNC(_wrap_FXVec2d_clamp), -1);
|
|
8990
9574
|
cFXVec2d.mark = 0;
|
|
8991
9575
|
cFXVec2d.destroy = (void (*)(void *)) FXRbUnregisterRubyObj;
|
|
8992
9576
|
|
|
@@ -9000,6 +9584,8 @@ SWIGEXPORT(void) Init_fx3d(void) {
|
|
|
9000
9584
|
rb_define_method(cFXVec3f.klass, "y", VALUEFUNC(_wrap_FXVec3f_y_get), -1);
|
|
9001
9585
|
rb_define_method(cFXVec3f.klass, "z=", VALUEFUNC(_wrap_FXVec3f_z_set), -1);
|
|
9002
9586
|
rb_define_method(cFXVec3f.klass, "z", VALUEFUNC(_wrap_FXVec3f_z_get), -1);
|
|
9587
|
+
rb_define_method(cFXVec3f.klass, "length2", VALUEFUNC(_wrap_FXVec3f_length2), -1);
|
|
9588
|
+
rb_define_method(cFXVec3f.klass, "length", VALUEFUNC(_wrap_FXVec3f_length), -1);
|
|
9003
9589
|
rb_define_method(cFXVec3f.klass, "[]", VALUEFUNC(_wrap_FXVec3f___getitem__), -1);
|
|
9004
9590
|
rb_define_method(cFXVec3f.klass, "[]=", VALUEFUNC(_wrap_FXVec3f___setitem__), -1);
|
|
9005
9591
|
rb_define_method(cFXVec3f.klass, "-@", VALUEFUNC(_wrap_FXVec3f___neg__), -1);
|
|
@@ -9011,12 +9597,11 @@ SWIGEXPORT(void) Init_fx3d(void) {
|
|
|
9011
9597
|
rb_define_method(cFXVec3f.klass, "^", VALUEFUNC(_wrap_FXVec3f___xor__), -1);
|
|
9012
9598
|
rb_define_method(cFXVec3f.klass, "cross", VALUEFUNC(_wrap_FXVec3f_cross), -1);
|
|
9013
9599
|
rb_define_method(cFXVec3f.klass, "==", VALUEFUNC(_wrap_FXVec3f___eq__), -1);
|
|
9014
|
-
rb_define_method(cFXVec3f.klass, "len2", VALUEFUNC(_wrap_FXVec3f_len2), -1);
|
|
9015
|
-
rb_define_method(cFXVec3f.klass, "len", VALUEFUNC(_wrap_FXVec3f_len), -1);
|
|
9016
9600
|
rb_define_method(cFXVec3f.klass, "normalize", VALUEFUNC(_wrap_FXVec3f_normalize), -1);
|
|
9017
9601
|
rb_define_method(cFXVec3f.klass, "lo", VALUEFUNC(_wrap_FXVec3f_lo), -1);
|
|
9018
9602
|
rb_define_method(cFXVec3f.klass, "hi", VALUEFUNC(_wrap_FXVec3f_hi), -1);
|
|
9019
9603
|
rb_define_singleton_method(cFXVec3f.klass, "normal", VALUEFUNC(_wrap_FXVec3f_normal), -1);
|
|
9604
|
+
rb_define_method(cFXVec3f.klass, "clamp", VALUEFUNC(_wrap_FXVec3f_clamp), -1);
|
|
9020
9605
|
cFXVec3f.mark = 0;
|
|
9021
9606
|
cFXVec3f.destroy = (void (*)(void *)) FXRbUnregisterRubyObj;
|
|
9022
9607
|
|
|
@@ -9030,6 +9615,8 @@ SWIGEXPORT(void) Init_fx3d(void) {
|
|
|
9030
9615
|
rb_define_method(cFXVec3d.klass, "y", VALUEFUNC(_wrap_FXVec3d_y_get), -1);
|
|
9031
9616
|
rb_define_method(cFXVec3d.klass, "z=", VALUEFUNC(_wrap_FXVec3d_z_set), -1);
|
|
9032
9617
|
rb_define_method(cFXVec3d.klass, "z", VALUEFUNC(_wrap_FXVec3d_z_get), -1);
|
|
9618
|
+
rb_define_method(cFXVec3d.klass, "length2", VALUEFUNC(_wrap_FXVec3d_length2), -1);
|
|
9619
|
+
rb_define_method(cFXVec3d.klass, "length", VALUEFUNC(_wrap_FXVec3d_length), -1);
|
|
9033
9620
|
rb_define_method(cFXVec3d.klass, "[]", VALUEFUNC(_wrap_FXVec3d___getitem__), -1);
|
|
9034
9621
|
rb_define_method(cFXVec3d.klass, "[]=", VALUEFUNC(_wrap_FXVec3d___setitem__), -1);
|
|
9035
9622
|
rb_define_method(cFXVec3d.klass, "-@", VALUEFUNC(_wrap_FXVec3d___neg__), -1);
|
|
@@ -9041,12 +9628,11 @@ SWIGEXPORT(void) Init_fx3d(void) {
|
|
|
9041
9628
|
rb_define_method(cFXVec3d.klass, "^", VALUEFUNC(_wrap_FXVec3d___xor__), -1);
|
|
9042
9629
|
rb_define_method(cFXVec3d.klass, "cross", VALUEFUNC(_wrap_FXVec3d_cross), -1);
|
|
9043
9630
|
rb_define_method(cFXVec3d.klass, "==", VALUEFUNC(_wrap_FXVec3d___eq__), -1);
|
|
9044
|
-
rb_define_method(cFXVec3d.klass, "len2", VALUEFUNC(_wrap_FXVec3d_len2), -1);
|
|
9045
|
-
rb_define_method(cFXVec3d.klass, "len", VALUEFUNC(_wrap_FXVec3d_len), -1);
|
|
9046
9631
|
rb_define_method(cFXVec3d.klass, "normalize", VALUEFUNC(_wrap_FXVec3d_normalize), -1);
|
|
9047
9632
|
rb_define_method(cFXVec3d.klass, "lo", VALUEFUNC(_wrap_FXVec3d_lo), -1);
|
|
9048
9633
|
rb_define_method(cFXVec3d.klass, "hi", VALUEFUNC(_wrap_FXVec3d_hi), -1);
|
|
9049
9634
|
rb_define_singleton_method(cFXVec3d.klass, "normal", VALUEFUNC(_wrap_FXVec3d_normal), -1);
|
|
9635
|
+
rb_define_method(cFXVec3d.klass, "clamp", VALUEFUNC(_wrap_FXVec3d_clamp), -1);
|
|
9050
9636
|
cFXVec3d.mark = 0;
|
|
9051
9637
|
cFXVec3d.destroy = (void (*)(void *)) FXRbUnregisterRubyObj;
|
|
9052
9638
|
|
|
@@ -9062,6 +9648,10 @@ SWIGEXPORT(void) Init_fx3d(void) {
|
|
|
9062
9648
|
rb_define_method(cFXVec4f.klass, "z", VALUEFUNC(_wrap_FXVec4f_z_get), -1);
|
|
9063
9649
|
rb_define_method(cFXVec4f.klass, "w=", VALUEFUNC(_wrap_FXVec4f_w_set), -1);
|
|
9064
9650
|
rb_define_method(cFXVec4f.klass, "w", VALUEFUNC(_wrap_FXVec4f_w_get), -1);
|
|
9651
|
+
rb_define_method(cFXVec4f.klass, "distance", VALUEFUNC(_wrap_FXVec4f_distance), -1);
|
|
9652
|
+
rb_define_method(cFXVec4f.klass, "crosses?", VALUEFUNC(_wrap_FXVec4f_crossesq___), -1);
|
|
9653
|
+
rb_define_method(cFXVec4f.klass, "length", VALUEFUNC(_wrap_FXVec4f_length), -1);
|
|
9654
|
+
rb_define_method(cFXVec4f.klass, "length2", VALUEFUNC(_wrap_FXVec4f_length2), -1);
|
|
9065
9655
|
rb_define_method(cFXVec4f.klass, "[]", VALUEFUNC(_wrap_FXVec4f___getitem__), -1);
|
|
9066
9656
|
rb_define_method(cFXVec4f.klass, "[]=", VALUEFUNC(_wrap_FXVec4f___setitem__), -1);
|
|
9067
9657
|
rb_define_method(cFXVec4f.klass, "-@", VALUEFUNC(_wrap_FXVec4f___neg__), -1);
|
|
@@ -9071,14 +9661,11 @@ SWIGEXPORT(void) Init_fx3d(void) {
|
|
|
9071
9661
|
rb_define_method(cFXVec4f.klass, "*", VALUEFUNC(_wrap_FXVec4f___mul__), -1);
|
|
9072
9662
|
rb_define_method(cFXVec4f.klass, "dot", VALUEFUNC(_wrap_FXVec4f_dot), -1);
|
|
9073
9663
|
rb_define_method(cFXVec4f.klass, "==", VALUEFUNC(_wrap_FXVec4f___eq__), -1);
|
|
9074
|
-
rb_define_method(cFXVec4f.klass, "len", VALUEFUNC(_wrap_FXVec4f_len), -1);
|
|
9075
|
-
rb_define_method(cFXVec4f.klass, "len2", VALUEFUNC(_wrap_FXVec4f_len2), -1);
|
|
9076
9664
|
rb_define_method(cFXVec4f.klass, "normalize", VALUEFUNC(_wrap_FXVec4f_normalize), -1);
|
|
9077
9665
|
rb_define_method(cFXVec4f.klass, "lo", VALUEFUNC(_wrap_FXVec4f_lo), -1);
|
|
9078
9666
|
rb_define_method(cFXVec4f.klass, "hi", VALUEFUNC(_wrap_FXVec4f_hi), -1);
|
|
9079
9667
|
rb_define_singleton_method(cFXVec4f.klass, "plane", VALUEFUNC(_wrap_FXVec4f_plane), -1);
|
|
9080
|
-
|
|
9081
|
-
rb_define_singleton_method(cFXVec4f.klass, "crosses", VALUEFUNC(_wrap_FXVec4f_crosses), -1);
|
|
9668
|
+
rb_define_method(cFXVec4f.klass, "clamp", VALUEFUNC(_wrap_FXVec4f_clamp), -1);
|
|
9082
9669
|
cFXVec4f.mark = 0;
|
|
9083
9670
|
cFXVec4f.destroy = (void (*)(void *)) FXRbUnregisterRubyObj;
|
|
9084
9671
|
|
|
@@ -9094,6 +9681,10 @@ SWIGEXPORT(void) Init_fx3d(void) {
|
|
|
9094
9681
|
rb_define_method(cFXVec4d.klass, "z", VALUEFUNC(_wrap_FXVec4d_z_get), -1);
|
|
9095
9682
|
rb_define_method(cFXVec4d.klass, "w=", VALUEFUNC(_wrap_FXVec4d_w_set), -1);
|
|
9096
9683
|
rb_define_method(cFXVec4d.klass, "w", VALUEFUNC(_wrap_FXVec4d_w_get), -1);
|
|
9684
|
+
rb_define_method(cFXVec4d.klass, "distance", VALUEFUNC(_wrap_FXVec4d_distance), -1);
|
|
9685
|
+
rb_define_method(cFXVec4d.klass, "crosses?", VALUEFUNC(_wrap_FXVec4d_crossesq___), -1);
|
|
9686
|
+
rb_define_method(cFXVec4d.klass, "length2", VALUEFUNC(_wrap_FXVec4d_length2), -1);
|
|
9687
|
+
rb_define_method(cFXVec4d.klass, "length", VALUEFUNC(_wrap_FXVec4d_length), -1);
|
|
9097
9688
|
rb_define_method(cFXVec4d.klass, "[]", VALUEFUNC(_wrap_FXVec4d___getitem__), -1);
|
|
9098
9689
|
rb_define_method(cFXVec4d.klass, "[]=", VALUEFUNC(_wrap_FXVec4d___setitem__), -1);
|
|
9099
9690
|
rb_define_method(cFXVec4d.klass, "-@", VALUEFUNC(_wrap_FXVec4d___neg__), -1);
|
|
@@ -9103,14 +9694,11 @@ SWIGEXPORT(void) Init_fx3d(void) {
|
|
|
9103
9694
|
rb_define_method(cFXVec4d.klass, "*", VALUEFUNC(_wrap_FXVec4d___mul__), -1);
|
|
9104
9695
|
rb_define_method(cFXVec4d.klass, "dot", VALUEFUNC(_wrap_FXVec4d_dot), -1);
|
|
9105
9696
|
rb_define_method(cFXVec4d.klass, "==", VALUEFUNC(_wrap_FXVec4d___eq__), -1);
|
|
9106
|
-
rb_define_method(cFXVec4d.klass, "len2", VALUEFUNC(_wrap_FXVec4d_len2), -1);
|
|
9107
|
-
rb_define_method(cFXVec4d.klass, "len", VALUEFUNC(_wrap_FXVec4d_len), -1);
|
|
9108
9697
|
rb_define_method(cFXVec4d.klass, "normalize", VALUEFUNC(_wrap_FXVec4d_normalize), -1);
|
|
9109
9698
|
rb_define_method(cFXVec4d.klass, "lo", VALUEFUNC(_wrap_FXVec4d_lo), -1);
|
|
9110
9699
|
rb_define_method(cFXVec4d.klass, "hi", VALUEFUNC(_wrap_FXVec4d_hi), -1);
|
|
9111
9700
|
rb_define_singleton_method(cFXVec4d.klass, "plane", VALUEFUNC(_wrap_FXVec4d_plane), -1);
|
|
9112
|
-
|
|
9113
|
-
rb_define_singleton_method(cFXVec4d.klass, "crosses", VALUEFUNC(_wrap_FXVec4d_crosses), -1);
|
|
9701
|
+
rb_define_method(cFXVec4d.klass, "clamp", VALUEFUNC(_wrap_FXVec4d_clamp), -1);
|
|
9114
9702
|
cFXVec4d.mark = 0;
|
|
9115
9703
|
cFXVec4d.destroy = (void (*)(void *)) FXRbUnregisterRubyObj;
|
|
9116
9704
|
|
|
@@ -9126,17 +9714,16 @@ SWIGEXPORT(void) Init_fx3d(void) {
|
|
|
9126
9714
|
rb_define_method(cFXQuatf.klass, "getXAxis", VALUEFUNC(_wrap_FXQuatf_getXAxis), -1);
|
|
9127
9715
|
rb_define_method(cFXQuatf.klass, "getYAxis", VALUEFUNC(_wrap_FXQuatf_getYAxis), -1);
|
|
9128
9716
|
rb_define_method(cFXQuatf.klass, "getZAxis", VALUEFUNC(_wrap_FXQuatf_getZAxis), -1);
|
|
9129
|
-
rb_define_method(cFXQuatf.klass, "getRollPitchYaw", VALUEFUNC(_wrap_FXQuatf_getRollPitchYaw), -1);
|
|
9130
|
-
rb_define_method(cFXQuatf.klass, "getAxes", VALUEFUNC(_wrap_FXQuatf_getAxes), -1);
|
|
9131
9717
|
rb_define_method(cFXQuatf.klass, "exp", VALUEFUNC(_wrap_FXQuatf_exp), -1);
|
|
9132
9718
|
rb_define_method(cFXQuatf.klass, "log", VALUEFUNC(_wrap_FXQuatf_log), -1);
|
|
9133
9719
|
rb_define_method(cFXQuatf.klass, "invert", VALUEFUNC(_wrap_FXQuatf_invert), -1);
|
|
9134
9720
|
rb_define_method(cFXQuatf.klass, "unitinvert", VALUEFUNC(_wrap_FXQuatf_unitinvert), -1);
|
|
9135
9721
|
rb_define_method(cFXQuatf.klass, "conj", VALUEFUNC(_wrap_FXQuatf_conj), -1);
|
|
9722
|
+
rb_define_method(cFXQuatf.klass, "arc!", VALUEFUNC(_wrap_FXQuatf_arcN___), -1);
|
|
9723
|
+
rb_define_method(cFXQuatf.klass, "lerp!", VALUEFUNC(_wrap_FXQuatf_lerpN___), -1);
|
|
9724
|
+
rb_define_method(cFXQuatf.klass, "getRollPitchYaw", VALUEFUNC(_wrap_FXQuatf_getRollPitchYaw), -1);
|
|
9725
|
+
rb_define_method(cFXQuatf.klass, "getAxes", VALUEFUNC(_wrap_FXQuatf_getAxes), -1);
|
|
9136
9726
|
rb_define_method(cFXQuatf.klass, "*", VALUEFUNC(_wrap_FXQuatf___mul__), -1);
|
|
9137
|
-
rb_define_singleton_method(cFXQuatf.klass, "arc", VALUEFUNC(_wrap_FXQuatf_arc), -1);
|
|
9138
|
-
rb_define_singleton_method(cFXQuatf.klass, "lerp", VALUEFUNC(_wrap_FXQuatf_lerp), -1);
|
|
9139
|
-
rb_define_method(cFXQuatf.klass, "toMatrix", VALUEFUNC(_wrap_FXQuatf_toMatrix), -1);
|
|
9140
9727
|
cFXQuatf.mark = 0;
|
|
9141
9728
|
cFXQuatf.destroy = (void (*)(void *)) FXRbUnregisterRubyObj;
|
|
9142
9729
|
|
|
@@ -9144,21 +9731,19 @@ SWIGEXPORT(void) Init_fx3d(void) {
|
|
|
9144
9731
|
SWIG_TypeClientData(SWIGTYPE_p_FXQuatd, (void *) &cFXQuatd);
|
|
9145
9732
|
rb_define_alloc_func(cFXQuatd.klass, _wrap_FXQuatd_allocate);
|
|
9146
9733
|
rb_define_method(cFXQuatd.klass, "initialize", VALUEFUNC(_wrap_new_FXQuatd), -1);
|
|
9147
|
-
|
|
9148
|
-
rb_define_method(cFXQuatd.klass, "adjust", VALUEFUNC(_wrap_FXQuatd_adjust), -1);
|
|
9734
|
+
rb_define_method(cFXQuatd.klass, "adjust!", VALUEFUNC(_wrap_FXQuatd_adjustN___), -1);
|
|
9149
9735
|
rb_define_method(cFXQuatd.klass, "setAxisAngle", VALUEFUNC(_wrap_FXQuatd_setAxisAngle), -1);
|
|
9150
9736
|
rb_define_method(cFXQuatd.klass, "getAxisAngle", VALUEFUNC(_wrap_FXQuatd_getAxisAngle), -1);
|
|
9151
9737
|
rb_define_method(cFXQuatd.klass, "setRollPitchYaw", VALUEFUNC(_wrap_FXQuatd_setRollPitchYaw), -1);
|
|
9152
|
-
rb_define_method(cFXQuatd.klass, "getRollPitchYaw", VALUEFUNC(_wrap_FXQuatd_getRollPitchYaw), -1);
|
|
9153
9738
|
rb_define_method(cFXQuatd.klass, "exp", VALUEFUNC(_wrap_FXQuatd_exp), -1);
|
|
9154
9739
|
rb_define_method(cFXQuatd.klass, "log", VALUEFUNC(_wrap_FXQuatd_log), -1);
|
|
9155
9740
|
rb_define_method(cFXQuatd.klass, "invert", VALUEFUNC(_wrap_FXQuatd_invert), -1);
|
|
9156
9741
|
rb_define_method(cFXQuatd.klass, "unitinvert", VALUEFUNC(_wrap_FXQuatd_unitinvert), -1);
|
|
9157
9742
|
rb_define_method(cFXQuatd.klass, "conj", VALUEFUNC(_wrap_FXQuatd_conj), -1);
|
|
9743
|
+
rb_define_method(cFXQuatd.klass, "arc!", VALUEFUNC(_wrap_FXQuatd_arcN___), -1);
|
|
9744
|
+
rb_define_method(cFXQuatd.klass, "lerp!", VALUEFUNC(_wrap_FXQuatd_lerpN___), -1);
|
|
9745
|
+
rb_define_method(cFXQuatd.klass, "getRollPitchYaw", VALUEFUNC(_wrap_FXQuatd_getRollPitchYaw), -1);
|
|
9158
9746
|
rb_define_method(cFXQuatd.klass, "*", VALUEFUNC(_wrap_FXQuatd___mul__), -1);
|
|
9159
|
-
rb_define_singleton_method(cFXQuatd.klass, "arc", VALUEFUNC(_wrap_FXQuatd_arc), -1);
|
|
9160
|
-
rb_define_singleton_method(cFXQuatd.klass, "lerp", VALUEFUNC(_wrap_FXQuatd_lerp), -1);
|
|
9161
|
-
rb_define_method(cFXQuatd.klass, "toMatrix", VALUEFUNC(_wrap_FXQuatd_toMatrix), -1);
|
|
9162
9747
|
rb_define_method(cFXQuatd.klass, "setAxes", VALUEFUNC(_wrap_FXQuatd_setAxes), -1);
|
|
9163
9748
|
rb_define_method(cFXQuatd.klass, "getAxes", VALUEFUNC(_wrap_FXQuatd_getAxes), -1);
|
|
9164
9749
|
rb_define_method(cFXQuatd.klass, "getXAxis", VALUEFUNC(_wrap_FXQuatd_getXAxis), -1);
|
|
@@ -9213,6 +9798,9 @@ SWIGEXPORT(void) Init_fx3d(void) {
|
|
|
9213
9798
|
SWIG_TypeClientData(SWIGTYPE_p_FXMat4f, (void *) &cFXMat4f);
|
|
9214
9799
|
rb_define_alloc_func(cFXMat4f.klass, _wrap_FXMat4f_allocate);
|
|
9215
9800
|
rb_define_method(cFXMat4f.klass, "initialize", VALUEFUNC(_wrap_new_FXMat4f), -1);
|
|
9801
|
+
rb_define_method(cFXMat4f.klass, "det", VALUEFUNC(_wrap_FXMat4f_det), -1);
|
|
9802
|
+
rb_define_method(cFXMat4f.klass, "transpose", VALUEFUNC(_wrap_FXMat4f_transpose), -1);
|
|
9803
|
+
rb_define_method(cFXMat4f.klass, "invert", VALUEFUNC(_wrap_FXMat4f_invert), -1);
|
|
9216
9804
|
rb_define_method(cFXMat4f.klass, "[]", VALUEFUNC(_wrap_FXMat4f___getitem__), -1);
|
|
9217
9805
|
rb_define_method(cFXMat4f.klass, "[]=", VALUEFUNC(_wrap_FXMat4f___setitem__), -1);
|
|
9218
9806
|
rb_define_method(cFXMat4f.klass, "+", VALUEFUNC(_wrap_FXMat4f___add__), -1);
|
|
@@ -9220,9 +9808,6 @@ SWIGEXPORT(void) Init_fx3d(void) {
|
|
|
9220
9808
|
rb_define_method(cFXMat4f.klass, "*", VALUEFUNC(_wrap_FXMat4f___mul__), -1);
|
|
9221
9809
|
rb_define_method(cFXMat4f.klass, "/", VALUEFUNC(_wrap_FXMat4f___div__), -1);
|
|
9222
9810
|
rb_define_method(cFXMat4f.klass, "-@", VALUEFUNC(_wrap_FXMat4f___neg__), -1);
|
|
9223
|
-
rb_define_method(cFXMat4f.klass, "det", VALUEFUNC(_wrap_FXMat4f_det), -1);
|
|
9224
|
-
rb_define_method(cFXMat4f.klass, "transpose", VALUEFUNC(_wrap_FXMat4f_transpose), -1);
|
|
9225
|
-
rb_define_method(cFXMat4f.klass, "invert", VALUEFUNC(_wrap_FXMat4f_invert), -1);
|
|
9226
9811
|
rb_define_method(cFXMat4f.klass, "to_s", VALUEFUNC(_wrap_FXMat4f_to_s), -1);
|
|
9227
9812
|
rb_define_method(cFXMat4f.klass, "eye", VALUEFUNC(_wrap_FXMat4f_eye), -1);
|
|
9228
9813
|
rb_define_method(cFXMat4f.klass, "ortho", VALUEFUNC(_wrap_FXMat4f_ortho), -1);
|
|
@@ -9282,6 +9867,7 @@ SWIGEXPORT(void) Init_fx3d(void) {
|
|
|
9282
9867
|
rb_define_method(cFXRangef.klass, "longest", VALUEFUNC(_wrap_FXRangef_longest), -1);
|
|
9283
9868
|
rb_define_method(cFXRangef.klass, "shortest", VALUEFUNC(_wrap_FXRangef_shortest), -1);
|
|
9284
9869
|
rb_define_method(cFXRangef.klass, "diameter", VALUEFUNC(_wrap_FXRangef_diameter), -1);
|
|
9870
|
+
rb_define_method(cFXRangef.klass, "radius", VALUEFUNC(_wrap_FXRangef_radius), -1);
|
|
9285
9871
|
rb_define_method(cFXRangef.klass, "diagonal", VALUEFUNC(_wrap_FXRangef_diagonal), -1);
|
|
9286
9872
|
rb_define_method(cFXRangef.klass, "center", VALUEFUNC(_wrap_FXRangef_center), -1);
|
|
9287
9873
|
rb_define_method(cFXRangef.klass, "empty?", VALUEFUNC(_wrap_FXRangef_emptyq___), -1);
|
|
@@ -9311,6 +9897,7 @@ SWIGEXPORT(void) Init_fx3d(void) {
|
|
|
9311
9897
|
rb_define_method(cFXRanged.klass, "longest", VALUEFUNC(_wrap_FXRanged_longest), -1);
|
|
9312
9898
|
rb_define_method(cFXRanged.klass, "shortest", VALUEFUNC(_wrap_FXRanged_shortest), -1);
|
|
9313
9899
|
rb_define_method(cFXRanged.klass, "diameter", VALUEFUNC(_wrap_FXRanged_diameter), -1);
|
|
9900
|
+
rb_define_method(cFXRanged.klass, "radius", VALUEFUNC(_wrap_FXRanged_radius), -1);
|
|
9314
9901
|
rb_define_method(cFXRanged.klass, "diagonal", VALUEFUNC(_wrap_FXRanged_diagonal), -1);
|
|
9315
9902
|
rb_define_method(cFXRanged.klass, "center", VALUEFUNC(_wrap_FXRanged_center), -1);
|
|
9316
9903
|
rb_define_method(cFXRanged.klass, "empty?", VALUEFUNC(_wrap_FXRanged_emptyq___), -1);
|
|
@@ -9337,10 +9924,12 @@ SWIGEXPORT(void) Init_fx3d(void) {
|
|
|
9337
9924
|
rb_define_method(cFXSpheref.klass, "empty?", VALUEFUNC(_wrap_FXSpheref_emptyq___), -1);
|
|
9338
9925
|
rb_define_method(cFXSpheref.klass, "contains?", VALUEFUNC(_wrap_FXSpheref_containsq___), -1);
|
|
9339
9926
|
rb_define_method(cFXSpheref.klass, "include!", VALUEFUNC(_wrap_FXSpheref_includeN___), -1);
|
|
9927
|
+
rb_define_method(cFXSpheref.klass, "includeInRadius!", VALUEFUNC(_wrap_FXSpheref_includeInRadiusN___), -1);
|
|
9340
9928
|
rb_define_method(cFXSpheref.klass, "intersect", VALUEFUNC(_wrap_FXSpheref_intersect), -1);
|
|
9341
9929
|
rb_define_method(cFXSpheref.klass, "intersects?", VALUEFUNC(_wrap_FXSpheref_intersectsq___), -1);
|
|
9342
9930
|
rb_define_method(cFXSpheref.klass, "overlaps?", VALUEFUNC(_wrap_FXSpheref_overlapsq___), -1);
|
|
9343
9931
|
cFXSpheref.mark = 0;
|
|
9932
|
+
cFXSpheref.destroy = (void (*)(void *)) FXRbUnregisterRubyObj;
|
|
9344
9933
|
|
|
9345
9934
|
cFXSphered.klass = rb_define_class_under(mFox, "FXSphered", rb_cObject);
|
|
9346
9935
|
SWIG_TypeClientData(SWIGTYPE_p_FXSphered, (void *) &cFXSphered);
|
|
@@ -9354,10 +9943,12 @@ SWIGEXPORT(void) Init_fx3d(void) {
|
|
|
9354
9943
|
rb_define_method(cFXSphered.klass, "empty?", VALUEFUNC(_wrap_FXSphered_emptyq___), -1);
|
|
9355
9944
|
rb_define_method(cFXSphered.klass, "contains?", VALUEFUNC(_wrap_FXSphered_containsq___), -1);
|
|
9356
9945
|
rb_define_method(cFXSphered.klass, "include!", VALUEFUNC(_wrap_FXSphered_includeN___), -1);
|
|
9946
|
+
rb_define_method(cFXSphered.klass, "includeInRadius!", VALUEFUNC(_wrap_FXSphered_includeInRadiusN___), -1);
|
|
9357
9947
|
rb_define_method(cFXSphered.klass, "intersect", VALUEFUNC(_wrap_FXSphered_intersect), -1);
|
|
9358
9948
|
rb_define_method(cFXSphered.klass, "intersects?", VALUEFUNC(_wrap_FXSphered_intersectsq___), -1);
|
|
9359
9949
|
rb_define_method(cFXSphered.klass, "overlaps?", VALUEFUNC(_wrap_FXSphered_overlapsq___), -1);
|
|
9360
9950
|
cFXSphered.mark = 0;
|
|
9951
|
+
cFXSphered.destroy = (void (*)(void *)) FXRbUnregisterRubyObj;
|
|
9361
9952
|
|
|
9362
9953
|
cFXGLVisual.klass = rb_define_class_under(mFox, "FXGLVisual", ((swig_class *) SWIGTYPE_p_FXVisual->clientdata)->klass);
|
|
9363
9954
|
SWIG_TypeClientData(SWIGTYPE_p_FXGLVisual, (void *) &cFXGLVisual);
|
|
@@ -9429,7 +10020,7 @@ SWIGEXPORT(void) Init_fx3d(void) {
|
|
|
9429
10020
|
SWIG_TypeClientData(SWIGTYPE_p_FXGLCanvas, (void *) &cFXGLCanvas);
|
|
9430
10021
|
rb_define_alloc_func(cFXGLCanvas.klass, _wrap_FXGLCanvas_allocate);
|
|
9431
10022
|
rb_define_method(cFXGLCanvas.klass, "initialize", VALUEFUNC(_wrap_new_FXGLCanvas), -1);
|
|
9432
|
-
rb_define_method(cFXGLCanvas.klass, "
|
|
10023
|
+
rb_define_method(cFXGLCanvas.klass, "isShared", VALUEFUNC(_wrap_FXGLCanvas_isShared), -1);
|
|
9433
10024
|
rb_define_singleton_method(cFXGLCanvas.klass, "getCurrentContext", VALUEFUNC(_wrap_FXGLCanvas_getCurrentContext), -1);
|
|
9434
10025
|
rb_define_method(cFXGLCanvas.klass, "getContext", VALUEFUNC(_wrap_FXGLCanvas_getContext), -1);
|
|
9435
10026
|
rb_define_method(cFXGLCanvas.klass, "save", VALUEFUNC(_wrap_FXGLCanvas_save), -1);
|
|
@@ -9462,6 +10053,9 @@ SWIGEXPORT(void) Init_fx3d(void) {
|
|
|
9462
10053
|
rb_define_method(cFXGLCanvas.klass, "contains", VALUEFUNC(_wrap_FXGLCanvas_contains), -1);
|
|
9463
10054
|
rb_define_method(cFXGLCanvas.klass, "doesSaveUnder", VALUEFUNC(_wrap_FXGLCanvas_doesSaveUnder), -1);
|
|
9464
10055
|
rb_define_method(cFXGLCanvas.klass, "setBackColor", VALUEFUNC(_wrap_FXGLCanvas_setBackColor), -1);
|
|
10056
|
+
rb_define_method(cFXGLCanvas.klass, "tr", VALUEFUNC(_wrap_FXGLCanvas_tr), -1);
|
|
10057
|
+
rb_define_method(cFXGLCanvas.klass, "dropEnable", VALUEFUNC(_wrap_FXGLCanvas_dropEnable), -1);
|
|
10058
|
+
rb_define_method(cFXGLCanvas.klass, "dropDisable", VALUEFUNC(_wrap_FXGLCanvas_dropDisable), -1);
|
|
9465
10059
|
rb_define_method(cFXGLCanvas.klass, "setShape", VALUEFUNC(_wrap_FXGLCanvas_setShape), -1);
|
|
9466
10060
|
rb_define_method(cFXGLCanvas.klass, "clearShape", VALUEFUNC(_wrap_FXGLCanvas_clearShape), -1);
|
|
9467
10061
|
rb_define_method(cFXGLCanvas.klass, "makeCurrent", VALUEFUNC(_wrap_FXGLCanvas_makeCurrent), -1);
|
|
@@ -9775,6 +10369,9 @@ SWIGEXPORT(void) Init_fx3d(void) {
|
|
|
9775
10369
|
rb_define_method(cFXGLViewer.klass, "contains", VALUEFUNC(_wrap_FXGLViewer_contains), -1);
|
|
9776
10370
|
rb_define_method(cFXGLViewer.klass, "doesSaveUnder", VALUEFUNC(_wrap_FXGLViewer_doesSaveUnder), -1);
|
|
9777
10371
|
rb_define_method(cFXGLViewer.klass, "setBackColor", VALUEFUNC(_wrap_FXGLViewer_setBackColor), -1);
|
|
10372
|
+
rb_define_method(cFXGLViewer.klass, "tr", VALUEFUNC(_wrap_FXGLViewer_tr), -1);
|
|
10373
|
+
rb_define_method(cFXGLViewer.klass, "dropEnable", VALUEFUNC(_wrap_FXGLViewer_dropEnable), -1);
|
|
10374
|
+
rb_define_method(cFXGLViewer.klass, "dropDisable", VALUEFUNC(_wrap_FXGLViewer_dropDisable), -1);
|
|
9778
10375
|
rb_define_method(cFXGLViewer.klass, "setShape", VALUEFUNC(_wrap_FXGLViewer_setShape), -1);
|
|
9779
10376
|
rb_define_method(cFXGLViewer.klass, "clearShape", VALUEFUNC(_wrap_FXGLViewer_clearShape), -1);
|
|
9780
10377
|
rb_define_method(cFXGLViewer.klass, "makeCurrent", VALUEFUNC(_wrap_FXGLViewer_makeCurrent), -1);
|
|
@@ -9870,5 +10467,65 @@ SWIGEXPORT(void) Init_fx3d(void) {
|
|
|
9870
10467
|
rb_define_method(cFXGLShape.klass, "drawshape", VALUEFUNC(_wrap_FXGLShape_drawshape), -1);
|
|
9871
10468
|
cFXGLShape.mark = (void (*)(void *)) FXRbGLShape::markfunc;
|
|
9872
10469
|
cFXGLShape.destroy = (void (*)(void *)) FXRbObject::freefunc;
|
|
10470
|
+
|
|
10471
|
+
cFXExtentf.klass = rb_define_class_under(mFox, "FXExtentf", rb_cObject);
|
|
10472
|
+
SWIG_TypeClientData(SWIGTYPE_p_FXExtentf, (void *) &cFXExtentf);
|
|
10473
|
+
rb_define_alloc_func(cFXExtentf.klass, _wrap_FXExtentf_allocate);
|
|
10474
|
+
rb_define_method(cFXExtentf.klass, "initialize", VALUEFUNC(_wrap_new_FXExtentf), -1);
|
|
10475
|
+
rb_define_method(cFXExtentf.klass, "lower=", VALUEFUNC(_wrap_FXExtentf_lower_set), -1);
|
|
10476
|
+
rb_define_method(cFXExtentf.klass, "lower", VALUEFUNC(_wrap_FXExtentf_lower_get), -1);
|
|
10477
|
+
rb_define_method(cFXExtentf.klass, "upper=", VALUEFUNC(_wrap_FXExtentf_upper_set), -1);
|
|
10478
|
+
rb_define_method(cFXExtentf.klass, "upper", VALUEFUNC(_wrap_FXExtentf_upper_get), -1);
|
|
10479
|
+
rb_define_method(cFXExtentf.klass, "[]=", VALUEFUNC(_wrap_FXExtentf___setitem__), -1);
|
|
10480
|
+
rb_define_method(cFXExtentf.klass, "[]", VALUEFUNC(_wrap_FXExtentf___getitem__), -1);
|
|
10481
|
+
rb_define_method(cFXExtentf.klass, "width", VALUEFUNC(_wrap_FXExtentf_width), -1);
|
|
10482
|
+
rb_define_method(cFXExtentf.klass, "height", VALUEFUNC(_wrap_FXExtentf_height), -1);
|
|
10483
|
+
rb_define_method(cFXExtentf.klass, "longest", VALUEFUNC(_wrap_FXExtentf_longest), -1);
|
|
10484
|
+
rb_define_method(cFXExtentf.klass, "shortest", VALUEFUNC(_wrap_FXExtentf_shortest), -1);
|
|
10485
|
+
rb_define_method(cFXExtentf.klass, "diameter", VALUEFUNC(_wrap_FXExtentf_diameter), -1);
|
|
10486
|
+
rb_define_method(cFXExtentf.klass, "radius", VALUEFUNC(_wrap_FXExtentf_radius), -1);
|
|
10487
|
+
rb_define_method(cFXExtentf.klass, "diagonal", VALUEFUNC(_wrap_FXExtentf_diagonal), -1);
|
|
10488
|
+
rb_define_method(cFXExtentf.klass, "center", VALUEFUNC(_wrap_FXExtentf_center), -1);
|
|
10489
|
+
rb_define_method(cFXExtentf.klass, "empty?", VALUEFUNC(_wrap_FXExtentf_emptyq___), -1);
|
|
10490
|
+
rb_define_method(cFXExtentf.klass, "contains", VALUEFUNC(_wrap_FXExtentf_contains), -1);
|
|
10491
|
+
rb_define_method(cFXExtentf.klass, "contains?", VALUEFUNC(_wrap_FXExtentf_containsq___), -1);
|
|
10492
|
+
rb_define_method(cFXExtentf.klass, "include", VALUEFUNC(_wrap_FXExtentf_include), -1);
|
|
10493
|
+
rb_define_method(cFXExtentf.klass, "include!", VALUEFUNC(_wrap_FXExtentf_includeN___), -1);
|
|
10494
|
+
rb_define_method(cFXExtentf.klass, "corner", VALUEFUNC(_wrap_FXExtentf_corner), -1);
|
|
10495
|
+
rb_define_method(cFXExtentf.klass, "overlap?", VALUEFUNC(_wrap_FXExtentf_overlapq___), -1);
|
|
10496
|
+
rb_define_method(cFXExtentf.klass, "unite_with", VALUEFUNC(_wrap_FXExtentf_unite_with), -1);
|
|
10497
|
+
rb_define_method(cFXExtentf.klass, "intersect_with", VALUEFUNC(_wrap_FXExtentf_intersect_with), -1);
|
|
10498
|
+
cFXExtentf.mark = 0;
|
|
10499
|
+
cFXExtentf.destroy = (void (*)(void *)) FXRbUnregisterRubyObj;
|
|
10500
|
+
|
|
10501
|
+
cFXExtentd.klass = rb_define_class_under(mFox, "FXExtentd", rb_cObject);
|
|
10502
|
+
SWIG_TypeClientData(SWIGTYPE_p_FXExtentd, (void *) &cFXExtentd);
|
|
10503
|
+
rb_define_alloc_func(cFXExtentd.klass, _wrap_FXExtentd_allocate);
|
|
10504
|
+
rb_define_method(cFXExtentd.klass, "initialize", VALUEFUNC(_wrap_new_FXExtentd), -1);
|
|
10505
|
+
rb_define_method(cFXExtentd.klass, "lower=", VALUEFUNC(_wrap_FXExtentd_lower_set), -1);
|
|
10506
|
+
rb_define_method(cFXExtentd.klass, "lower", VALUEFUNC(_wrap_FXExtentd_lower_get), -1);
|
|
10507
|
+
rb_define_method(cFXExtentd.klass, "upper=", VALUEFUNC(_wrap_FXExtentd_upper_set), -1);
|
|
10508
|
+
rb_define_method(cFXExtentd.klass, "upper", VALUEFUNC(_wrap_FXExtentd_upper_get), -1);
|
|
10509
|
+
rb_define_method(cFXExtentd.klass, "[]=", VALUEFUNC(_wrap_FXExtentd___setitem__), -1);
|
|
10510
|
+
rb_define_method(cFXExtentd.klass, "[]", VALUEFUNC(_wrap_FXExtentd___getitem__), -1);
|
|
10511
|
+
rb_define_method(cFXExtentd.klass, "width", VALUEFUNC(_wrap_FXExtentd_width), -1);
|
|
10512
|
+
rb_define_method(cFXExtentd.klass, "height", VALUEFUNC(_wrap_FXExtentd_height), -1);
|
|
10513
|
+
rb_define_method(cFXExtentd.klass, "longest", VALUEFUNC(_wrap_FXExtentd_longest), -1);
|
|
10514
|
+
rb_define_method(cFXExtentd.klass, "shortest", VALUEFUNC(_wrap_FXExtentd_shortest), -1);
|
|
10515
|
+
rb_define_method(cFXExtentd.klass, "diameter", VALUEFUNC(_wrap_FXExtentd_diameter), -1);
|
|
10516
|
+
rb_define_method(cFXExtentd.klass, "radius", VALUEFUNC(_wrap_FXExtentd_radius), -1);
|
|
10517
|
+
rb_define_method(cFXExtentd.klass, "diagonal", VALUEFUNC(_wrap_FXExtentd_diagonal), -1);
|
|
10518
|
+
rb_define_method(cFXExtentd.klass, "center", VALUEFUNC(_wrap_FXExtentd_center), -1);
|
|
10519
|
+
rb_define_method(cFXExtentd.klass, "empty?", VALUEFUNC(_wrap_FXExtentd_emptyq___), -1);
|
|
10520
|
+
rb_define_method(cFXExtentd.klass, "contains", VALUEFUNC(_wrap_FXExtentd_contains), -1);
|
|
10521
|
+
rb_define_method(cFXExtentd.klass, "contains?", VALUEFUNC(_wrap_FXExtentd_containsq___), -1);
|
|
10522
|
+
rb_define_method(cFXExtentd.klass, "include", VALUEFUNC(_wrap_FXExtentd_include), -1);
|
|
10523
|
+
rb_define_method(cFXExtentd.klass, "include!", VALUEFUNC(_wrap_FXExtentd_includeN___), -1);
|
|
10524
|
+
rb_define_method(cFXExtentd.klass, "corner", VALUEFUNC(_wrap_FXExtentd_corner), -1);
|
|
10525
|
+
rb_define_method(cFXExtentd.klass, "overlap?", VALUEFUNC(_wrap_FXExtentd_overlapq___), -1);
|
|
10526
|
+
rb_define_method(cFXExtentd.klass, "unite_with", VALUEFUNC(_wrap_FXExtentd_unite_with), -1);
|
|
10527
|
+
rb_define_method(cFXExtentd.klass, "intersect_with", VALUEFUNC(_wrap_FXExtentd_intersect_with), -1);
|
|
10528
|
+
cFXExtentd.mark = 0;
|
|
10529
|
+
cFXExtentd.destroy = (void (*)(void *)) FXRbUnregisterRubyObj;
|
|
9873
10530
|
}
|
|
9874
10531
|
|