fxrubi 1.6.22.pre1-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/.gemtest +0 -0
- data/History.txt +10 -0
- data/Manifest.txt +922 -0
- data/README +39 -0
- data/README.txt +483 -0
- data/Rakefile +185 -0
- data/TODO +47 -0
- data/doap.rdf +87 -0
- data/examples/RAA.rb +25 -0
- data/examples/README +53 -0
- data/examples/babelfish.rb +72 -0
- data/examples/bounce.rb +159 -0
- data/examples/browser.rb +191 -0
- data/examples/button.rb +168 -0
- data/examples/charts.rb +35 -0
- data/examples/custom_table_item.rb +170 -0
- data/examples/datatarget.rb +223 -0
- data/examples/dctest.rb +696 -0
- data/examples/dialog.rb +143 -0
- data/examples/dilbert.rb +66 -0
- data/examples/dirlist.rb +63 -0
- data/examples/dragdrop.rb +97 -0
- data/examples/dragsource.rb +80 -0
- data/examples/dropsite.rb +59 -0
- data/examples/foursplit.rb +97 -0
- data/examples/gltest.rb +330 -0
- data/examples/glviewer.rb +576 -0
- data/examples/groupbox.rb +392 -0
- data/examples/header.rb +149 -0
- data/examples/hello.rb +12 -0
- data/examples/hello2.rb +51 -0
- data/examples/iRAA.rb +153 -0
- data/examples/iconlist.rb +92 -0
- data/examples/icons/AngryGuyInBunnySuit.ico +0 -0
- data/examples/icons/FatBot.ico +0 -0
- data/examples/icons/FlippedySwitch.ico +0 -0
- data/examples/icons/LeGoon.ico +0 -0
- data/examples/icons/Net.ico +0 -0
- data/examples/icons/RedMacOS.ico +0 -0
- data/examples/icons/SawBlade.ico +0 -0
- data/examples/icons/backview.png +0 -0
- data/examples/icons/big.png +0 -0
- data/examples/icons/bigfolder.png +0 -0
- data/examples/icons/bigpenguin.png +0 -0
- data/examples/icons/bluebullet14x14.gif +0 -0
- data/examples/icons/bottomview.png +0 -0
- data/examples/icons/camera.png +0 -0
- data/examples/icons/capbutt.png +0 -0
- data/examples/icons/capnotlast.png +0 -0
- data/examples/icons/capproj.png +0 -0
- data/examples/icons/capround.png +0 -0
- data/examples/icons/colorpal.png +0 -0
- data/examples/icons/copy.png +0 -0
- data/examples/icons/cut.png +0 -0
- data/examples/icons/delimit.png +0 -0
- data/examples/icons/dippy.png +0 -0
- data/examples/icons/double_dash.png +0 -0
- data/examples/icons/filenew.png +0 -0
- data/examples/icons/fileopen.png +0 -0
- data/examples/icons/filesave.png +0 -0
- data/examples/icons/filesaveas.png +0 -0
- data/examples/icons/fonts.png +0 -0
- data/examples/icons/fox.png +0 -0
- data/examples/icons/foxicon.png +0 -0
- data/examples/icons/frontview.png +0 -0
- data/examples/icons/gem_big.png +0 -0
- data/examples/icons/gem_small.png +0 -0
- data/examples/icons/hello2.png +0 -0
- data/examples/icons/help.png +0 -0
- data/examples/icons/indent.png +0 -0
- data/examples/icons/jbevel.png +0 -0
- data/examples/icons/jmiter.png +0 -0
- data/examples/icons/jround.png +0 -0
- data/examples/icons/kill.png +0 -0
- data/examples/icons/leftview.png +0 -0
- data/examples/icons/light.png +0 -0
- data/examples/icons/minidoc.png +0 -0
- data/examples/icons/minifolder.png +0 -0
- data/examples/icons/minifolderopen.png +0 -0
- data/examples/icons/newfolder.png +0 -0
- data/examples/icons/nolight.png +0 -0
- data/examples/icons/onoff_dash.png +0 -0
- data/examples/icons/palette.png +0 -0
- data/examples/icons/parallel.png +0 -0
- data/examples/icons/paste.png +0 -0
- data/examples/icons/pattern.png +0 -0
- data/examples/icons/penguin.png +0 -0
- data/examples/icons/perspective.png +0 -0
- data/examples/icons/printicon.png +0 -0
- data/examples/icons/prop.png +0 -0
- data/examples/icons/redo.png +0 -0
- data/examples/icons/rightview.png +0 -0
- data/examples/icons/saveas.png +0 -0
- data/examples/icons/shutter1.png +0 -0
- data/examples/icons/shutter2.png +0 -0
- data/examples/icons/small.png +0 -0
- data/examples/icons/smoothlight.png +0 -0
- data/examples/icons/solid_line.png +0 -0
- data/examples/icons/tbuplevel.png +0 -0
- data/examples/icons/topview.png +0 -0
- data/examples/icons/transpbullet14x14.gif +0 -0
- data/examples/icons/undo.png +0 -0
- data/examples/icons/winapp.png +0 -0
- data/examples/icons/zoom.png +0 -0
- data/examples/image.rb +279 -0
- data/examples/imageviewer.rb +509 -0
- data/examples/inputs.rb +83 -0
- data/examples/mditest.rb +180 -0
- data/examples/pig.rb +77 -0
- data/examples/raabrowser.rb +122 -0
- data/examples/ratio.rb +80 -0
- data/examples/rulerview.rb +27 -0
- data/examples/scintilla-test.rb +81 -0
- data/examples/scribble-orig.rb +186 -0
- data/examples/scribble.rb +162 -0
- data/examples/shutter.rb +158 -0
- data/examples/splitter.rb +211 -0
- data/examples/styledtext.rb +82 -0
- data/examples/tabbook.rb +165 -0
- data/examples/table.rb +182 -0
- data/examples/textedit/commands.rb +114 -0
- data/examples/textedit/helpwindow.rb +299 -0
- data/examples/textedit/prefdialog.rb +239 -0
- data/examples/textedit/textedit.rb +1763 -0
- data/examples/unicode.rb +36 -0
- data/ext/fox16/FXRbApp.cpp +128 -0
- data/ext/fox16/FXRbDataTarget.cpp +110 -0
- data/ext/fox16/FXRbGLViewer.cpp +89 -0
- data/ext/fox16/FXRuby.cpp +2002 -0
- data/ext/fox16/MANIFEST +189 -0
- data/ext/fox16/core_wrap.cpp +11545 -0
- data/ext/fox16/dc_wrap.cpp +2874 -0
- data/ext/fox16/dialogs_wrap.cpp +7963 -0
- data/ext/fox16/extconf.rb +151 -0
- data/ext/fox16/frames_wrap.cpp +11380 -0
- data/ext/fox16/fx3d_wrap.cpp +10651 -0
- data/ext/fox16/iconlist_wrap.cpp +4074 -0
- data/ext/fox16/icons_wrap.cpp +4745 -0
- data/ext/fox16/image_wrap.cpp +4388 -0
- data/ext/fox16/impl.cpp +1156 -0
- data/ext/fox16/include/FXMemoryBuffer.h +52 -0
- data/ext/fox16/include/FXRb4Splitter.h +54 -0
- data/ext/fox16/include/FXRb7Segment.h +51 -0
- data/ext/fox16/include/FXRbAccelTable.h +46 -0
- data/ext/fox16/include/FXRbApp.h +155 -0
- data/ext/fox16/include/FXRbAppVirtuals.h +15 -0
- data/ext/fox16/include/FXRbArrowButton.h +51 -0
- data/ext/fox16/include/FXRbBMPIcon.h +54 -0
- data/ext/fox16/include/FXRbBMPImage.h +54 -0
- data/ext/fox16/include/FXRbBitmap.h +133 -0
- data/ext/fox16/include/FXRbBitmapFrame.h +56 -0
- data/ext/fox16/include/FXRbBitmapView.h +56 -0
- data/ext/fox16/include/FXRbBitmapVirtuals.h +37 -0
- data/ext/fox16/include/FXRbButton.h +51 -0
- data/ext/fox16/include/FXRbCURCursor.h +60 -0
- data/ext/fox16/include/FXRbCanvas.h +51 -0
- data/ext/fox16/include/FXRbCheckButton.h +51 -0
- data/ext/fox16/include/FXRbChoiceBox.h +56 -0
- data/ext/fox16/include/FXRbColorBar.h +51 -0
- data/ext/fox16/include/FXRbColorDialog.h +53 -0
- data/ext/fox16/include/FXRbColorList.h +84 -0
- data/ext/fox16/include/FXRbColorRing.h +51 -0
- data/ext/fox16/include/FXRbColorSelector.h +51 -0
- data/ext/fox16/include/FXRbColorWell.h +51 -0
- data/ext/fox16/include/FXRbColorWheel.h +51 -0
- data/ext/fox16/include/FXRbComboBox.h +56 -0
- data/ext/fox16/include/FXRbCommon.h +95 -0
- data/ext/fox16/include/FXRbComposite.h +51 -0
- data/ext/fox16/include/FXRbCursor.h +87 -0
- data/ext/fox16/include/FXRbCursorVirtuals.h +6 -0
- data/ext/fox16/include/FXRbDC.h +427 -0
- data/ext/fox16/include/FXRbDCPrint.h +49 -0
- data/ext/fox16/include/FXRbDCVirtuals.h +187 -0
- data/ext/fox16/include/FXRbDCWindow.h +64 -0
- data/ext/fox16/include/FXRbDataTarget.h +65 -0
- data/ext/fox16/include/FXRbDebugTarget.h +46 -0
- data/ext/fox16/include/FXRbDelegator.h +46 -0
- data/ext/fox16/include/FXRbDial.h +51 -0
- data/ext/fox16/include/FXRbDialogBox.h +68 -0
- data/ext/fox16/include/FXRbDialogBoxVirtuals.h +3 -0
- data/ext/fox16/include/FXRbDict.h +46 -0
- data/ext/fox16/include/FXRbDirBox.h +52 -0
- data/ext/fox16/include/FXRbDirDialog.h +56 -0
- data/ext/fox16/include/FXRbDirList.h +79 -0
- data/ext/fox16/include/FXRbDirSelector.h +51 -0
- data/ext/fox16/include/FXRbDockBar.h +86 -0
- data/ext/fox16/include/FXRbDockBarVirtuals.h +10 -0
- data/ext/fox16/include/FXRbDockHandler.h +51 -0
- data/ext/fox16/include/FXRbDockSite.h +85 -0
- data/ext/fox16/include/FXRbDockSiteVirtuals.h +13 -0
- data/ext/fox16/include/FXRbDockTitle.h +51 -0
- data/ext/fox16/include/FXRbDocument.h +46 -0
- data/ext/fox16/include/FXRbDragCorner.h +51 -0
- data/ext/fox16/include/FXRbDrawable.h +64 -0
- data/ext/fox16/include/FXRbDrawableVirtuals.h +3 -0
- data/ext/fox16/include/FXRbDriveBox.h +52 -0
- data/ext/fox16/include/FXRbFileDialog.h +56 -0
- data/ext/fox16/include/FXRbFileDict.h +104 -0
- data/ext/fox16/include/FXRbFileDictVirtuals.h +9 -0
- data/ext/fox16/include/FXRbFileList.h +81 -0
- data/ext/fox16/include/FXRbFileSelector.h +51 -0
- data/ext/fox16/include/FXRbFoldingItemVirtuals.h +42 -0
- data/ext/fox16/include/FXRbFoldingList.h +270 -0
- data/ext/fox16/include/FXRbFoldingListVirtuals.h +43 -0
- data/ext/fox16/include/FXRbFont.h +183 -0
- data/ext/fox16/include/FXRbFontDialog.h +53 -0
- data/ext/fox16/include/FXRbFontSelector.h +51 -0
- data/ext/fox16/include/FXRbFontVirtuals.h +55 -0
- data/ext/fox16/include/FXRbFrame.h +51 -0
- data/ext/fox16/include/FXRbGIFCursor.h +60 -0
- data/ext/fox16/include/FXRbGIFIcon.h +54 -0
- data/ext/fox16/include/FXRbGIFImage.h +54 -0
- data/ext/fox16/include/FXRbGLCanvas.h +92 -0
- data/ext/fox16/include/FXRbGLCanvasVirtuals.h +13 -0
- data/ext/fox16/include/FXRbGLContext.h +58 -0
- data/ext/fox16/include/FXRbGLObject.h +103 -0
- data/ext/fox16/include/FXRbGLObjectVirtuals.h +22 -0
- data/ext/fox16/include/FXRbGLShape.h +81 -0
- data/ext/fox16/include/FXRbGLShapeVirtuals.h +8 -0
- data/ext/fox16/include/FXRbGLViewer.h +89 -0
- data/ext/fox16/include/FXRbGLViewerVirtuals.h +10 -0
- data/ext/fox16/include/FXRbGLVisual.h +56 -0
- data/ext/fox16/include/FXRbGradientBar.h +55 -0
- data/ext/fox16/include/FXRbGroupBox.h +51 -0
- data/ext/fox16/include/FXRbHeader.h +129 -0
- data/ext/fox16/include/FXRbHeaderItemVirtuals.h +22 -0
- data/ext/fox16/include/FXRbHorizontalFrame.h +51 -0
- data/ext/fox16/include/FXRbICOIcon.h +54 -0
- data/ext/fox16/include/FXRbICOImage.h +54 -0
- data/ext/fox16/include/FXRbIcon.h +57 -0
- data/ext/fox16/include/FXRbIconItemVirtuals.h +68 -0
- data/ext/fox16/include/FXRbIconList.h +288 -0
- data/ext/fox16/include/FXRbIconListVirtuals.h +35 -0
- data/ext/fox16/include/FXRbIconSource.h +127 -0
- data/ext/fox16/include/FXRbIconSourceVirtuals.h +37 -0
- data/ext/fox16/include/FXRbId.h +74 -0
- data/ext/fox16/include/FXRbIdVirtuals.h +9 -0
- data/ext/fox16/include/FXRbImage.h +162 -0
- data/ext/fox16/include/FXRbImageFrame.h +56 -0
- data/ext/fox16/include/FXRbImageView.h +55 -0
- data/ext/fox16/include/FXRbImageVirtuals.h +51 -0
- data/ext/fox16/include/FXRbInputDialog.h +56 -0
- data/ext/fox16/include/FXRbJPGIcon.h +54 -0
- data/ext/fox16/include/FXRbJPGImage.h +54 -0
- data/ext/fox16/include/FXRbKnob.h +51 -0
- data/ext/fox16/include/FXRbLabel.h +51 -0
- data/ext/fox16/include/FXRbList.h +226 -0
- data/ext/fox16/include/FXRbListBox.h +67 -0
- data/ext/fox16/include/FXRbListBoxVirtuals.h +4 -0
- data/ext/fox16/include/FXRbListItemVirtuals.h +33 -0
- data/ext/fox16/include/FXRbListVirtuals.h +30 -0
- data/ext/fox16/include/FXRbMDIButton.h +162 -0
- data/ext/fox16/include/FXRbMDIChild.h +82 -0
- data/ext/fox16/include/FXRbMDIChildVirtuals.h +12 -0
- data/ext/fox16/include/FXRbMDIClient.h +80 -0
- data/ext/fox16/include/FXRbMDIClientVirtuals.h +12 -0
- data/ext/fox16/include/FXRbMainWindow.h +54 -0
- data/ext/fox16/include/FXRbMatrix.h +51 -0
- data/ext/fox16/include/FXRbMenuBar.h +63 -0
- data/ext/fox16/include/FXRbMenuButton.h +51 -0
- data/ext/fox16/include/FXRbMenuCaption.h +51 -0
- data/ext/fox16/include/FXRbMenuCascade.h +51 -0
- data/ext/fox16/include/FXRbMenuCheck.h +49 -0
- data/ext/fox16/include/FXRbMenuCommand.h +49 -0
- data/ext/fox16/include/FXRbMenuPane.h +52 -0
- data/ext/fox16/include/FXRbMenuRadio.h +49 -0
- data/ext/fox16/include/FXRbMenuSeparator.h +51 -0
- data/ext/fox16/include/FXRbMenuTitle.h +51 -0
- data/ext/fox16/include/FXRbMessageBox.h +56 -0
- data/ext/fox16/include/FXRbObject.h +67 -0
- data/ext/fox16/include/FXRbObjectVirtuals.h +9 -0
- data/ext/fox16/include/FXRbOptionMenu.h +73 -0
- data/ext/fox16/include/FXRbPCXIcon.h +54 -0
- data/ext/fox16/include/FXRbPCXImage.h +54 -0
- data/ext/fox16/include/FXRbPNGIcon.h +54 -0
- data/ext/fox16/include/FXRbPNGImage.h +54 -0
- data/ext/fox16/include/FXRbPPMIcon.h +54 -0
- data/ext/fox16/include/FXRbPPMImage.h +54 -0
- data/ext/fox16/include/FXRbPacker.h +51 -0
- data/ext/fox16/include/FXRbPicker.h +51 -0
- data/ext/fox16/include/FXRbPopup.h +70 -0
- data/ext/fox16/include/FXRbPopupVirtuals.h +6 -0
- data/ext/fox16/include/FXRbPrintDialog.h +53 -0
- data/ext/fox16/include/FXRbProgressBar.h +51 -0
- data/ext/fox16/include/FXRbProgressDialog.h +53 -0
- data/ext/fox16/include/FXRbRGBIcon.h +54 -0
- data/ext/fox16/include/FXRbRGBImage.h +54 -0
- data/ext/fox16/include/FXRbRadioButton.h +51 -0
- data/ext/fox16/include/FXRbRealSlider.h +51 -0
- data/ext/fox16/include/FXRbRealSpinner.h +64 -0
- data/ext/fox16/include/FXRbRealSpinnerVirtuals.h +3 -0
- data/ext/fox16/include/FXRbRecentFiles.h +52 -0
- data/ext/fox16/include/FXRbRegistry.h +46 -0
- data/ext/fox16/include/FXRbReplaceDialog.h +53 -0
- data/ext/fox16/include/FXRbRootWindow.h +51 -0
- data/ext/fox16/include/FXRbRuler.h +56 -0
- data/ext/fox16/include/FXRbRulerView.h +54 -0
- data/ext/fox16/include/FXRbScintilla.h +52 -0
- data/ext/fox16/include/FXRbScrollArea.h +87 -0
- data/ext/fox16/include/FXRbScrollAreaVirtuals.h +13 -0
- data/ext/fox16/include/FXRbScrollBar.h +73 -0
- data/ext/fox16/include/FXRbScrollPane.h +52 -0
- data/ext/fox16/include/FXRbScrollWindow.h +57 -0
- data/ext/fox16/include/FXRbSearchDialog.h +53 -0
- data/ext/fox16/include/FXRbSeparator.h +95 -0
- data/ext/fox16/include/FXRbSettings.h +46 -0
- data/ext/fox16/include/FXRbShell.h +56 -0
- data/ext/fox16/include/FXRbShutter.h +86 -0
- data/ext/fox16/include/FXRbShutterVirtuals.h +3 -0
- data/ext/fox16/include/FXRbSlider.h +51 -0
- data/ext/fox16/include/FXRbSpinner.h +64 -0
- data/ext/fox16/include/FXRbSpinnerVirtuals.h +3 -0
- data/ext/fox16/include/FXRbSplashWindow.h +57 -0
- data/ext/fox16/include/FXRbSplitter.h +54 -0
- data/ext/fox16/include/FXRbSpring.h +51 -0
- data/ext/fox16/include/FXRbStatusBar.h +51 -0
- data/ext/fox16/include/FXRbStatusLine.h +51 -0
- data/ext/fox16/include/FXRbStream.h +101 -0
- data/ext/fox16/include/FXRbStreamVirtuals.h +9 -0
- data/ext/fox16/include/FXRbStringDict.h +46 -0
- data/ext/fox16/include/FXRbSwitcher.h +51 -0
- data/ext/fox16/include/FXRbTGAIcon.h +54 -0
- data/ext/fox16/include/FXRbTGAImage.h +54 -0
- data/ext/fox16/include/FXRbTIFIcon.h +54 -0
- data/ext/fox16/include/FXRbTIFImage.h +54 -0
- data/ext/fox16/include/FXRbTabBar.h +64 -0
- data/ext/fox16/include/FXRbTabBarVirtuals.h +3 -0
- data/ext/fox16/include/FXRbTabBook.h +52 -0
- data/ext/fox16/include/FXRbTabItem.h +51 -0
- data/ext/fox16/include/FXRbTable.h +509 -0
- data/ext/fox16/include/FXRbTableItemVirtuals.h +89 -0
- data/ext/fox16/include/FXRbTableVirtuals.h +89 -0
- data/ext/fox16/include/FXRbText.h +187 -0
- data/ext/fox16/include/FXRbTextField.h +51 -0
- data/ext/fox16/include/FXRbTextVirtuals.h +52 -0
- data/ext/fox16/include/FXRbToggleButton.h +51 -0
- data/ext/fox16/include/FXRbToolBar.h +63 -0
- data/ext/fox16/include/FXRbToolBarGrip.h +51 -0
- data/ext/fox16/include/FXRbToolBarShell.h +52 -0
- data/ext/fox16/include/FXRbToolBarTab.h +51 -0
- data/ext/fox16/include/FXRbToolTip.h +51 -0
- data/ext/fox16/include/FXRbTopWindow.h +91 -0
- data/ext/fox16/include/FXRbTopWindowVirtuals.h +15 -0
- data/ext/fox16/include/FXRbTranslator.h +61 -0
- data/ext/fox16/include/FXRbTranslatorVirtuals.h +4 -0
- data/ext/fox16/include/FXRbTreeItemVirtuals.h +42 -0
- data/ext/fox16/include/FXRbTreeList.h +277 -0
- data/ext/fox16/include/FXRbTreeListBox.h +64 -0
- data/ext/fox16/include/FXRbTreeListBoxVirtuals.h +4 -0
- data/ext/fox16/include/FXRbTreeListVirtuals.h +42 -0
- data/ext/fox16/include/FXRbTriStateButton.h +51 -0
- data/ext/fox16/include/FXRbVerticalFrame.h +51 -0
- data/ext/fox16/include/FXRbVisual.h +56 -0
- data/ext/fox16/include/FXRbWindow.h +248 -0
- data/ext/fox16/include/FXRbWindowVirtuals.h +94 -0
- data/ext/fox16/include/FXRbWizard.h +60 -0
- data/ext/fox16/include/FXRbXBMIcon.h +54 -0
- data/ext/fox16/include/FXRbXBMImage.h +54 -0
- data/ext/fox16/include/FXRbXPMIcon.h +54 -0
- data/ext/fox16/include/FXRbXPMImage.h +54 -0
- data/ext/fox16/include/FXRuby.h +842 -0
- data/ext/fox16/include/impl.h +214 -0
- data/ext/fox16/include/inlinestubs.h +1155 -0
- data/ext/fox16/label_wrap.cpp +5700 -0
- data/ext/fox16/layout_wrap.cpp +6358 -0
- data/ext/fox16/librb.c +647 -0
- data/ext/fox16/list_wrap.cpp +2981 -0
- data/ext/fox16/make_impl.rb +121 -0
- data/ext/fox16/markfuncs.cpp +1651 -0
- data/ext/fox16/mdi_wrap.cpp +5266 -0
- data/ext/fox16/menu_wrap.cpp +5589 -0
- data/ext/fox16/scintilla_wrap.cpp +2518 -0
- data/ext/fox16/table_wrap.cpp +4173 -0
- data/ext/fox16/text_wrap.cpp +3832 -0
- data/ext/fox16/treelist_wrap.cpp +6004 -0
- data/ext/fox16/ui_wrap.cpp +14230 -0
- data/ext/fox16/unregisterOwnedObjects.cpp +120 -0
- data/index.html +14 -0
- data/lib/1.8/fox16.so +0 -0
- data/lib/1.9/fox16.so +0 -0
- data/lib/fox16.rb +8 -0
- data/lib/fox16/accel_table.rb +83 -0
- data/lib/fox16/aliases.rb +5611 -0
- data/lib/fox16/bitmapview.rb +222 -0
- data/lib/fox16/calendar.rb +217 -0
- data/lib/fox16/chore.rb +105 -0
- data/lib/fox16/colors.rb +280 -0
- data/lib/fox16/core.rb +700 -0
- data/lib/fox16/dict.rb +35 -0
- data/lib/fox16/exceptions_for_fxerror.rb +17 -0
- data/lib/fox16/execute_nonmodal.rb +70 -0
- data/lib/fox16/glgroup.rb +166 -0
- data/lib/fox16/glshapes.rb +456 -0
- data/lib/fox16/input.rb +59 -0
- data/lib/fox16/irb.rb +178 -0
- data/lib/fox16/iterators.rb +420 -0
- data/lib/fox16/keys.rb +1374 -0
- data/lib/fox16/kwargs.rb +2738 -0
- data/lib/fox16/missingdep.rb +14 -0
- data/lib/fox16/pseudokeyboard.rb +40 -0
- data/lib/fox16/pseudomouse.rb +87 -0
- data/lib/fox16/responder.rb +70 -0
- data/lib/fox16/responder2.rb +132 -0
- data/lib/fox16/scintilla.rb +5017 -0
- data/lib/fox16/settings.rb +18 -0
- data/lib/fox16/signal.rb +71 -0
- data/lib/fox16/splashscreen.rb +82 -0
- data/lib/fox16/timeout.rb +136 -0
- data/lib/fox16/undolist.rb +455 -0
- data/lib/fox16/version.rb +5 -0
- data/rdoc-sources/FX4Splitter.rb +156 -0
- data/rdoc-sources/FX7Segment.rb +54 -0
- data/rdoc-sources/FXAccelTable.rb +84 -0
- data/rdoc-sources/FXApp.rb +545 -0
- data/rdoc-sources/FXArrowButton.rb +69 -0
- data/rdoc-sources/FXBMPIcon.rb +67 -0
- data/rdoc-sources/FXBMPImage.rb +30 -0
- data/rdoc-sources/FXBitmap.rb +115 -0
- data/rdoc-sources/FXBitmapFrame.rb +31 -0
- data/rdoc-sources/FXBitmapView.rb +44 -0
- data/rdoc-sources/FXButton.rb +59 -0
- data/rdoc-sources/FXCURCursor.rb +13 -0
- data/rdoc-sources/FXCanvas.rb +18 -0
- data/rdoc-sources/FXCheckButton.rb +58 -0
- data/rdoc-sources/FXChoiceBox.rb +49 -0
- data/rdoc-sources/FXColorBar.rb +48 -0
- data/rdoc-sources/FXColorDialog.rb +37 -0
- data/rdoc-sources/FXColorList.rb +55 -0
- data/rdoc-sources/FXColorRing.rb +49 -0
- data/rdoc-sources/FXColorSelector.rb +65 -0
- data/rdoc-sources/FXColorWell.rb +65 -0
- data/rdoc-sources/FXColorWheel.rb +57 -0
- data/rdoc-sources/FXComboBox.rb +214 -0
- data/rdoc-sources/FXComposite.rb +34 -0
- data/rdoc-sources/FXCursor.rb +67 -0
- data/rdoc-sources/FXDC.rb +720 -0
- data/rdoc-sources/FXDCPrint.rb +127 -0
- data/rdoc-sources/FXDCWindow.rb +33 -0
- data/rdoc-sources/FXDataTarget.rb +66 -0
- data/rdoc-sources/FXDebugTarget.rb +25 -0
- data/rdoc-sources/FXDelegator.rb +23 -0
- data/rdoc-sources/FXDial.rb +107 -0
- data/rdoc-sources/FXDialogBox.rb +32 -0
- data/rdoc-sources/FXDict.rb +79 -0
- data/rdoc-sources/FXDirBox.rb +55 -0
- data/rdoc-sources/FXDirDialog.rb +47 -0
- data/rdoc-sources/FXDirList.rb +149 -0
- data/rdoc-sources/FXDirSelector.rb +64 -0
- data/rdoc-sources/FXDockBar.rb +151 -0
- data/rdoc-sources/FXDockHandler.rb +26 -0
- data/rdoc-sources/FXDockSite.rb +104 -0
- data/rdoc-sources/FXDockTitle.rb +26 -0
- data/rdoc-sources/FXDocument.rb +29 -0
- data/rdoc-sources/FXDragCorner.rb +19 -0
- data/rdoc-sources/FXDrawable.rb +27 -0
- data/rdoc-sources/FXDriveBox.rb +46 -0
- data/rdoc-sources/FXExtentd.rb +85 -0
- data/rdoc-sources/FXExtentf.rb +85 -0
- data/rdoc-sources/FXFileDialog.rb +217 -0
- data/rdoc-sources/FXFileDict.rb +131 -0
- data/rdoc-sources/FXFileList.rb +208 -0
- data/rdoc-sources/FXFileSelector.rb +184 -0
- data/rdoc-sources/FXFileStream.rb +27 -0
- data/rdoc-sources/FXFoldingList.rb +504 -0
- data/rdoc-sources/FXFont.rb +361 -0
- data/rdoc-sources/FXFontDialog.rb +14 -0
- data/rdoc-sources/FXFontSelector.rb +37 -0
- data/rdoc-sources/FXFrame.rb +53 -0
- data/rdoc-sources/FXGIFCursor.rb +50 -0
- data/rdoc-sources/FXGIFIcon.rb +31 -0
- data/rdoc-sources/FXGIFImage.rb +29 -0
- data/rdoc-sources/FXGLCanvas.rb +45 -0
- data/rdoc-sources/FXGLContext.rb +40 -0
- data/rdoc-sources/FXGLObject.rb +75 -0
- data/rdoc-sources/FXGLShape.rb +69 -0
- data/rdoc-sources/FXGLViewer.rb +332 -0
- data/rdoc-sources/FXGLVisual.rb +94 -0
- data/rdoc-sources/FXGradientBar.rb +301 -0
- data/rdoc-sources/FXGroupBox.rb +36 -0
- data/rdoc-sources/FXHeader.rb +411 -0
- data/rdoc-sources/FXHorizontalFrame.rb +29 -0
- data/rdoc-sources/FXICOIcon.rb +65 -0
- data/rdoc-sources/FXICOImage.rb +31 -0
- data/rdoc-sources/FXIcon.rb +38 -0
- data/rdoc-sources/FXIconDict.rb +48 -0
- data/rdoc-sources/FXIconList.rb +450 -0
- data/rdoc-sources/FXIconSource.rb +100 -0
- data/rdoc-sources/FXId.rb +34 -0
- data/rdoc-sources/FXImage.rb +292 -0
- data/rdoc-sources/FXImageFrame.rb +36 -0
- data/rdoc-sources/FXImageView.rb +35 -0
- data/rdoc-sources/FXInputDialog.rb +80 -0
- data/rdoc-sources/FXJPGIcon.rb +70 -0
- data/rdoc-sources/FXJPGImage.rb +38 -0
- data/rdoc-sources/FXKnob.rb +76 -0
- data/rdoc-sources/FXLabel.rb +72 -0
- data/rdoc-sources/FXList.rb +443 -0
- data/rdoc-sources/FXListBox.rb +191 -0
- data/rdoc-sources/FXMDIButton.rb +67 -0
- data/rdoc-sources/FXMDIChild.rb +155 -0
- data/rdoc-sources/FXMDIClient.rb +65 -0
- data/rdoc-sources/FXMainWindow.rb +26 -0
- data/rdoc-sources/FXMatrix.rb +57 -0
- data/rdoc-sources/FXMemoryBuffer.rb +28 -0
- data/rdoc-sources/FXMemoryStream.rb +50 -0
- data/rdoc-sources/FXMenuBar.rb +23 -0
- data/rdoc-sources/FXMenuButton.rb +84 -0
- data/rdoc-sources/FXMenuCaption.rb +53 -0
- data/rdoc-sources/FXMenuCascade.rb +18 -0
- data/rdoc-sources/FXMenuCheck.rb +30 -0
- data/rdoc-sources/FXMenuCommand.rb +26 -0
- data/rdoc-sources/FXMenuPane.rb +13 -0
- data/rdoc-sources/FXMenuRadio.rb +33 -0
- data/rdoc-sources/FXMenuSeparator.rb +21 -0
- data/rdoc-sources/FXMenuTitle.rb +27 -0
- data/rdoc-sources/FXMessageBox.rb +73 -0
- data/rdoc-sources/FXObject.rb +28 -0
- data/rdoc-sources/FXOptionMenu.rb +83 -0
- data/rdoc-sources/FXPCXIcon.rb +63 -0
- data/rdoc-sources/FXPCXImage.rb +31 -0
- data/rdoc-sources/FXPNGIcon.rb +66 -0
- data/rdoc-sources/FXPNGImage.rb +34 -0
- data/rdoc-sources/FXPPMIcon.rb +36 -0
- data/rdoc-sources/FXPPMImage.rb +31 -0
- data/rdoc-sources/FXPacker.rb +63 -0
- data/rdoc-sources/FXPicker.rb +27 -0
- data/rdoc-sources/FXPopup.rb +53 -0
- data/rdoc-sources/FXPrintDialog.rb +36 -0
- data/rdoc-sources/FXProgressBar.rb +57 -0
- data/rdoc-sources/FXProgressDialog.rb +36 -0
- data/rdoc-sources/FXQuatd.rb +164 -0
- data/rdoc-sources/FXQuatf.rb +173 -0
- data/rdoc-sources/FXRGBIcon.rb +64 -0
- data/rdoc-sources/FXRGBImage.rb +31 -0
- data/rdoc-sources/FXRadioButton.rb +70 -0
- data/rdoc-sources/FXRanged.rb +100 -0
- data/rdoc-sources/FXRangef.rb +100 -0
- data/rdoc-sources/FXRealSlider.rb +101 -0
- data/rdoc-sources/FXRealSpinner.rb +140 -0
- data/rdoc-sources/FXRecentFiles.rb +77 -0
- data/rdoc-sources/FXRectangle.rb +149 -0
- data/rdoc-sources/FXRegion.rb +64 -0
- data/rdoc-sources/FXRegistry.rb +56 -0
- data/rdoc-sources/FXReplaceDialog.rb +56 -0
- data/rdoc-sources/FXRootWindow.rb +17 -0
- data/rdoc-sources/FXRuler.rb +130 -0
- data/rdoc-sources/FXRulerView.rb +225 -0
- data/rdoc-sources/FXScintilla.rb +121 -0
- data/rdoc-sources/FXScrollArea.rb +86 -0
- data/rdoc-sources/FXScrollBar.rb +107 -0
- data/rdoc-sources/FXScrollPane.rb +28 -0
- data/rdoc-sources/FXScrollWindow.rb +38 -0
- data/rdoc-sources/FXSearchDialog.rb +24 -0
- data/rdoc-sources/FXSeparator.rb +74 -0
- data/rdoc-sources/FXSettings.rb +248 -0
- data/rdoc-sources/FXShell.rb +8 -0
- data/rdoc-sources/FXShutter.rb +102 -0
- data/rdoc-sources/FXSize.rb +95 -0
- data/rdoc-sources/FXSlider.rb +98 -0
- data/rdoc-sources/FXSphered.rb +80 -0
- data/rdoc-sources/FXSpheref.rb +80 -0
- data/rdoc-sources/FXSpinner.rb +136 -0
- data/rdoc-sources/FXSplashWindow.rb +27 -0
- data/rdoc-sources/FXSplitter.rb +89 -0
- data/rdoc-sources/FXSpring.rb +61 -0
- data/rdoc-sources/FXStatusBar.rb +42 -0
- data/rdoc-sources/FXStatusLine.rb +60 -0
- data/rdoc-sources/FXStream.rb +142 -0
- data/rdoc-sources/FXStringDict.rb +38 -0
- data/rdoc-sources/FXSwitcher.rb +78 -0
- data/rdoc-sources/FXTGAIcon.rb +63 -0
- data/rdoc-sources/FXTGAImage.rb +31 -0
- data/rdoc-sources/FXTIFIcon.rb +70 -0
- data/rdoc-sources/FXTIFImage.rb +37 -0
- data/rdoc-sources/FXTabBar.rb +80 -0
- data/rdoc-sources/FXTabBook.rb +41 -0
- data/rdoc-sources/FXTabItem.rb +58 -0
- data/rdoc-sources/FXTable.rb +975 -0
- data/rdoc-sources/FXText.rb +581 -0
- data/rdoc-sources/FXTextField.rb +151 -0
- data/rdoc-sources/FXToggleButton.rb +70 -0
- data/rdoc-sources/FXToolBar.rb +61 -0
- data/rdoc-sources/FXToolBarGrip.rb +50 -0
- data/rdoc-sources/FXToolBarShell.rb +44 -0
- data/rdoc-sources/FXToolBarTab.rb +74 -0
- data/rdoc-sources/FXToolTip.rb +39 -0
- data/rdoc-sources/FXTopWindow.rb +163 -0
- data/rdoc-sources/FXTranslator.rb +32 -0
- data/rdoc-sources/FXTreeList.rb +514 -0
- data/rdoc-sources/FXTreeListBox.rb +219 -0
- data/rdoc-sources/FXTriStateButton.rb +49 -0
- data/rdoc-sources/FXVec2d.rb +96 -0
- data/rdoc-sources/FXVec2f.rb +96 -0
- data/rdoc-sources/FXVec3d.rb +118 -0
- data/rdoc-sources/FXVec3f.rb +118 -0
- data/rdoc-sources/FXVec4d.rb +139 -0
- data/rdoc-sources/FXVec4f.rb +139 -0
- data/rdoc-sources/FXVerticalFrame.rb +29 -0
- data/rdoc-sources/FXVisual.rb +79 -0
- data/rdoc-sources/FXWindow.rb +725 -0
- data/rdoc-sources/FXWizard.rb +59 -0
- data/rdoc-sources/FXXBMIcon.rb +37 -0
- data/rdoc-sources/FXXBMImage.rb +32 -0
- data/rdoc-sources/FXXPMIcon.rb +65 -0
- data/rdoc-sources/FXXPMImage.rb +31 -0
- data/rdoc-sources/Makefile +23 -0
- data/rdoc-sources/README.rdoc +53 -0
- data/rdoc-sources/fxdefs.rb +90 -0
- data/scripts/build-fox.rb +31 -0
- data/scripts/generate_kwargs_lib.rb +412 -0
- data/scripts/iface.rb +391 -0
- data/swig-interfaces/FX4Splitter.i +149 -0
- data/swig-interfaces/FX7Segment.i +141 -0
- data/swig-interfaces/FXAccelTable.i +100 -0
- data/swig-interfaces/FXApp.i +735 -0
- data/swig-interfaces/FXArrowButton.i +136 -0
- data/swig-interfaces/FXBMPIcon.i +88 -0
- data/swig-interfaces/FXBMPImage.i +54 -0
- data/swig-interfaces/FXBitmap.i +90 -0
- data/swig-interfaces/FXBitmapFrame.i +72 -0
- data/swig-interfaces/FXBitmapView.i +94 -0
- data/swig-interfaces/FXButton.i +130 -0
- data/swig-interfaces/FXCURCursor.i +49 -0
- data/swig-interfaces/FXCanvas.i +61 -0
- data/swig-interfaces/FXCheckButton.i +108 -0
- data/swig-interfaces/FXChoiceBox.i +91 -0
- data/swig-interfaces/FXColorBar.i +110 -0
- data/swig-interfaces/FXColorDialog.i +79 -0
- data/swig-interfaces/FXColorList.i +99 -0
- data/swig-interfaces/FXColorRing.i +148 -0
- data/swig-interfaces/FXColorSelector.i +157 -0
- data/swig-interfaces/FXColorWell.i +133 -0
- data/swig-interfaces/FXColorWheel.i +108 -0
- data/swig-interfaces/FXComboBox.i +280 -0
- data/swig-interfaces/FXComposeContext.i +66 -0
- data/swig-interfaces/FXComposite.i +103 -0
- data/swig-interfaces/FXCursor.i +120 -0
- data/swig-interfaces/FXDC.i +280 -0
- data/swig-interfaces/FXDCPrint.i +141 -0
- data/swig-interfaces/FXDCWindow.i +75 -0
- data/swig-interfaces/FXDataTarget.i +115 -0
- data/swig-interfaces/FXDebugTarget.i +60 -0
- data/swig-interfaces/FXDelegator.i +56 -0
- data/swig-interfaces/FXDial.i +168 -0
- data/swig-interfaces/FXDialogBox.i +131 -0
- data/swig-interfaces/FXDict.i +200 -0
- data/swig-interfaces/FXDirBox.i +68 -0
- data/swig-interfaces/FXDirDialog.i +97 -0
- data/swig-interfaces/FXDirList.i +274 -0
- data/swig-interfaces/FXDirSelector.i +142 -0
- data/swig-interfaces/FXDockBar.i +180 -0
- data/swig-interfaces/FXDockHandler.i +94 -0
- data/swig-interfaces/FXDockSite.i +91 -0
- data/swig-interfaces/FXDockTitle.i +91 -0
- data/swig-interfaces/FXDocument.i +70 -0
- data/swig-interfaces/FXDragCorner.i +72 -0
- data/swig-interfaces/FXDrawable.i +90 -0
- data/swig-interfaces/FXDriveBox.i +63 -0
- data/swig-interfaces/FXExtentd.i +131 -0
- data/swig-interfaces/FXExtentf.i +131 -0
- data/swig-interfaces/FXFileDialog.i +268 -0
- data/swig-interfaces/FXFileDict.i +121 -0
- data/swig-interfaces/FXFileList.i +345 -0
- data/swig-interfaces/FXFileSelector.i +347 -0
- data/swig-interfaces/FXFileStream.i +49 -0
- data/swig-interfaces/FXFoldingList.i +556 -0
- data/swig-interfaces/FXFont.i +333 -0
- data/swig-interfaces/FXFontDialog.i +63 -0
- data/swig-interfaces/FXFontSelector.i +127 -0
- data/swig-interfaces/FXFrame.i +245 -0
- data/swig-interfaces/FXGIFCursor.i +86 -0
- data/swig-interfaces/FXGIFIcon.i +54 -0
- data/swig-interfaces/FXGIFImage.i +54 -0
- data/swig-interfaces/FXGLCanvas.i +90 -0
- data/swig-interfaces/FXGLContext.i +85 -0
- data/swig-interfaces/FXGLObject.i +70 -0
- data/swig-interfaces/FXGLShape.i +152 -0
- data/swig-interfaces/FXGLViewer.i +691 -0
- data/swig-interfaces/FXGLVisual.i +136 -0
- data/swig-interfaces/FXGradientBar.i +310 -0
- data/swig-interfaces/FXGroupBox.i +94 -0
- data/swig-interfaces/FXHeader.i +432 -0
- data/swig-interfaces/FXHorizontalFrame.i +60 -0
- data/swig-interfaces/FXICOIcon.i +92 -0
- data/swig-interfaces/FXICOImage.i +54 -0
- data/swig-interfaces/FXIcon.i +128 -0
- data/swig-interfaces/FXIconDict.i +90 -0
- data/swig-interfaces/FXIconList.i +596 -0
- data/swig-interfaces/FXIconSource.i +55 -0
- data/swig-interfaces/FXId.i +103 -0
- data/swig-interfaces/FXImage.i +197 -0
- data/swig-interfaces/FXImageFrame.i +66 -0
- data/swig-interfaces/FXImageView.i +88 -0
- data/swig-interfaces/FXInputDialog.i +180 -0
- data/swig-interfaces/FXJPGIcon.i +101 -0
- data/swig-interfaces/FXJPGImage.i +67 -0
- data/swig-interfaces/FXKnob.i +182 -0
- data/swig-interfaces/FXLabel.i +199 -0
- data/swig-interfaces/FXList.i +476 -0
- data/swig-interfaces/FXListBox.i +234 -0
- data/swig-interfaces/FXMDIButton.i +173 -0
- data/swig-interfaces/FXMDIChild.i +242 -0
- data/swig-interfaces/FXMDIClient.i +149 -0
- data/swig-interfaces/FXMainWindow.i +53 -0
- data/swig-interfaces/FXMat3d.i +102 -0
- data/swig-interfaces/FXMat3f.i +102 -0
- data/swig-interfaces/FXMat4d.i +122 -0
- data/swig-interfaces/FXMat4f.i +138 -0
- data/swig-interfaces/FXMatrix.i +101 -0
- data/swig-interfaces/FXMemoryBuffer.i +64 -0
- data/swig-interfaces/FXMemoryStream.i +77 -0
- data/swig-interfaces/FXMenuBar.i +67 -0
- data/swig-interfaces/FXMenuButton.i +152 -0
- data/swig-interfaces/FXMenuCaption.i +176 -0
- data/swig-interfaces/FXMenuCascade.i +76 -0
- data/swig-interfaces/FXMenuCheck.i +90 -0
- data/swig-interfaces/FXMenuCommand.i +69 -0
- data/swig-interfaces/FXMenuPane.i +60 -0
- data/swig-interfaces/FXMenuRadio.i +93 -0
- data/swig-interfaces/FXMenuSeparator.i +65 -0
- data/swig-interfaces/FXMenuTitle.i +74 -0
- data/swig-interfaces/FXMessageBox.i +128 -0
- data/swig-interfaces/FXObject.i +169 -0
- data/swig-interfaces/FXOptionMenu.i +140 -0
- data/swig-interfaces/FXPCXIcon.i +91 -0
- data/swig-interfaces/FXPCXImage.i +55 -0
- data/swig-interfaces/FXPNGIcon.i +95 -0
- data/swig-interfaces/FXPNGImage.i +59 -0
- data/swig-interfaces/FXPPMIcon.i +91 -0
- data/swig-interfaces/FXPPMImage.i +55 -0
- data/swig-interfaces/FXPacker.i +255 -0
- data/swig-interfaces/FXPicker.i +54 -0
- data/swig-interfaces/FXPoint.i +52 -0
- data/swig-interfaces/FXPopup.i +162 -0
- data/swig-interfaces/FXPrintDialog.i +154 -0
- data/swig-interfaces/FXProgressBar.i +133 -0
- data/swig-interfaces/FXProgressDialog.i +105 -0
- data/swig-interfaces/FXQuatd.i +128 -0
- data/swig-interfaces/FXQuatf.i +122 -0
- data/swig-interfaces/FXRGBIcon.i +90 -0
- data/swig-interfaces/FXRGBImage.i +56 -0
- data/swig-interfaces/FXRadioButton.i +117 -0
- data/swig-interfaces/FXRanged.i +163 -0
- data/swig-interfaces/FXRangef.i +172 -0
- data/swig-interfaces/FXRealSlider.i +166 -0
- data/swig-interfaces/FXRealSpinner.i +215 -0
- data/swig-interfaces/FXRecentFiles.i +119 -0
- data/swig-interfaces/FXRectangle.i +104 -0
- data/swig-interfaces/FXRegion.i +88 -0
- data/swig-interfaces/FXRegistry.i +96 -0
- data/swig-interfaces/FXReplaceDialog.i +131 -0
- data/swig-interfaces/FXRootWindow.i +50 -0
- data/swig-interfaces/FXRuler.i +245 -0
- data/swig-interfaces/FXRulerView.i +233 -0
- data/swig-interfaces/FXScintilla.i +192 -0
- data/swig-interfaces/FXScrollArea.i +211 -0
- data/swig-interfaces/FXScrollBar.i +178 -0
- data/swig-interfaces/FXScrollPane.i +83 -0
- data/swig-interfaces/FXScrollWindow.i +67 -0
- data/swig-interfaces/FXSearchDialog.i +48 -0
- data/swig-interfaces/FXSeparator.i +138 -0
- data/swig-interfaces/FXSettings.i +160 -0
- data/swig-interfaces/FXShell.i +91 -0
- data/swig-interfaces/FXShutter.i +140 -0
- data/swig-interfaces/FXSize.i +71 -0
- data/swig-interfaces/FXSlider.i +181 -0
- data/swig-interfaces/FXSphered.i +126 -0
- data/swig-interfaces/FXSpheref.i +126 -0
- data/swig-interfaces/FXSpinner.i +212 -0
- data/swig-interfaces/FXSplashWindow.i +82 -0
- data/swig-interfaces/FXSplitter.i +123 -0
- data/swig-interfaces/FXSpring.i +79 -0
- data/swig-interfaces/FXStatusBar.i +68 -0
- data/swig-interfaces/FXStatusLine.i +100 -0
- data/swig-interfaces/FXStream.i +150 -0
- data/swig-interfaces/FXStringDict.i +61 -0
- data/swig-interfaces/FXSwitcher.i +110 -0
- data/swig-interfaces/FXTGAIcon.i +85 -0
- data/swig-interfaces/FXTGAImage.i +56 -0
- data/swig-interfaces/FXTIFIcon.i +73 -0
- data/swig-interfaces/FXTIFImage.i +93 -0
- data/swig-interfaces/FXTabBar.i +121 -0
- data/swig-interfaces/FXTabBook.i +70 -0
- data/swig-interfaces/FXTabItem.i +82 -0
- data/swig-interfaces/FXTable.i +861 -0
- data/swig-interfaces/FXText.i +763 -0
- data/swig-interfaces/FXTextField.i +290 -0
- data/swig-interfaces/FXToggleButton.i +136 -0
- data/swig-interfaces/FXToolBar.i +75 -0
- data/swig-interfaces/FXToolBarGrip.i +82 -0
- data/swig-interfaces/FXToolBarShell.i +98 -0
- data/swig-interfaces/FXToolBarTab.i +114 -0
- data/swig-interfaces/FXToolTip.i +93 -0
- data/swig-interfaces/FXTopWindow.i +263 -0
- data/swig-interfaces/FXTranslator.i +55 -0
- data/swig-interfaces/FXTreeList.i +549 -0
- data/swig-interfaces/FXTreeListBox.i +317 -0
- data/swig-interfaces/FXTriStateButton.i +77 -0
- data/swig-interfaces/FXURL.i +35 -0
- data/swig-interfaces/FXVec2d.i +87 -0
- data/swig-interfaces/FXVec2f.i +87 -0
- data/swig-interfaces/FXVec3d.i +111 -0
- data/swig-interfaces/FXVec3f.i +109 -0
- data/swig-interfaces/FXVec4d.i +115 -0
- data/swig-interfaces/FXVec4f.i +115 -0
- data/swig-interfaces/FXVerticalFrame.i +69 -0
- data/swig-interfaces/FXVisual.i +162 -0
- data/swig-interfaces/FXWindow.i +851 -0
- data/swig-interfaces/FXWizard.i +125 -0
- data/swig-interfaces/FXXBMIcon.i +56 -0
- data/swig-interfaces/FXXBMImage.i +118 -0
- data/swig-interfaces/FXXPMIcon.i +122 -0
- data/swig-interfaces/FXXPMImage.i +56 -0
- data/swig-interfaces/README +17 -0
- data/swig-interfaces/common.i +48 -0
- data/swig-interfaces/core.i +85 -0
- data/swig-interfaces/dcmodule.i +36 -0
- data/swig-interfaces/dialogs.i +49 -0
- data/swig-interfaces/exceptions.i +249 -0
- data/swig-interfaces/framesmodule.i +54 -0
- data/swig-interfaces/freefuncs.i +93 -0
- data/swig-interfaces/fx3d.i +60 -0
- data/swig-interfaces/fxdefs.i +419 -0
- data/swig-interfaces/handlers.i +615 -0
- data/swig-interfaces/iconlistmodule.i +37 -0
- data/swig-interfaces/icons.i +48 -0
- data/swig-interfaces/ignore-message-handlers.rb +16 -0
- data/swig-interfaces/image.i +49 -0
- data/swig-interfaces/labelmodule.i +47 -0
- data/swig-interfaces/layout.i +47 -0
- data/swig-interfaces/listmodule.i +37 -0
- data/swig-interfaces/macros.i +1326 -0
- data/swig-interfaces/markfuncs.i +210 -0
- data/swig-interfaces/mdi.i +38 -0
- data/swig-interfaces/menumodule.i +44 -0
- data/swig-interfaces/ruby-typemaps.i +772 -0
- data/swig-interfaces/scintilla.i +57 -0
- data/swig-interfaces/table-module.i +36 -0
- data/swig-interfaces/text-module.i +36 -0
- data/swig-interfaces/treelist-module.i +37 -0
- data/swig-interfaces/ui.i +63 -0
- data/test/README +19 -0
- data/test/TC_FXAccelTable.rb +57 -0
- data/test/TC_FXApp.rb +62 -0
- data/test/TC_FXArc.rb +26 -0
- data/test/TC_FXBMPIcon.rb +15 -0
- data/test/TC_FXBMPImage.rb +15 -0
- data/test/TC_FXButton.rb +78 -0
- data/test/TC_FXCheckButton.rb +57 -0
- data/test/TC_FXComboBox.rb +63 -0
- data/test/TC_FXDC.rb +372 -0
- data/test/TC_FXDCPrint.rb +102 -0
- data/test/TC_FXDCWindow.rb +25 -0
- data/test/TC_FXDataTarget.rb +24 -0
- data/test/TC_FXDialogBox.rb +12 -0
- data/test/TC_FXDirList.rb +30 -0
- data/test/TC_FXExtentd.rb +21 -0
- data/test/TC_FXExtentf.rb +21 -0
- data/test/TC_FXFileAssoc.rb +62 -0
- data/test/TC_FXFileStream.rb +89 -0
- data/test/TC_FXFoldingList.rb +32 -0
- data/test/TC_FXFont.rb +69 -0
- data/test/TC_FXFontDesc.rb +58 -0
- data/test/TC_FXGLGroup.rb +32 -0
- data/test/TC_FXGLShape.rb +28 -0
- data/test/TC_FXGLViewer.rb +20 -0
- data/test/TC_FXGradientBar.rb +89 -0
- data/test/TC_FXHeader.rb +82 -0
- data/test/TC_FXHiliteStyle.rb +23 -0
- data/test/TC_FXIconDict.rb +52 -0
- data/test/TC_FXIconList.rb +192 -0
- data/test/TC_FXId.rb +19 -0
- data/test/TC_FXImage.rb +155 -0
- data/test/TC_FXLight.rb +33 -0
- data/test/TC_FXList.rb +116 -0
- data/test/TC_FXListBox.rb +49 -0
- data/test/TC_FXMainWindow.rb +19 -0
- data/test/TC_FXMat4f.rb +228 -0
- data/test/TC_FXMaterial.rb +75 -0
- data/test/TC_FXMemoryStream.rb +97 -0
- data/test/TC_FXMenuCheck.rb +57 -0
- data/test/TC_FXMenuCommand.rb +12 -0
- data/test/TC_FXMenuRadio.rb +57 -0
- data/test/TC_FXMessageBox.rb +25 -0
- data/test/TC_FXPoint.rb +57 -0
- data/test/TC_FXQuatf.rb +93 -0
- data/test/TC_FXRadioButton.rb +57 -0
- data/test/TC_FXRanged.rb +42 -0
- data/test/TC_FXRangef.rb +42 -0
- data/test/TC_FXRectangle.rb +88 -0
- data/test/TC_FXRegion.rb +54 -0
- data/test/TC_FXRegistry.rb +27 -0
- data/test/TC_FXScrollArea.rb +28 -0
- data/test/TC_FXScrollWindow.rb +28 -0
- data/test/TC_FXSegment.rb +22 -0
- data/test/TC_FXSettings.rb +34 -0
- data/test/TC_FXShell.rb +26 -0
- data/test/TC_FXSize.rb +54 -0
- data/test/TC_FXStream.rb +11 -0
- data/test/TC_FXTable.rb +561 -0
- data/test/TC_FXTableItem.rb +48 -0
- data/test/TC_FXText.rb +96 -0
- data/test/TC_FXTopWindow.rb +32 -0
- data/test/TC_FXTreeList.rb +100 -0
- data/test/TC_FXTreeListBox.rb +41 -0
- data/test/TC_FXUndoList.rb +43 -0
- data/test/TC_FXVec2d.rb +142 -0
- data/test/TC_FXVec2f.rb +137 -0
- data/test/TC_FXVec3d.rb +150 -0
- data/test/TC_FXVec3f.rb +150 -0
- data/test/TC_FXVec4f.rb +158 -0
- data/test/TC_FXViewport.rb +30 -0
- data/test/TC_FXXBMIcon.rb +15 -0
- data/test/TC_FXXBMImage.rb +15 -0
- data/test/TC_FXXPMIcon.rb +15 -0
- data/test/TC_FXXPMImage.rb +15 -0
- data/test/TC_Misc.rb +157 -0
- data/test/TC_downcast.rb +15 -0
- data/test/TS_All.rb +25 -0
- data/test/blankpage.ps +166 -0
- data/test/howdypage.ps +181 -0
- data/test/stress1.rb +92 -0
- data/test/stress2.rb +51 -0
- data/test/stress3.rb +117 -0
- data/test/testcase.rb +37 -0
- metadata +1107 -0
@@ -0,0 +1,2874 @@
|
|
1
|
+
/* ----------------------------------------------------------------------------
|
2
|
+
* This file was automatically generated by SWIG (http://www.swig.org).
|
3
|
+
* Version 1.3.22
|
4
|
+
*
|
5
|
+
* This file is not intended to be easily readable and contains a number of
|
6
|
+
* coding conventions designed to improve portability and efficiency. Do not make
|
7
|
+
* changes to this file unless you know what you are doing--modify the SWIG
|
8
|
+
* interface file instead.
|
9
|
+
* ----------------------------------------------------------------------------- */
|
10
|
+
|
11
|
+
#define SWIG_NOINCLUDE
|
12
|
+
|
13
|
+
#ifdef __cplusplus
|
14
|
+
template<class T> class SwigValueWrapper {
|
15
|
+
T *tt;
|
16
|
+
public:
|
17
|
+
SwigValueWrapper() : tt(0) { }
|
18
|
+
SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
|
19
|
+
SwigValueWrapper(const T& t) : tt(new T(t)) { }
|
20
|
+
~SwigValueWrapper() { delete tt; }
|
21
|
+
SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
|
22
|
+
operator T&() const { return *tt; }
|
23
|
+
T *operator&() { return tt; }
|
24
|
+
private:
|
25
|
+
SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
|
26
|
+
};
|
27
|
+
#endif
|
28
|
+
|
29
|
+
/* ruby.swg */
|
30
|
+
/* Implementation : RUBY */
|
31
|
+
#define SWIGRUBY 1
|
32
|
+
|
33
|
+
#include "ruby.h"
|
34
|
+
|
35
|
+
/* Flags for pointer conversion */
|
36
|
+
#define SWIG_POINTER_EXCEPTION 0x1
|
37
|
+
#define SWIG_POINTER_DISOWN 0x2
|
38
|
+
|
39
|
+
#define NUM2USHRT(n) (\
|
40
|
+
(0 <= NUM2UINT(n) && NUM2UINT(n) <= USHRT_MAX)\
|
41
|
+
? (unsigned short) NUM2UINT(n) \
|
42
|
+
: (rb_raise(rb_eArgError, "integer %d out of range of `unsigned short'",\
|
43
|
+
NUM2UINT(n)), (short)0)\
|
44
|
+
)
|
45
|
+
|
46
|
+
#define NUM2SHRT(n) (\
|
47
|
+
(SHRT_MIN <= NUM2INT(n) && NUM2INT(n) <= SHRT_MAX)\
|
48
|
+
? (short)NUM2INT(n)\
|
49
|
+
: (rb_raise(rb_eArgError, "integer %d out of range of `short'",\
|
50
|
+
NUM2INT(n)), (short)0)\
|
51
|
+
)
|
52
|
+
|
53
|
+
/* Ruby 1.7 defines NUM2LL(), LL2NUM() and ULL2NUM() macros */
|
54
|
+
#ifndef NUM2LL
|
55
|
+
#define NUM2LL(x) NUM2LONG((x))
|
56
|
+
#endif
|
57
|
+
#ifndef LL2NUM
|
58
|
+
#define LL2NUM(x) INT2NUM((long) (x))
|
59
|
+
#endif
|
60
|
+
#ifndef ULL2NUM
|
61
|
+
#define ULL2NUM(x) UINT2NUM((unsigned long) (x))
|
62
|
+
#endif
|
63
|
+
|
64
|
+
/* Ruby 1.7 doesn't (yet) define NUM2ULL() */
|
65
|
+
#ifndef NUM2ULL
|
66
|
+
#ifdef HAVE_LONG_LONG
|
67
|
+
#define NUM2ULL(x) rb_num2ull((x))
|
68
|
+
#else
|
69
|
+
#define NUM2ULL(x) NUM2ULONG(x)
|
70
|
+
#endif
|
71
|
+
#endif
|
72
|
+
|
73
|
+
/*
|
74
|
+
* Need to be very careful about how these macros are defined, especially
|
75
|
+
* when compiling C++ code or C code with an ANSI C compiler.
|
76
|
+
*
|
77
|
+
* VALUEFUNC(f) is a macro used to typecast a C function that implements
|
78
|
+
* a Ruby method so that it can be passed as an argument to API functions
|
79
|
+
* like rb_define_method() and rb_define_singleton_method().
|
80
|
+
*
|
81
|
+
* VOIDFUNC(f) is a macro used to typecast a C function that implements
|
82
|
+
* either the "mark" or "free" stuff for a Ruby Data object, so that it
|
83
|
+
* can be passed as an argument to API functions like Data_Wrap_Struct()
|
84
|
+
* and Data_Make_Struct().
|
85
|
+
*/
|
86
|
+
|
87
|
+
#ifdef __cplusplus
|
88
|
+
# ifndef RUBY_METHOD_FUNC /* These definitions should work for Ruby 1.4.6 */
|
89
|
+
# define PROTECTFUNC(f) ((VALUE (*)()) f)
|
90
|
+
# define VALUEFUNC(f) ((VALUE (*)()) f)
|
91
|
+
# define VOIDFUNC(f) ((void (*)()) f)
|
92
|
+
# else
|
93
|
+
# ifndef ANYARGS /* These definitions should work for Ruby 1.6 */
|
94
|
+
# define PROTECTFUNC(f) ((VALUE (*)()) f)
|
95
|
+
# define VALUEFUNC(f) ((VALUE (*)()) f)
|
96
|
+
# define VOIDFUNC(f) ((RUBY_DATA_FUNC) f)
|
97
|
+
# else /* These definitions should work for Ruby 1.7+ */
|
98
|
+
# define PROTECTFUNC(f) ((VALUE (*)(VALUE)) f)
|
99
|
+
# define VALUEFUNC(f) ((VALUE (*)(ANYARGS)) f)
|
100
|
+
# define VOIDFUNC(f) ((RUBY_DATA_FUNC) f)
|
101
|
+
# endif
|
102
|
+
# endif
|
103
|
+
#else
|
104
|
+
# define VALUEFUNC(f) (f)
|
105
|
+
# define VOIDFUNC(f) (f)
|
106
|
+
#endif
|
107
|
+
|
108
|
+
typedef struct {
|
109
|
+
VALUE klass;
|
110
|
+
VALUE mImpl;
|
111
|
+
void (*mark)(void *);
|
112
|
+
void (*destroy)(void *);
|
113
|
+
} swig_class;
|
114
|
+
|
115
|
+
/* Don't use for expressions have side effect */
|
116
|
+
#ifndef RB_STRING_VALUE
|
117
|
+
#define RB_STRING_VALUE(s) (TYPE(s) == T_STRING ? (s) : (*(volatile VALUE *)&(s) = rb_str_to_str(s)))
|
118
|
+
#endif
|
119
|
+
#ifndef StringValue
|
120
|
+
#define StringValue(s) RB_STRING_VALUE(s)
|
121
|
+
#endif
|
122
|
+
#ifndef StringValuePtr
|
123
|
+
#define StringValuePtr(s) RSTRING(RB_STRING_VALUE(s))->ptr
|
124
|
+
#endif
|
125
|
+
#ifndef StringValueLen
|
126
|
+
#define StringValueLen(s) RSTRING(RB_STRING_VALUE(s))->len
|
127
|
+
#endif
|
128
|
+
#ifndef SafeStringValue
|
129
|
+
#define SafeStringValue(v) do {\
|
130
|
+
StringValue(v);\
|
131
|
+
rb_check_safe_str(v);\
|
132
|
+
} while (0)
|
133
|
+
#endif
|
134
|
+
|
135
|
+
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
|
136
|
+
#define rb_define_alloc_func(klass, func) rb_define_singleton_method((klass), "new", VALUEFUNC((func)), -1)
|
137
|
+
#define rb_undef_alloc_func(klass) rb_undef_method(CLASS_OF((klass)), "new")
|
138
|
+
#endif
|
139
|
+
|
140
|
+
/* Contract support */
|
141
|
+
|
142
|
+
#define SWIG_contract_assert(expr, msg) if (!(expr)) { rb_raise(rb_eRuntimeError, (char *) msg ); } else
|
143
|
+
|
144
|
+
|
145
|
+
/*************************************************************** -*- c -*-
|
146
|
+
* ruby/precommon.swg
|
147
|
+
*
|
148
|
+
* Rename all exported symbols from common.swg, to avoid symbol
|
149
|
+
* clashes if multiple interpreters are included
|
150
|
+
*
|
151
|
+
************************************************************************/
|
152
|
+
|
153
|
+
#define SWIG_TypeRegister SWIG_Ruby_TypeRegister
|
154
|
+
#define SWIG_TypeCheck SWIG_Ruby_TypeCheck
|
155
|
+
#define SWIG_TypeCast SWIG_Ruby_TypeCast
|
156
|
+
#define SWIG_TypeDynamicCast SWIG_Ruby_TypeDynamicCast
|
157
|
+
#define SWIG_TypeName SWIG_Ruby_TypeName
|
158
|
+
#define SWIG_TypePrettyName SWIG_Ruby_TypePrettyName
|
159
|
+
#define SWIG_TypeQuery SWIG_Ruby_TypeQuery
|
160
|
+
#define SWIG_TypeClientData SWIG_Ruby_TypeClientData
|
161
|
+
#define SWIG_PackData SWIG_Ruby_PackData
|
162
|
+
#define SWIG_UnpackData SWIG_Ruby_UnpackData
|
163
|
+
|
164
|
+
/* Also rename all exported symbols from rubydef.swig */
|
165
|
+
|
166
|
+
/* Common SWIG API */
|
167
|
+
#define SWIG_ConvertPtr(obj, pp, type, flags) \
|
168
|
+
SWIG_Ruby_ConvertPtr(obj, pp, type, flags)
|
169
|
+
#define SWIG_NewPointerObj(p, type, flags) \
|
170
|
+
SWIG_Ruby_NewPointerObj(p, type, flags)
|
171
|
+
#define SWIG_MustGetPtr(p, type, argnum, flags) \
|
172
|
+
SWIG_Ruby_MustGetPtr(p, type, argnum, flags)
|
173
|
+
|
174
|
+
/* Ruby-specific SWIG API */
|
175
|
+
|
176
|
+
#define SWIG_InitRuntime() \
|
177
|
+
SWIG_Ruby_InitRuntime()
|
178
|
+
#define SWIG_define_class(ty) \
|
179
|
+
SWIG_Ruby_define_class(ty)
|
180
|
+
#define SWIG_NewClassInstance(value, ty) \
|
181
|
+
SWIG_Ruby_NewClassInstance(value, ty)
|
182
|
+
#define SWIG_MangleStr(value) \
|
183
|
+
SWIG_Ruby_MangleStr(value)
|
184
|
+
#define SWIG_CheckConvert(value, ty) \
|
185
|
+
SWIG_Ruby_CheckConvert(value, ty)
|
186
|
+
#define SWIG_NewPackedObj(ptr, sz, ty) \
|
187
|
+
SWIG_Ruby_NewPackedObj(ptr, sz, ty)
|
188
|
+
#define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
|
189
|
+
SWIG_Ruby_ConvertPacked(obj, ptr, sz, ty, flags)
|
190
|
+
|
191
|
+
|
192
|
+
/***********************************************************************
|
193
|
+
* common.swg
|
194
|
+
*
|
195
|
+
* This file contains generic SWIG runtime support for pointer
|
196
|
+
* type checking as well as a few commonly used macros to control
|
197
|
+
* external linkage.
|
198
|
+
*
|
199
|
+
* Author : David Beazley (beazley@cs.uchicago.edu)
|
200
|
+
*
|
201
|
+
* Copyright (c) 1999-2000, The University of Chicago
|
202
|
+
*
|
203
|
+
* This file may be freely redistributed without license or fee provided
|
204
|
+
* this copyright message remains intact.
|
205
|
+
************************************************************************/
|
206
|
+
|
207
|
+
#include <string.h>
|
208
|
+
|
209
|
+
#if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
|
210
|
+
# if defined(_MSC_VER) || defined(__GNUC__)
|
211
|
+
# if defined(STATIC_LINKED)
|
212
|
+
# define SWIGEXPORT(a) a
|
213
|
+
# define SWIGIMPORT(a) extern a
|
214
|
+
# else
|
215
|
+
# define SWIGEXPORT(a) __declspec(dllexport) a
|
216
|
+
# define SWIGIMPORT(a) extern a
|
217
|
+
# endif
|
218
|
+
# else
|
219
|
+
# if defined(__BORLANDC__)
|
220
|
+
# define SWIGEXPORT(a) a _export
|
221
|
+
# define SWIGIMPORT(a) a _export
|
222
|
+
# else
|
223
|
+
# define SWIGEXPORT(a) a
|
224
|
+
# define SWIGIMPORT(a) a
|
225
|
+
# endif
|
226
|
+
# endif
|
227
|
+
#else
|
228
|
+
# define SWIGEXPORT(a) a
|
229
|
+
# define SWIGIMPORT(a) a
|
230
|
+
#endif
|
231
|
+
|
232
|
+
#ifdef SWIG_GLOBAL
|
233
|
+
# define SWIGRUNTIME(a) SWIGEXPORT(a)
|
234
|
+
#else
|
235
|
+
# define SWIGRUNTIME(a) static a
|
236
|
+
#endif
|
237
|
+
|
238
|
+
#ifdef __cplusplus
|
239
|
+
extern "C" {
|
240
|
+
#endif
|
241
|
+
|
242
|
+
typedef void *(*swig_converter_func)(void *);
|
243
|
+
typedef struct swig_type_info *(*swig_dycast_func)(void **);
|
244
|
+
|
245
|
+
typedef struct swig_type_info {
|
246
|
+
const char *name;
|
247
|
+
swig_converter_func converter;
|
248
|
+
const char *str;
|
249
|
+
void *clientdata;
|
250
|
+
swig_dycast_func dcast;
|
251
|
+
struct swig_type_info *next;
|
252
|
+
struct swig_type_info *prev;
|
253
|
+
} swig_type_info;
|
254
|
+
|
255
|
+
#ifdef SWIG_NOINCLUDE
|
256
|
+
|
257
|
+
SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
|
258
|
+
SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
|
259
|
+
SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
|
260
|
+
SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
|
261
|
+
SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
|
262
|
+
SWIGIMPORT(const char *) SWIG_TypePrettyName(const swig_type_info *);
|
263
|
+
SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
|
264
|
+
SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
|
265
|
+
SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
|
266
|
+
SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
|
267
|
+
|
268
|
+
#else
|
269
|
+
|
270
|
+
static swig_type_info *swig_type_list = 0;
|
271
|
+
static swig_type_info **swig_type_list_handle = &swig_type_list;
|
272
|
+
|
273
|
+
/* Register a type mapping with the type-checking */
|
274
|
+
SWIGRUNTIME(swig_type_info *)
|
275
|
+
SWIG_TypeRegister(swig_type_info *ti) {
|
276
|
+
swig_type_info *tc, *head, *ret, *next;
|
277
|
+
/* Check to see if this type has already been registered */
|
278
|
+
tc = *swig_type_list_handle;
|
279
|
+
while (tc) {
|
280
|
+
if (strcmp(tc->name, ti->name) == 0) {
|
281
|
+
/* Already exists in the table. Just add additional types to the list */
|
282
|
+
if (tc->clientdata) ti->clientdata = tc->clientdata;
|
283
|
+
head = tc;
|
284
|
+
next = tc->next;
|
285
|
+
goto l1;
|
286
|
+
}
|
287
|
+
tc = tc->prev;
|
288
|
+
}
|
289
|
+
head = ti;
|
290
|
+
next = 0;
|
291
|
+
|
292
|
+
/* Place in list */
|
293
|
+
ti->prev = *swig_type_list_handle;
|
294
|
+
*swig_type_list_handle = ti;
|
295
|
+
|
296
|
+
/* Build linked lists */
|
297
|
+
l1:
|
298
|
+
ret = head;
|
299
|
+
tc = ti + 1;
|
300
|
+
/* Patch up the rest of the links */
|
301
|
+
while (tc->name) {
|
302
|
+
head->next = tc;
|
303
|
+
tc->prev = head;
|
304
|
+
head = tc;
|
305
|
+
tc++;
|
306
|
+
}
|
307
|
+
if (next) next->prev = head;
|
308
|
+
head->next = next;
|
309
|
+
return ret;
|
310
|
+
}
|
311
|
+
|
312
|
+
/* Check the typename */
|
313
|
+
SWIGRUNTIME(swig_type_info *)
|
314
|
+
SWIG_TypeCheck(char *c, swig_type_info *ty) {
|
315
|
+
swig_type_info *s;
|
316
|
+
if (!ty) return 0; /* Void pointer */
|
317
|
+
s = ty->next; /* First element always just a name */
|
318
|
+
do {
|
319
|
+
if (strcmp(s->name,c) == 0) {
|
320
|
+
if (s == ty->next) return s;
|
321
|
+
/* Move s to the top of the linked list */
|
322
|
+
s->prev->next = s->next;
|
323
|
+
if (s->next) {
|
324
|
+
s->next->prev = s->prev;
|
325
|
+
}
|
326
|
+
/* Insert s as second element in the list */
|
327
|
+
s->next = ty->next;
|
328
|
+
if (ty->next) ty->next->prev = s;
|
329
|
+
ty->next = s;
|
330
|
+
s->prev = ty;
|
331
|
+
return s;
|
332
|
+
}
|
333
|
+
s = s->next;
|
334
|
+
} while (s && (s != ty->next));
|
335
|
+
return 0;
|
336
|
+
}
|
337
|
+
|
338
|
+
/* Cast a pointer up an inheritance hierarchy */
|
339
|
+
SWIGRUNTIME(void *)
|
340
|
+
SWIG_TypeCast(swig_type_info *ty, void *ptr) {
|
341
|
+
if ((!ty) || (!ty->converter)) return ptr;
|
342
|
+
return (*ty->converter)(ptr);
|
343
|
+
}
|
344
|
+
|
345
|
+
/* Dynamic pointer casting. Down an inheritance hierarchy */
|
346
|
+
SWIGRUNTIME(swig_type_info *)
|
347
|
+
SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
|
348
|
+
swig_type_info *lastty = ty;
|
349
|
+
if (!ty || !ty->dcast) return ty;
|
350
|
+
while (ty && (ty->dcast)) {
|
351
|
+
ty = (*ty->dcast)(ptr);
|
352
|
+
if (ty) lastty = ty;
|
353
|
+
}
|
354
|
+
return lastty;
|
355
|
+
}
|
356
|
+
|
357
|
+
/* Return the name associated with this type */
|
358
|
+
SWIGRUNTIME(const char *)
|
359
|
+
SWIG_TypeName(const swig_type_info *ty) {
|
360
|
+
return ty->name;
|
361
|
+
}
|
362
|
+
|
363
|
+
/* Return the pretty name associated with this type,
|
364
|
+
that is an unmangled type name in a form presentable to the user.
|
365
|
+
*/
|
366
|
+
SWIGRUNTIME(const char *)
|
367
|
+
SWIG_TypePrettyName(const swig_type_info *type) {
|
368
|
+
/* The "str" field contains the equivalent pretty names of the
|
369
|
+
type, separated by vertical-bar characters. We choose
|
370
|
+
to print the last name, as it is often (?) the most
|
371
|
+
specific. */
|
372
|
+
if (type->str != NULL) {
|
373
|
+
const char *last_name = type->str;
|
374
|
+
const char *s;
|
375
|
+
for (s = type->str; *s; s++)
|
376
|
+
if (*s == '|') last_name = s+1;
|
377
|
+
return last_name;
|
378
|
+
}
|
379
|
+
else
|
380
|
+
return type->name;
|
381
|
+
}
|
382
|
+
|
383
|
+
/*
|
384
|
+
Compare two type names skipping the space characters, therefore
|
385
|
+
"char*" == "char *" and "Class<int>" == "Class<int >", etc.
|
386
|
+
|
387
|
+
Return 0 when the two name types are equivalent, as in
|
388
|
+
strncmp, but skipping ' '.
|
389
|
+
*/
|
390
|
+
static int
|
391
|
+
SWIG_TypeNameComp(const char *f1, const char *l1,
|
392
|
+
const char *f2, const char *l2) {
|
393
|
+
for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
|
394
|
+
while ((*f1 == ' ') && (f1 != l1)) ++f1;
|
395
|
+
while ((*f2 == ' ') && (f2 != l2)) ++f2;
|
396
|
+
if (*f1 != *f2) return *f1 - *f2;
|
397
|
+
}
|
398
|
+
return (l1 - f1) - (l2 - f2);
|
399
|
+
}
|
400
|
+
|
401
|
+
/*
|
402
|
+
Check type equivalence in a name list like <name1>|<name2>|...
|
403
|
+
*/
|
404
|
+
static int
|
405
|
+
SWIG_TypeEquiv(const char *nb, const char *tb) {
|
406
|
+
int equiv = 0;
|
407
|
+
const char* te = tb + strlen(tb);
|
408
|
+
const char* ne = nb;
|
409
|
+
while (!equiv && *ne) {
|
410
|
+
for (nb = ne; *ne; ++ne) {
|
411
|
+
if (*ne == '|') break;
|
412
|
+
}
|
413
|
+
equiv = SWIG_TypeNameComp(nb, ne, tb, te) == 0;
|
414
|
+
if (*ne) ++ne;
|
415
|
+
}
|
416
|
+
return equiv;
|
417
|
+
}
|
418
|
+
|
419
|
+
|
420
|
+
/* Search for a swig_type_info structure */
|
421
|
+
SWIGRUNTIME(swig_type_info *)
|
422
|
+
SWIG_TypeQuery(const char *name) {
|
423
|
+
swig_type_info *ty = *swig_type_list_handle;
|
424
|
+
while (ty) {
|
425
|
+
if (ty->str && (SWIG_TypeEquiv(ty->str,name))) return ty;
|
426
|
+
if (ty->name && (strcmp(name,ty->name) == 0)) return ty;
|
427
|
+
ty = ty->prev;
|
428
|
+
}
|
429
|
+
return 0;
|
430
|
+
}
|
431
|
+
|
432
|
+
/* Set the clientdata field for a type */
|
433
|
+
SWIGRUNTIME(void)
|
434
|
+
SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
|
435
|
+
swig_type_info *tc, *equiv;
|
436
|
+
if (ti->clientdata == clientdata) return;
|
437
|
+
ti->clientdata = clientdata;
|
438
|
+
equiv = ti->next;
|
439
|
+
while (equiv) {
|
440
|
+
if (!equiv->converter) {
|
441
|
+
tc = *swig_type_list_handle;
|
442
|
+
while (tc) {
|
443
|
+
if ((strcmp(tc->name, equiv->name) == 0))
|
444
|
+
SWIG_TypeClientData(tc,clientdata);
|
445
|
+
tc = tc->prev;
|
446
|
+
}
|
447
|
+
}
|
448
|
+
equiv = equiv->next;
|
449
|
+
}
|
450
|
+
}
|
451
|
+
|
452
|
+
/* Pack binary data into a string */
|
453
|
+
SWIGRUNTIME(char *)
|
454
|
+
SWIG_PackData(char *c, void *ptr, int sz) {
|
455
|
+
static char hex[17] = "0123456789abcdef";
|
456
|
+
unsigned char *u = (unsigned char *) ptr;
|
457
|
+
const unsigned char *eu = u + sz;
|
458
|
+
register unsigned char uu;
|
459
|
+
for (; u != eu; ++u) {
|
460
|
+
uu = *u;
|
461
|
+
*(c++) = hex[(uu & 0xf0) >> 4];
|
462
|
+
*(c++) = hex[uu & 0xf];
|
463
|
+
}
|
464
|
+
return c;
|
465
|
+
}
|
466
|
+
|
467
|
+
/* Unpack binary data from a string */
|
468
|
+
SWIGRUNTIME(char *)
|
469
|
+
SWIG_UnpackData(char *c, void *ptr, int sz) {
|
470
|
+
register unsigned char uu = 0;
|
471
|
+
register int d;
|
472
|
+
unsigned char *u = (unsigned char *) ptr;
|
473
|
+
const unsigned char *eu = u + sz;
|
474
|
+
for (; u != eu; ++u) {
|
475
|
+
d = *(c++);
|
476
|
+
if ((d >= '0') && (d <= '9'))
|
477
|
+
uu = ((d - '0') << 4);
|
478
|
+
else if ((d >= 'a') && (d <= 'f'))
|
479
|
+
uu = ((d - ('a'-10)) << 4);
|
480
|
+
d = *(c++);
|
481
|
+
if ((d >= '0') && (d <= '9'))
|
482
|
+
uu |= (d - '0');
|
483
|
+
else if ((d >= 'a') && (d <= 'f'))
|
484
|
+
uu |= (d - ('a'-10));
|
485
|
+
*u = uu;
|
486
|
+
}
|
487
|
+
return c;
|
488
|
+
}
|
489
|
+
|
490
|
+
#endif
|
491
|
+
|
492
|
+
#ifdef __cplusplus
|
493
|
+
}
|
494
|
+
#endif
|
495
|
+
|
496
|
+
/* rubydec.swg -*- c -*- */
|
497
|
+
#ifdef __cplusplus
|
498
|
+
extern "C" {
|
499
|
+
#endif
|
500
|
+
|
501
|
+
SWIGIMPORT(void) SWIG_Ruby_InitRuntime(void);
|
502
|
+
SWIGIMPORT(void) SWIG_Ruby_define_class(swig_type_info *);
|
503
|
+
SWIGIMPORT(VALUE) SWIG_Ruby_NewPointerObj(void *, swig_type_info *, int);
|
504
|
+
SWIGIMPORT(VALUE) SWIG_Ruby_NewClassInstance(VALUE, swig_type_info *);
|
505
|
+
SWIGIMPORT(char *) SWIG_Ruby_MangleStr(VALUE);
|
506
|
+
SWIGIMPORT(int) SWIG_Ruby_ConvertPtr(VALUE, void**, swig_type_info *, int);
|
507
|
+
SWIGIMPORT(void *) SWIG_Ruby_MustGetPtr(VALUE, swig_type_info *, int, int);
|
508
|
+
SWIGIMPORT(int) SWIG_Ruby_CheckConvert(VALUE, swig_type_info *);
|
509
|
+
SWIGIMPORT(VALUE) SWIG_Ruby_NewPackedObj(void *ptr, int sz, swig_type_info *type);
|
510
|
+
SWIGIMPORT(void) SWIG_Ruby_ConvertPacked(VALUE obj, void *ptr, int sz, swig_type_info *ty, int flags);
|
511
|
+
|
512
|
+
#ifdef __cplusplus
|
513
|
+
}
|
514
|
+
#endif
|
515
|
+
|
516
|
+
|
517
|
+
/* -------- TYPES TABLE (BEGIN) -------- */
|
518
|
+
|
519
|
+
#define SWIGTYPE_p_FXDCWindow swig_types[0]
|
520
|
+
#define SWIGTYPE_p_FXDC swig_types[1]
|
521
|
+
#define SWIGTYPE_p_FXPrinter swig_types[2]
|
522
|
+
#define SWIGTYPE_p_FXPSBounds swig_types[3]
|
523
|
+
#define SWIGTYPE_p_FXBitmap swig_types[4]
|
524
|
+
#define SWIGTYPE_p_FXRectangle swig_types[5]
|
525
|
+
#define SWIGTYPE_p_FXFont swig_types[6]
|
526
|
+
#define SWIGTYPE_p_FXDrawable swig_types[7]
|
527
|
+
#define SWIGTYPE_p_FXString swig_types[8]
|
528
|
+
#define SWIGTYPE_p_FXDCPrint swig_types[9]
|
529
|
+
#define SWIGTYPE_p_FXIcon swig_types[10]
|
530
|
+
#define SWIGTYPE_p_FXRegion swig_types[11]
|
531
|
+
#define SWIGTYPE_p_FXArc swig_types[12]
|
532
|
+
#define SWIGTYPE_p_FXApp swig_types[13]
|
533
|
+
#define SWIGTYPE_p_FXEvent swig_types[14]
|
534
|
+
#define SWIGTYPE_p_FXImage swig_types[15]
|
535
|
+
#define SWIGTYPE_p_FXSegment swig_types[16]
|
536
|
+
static swig_type_info *swig_types[18];
|
537
|
+
|
538
|
+
/* -------- TYPES TABLE (END) -------- */
|
539
|
+
|
540
|
+
#define SWIG_init Init_dc
|
541
|
+
#define SWIG_name "Dc"
|
542
|
+
|
543
|
+
|
544
|
+
static void SWIG_AsVal(VALUE obj, int *val)
|
545
|
+
{
|
546
|
+
*val = (int) NUM2INT(obj);
|
547
|
+
}
|
548
|
+
|
549
|
+
|
550
|
+
#include "FXRbCommon.h"
|
551
|
+
|
552
|
+
|
553
|
+
#define SWIG_MemoryError 1
|
554
|
+
#define SWIG_IOError 2
|
555
|
+
#define SWIG_RuntimeError 3
|
556
|
+
#define SWIG_IndexError 4
|
557
|
+
#define SWIG_TypeError 5
|
558
|
+
#define SWIG_DivisionByZero 6
|
559
|
+
#define SWIG_OverflowError 7
|
560
|
+
#define SWIG_SyntaxError 8
|
561
|
+
#define SWIG_ValueError 9
|
562
|
+
#define SWIG_SystemError 10
|
563
|
+
#define SWIG_UnknownError 99
|
564
|
+
|
565
|
+
|
566
|
+
static void SWIG_exception_(int code, const char *msg) {
|
567
|
+
switch (code) {
|
568
|
+
case SWIG_MemoryError:
|
569
|
+
rb_raise(rb_eNoMemError, msg);
|
570
|
+
break;
|
571
|
+
case SWIG_IOError:
|
572
|
+
rb_raise(rb_eIOError, msg);
|
573
|
+
break;
|
574
|
+
case SWIG_RuntimeError:
|
575
|
+
rb_raise(rb_eRuntimeError, msg);
|
576
|
+
break;
|
577
|
+
case SWIG_IndexError:
|
578
|
+
rb_raise(rb_eIndexError, msg);
|
579
|
+
break;
|
580
|
+
case SWIG_TypeError:
|
581
|
+
rb_raise(rb_eTypeError, msg);
|
582
|
+
break;
|
583
|
+
case SWIG_DivisionByZero:
|
584
|
+
rb_raise(rb_eZeroDivError, msg);
|
585
|
+
break;
|
586
|
+
case SWIG_OverflowError:
|
587
|
+
rb_raise(rb_eRangeError, msg);
|
588
|
+
break;
|
589
|
+
case SWIG_SyntaxError:
|
590
|
+
rb_raise(rb_eSyntaxError, msg);
|
591
|
+
break;
|
592
|
+
case SWIG_ValueError:
|
593
|
+
rb_raise(rb_eArgError, msg);
|
594
|
+
break;
|
595
|
+
case SWIG_SystemError:
|
596
|
+
rb_raise(rb_eFatal, msg);
|
597
|
+
break;
|
598
|
+
case SWIG_UnknownError:
|
599
|
+
rb_raise(rb_eRuntimeError, msg);
|
600
|
+
break;
|
601
|
+
default:
|
602
|
+
break;
|
603
|
+
}
|
604
|
+
}
|
605
|
+
|
606
|
+
#define SWIG_exception(a, b) SWIG_exception_((a), (b))
|
607
|
+
|
608
|
+
|
609
|
+
#include <stdexcept>
|
610
|
+
|
611
|
+
|
612
|
+
inline FXColor to_FXColor(VALUE obj){
|
613
|
+
if(TYPE(obj)==T_STRING){
|
614
|
+
return fxcolorfromname(StringValuePtr(obj));
|
615
|
+
}
|
616
|
+
else if(TYPE(obj)==T_SYMBOL){
|
617
|
+
return fxcolorfromname(rb_id2name(SYM2ID(obj)));
|
618
|
+
}
|
619
|
+
else{
|
620
|
+
return NUM2ULONG(obj);
|
621
|
+
}
|
622
|
+
}
|
623
|
+
|
624
|
+
|
625
|
+
inline FXString to_FXString(VALUE obj){
|
626
|
+
if(!NIL_P(obj)){
|
627
|
+
Check_Type(obj,T_STRING);
|
628
|
+
return FXString(StringValuePtr(obj));
|
629
|
+
}
|
630
|
+
else{
|
631
|
+
return FXString::null;
|
632
|
+
}
|
633
|
+
}
|
634
|
+
|
635
|
+
|
636
|
+
inline FXbool to_FXbool(VALUE obj){
|
637
|
+
if (obj == Qtrue || obj == Qfalse){
|
638
|
+
return (obj == Qtrue) ? TRUE : FALSE;
|
639
|
+
}
|
640
|
+
else{
|
641
|
+
return static_cast<FXbool>(NUM2UINT(obj));
|
642
|
+
}
|
643
|
+
}
|
644
|
+
|
645
|
+
|
646
|
+
static swig_type_info* FXEventTypeInfo=0;
|
647
|
+
|
648
|
+
inline void* to_FXEvent(VALUE obj){
|
649
|
+
void* ptr;
|
650
|
+
if(!FXEventTypeInfo){
|
651
|
+
FXEventTypeInfo=SWIG_TypeQuery("FXEvent *");
|
652
|
+
FXASSERT(FXEventTypeInfo!=0);
|
653
|
+
}
|
654
|
+
SWIG_ConvertPtr(obj,&ptr,FXEventTypeInfo,1);
|
655
|
+
return ptr;
|
656
|
+
}
|
657
|
+
|
658
|
+
FXSegment *new_FXSegment(FXshort x1,FXshort y1,FXshort x2,FXshort y2){
|
659
|
+
FXSegment* seg=new FXSegment;
|
660
|
+
seg->x1=x1; seg->y1=y1; seg->x2=x2; seg->y2=y2;
|
661
|
+
return seg;
|
662
|
+
}
|
663
|
+
|
664
|
+
swig_class cFXSegment;
|
665
|
+
static void free_FXSegment(FXSegment *);
|
666
|
+
FXArc *new_FXArc(FXshort x,FXshort y,FXshort w,FXshort h,FXshort a,FXshort b){
|
667
|
+
FXArc* arc=new FXArc;
|
668
|
+
arc->x=x; arc->y=y; arc->w=w; arc->h=h; arc->a=a; arc->b=b;
|
669
|
+
return arc;
|
670
|
+
}
|
671
|
+
|
672
|
+
swig_class cFXArc;
|
673
|
+
static void free_FXArc(FXArc *);
|
674
|
+
FXDC *new_FXDC(FXApp *a){
|
675
|
+
return new FXRbDC(a);
|
676
|
+
}
|
677
|
+
VALUE FXDC_getDashPattern(FXDC const *self){
|
678
|
+
return FXRbMakeArray(self->getDashPattern(), self->getDashLength());
|
679
|
+
}
|
680
|
+
|
681
|
+
swig_class cFXDC;
|
682
|
+
static void free_FXDC(FXDC *);
|
683
|
+
FXDCWindow *new_FXDCWindow__SWIG_0(FXDrawable *drawable,FXEvent *event){
|
684
|
+
return new FXRbDCWindow(drawable,event);
|
685
|
+
}
|
686
|
+
FXDCWindow *new_FXDCWindow__SWIG_1(FXDrawable *drawable){
|
687
|
+
return new FXRbDCWindow(drawable);
|
688
|
+
}
|
689
|
+
|
690
|
+
swig_class cFXDCWindow;
|
691
|
+
static void free_FXDCWindow(FXDCWindow *);
|
692
|
+
|
693
|
+
swig_class cFXPSBounds;
|
694
|
+
static void free_FXPSBounds(FXPSBounds *);
|
695
|
+
|
696
|
+
swig_class cFXPrinter;
|
697
|
+
static void free_FXPrinter(FXPrinter *);
|
698
|
+
FXDCPrint *new_FXDCPrint(FXApp *a){
|
699
|
+
return new FXRbDCPrint(a);
|
700
|
+
}
|
701
|
+
|
702
|
+
swig_class cFXDCPrint;
|
703
|
+
static void free_FXDCPrint(FXDCPrint *);
|
704
|
+
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
|
705
|
+
static VALUE _wrap_FXSegment_allocate(VALUE self) {
|
706
|
+
#else
|
707
|
+
static VALUE _wrap_FXSegment_allocate(int argc, VALUE *argv, VALUE self) {
|
708
|
+
#endif
|
709
|
+
VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_FXSegment);
|
710
|
+
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
|
711
|
+
rb_obj_call_init(vresult, argc, argv);
|
712
|
+
#endif
|
713
|
+
return vresult; }
|
714
|
+
static VALUE _wrap_new_FXSegment(int argc, VALUE *argv, VALUE self) { FXshort arg1 = (FXshort) 0 ; FXshort arg2 = (FXshort) 0 ;
|
715
|
+
FXshort arg3 = (FXshort) 0 ; FXshort arg4 = (FXshort) 0 ; FXSegment *result; if ((argc < 0) || (argc > 4))
|
716
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); if (argc > 0) { arg1 = NUM2SHRT(argv[0]); } if (argc > 1) {
|
717
|
+
arg2 = NUM2SHRT(argv[1]); } if (argc > 2) { arg3 = NUM2SHRT(argv[2]); } if (argc > 3) { arg4 = NUM2SHRT(argv[3]); }
|
718
|
+
result = (FXSegment *)new_FXSegment(arg1,arg2,arg3,arg4); DATA_PTR(self) = result; return self; }
|
719
|
+
static VALUE _wrap_FXSegment_x1_set(int argc, VALUE *argv, VALUE self) { FXSegment *arg1 = (FXSegment *) 0 ; FXshort arg2 ;
|
720
|
+
if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
721
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXSegment, 1); arg2 = NUM2SHRT(argv[0]); if (arg1) (arg1)->x1 = arg2;
|
722
|
+
return Qnil; }
|
723
|
+
static VALUE _wrap_FXSegment_x1_get(int argc, VALUE *argv, VALUE self) { FXSegment *arg1 = (FXSegment *) 0 ; FXshort result;
|
724
|
+
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
725
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXSegment, 1); result = (FXshort) ((arg1)->x1); vresult = INT2NUM(result);
|
726
|
+
return vresult; }
|
727
|
+
static VALUE _wrap_FXSegment_y1_set(int argc, VALUE *argv, VALUE self) { FXSegment *arg1 = (FXSegment *) 0 ; FXshort arg2 ;
|
728
|
+
if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
729
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXSegment, 1); arg2 = NUM2SHRT(argv[0]); if (arg1) (arg1)->y1 = arg2;
|
730
|
+
return Qnil; }
|
731
|
+
static VALUE _wrap_FXSegment_y1_get(int argc, VALUE *argv, VALUE self) { FXSegment *arg1 = (FXSegment *) 0 ; FXshort result;
|
732
|
+
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
733
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXSegment, 1); result = (FXshort) ((arg1)->y1); vresult = INT2NUM(result);
|
734
|
+
return vresult; }
|
735
|
+
static VALUE _wrap_FXSegment_x2_set(int argc, VALUE *argv, VALUE self) { FXSegment *arg1 = (FXSegment *) 0 ; FXshort arg2 ;
|
736
|
+
if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
737
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXSegment, 1); arg2 = NUM2SHRT(argv[0]); if (arg1) (arg1)->x2 = arg2;
|
738
|
+
return Qnil; }
|
739
|
+
static VALUE _wrap_FXSegment_x2_get(int argc, VALUE *argv, VALUE self) { FXSegment *arg1 = (FXSegment *) 0 ; FXshort result;
|
740
|
+
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
741
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXSegment, 1); result = (FXshort) ((arg1)->x2); vresult = INT2NUM(result);
|
742
|
+
return vresult; }
|
743
|
+
static VALUE _wrap_FXSegment_y2_set(int argc, VALUE *argv, VALUE self) { FXSegment *arg1 = (FXSegment *) 0 ; FXshort arg2 ;
|
744
|
+
if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
745
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXSegment, 1); arg2 = NUM2SHRT(argv[0]); if (arg1) (arg1)->y2 = arg2;
|
746
|
+
return Qnil; }
|
747
|
+
static VALUE _wrap_FXSegment_y2_get(int argc, VALUE *argv, VALUE self) { FXSegment *arg1 = (FXSegment *) 0 ; FXshort result;
|
748
|
+
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
749
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXSegment, 1); result = (FXshort) ((arg1)->y2); vresult = INT2NUM(result);
|
750
|
+
return vresult; }
|
751
|
+
static void
|
752
|
+
free_FXSegment(FXSegment *arg1) {
|
753
|
+
delete arg1;
|
754
|
+
}
|
755
|
+
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
|
756
|
+
static VALUE _wrap_FXArc_allocate(VALUE self) {
|
757
|
+
#else
|
758
|
+
static VALUE _wrap_FXArc_allocate(int argc, VALUE *argv, VALUE self) {
|
759
|
+
#endif
|
760
|
+
VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_FXArc);
|
761
|
+
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
|
762
|
+
rb_obj_call_init(vresult, argc, argv);
|
763
|
+
#endif
|
764
|
+
return vresult; }
|
765
|
+
static VALUE _wrap_new_FXArc(int argc, VALUE *argv, VALUE self) { FXshort arg1 = (FXshort) 0 ; FXshort arg2 = (FXshort) 0 ;
|
766
|
+
FXshort arg3 = (FXshort) 0 ; FXshort arg4 = (FXshort) 0 ; FXshort arg5 = (FXshort) 0 ; FXshort arg6 = (FXshort) 0 ;
|
767
|
+
FXArc *result; if ((argc < 0) || (argc > 6)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); if (argc > 0) {
|
768
|
+
arg1 = NUM2SHRT(argv[0]); } if (argc > 1) { arg2 = NUM2SHRT(argv[1]); } if (argc > 2) { arg3 = NUM2SHRT(argv[2]); }
|
769
|
+
if (argc > 3) { arg4 = NUM2SHRT(argv[3]); } if (argc > 4) { arg5 = NUM2SHRT(argv[4]); } if (argc > 5) {
|
770
|
+
arg6 = NUM2SHRT(argv[5]); } result = (FXArc *)new_FXArc(arg1,arg2,arg3,arg4,arg5,arg6); DATA_PTR(self) = result;
|
771
|
+
return self; }
|
772
|
+
static VALUE _wrap_FXArc_x_set(int argc, VALUE *argv, VALUE self) { FXArc *arg1 = (FXArc *) 0 ; FXshort arg2 ;
|
773
|
+
if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
774
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXArc, 1); arg2 = NUM2SHRT(argv[0]); if (arg1) (arg1)->x = arg2;
|
775
|
+
return Qnil; }
|
776
|
+
static VALUE _wrap_FXArc_x_get(int argc, VALUE *argv, VALUE self) { FXArc *arg1 = (FXArc *) 0 ; FXshort result;
|
777
|
+
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
778
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXArc, 1); result = (FXshort) ((arg1)->x); vresult = INT2NUM(result);
|
779
|
+
return vresult; }
|
780
|
+
static VALUE _wrap_FXArc_y_set(int argc, VALUE *argv, VALUE self) { FXArc *arg1 = (FXArc *) 0 ; FXshort arg2 ;
|
781
|
+
if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
782
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXArc, 1); arg2 = NUM2SHRT(argv[0]); if (arg1) (arg1)->y = arg2;
|
783
|
+
return Qnil; }
|
784
|
+
static VALUE _wrap_FXArc_y_get(int argc, VALUE *argv, VALUE self) { FXArc *arg1 = (FXArc *) 0 ; FXshort result;
|
785
|
+
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
786
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXArc, 1); result = (FXshort) ((arg1)->y); vresult = INT2NUM(result);
|
787
|
+
return vresult; }
|
788
|
+
static VALUE _wrap_FXArc_w_set(int argc, VALUE *argv, VALUE self) { FXArc *arg1 = (FXArc *) 0 ; FXshort arg2 ;
|
789
|
+
if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
790
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXArc, 1); arg2 = NUM2SHRT(argv[0]); if (arg1) (arg1)->w = arg2;
|
791
|
+
return Qnil; }
|
792
|
+
static VALUE _wrap_FXArc_w_get(int argc, VALUE *argv, VALUE self) { FXArc *arg1 = (FXArc *) 0 ; FXshort result;
|
793
|
+
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
794
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXArc, 1); result = (FXshort) ((arg1)->w); vresult = INT2NUM(result);
|
795
|
+
return vresult; }
|
796
|
+
static VALUE _wrap_FXArc_h_set(int argc, VALUE *argv, VALUE self) { FXArc *arg1 = (FXArc *) 0 ; FXshort arg2 ;
|
797
|
+
if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
798
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXArc, 1); arg2 = NUM2SHRT(argv[0]); if (arg1) (arg1)->h = arg2;
|
799
|
+
return Qnil; }
|
800
|
+
static VALUE _wrap_FXArc_h_get(int argc, VALUE *argv, VALUE self) { FXArc *arg1 = (FXArc *) 0 ; FXshort result;
|
801
|
+
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
802
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXArc, 1); result = (FXshort) ((arg1)->h); vresult = INT2NUM(result);
|
803
|
+
return vresult; }
|
804
|
+
static VALUE _wrap_FXArc_a_set(int argc, VALUE *argv, VALUE self) { FXArc *arg1 = (FXArc *) 0 ; FXshort arg2 ;
|
805
|
+
if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
806
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXArc, 1); arg2 = NUM2SHRT(argv[0]); if (arg1) (arg1)->a = arg2;
|
807
|
+
return Qnil; }
|
808
|
+
static VALUE _wrap_FXArc_a_get(int argc, VALUE *argv, VALUE self) { FXArc *arg1 = (FXArc *) 0 ; FXshort result;
|
809
|
+
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
810
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXArc, 1); result = (FXshort) ((arg1)->a); vresult = INT2NUM(result);
|
811
|
+
return vresult; }
|
812
|
+
static VALUE _wrap_FXArc_b_set(int argc, VALUE *argv, VALUE self) { FXArc *arg1 = (FXArc *) 0 ; FXshort arg2 ;
|
813
|
+
if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
814
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXArc, 1); arg2 = NUM2SHRT(argv[0]); if (arg1) (arg1)->b = arg2;
|
815
|
+
return Qnil; }
|
816
|
+
static VALUE _wrap_FXArc_b_get(int argc, VALUE *argv, VALUE self) { FXArc *arg1 = (FXArc *) 0 ; FXshort result;
|
817
|
+
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
818
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXArc, 1); result = (FXshort) ((arg1)->b); vresult = INT2NUM(result);
|
819
|
+
return vresult; }
|
820
|
+
static void
|
821
|
+
free_FXArc(FXArc *arg1) {
|
822
|
+
delete arg1;
|
823
|
+
}
|
824
|
+
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
|
825
|
+
static VALUE _wrap_FXDC_allocate(VALUE self) {
|
826
|
+
#else
|
827
|
+
static VALUE _wrap_FXDC_allocate(int argc, VALUE *argv, VALUE self) {
|
828
|
+
#endif
|
829
|
+
VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_FXDC);
|
830
|
+
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
|
831
|
+
rb_obj_call_init(vresult, argc, argv);
|
832
|
+
#endif
|
833
|
+
return vresult; }
|
834
|
+
static VALUE _wrap_new_FXDC(int argc, VALUE *argv, VALUE self) { FXApp *arg1 = (FXApp *) 0 ; FXDC *result;
|
835
|
+
if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
836
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_FXApp, 1); { result = (FXDC *)new_FXDC(arg1);
|
837
|
+
DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result); if(rb_block_given_p()){ rb_yield(self); } } return self; }
|
838
|
+
static VALUE _wrap_FXDC_getApp(int argc, VALUE *argv, VALUE self) { FXDC *arg1 = (FXDC *) 0 ; FXApp *result;
|
839
|
+
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
840
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDC, 1); result = (FXApp *)((FXDC const *)arg1)->getApp(); {
|
841
|
+
swig_type_info *ty = SWIG_TypeDynamicCast(SWIGTYPE_p_FXApp, (void **) &result); vresult = FXRbGetRubyObj(result, ty); }
|
842
|
+
return vresult; }
|
843
|
+
static VALUE _wrap_FXDC_getForeground(int argc, VALUE *argv, VALUE self) { FXDC *arg1 = (FXDC *) 0 ; FXColor result;
|
844
|
+
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
845
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDC, 1); result = (FXColor)((FXDC const *)arg1)->getForeground();
|
846
|
+
vresult = UINT2NUM(result); return vresult; }
|
847
|
+
static VALUE _wrap_FXDC_getBackground(int argc, VALUE *argv, VALUE self) { FXDC *arg1 = (FXDC *) 0 ; FXColor result;
|
848
|
+
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
849
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDC, 1); result = (FXColor)((FXDC const *)arg1)->getBackground();
|
850
|
+
vresult = UINT2NUM(result); return vresult; }
|
851
|
+
static VALUE _wrap_FXDC_getDashPattern(int argc, VALUE *argv, VALUE self) { FXDC *arg1 = (FXDC *) 0 ; VALUE result;
|
852
|
+
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
853
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDC, 1); result = (VALUE)FXDC_getDashPattern((FXDC const *)arg1);
|
854
|
+
vresult = result; return vresult; }
|
855
|
+
static VALUE _wrap_FXDC_getDashOffset(int argc, VALUE *argv, VALUE self) { FXDC *arg1 = (FXDC *) 0 ; FXuint result;
|
856
|
+
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
857
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDC, 1); result = (FXuint)((FXDC const *)arg1)->getDashOffset();
|
858
|
+
vresult = UINT2NUM(result); return vresult; }
|
859
|
+
static VALUE _wrap_FXDC_getLineWidth(int argc, VALUE *argv, VALUE self) { FXDC *arg1 = (FXDC *) 0 ; FXuint result;
|
860
|
+
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
861
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDC, 1); result = (FXuint)((FXDC const *)arg1)->getLineWidth();
|
862
|
+
vresult = UINT2NUM(result); return vresult; }
|
863
|
+
static VALUE _wrap_FXDC_getLineCap(int argc, VALUE *argv, VALUE self) { FXDC *arg1 = (FXDC *) 0 ; int result;
|
864
|
+
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
865
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDC, 1); result = (int)((FXDC const *)arg1)->getLineCap();
|
866
|
+
vresult = INT2NUM(result); return vresult; }
|
867
|
+
static VALUE _wrap_FXDC_getLineJoin(int argc, VALUE *argv, VALUE self) { FXDC *arg1 = (FXDC *) 0 ; int result;
|
868
|
+
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
869
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDC, 1); result = (int)((FXDC const *)arg1)->getLineJoin();
|
870
|
+
vresult = INT2NUM(result); return vresult; }
|
871
|
+
static VALUE _wrap_FXDC_getLineStyle(int argc, VALUE *argv, VALUE self) { FXDC *arg1 = (FXDC *) 0 ; int result;
|
872
|
+
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
873
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDC, 1); result = (int)((FXDC const *)arg1)->getLineStyle();
|
874
|
+
vresult = INT2NUM(result); return vresult; }
|
875
|
+
static VALUE _wrap_FXDC_getFillStyle(int argc, VALUE *argv, VALUE self) { FXDC *arg1 = (FXDC *) 0 ; int result;
|
876
|
+
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
877
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDC, 1); result = (int)((FXDC const *)arg1)->getFillStyle();
|
878
|
+
vresult = INT2NUM(result); return vresult; }
|
879
|
+
static VALUE _wrap_FXDC_getFillRule(int argc, VALUE *argv, VALUE self) { FXDC *arg1 = (FXDC *) 0 ; int result;
|
880
|
+
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
881
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDC, 1); result = (int)((FXDC const *)arg1)->getFillRule();
|
882
|
+
vresult = INT2NUM(result); return vresult; }
|
883
|
+
static VALUE _wrap_FXDC_getFunction(int argc, VALUE *argv, VALUE self) { FXDC *arg1 = (FXDC *) 0 ; int result;
|
884
|
+
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
885
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDC, 1); result = (int)((FXDC const *)arg1)->getFunction();
|
886
|
+
vresult = INT2NUM(result); return vresult; }
|
887
|
+
static VALUE _wrap_FXDC_getTile(int argc, VALUE *argv, VALUE self) { FXDC *arg1 = (FXDC *) 0 ; FXImage *result;
|
888
|
+
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
889
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDC, 1); result = (FXImage *)((FXDC const *)arg1)->getTile(); {
|
890
|
+
swig_type_info *ty = SWIG_TypeDynamicCast(SWIGTYPE_p_FXImage, (void **) &result); vresult = FXRbGetRubyObj(result, ty); }
|
891
|
+
return vresult; }
|
892
|
+
static VALUE _wrap_FXDC_getStippleBitmap(int argc, VALUE *argv, VALUE self) { FXDC *arg1 = (FXDC *) 0 ; FXBitmap *result;
|
893
|
+
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
894
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDC, 1); result = (FXBitmap *)((FXDC const *)arg1)->getStippleBitmap(); {
|
895
|
+
swig_type_info *ty = SWIG_TypeDynamicCast(SWIGTYPE_p_FXBitmap, (void **) &result);
|
896
|
+
vresult = FXRbGetRubyObj(result, ty); } return vresult; }
|
897
|
+
static VALUE _wrap_FXDC_getStipplePattern(int argc, VALUE *argv, VALUE self) { FXDC *arg1 = (FXDC *) 0 ; int result;
|
898
|
+
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
899
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDC, 1); result = (int)((FXDC const *)arg1)->getStipplePattern();
|
900
|
+
vresult = INT2NUM(result); return vresult; }
|
901
|
+
static VALUE _wrap_FXDC_getClipRectangle(int argc, VALUE *argv, VALUE self) { FXDC *arg1 = (FXDC *) 0 ; FXRectangle *result;
|
902
|
+
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
903
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDC, 1); {
|
904
|
+
FXRectangle const &_result_ref = ((FXDC const *)arg1)->getClipRectangle(); result = (FXRectangle *) &_result_ref; }
|
905
|
+
vresult = FXRbGetRubyObj(result, "FXRectangle *"); return vresult; }
|
906
|
+
static VALUE _wrap_FXDC_getClipX(int argc, VALUE *argv, VALUE self) { FXDC *arg1 = (FXDC *) 0 ; FXint result;
|
907
|
+
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
908
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDC, 1); result = (FXint)((FXDC const *)arg1)->getClipX();
|
909
|
+
vresult = INT2NUM(result); return vresult; }
|
910
|
+
static VALUE _wrap_FXDC_getClipY(int argc, VALUE *argv, VALUE self) { FXDC *arg1 = (FXDC *) 0 ; FXint result;
|
911
|
+
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
912
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDC, 1); result = (FXint)((FXDC const *)arg1)->getClipY();
|
913
|
+
vresult = INT2NUM(result); return vresult; }
|
914
|
+
static VALUE _wrap_FXDC_getClipWidth(int argc, VALUE *argv, VALUE self) { FXDC *arg1 = (FXDC *) 0 ; FXint result;
|
915
|
+
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
916
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDC, 1); result = (FXint)((FXDC const *)arg1)->getClipWidth();
|
917
|
+
vresult = INT2NUM(result); return vresult; }
|
918
|
+
static VALUE _wrap_FXDC_getClipHeight(int argc, VALUE *argv, VALUE self) { FXDC *arg1 = (FXDC *) 0 ; FXint result;
|
919
|
+
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
920
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDC, 1); result = (FXint)((FXDC const *)arg1)->getClipHeight();
|
921
|
+
vresult = INT2NUM(result); return vresult; }
|
922
|
+
static VALUE _wrap_FXDC_getFont(int argc, VALUE *argv, VALUE self) { FXDC *arg1 = (FXDC *) 0 ; FXFont *result;
|
923
|
+
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
924
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDC, 1); result = (FXFont *)((FXDC const *)arg1)->getFont(); {
|
925
|
+
swig_type_info *ty = SWIG_TypeDynamicCast(SWIGTYPE_p_FXFont, (void **) &result); vresult = FXRbGetRubyObj(result, ty); }
|
926
|
+
return vresult; }
|
927
|
+
static void
|
928
|
+
free_FXDC(FXDC *arg1) {
|
929
|
+
delete arg1;
|
930
|
+
}
|
931
|
+
static VALUE _wrap_FXDC_readPixel(int argc, VALUE *argv, VALUE self) { FXDC *arg1 = (FXDC *) 0 ; FXint arg2 ; FXint arg3 ;
|
932
|
+
FXColor result; VALUE vresult = Qnil; if ((argc < 2) || (argc > 2))
|
933
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDC, 1);
|
934
|
+
arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); result = (FXColor)FXDC_readPixel(arg1,arg2,arg3);
|
935
|
+
vresult = UINT2NUM(result); return vresult; }
|
936
|
+
static VALUE _wrap_FXDC_drawPoint(int argc, VALUE *argv, VALUE self) { FXDC *arg1 = (FXDC *) 0 ; FXint arg2 ; FXint arg3 ;
|
937
|
+
if ((argc < 2) || (argc > 2)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
|
938
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDC, 1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]);
|
939
|
+
FXDC_drawPoint(arg1,arg2,arg3); return Qnil; }
|
940
|
+
static VALUE _wrap_FXDC_drawPoints(int argc, VALUE *argv, VALUE self) { FXDC *arg1 = (FXDC *) 0 ;
|
941
|
+
FXPoint *arg2 = (FXPoint *) 0 ; FXuint arg3 ; if ((argc < 1) || (argc > 1))
|
942
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDC, 1); {
|
943
|
+
Check_Type(argv[0], T_ARRAY); arg2 = new FXPoint[RARRAY_LEN(argv[0])];
|
944
|
+
arg3 = static_cast<FXuint>( RARRAY_LEN(argv[0]) ); for (FXuint i = 0; i < arg3; i++) { FXPoint *pPoint;
|
945
|
+
Data_Get_Struct(rb_ary_entry(argv[0], i), FXPoint, pPoint); arg2[i] = *pPoint; } }
|
946
|
+
FXDC_drawPoints(arg1,(FXPoint const *)arg2,arg3); { delete [] arg2; } return Qnil; }
|
947
|
+
static VALUE _wrap_FXDC_drawPointsRel(int argc, VALUE *argv, VALUE self) { FXDC *arg1 = (FXDC *) 0 ;
|
948
|
+
FXPoint *arg2 = (FXPoint *) 0 ; FXuint arg3 ; if ((argc < 1) || (argc > 1))
|
949
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDC, 1); {
|
950
|
+
Check_Type(argv[0], T_ARRAY); arg2 = new FXPoint[RARRAY_LEN(argv[0])];
|
951
|
+
arg3 = static_cast<FXuint>( RARRAY_LEN(argv[0]) ); for (FXuint i = 0; i < arg3; i++) { FXPoint *pPoint;
|
952
|
+
Data_Get_Struct(rb_ary_entry(argv[0], i), FXPoint, pPoint); arg2[i] = *pPoint; } }
|
953
|
+
FXDC_drawPointsRel(arg1,(FXPoint const *)arg2,arg3); { delete [] arg2; } return Qnil; }
|
954
|
+
static VALUE _wrap_FXDC_drawLine(int argc, VALUE *argv, VALUE self) { FXDC *arg1 = (FXDC *) 0 ; FXint arg2 ; FXint arg3 ;
|
955
|
+
FXint arg4 ; FXint arg5 ; if ((argc < 4) || (argc > 4)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc);
|
956
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDC, 1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]);
|
957
|
+
arg4 = NUM2INT(argv[2]); arg5 = NUM2INT(argv[3]); FXDC_drawLine(arg1,arg2,arg3,arg4,arg5); return Qnil; }
|
958
|
+
static VALUE _wrap_FXDC_drawLines(int argc, VALUE *argv, VALUE self) { FXDC *arg1 = (FXDC *) 0 ; FXPoint *arg2 = (FXPoint *) 0 ;
|
959
|
+
FXuint arg3 ; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
960
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDC, 1); { Check_Type(argv[0], T_ARRAY);
|
961
|
+
arg2 = new FXPoint[RARRAY_LEN(argv[0])]; arg3 = static_cast<FXuint>( RARRAY_LEN(argv[0]) );
|
962
|
+
for (FXuint i = 0; i < arg3; i++) { FXPoint *pPoint; Data_Get_Struct(rb_ary_entry(argv[0], i), FXPoint, pPoint);
|
963
|
+
arg2[i] = *pPoint; } } FXDC_drawLines(arg1,(FXPoint const *)arg2,arg3); { delete [] arg2; } return Qnil; }
|
964
|
+
static VALUE _wrap_FXDC_drawLinesRel(int argc, VALUE *argv, VALUE self) { FXDC *arg1 = (FXDC *) 0 ;
|
965
|
+
FXPoint *arg2 = (FXPoint *) 0 ; FXuint arg3 ; if ((argc < 1) || (argc > 1))
|
966
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDC, 1); {
|
967
|
+
Check_Type(argv[0], T_ARRAY); arg2 = new FXPoint[RARRAY_LEN(argv[0])];
|
968
|
+
arg3 = static_cast<FXuint>( RARRAY_LEN(argv[0]) ); for (FXuint i = 0; i < arg3; i++) { FXPoint *pPoint;
|
969
|
+
Data_Get_Struct(rb_ary_entry(argv[0], i), FXPoint, pPoint); arg2[i] = *pPoint; } }
|
970
|
+
FXDC_drawLinesRel(arg1,(FXPoint const *)arg2,arg3); { delete [] arg2; } return Qnil; }
|
971
|
+
static VALUE _wrap_FXDC_drawLineSegments(int argc, VALUE *argv, VALUE self) { FXDC *arg1 = (FXDC *) 0 ;
|
972
|
+
FXSegment *arg2 = (FXSegment *) 0 ; FXuint arg3 ; if ((argc < 1) || (argc > 1))
|
973
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDC, 1); {
|
974
|
+
Check_Type(argv[0], T_ARRAY); arg2 = new FXSegment[RARRAY_LEN(argv[0])];
|
975
|
+
arg3 = static_cast<FXuint>( RARRAY_LEN(argv[0]) ); for (FXuint i = 0; i < arg3; i++) { FXSegment *pSeg;
|
976
|
+
Data_Get_Struct(rb_ary_entry(argv[0], i), FXSegment, pSeg); arg2[i] = *pSeg; } }
|
977
|
+
FXDC_drawLineSegments(arg1,(FXSegment const *)arg2,arg3); { delete [] arg2; } return Qnil; }
|
978
|
+
static VALUE _wrap_FXDC_drawRectangle(int argc, VALUE *argv, VALUE self) { FXDC *arg1 = (FXDC *) 0 ; FXint arg2 ; FXint arg3 ;
|
979
|
+
FXint arg4 ; FXint arg5 ; if ((argc < 4) || (argc > 4)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc);
|
980
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDC, 1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]);
|
981
|
+
arg4 = NUM2INT(argv[2]); arg5 = NUM2INT(argv[3]); FXDC_drawRectangle(arg1,arg2,arg3,arg4,arg5); return Qnil; }
|
982
|
+
static VALUE _wrap_FXDC_drawRectangles(int argc, VALUE *argv, VALUE self) { FXDC *arg1 = (FXDC *) 0 ;
|
983
|
+
FXRectangle *arg2 = (FXRectangle *) 0 ; FXuint arg3 ; if ((argc < 1) || (argc > 1))
|
984
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDC, 1); {
|
985
|
+
Check_Type(argv[0], T_ARRAY); arg2 = new FXRectangle[RARRAY_LEN(argv[0])];
|
986
|
+
arg3 = static_cast<FXuint>( RARRAY_LEN(argv[0]) ); for (FXuint i = 0; i < arg3; i++) { FXRectangle *pRect;
|
987
|
+
Data_Get_Struct(rb_ary_entry(argv[0], i), FXRectangle, pRect); arg2[i] = *pRect; } }
|
988
|
+
FXDC_drawRectangles(arg1,(FXRectangle const *)arg2,arg3); { delete [] arg2; } return Qnil; }
|
989
|
+
static VALUE _wrap_FXDC_drawRoundRectangle(int argc, VALUE *argv, VALUE self) { FXDC *arg1 = (FXDC *) 0 ; FXint arg2 ;
|
990
|
+
FXint arg3 ; FXint arg4 ; FXint arg5 ; FXint arg6 ; FXint arg7 ; if ((argc < 6) || (argc > 6))
|
991
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 6)",argc); SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDC, 1);
|
992
|
+
arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); arg4 = NUM2INT(argv[2]); arg5 = NUM2INT(argv[3]); arg6 = NUM2INT(argv[4]);
|
993
|
+
arg7 = NUM2INT(argv[5]); FXDC_drawRoundRectangle(arg1,arg2,arg3,arg4,arg5,arg6,arg7); return Qnil; }
|
994
|
+
static VALUE _wrap_FXDC_drawArc(int argc, VALUE *argv, VALUE self) { FXDC *arg1 = (FXDC *) 0 ; FXint arg2 ; FXint arg3 ;
|
995
|
+
FXint arg4 ; FXint arg5 ; FXint arg6 ; FXint arg7 ; if ((argc < 6) || (argc > 6))
|
996
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 6)",argc); SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDC, 1);
|
997
|
+
arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); arg4 = NUM2INT(argv[2]); arg5 = NUM2INT(argv[3]); arg6 = NUM2INT(argv[4]);
|
998
|
+
arg7 = NUM2INT(argv[5]); FXDC_drawArc(arg1,arg2,arg3,arg4,arg5,arg6,arg7); return Qnil; }
|
999
|
+
static VALUE _wrap_FXDC_drawArcs(int argc, VALUE *argv, VALUE self) { FXDC *arg1 = (FXDC *) 0 ; FXArc *arg2 = (FXArc *) 0 ;
|
1000
|
+
FXuint arg3 ; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1001
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDC, 1); { Check_Type(argv[0], T_ARRAY);
|
1002
|
+
arg2 = new FXArc[RARRAY_LEN(argv[0])]; arg3 = static_cast<FXuint>( RARRAY_LEN(argv[0]) );
|
1003
|
+
for (FXuint i = 0; i < arg3; i++) { FXArc *pArc; Data_Get_Struct(rb_ary_entry(argv[0], i), FXArc, pArc);
|
1004
|
+
arg2[i] = *pArc; } } FXDC_drawArcs(arg1,(FXArc const *)arg2,arg3); return Qnil; }
|
1005
|
+
static VALUE _wrap_FXDC_drawEllipse(int argc, VALUE *argv, VALUE self) { FXDC *arg1 = (FXDC *) 0 ; FXint arg2 ; FXint arg3 ;
|
1006
|
+
FXint arg4 ; FXint arg5 ; if ((argc < 4) || (argc > 4)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc);
|
1007
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDC, 1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]);
|
1008
|
+
arg4 = NUM2INT(argv[2]); arg5 = NUM2INT(argv[3]); FXDC_drawEllipse(arg1,arg2,arg3,arg4,arg5); return Qnil; }
|
1009
|
+
static VALUE _wrap_FXDC_fillRectangle(int argc, VALUE *argv, VALUE self) { FXDC *arg1 = (FXDC *) 0 ; FXint arg2 ; FXint arg3 ;
|
1010
|
+
FXint arg4 ; FXint arg5 ; if ((argc < 4) || (argc > 4)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc);
|
1011
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDC, 1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]);
|
1012
|
+
arg4 = NUM2INT(argv[2]); arg5 = NUM2INT(argv[3]); FXDC_fillRectangle(arg1,arg2,arg3,arg4,arg5); return Qnil; }
|
1013
|
+
static VALUE _wrap_FXDC_fillRectangles(int argc, VALUE *argv, VALUE self) { FXDC *arg1 = (FXDC *) 0 ;
|
1014
|
+
FXRectangle *arg2 = (FXRectangle *) 0 ; FXuint arg3 ; if ((argc < 1) || (argc > 1))
|
1015
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDC, 1); {
|
1016
|
+
Check_Type(argv[0], T_ARRAY); arg2 = new FXRectangle[RARRAY_LEN(argv[0])];
|
1017
|
+
arg3 = static_cast<FXuint>( RARRAY_LEN(argv[0]) ); for (FXuint i = 0; i < arg3; i++) { FXRectangle *pRect;
|
1018
|
+
Data_Get_Struct(rb_ary_entry(argv[0], i), FXRectangle, pRect); arg2[i] = *pRect; } }
|
1019
|
+
FXDC_fillRectangles(arg1,(FXRectangle const *)arg2,arg3); { delete [] arg2; } return Qnil; }
|
1020
|
+
static VALUE _wrap_FXDC_fillRoundRectangle(int argc, VALUE *argv, VALUE self) { FXDC *arg1 = (FXDC *) 0 ; FXint arg2 ;
|
1021
|
+
FXint arg3 ; FXint arg4 ; FXint arg5 ; FXint arg6 ; FXint arg7 ; if ((argc < 6) || (argc > 6))
|
1022
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 6)",argc); SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDC, 1);
|
1023
|
+
arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); arg4 = NUM2INT(argv[2]); arg5 = NUM2INT(argv[3]); arg6 = NUM2INT(argv[4]);
|
1024
|
+
arg7 = NUM2INT(argv[5]); FXDC_fillRoundRectangle(arg1,arg2,arg3,arg4,arg5,arg6,arg7); return Qnil; }
|
1025
|
+
static VALUE _wrap_FXDC_fillChord(int argc, VALUE *argv, VALUE self) { FXDC *arg1 = (FXDC *) 0 ; FXint arg2 ; FXint arg3 ;
|
1026
|
+
FXint arg4 ; FXint arg5 ; FXint arg6 ; FXint arg7 ; if ((argc < 6) || (argc > 6))
|
1027
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 6)",argc); SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDC, 1);
|
1028
|
+
arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); arg4 = NUM2INT(argv[2]); arg5 = NUM2INT(argv[3]); arg6 = NUM2INT(argv[4]);
|
1029
|
+
arg7 = NUM2INT(argv[5]); FXDC_fillChord(arg1,arg2,arg3,arg4,arg5,arg6,arg7); return Qnil; }
|
1030
|
+
static VALUE _wrap_FXDC_fillChords(int argc, VALUE *argv, VALUE self) { FXDC *arg1 = (FXDC *) 0 ; FXArc *arg2 = (FXArc *) 0 ;
|
1031
|
+
FXuint arg3 ; if ((argc < 2) || (argc > 2)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
|
1032
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDC, 1); SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXArc, 1);
|
1033
|
+
arg3 = NUM2UINT(argv[1]); FXDC_fillChords(arg1,(FXArc const *)arg2,arg3); return Qnil; }
|
1034
|
+
static VALUE _wrap_FXDC_fillArc(int argc, VALUE *argv, VALUE self) { FXDC *arg1 = (FXDC *) 0 ; FXint arg2 ; FXint arg3 ;
|
1035
|
+
FXint arg4 ; FXint arg5 ; FXint arg6 ; FXint arg7 ; if ((argc < 6) || (argc > 6))
|
1036
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 6)",argc); SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDC, 1);
|
1037
|
+
arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); arg4 = NUM2INT(argv[2]); arg5 = NUM2INT(argv[3]); arg6 = NUM2INT(argv[4]);
|
1038
|
+
arg7 = NUM2INT(argv[5]); FXDC_fillArc(arg1,arg2,arg3,arg4,arg5,arg6,arg7); return Qnil; }
|
1039
|
+
static VALUE _wrap_FXDC_fillArcs(int argc, VALUE *argv, VALUE self) { FXDC *arg1 = (FXDC *) 0 ; FXArc *arg2 = (FXArc *) 0 ;
|
1040
|
+
FXuint arg3 ; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1041
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDC, 1); { Check_Type(argv[0], T_ARRAY);
|
1042
|
+
arg2 = new FXArc[RARRAY_LEN(argv[0])]; arg3 = static_cast<FXuint>( RARRAY_LEN(argv[0]) );
|
1043
|
+
for (FXuint i = 0; i < arg3; i++) { FXArc *pArc; Data_Get_Struct(rb_ary_entry(argv[0], i), FXArc, pArc);
|
1044
|
+
arg2[i] = *pArc; } } FXDC_fillArcs(arg1,(FXArc const *)arg2,arg3); return Qnil; }
|
1045
|
+
static VALUE _wrap_FXDC_fillPolygon(int argc, VALUE *argv, VALUE self) { FXDC *arg1 = (FXDC *) 0 ;
|
1046
|
+
FXPoint *arg2 = (FXPoint *) 0 ; FXuint arg3 ; if ((argc < 1) || (argc > 1))
|
1047
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDC, 1); {
|
1048
|
+
Check_Type(argv[0], T_ARRAY); arg2 = new FXPoint[RARRAY_LEN(argv[0])];
|
1049
|
+
arg3 = static_cast<FXuint>( RARRAY_LEN(argv[0]) ); for (FXuint i = 0; i < arg3; i++) { FXPoint *pPoint;
|
1050
|
+
Data_Get_Struct(rb_ary_entry(argv[0], i), FXPoint, pPoint); arg2[i] = *pPoint; } }
|
1051
|
+
FXDC_fillPolygon(arg1,(FXPoint const *)arg2,arg3); { delete [] arg2; } return Qnil; }
|
1052
|
+
static VALUE _wrap_FXDC_fillConcavePolygon(int argc, VALUE *argv, VALUE self) { FXDC *arg1 = (FXDC *) 0 ;
|
1053
|
+
FXPoint *arg2 = (FXPoint *) 0 ; FXuint arg3 ; if ((argc < 1) || (argc > 1))
|
1054
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDC, 1); {
|
1055
|
+
Check_Type(argv[0], T_ARRAY); arg2 = new FXPoint[RARRAY_LEN(argv[0])];
|
1056
|
+
arg3 = static_cast<FXuint>( RARRAY_LEN(argv[0]) ); for (FXuint i = 0; i < arg3; i++) { FXPoint *pPoint;
|
1057
|
+
Data_Get_Struct(rb_ary_entry(argv[0], i), FXPoint, pPoint); arg2[i] = *pPoint; } }
|
1058
|
+
FXDC_fillConcavePolygon(arg1,(FXPoint const *)arg2,arg3); { delete [] arg2; } return Qnil; }
|
1059
|
+
static VALUE _wrap_FXDC_fillComplexPolygon(int argc, VALUE *argv, VALUE self) { FXDC *arg1 = (FXDC *) 0 ;
|
1060
|
+
FXPoint *arg2 = (FXPoint *) 0 ; FXuint arg3 ; if ((argc < 1) || (argc > 1))
|
1061
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDC, 1); {
|
1062
|
+
Check_Type(argv[0], T_ARRAY); arg2 = new FXPoint[RARRAY_LEN(argv[0])];
|
1063
|
+
arg3 = static_cast<FXuint>( RARRAY_LEN(argv[0]) ); for (FXuint i = 0; i < arg3; i++) { FXPoint *pPoint;
|
1064
|
+
Data_Get_Struct(rb_ary_entry(argv[0], i), FXPoint, pPoint); arg2[i] = *pPoint; } }
|
1065
|
+
FXDC_fillComplexPolygon(arg1,(FXPoint const *)arg2,arg3); { delete [] arg2; } return Qnil; }
|
1066
|
+
static VALUE _wrap_FXDC_fillPolygonRel(int argc, VALUE *argv, VALUE self) { FXDC *arg1 = (FXDC *) 0 ;
|
1067
|
+
FXPoint *arg2 = (FXPoint *) 0 ; FXuint arg3 ; if ((argc < 1) || (argc > 1))
|
1068
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDC, 1); {
|
1069
|
+
Check_Type(argv[0], T_ARRAY); arg2 = new FXPoint[RARRAY_LEN(argv[0])];
|
1070
|
+
arg3 = static_cast<FXuint>( RARRAY_LEN(argv[0]) ); for (FXuint i = 0; i < arg3; i++) { FXPoint *pPoint;
|
1071
|
+
Data_Get_Struct(rb_ary_entry(argv[0], i), FXPoint, pPoint); arg2[i] = *pPoint; } }
|
1072
|
+
FXDC_fillPolygonRel(arg1,(FXPoint const *)arg2,arg3); { delete [] arg2; } return Qnil; }
|
1073
|
+
static VALUE _wrap_FXDC_fillConcavePolygonRel(int argc, VALUE *argv, VALUE self) { FXDC *arg1 = (FXDC *) 0 ;
|
1074
|
+
FXPoint *arg2 = (FXPoint *) 0 ; FXuint arg3 ; if ((argc < 1) || (argc > 1))
|
1075
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDC, 1); {
|
1076
|
+
Check_Type(argv[0], T_ARRAY); arg2 = new FXPoint[RARRAY_LEN(argv[0])];
|
1077
|
+
arg3 = static_cast<FXuint>( RARRAY_LEN(argv[0]) ); for (FXuint i = 0; i < arg3; i++) { FXPoint *pPoint;
|
1078
|
+
Data_Get_Struct(rb_ary_entry(argv[0], i), FXPoint, pPoint); arg2[i] = *pPoint; } }
|
1079
|
+
FXDC_fillConcavePolygonRel(arg1,(FXPoint const *)arg2,arg3); { delete [] arg2; } return Qnil; }
|
1080
|
+
static VALUE _wrap_FXDC_fillComplexPolygonRel(int argc, VALUE *argv, VALUE self) { FXDC *arg1 = (FXDC *) 0 ;
|
1081
|
+
FXPoint *arg2 = (FXPoint *) 0 ; FXuint arg3 ; if ((argc < 1) || (argc > 1))
|
1082
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDC, 1); {
|
1083
|
+
Check_Type(argv[0], T_ARRAY); arg2 = new FXPoint[RARRAY_LEN(argv[0])];
|
1084
|
+
arg3 = static_cast<FXuint>( RARRAY_LEN(argv[0]) ); for (FXuint i = 0; i < arg3; i++) { FXPoint *pPoint;
|
1085
|
+
Data_Get_Struct(rb_ary_entry(argv[0], i), FXPoint, pPoint); arg2[i] = *pPoint; } }
|
1086
|
+
FXDC_fillComplexPolygonRel(arg1,(FXPoint const *)arg2,arg3); { delete [] arg2; } return Qnil; }
|
1087
|
+
static VALUE _wrap_FXDC_drawHashBox(int argc, VALUE *argv, VALUE self) { FXDC *arg1 = (FXDC *) 0 ; FXint arg2 ; FXint arg3 ;
|
1088
|
+
FXint arg4 ; FXint arg5 ; FXint arg6 = (FXint) 1 ; if ((argc < 4) || (argc > 5))
|
1089
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDC, 1);
|
1090
|
+
arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); arg4 = NUM2INT(argv[2]); arg5 = NUM2INT(argv[3]); if (argc > 4) {
|
1091
|
+
arg6 = NUM2INT(argv[4]); } FXDC_drawHashBox(arg1,arg2,arg3,arg4,arg5,arg6); return Qnil; }
|
1092
|
+
static VALUE _wrap_FXDC_drawFocusRectangle(int argc, VALUE *argv, VALUE self) { FXDC *arg1 = (FXDC *) 0 ; FXint arg2 ;
|
1093
|
+
FXint arg3 ; FXint arg4 ; FXint arg5 ; if ((argc < 4) || (argc > 4))
|
1094
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDC, 1);
|
1095
|
+
arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); arg4 = NUM2INT(argv[2]); arg5 = NUM2INT(argv[3]);
|
1096
|
+
FXDC_drawFocusRectangle(arg1,arg2,arg3,arg4,arg5); return Qnil; }
|
1097
|
+
static VALUE _wrap_FXDC_drawArea__SWIG_0(int argc, VALUE *argv, VALUE self) { FXDC *arg1 = (FXDC *) 0 ;
|
1098
|
+
FXDrawable *arg2 = (FXDrawable *) 0 ; FXint arg3 ; FXint arg4 ; FXint arg5 ; FXint arg6 ; FXint arg7 ; FXint arg8 ;
|
1099
|
+
if ((argc < 7) || (argc > 7)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 7)",argc);
|
1100
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDC, 1);
|
1101
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXDrawable, 1); arg3 = NUM2INT(argv[1]); arg4 = NUM2INT(argv[2]);
|
1102
|
+
arg5 = NUM2INT(argv[3]); arg6 = NUM2INT(argv[4]); arg7 = NUM2INT(argv[5]); arg8 = NUM2INT(argv[6]);
|
1103
|
+
FXDC_drawArea(arg1,(FXDrawable const *)arg2,arg3,arg4,arg5,arg6,arg7,arg8); return Qnil; }
|
1104
|
+
static VALUE _wrap_FXDC_drawArea__SWIG_1(int argc, VALUE *argv, VALUE self) { FXDC *arg1 = (FXDC *) 0 ;
|
1105
|
+
FXDrawable *arg2 = (FXDrawable *) 0 ; FXint arg3 ; FXint arg4 ; FXint arg5 ; FXint arg6 ; FXint arg7 ; FXint arg8 ;
|
1106
|
+
FXint arg9 ; FXint arg10 ; if ((argc < 9) || (argc > 9)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 9)",argc);
|
1107
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDC, 1);
|
1108
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXDrawable, 1); arg3 = NUM2INT(argv[1]); arg4 = NUM2INT(argv[2]);
|
1109
|
+
arg5 = NUM2INT(argv[3]); arg6 = NUM2INT(argv[4]); arg7 = NUM2INT(argv[5]); arg8 = NUM2INT(argv[6]); arg9 = NUM2INT(argv[7]);
|
1110
|
+
arg10 = NUM2INT(argv[8]); FXDC_drawArea(arg1,(FXDrawable const *)arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
|
1111
|
+
return Qnil; }
|
1112
|
+
static VALUE _wrap_FXDC_drawArea(int nargs, VALUE *args, VALUE self) { int argc; VALUE argv[11]; int ii; argc = nargs + 1;
|
1113
|
+
argv[0] = self; for (ii = 1; (ii < argc) && (ii < 10); ii++) { argv[ii] = args[ii-1]; } if (argc == 8) { int _v; {
|
1114
|
+
void *ptr;
|
1115
|
+
_v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_FXDC, 0) != -1)) ? 1 : 0; }
|
1116
|
+
if (_v) { { void *ptr;
|
1117
|
+
_v = (NIL_P(argv[1]) || (TYPE(argv[1]) == T_DATA && SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_FXDrawable, 0) != -1)) ? 1 : 0; }
|
1118
|
+
if (_v) { { _v = ((TYPE(argv[2]) == T_FIXNUM) || (TYPE(argv[2]) == T_BIGNUM)) ? 1 : 0; } if (_v) { {
|
1119
|
+
_v = ((TYPE(argv[3]) == T_FIXNUM) || (TYPE(argv[3]) == T_BIGNUM)) ? 1 : 0; } if (_v) { {
|
1120
|
+
_v = ((TYPE(argv[4]) == T_FIXNUM) || (TYPE(argv[4]) == T_BIGNUM)) ? 1 : 0; } if (_v) { {
|
1121
|
+
_v = ((TYPE(argv[5]) == T_FIXNUM) || (TYPE(argv[5]) == T_BIGNUM)) ? 1 : 0; } if (_v) { {
|
1122
|
+
_v = ((TYPE(argv[6]) == T_FIXNUM) || (TYPE(argv[6]) == T_BIGNUM)) ? 1 : 0; } if (_v) { {
|
1123
|
+
_v = ((TYPE(argv[7]) == T_FIXNUM) || (TYPE(argv[7]) == T_BIGNUM)) ? 1 : 0; } if (_v) {
|
1124
|
+
return _wrap_FXDC_drawArea__SWIG_0(nargs, args, self);} } } } } } } } }
|
1125
|
+
if (argc == 10) { int _v; { void *ptr;
|
1126
|
+
_v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_FXDC, 0) != -1)) ? 1 : 0; }
|
1127
|
+
if (_v) { { void *ptr;
|
1128
|
+
_v = (NIL_P(argv[1]) || (TYPE(argv[1]) == T_DATA && SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_FXDrawable, 0) != -1)) ? 1 : 0; }
|
1129
|
+
if (_v) { { _v = ((TYPE(argv[2]) == T_FIXNUM) || (TYPE(argv[2]) == T_BIGNUM)) ? 1 : 0; } if (_v) { {
|
1130
|
+
_v = ((TYPE(argv[3]) == T_FIXNUM) || (TYPE(argv[3]) == T_BIGNUM)) ? 1 : 0; } if (_v) { {
|
1131
|
+
_v = ((TYPE(argv[4]) == T_FIXNUM) || (TYPE(argv[4]) == T_BIGNUM)) ? 1 : 0; } if (_v) { {
|
1132
|
+
_v = ((TYPE(argv[5]) == T_FIXNUM) || (TYPE(argv[5]) == T_BIGNUM)) ? 1 : 0; } if (_v) { {
|
1133
|
+
_v = ((TYPE(argv[6]) == T_FIXNUM) || (TYPE(argv[6]) == T_BIGNUM)) ? 1 : 0; } if (_v) { {
|
1134
|
+
_v = ((TYPE(argv[7]) == T_FIXNUM) || (TYPE(argv[7]) == T_BIGNUM)) ? 1 : 0; } if (_v) {
|
1135
|
+
{ _v = ((TYPE(argv[8]) == T_FIXNUM) || (TYPE(argv[8]) == T_BIGNUM)) ? 1 : 0; }
|
1136
|
+
if (_v) { { _v = ((TYPE(argv[9]) == T_FIXNUM) || (TYPE(argv[9]) == T_BIGNUM)) ? 1 : 0; }
|
1137
|
+
if (_v) { return _wrap_FXDC_drawArea__SWIG_1(nargs, args, self);} } } } } } }
|
1138
|
+
} } } } rb_raise(rb_eArgError, "No matching function for overloaded 'FXDC_drawArea'"); return Qnil; }
|
1139
|
+
static VALUE _wrap_FXDC_drawImage(int argc, VALUE *argv, VALUE self) { FXDC *arg1 = (FXDC *) 0 ; FXImage *arg2 = (FXImage *) 0 ;
|
1140
|
+
FXint arg3 ; FXint arg4 ; if ((argc < 3) || (argc > 3)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc);
|
1141
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDC, 1);
|
1142
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXImage, 1); arg3 = NUM2INT(argv[1]); arg4 = NUM2INT(argv[2]);
|
1143
|
+
FXDC_drawImage(arg1,(FXImage const *)arg2,arg3,arg4); return Qnil; }
|
1144
|
+
static VALUE _wrap_FXDC_drawBitmap(int argc, VALUE *argv, VALUE self) { FXDC *arg1 = (FXDC *) 0 ;
|
1145
|
+
FXBitmap *arg2 = (FXBitmap *) 0 ; FXint arg3 ; FXint arg4 ; if ((argc < 3) || (argc > 3))
|
1146
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDC, 1);
|
1147
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXBitmap, 1); arg3 = NUM2INT(argv[1]); arg4 = NUM2INT(argv[2]);
|
1148
|
+
FXDC_drawBitmap(arg1,(FXBitmap const *)arg2,arg3,arg4); return Qnil; }
|
1149
|
+
static VALUE _wrap_FXDC_drawIcon(int argc, VALUE *argv, VALUE self) { FXDC *arg1 = (FXDC *) 0 ; FXIcon *arg2 = (FXIcon *) 0 ;
|
1150
|
+
FXint arg3 ; FXint arg4 ; if ((argc < 3) || (argc > 3)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc);
|
1151
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDC, 1); SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXIcon, 1);
|
1152
|
+
arg3 = NUM2INT(argv[1]); arg4 = NUM2INT(argv[2]); FXDC_drawIcon(arg1,(FXIcon const *)arg2,arg3,arg4); return Qnil; }
|
1153
|
+
static VALUE _wrap_FXDC_drawIconShaded(int argc, VALUE *argv, VALUE self) { FXDC *arg1 = (FXDC *) 0 ;
|
1154
|
+
FXIcon *arg2 = (FXIcon *) 0 ; FXint arg3 ; FXint arg4 ; if ((argc < 3) || (argc > 3))
|
1155
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDC, 1);
|
1156
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXIcon, 1); arg3 = NUM2INT(argv[1]); arg4 = NUM2INT(argv[2]);
|
1157
|
+
FXDC_drawIconShaded(arg1,(FXIcon const *)arg2,arg3,arg4); return Qnil; }
|
1158
|
+
static VALUE _wrap_FXDC_drawIconSunken(int argc, VALUE *argv, VALUE self) { FXDC *arg1 = (FXDC *) 0 ;
|
1159
|
+
FXIcon *arg2 = (FXIcon *) 0 ; FXint arg3 ; FXint arg4 ; if ((argc < 3) || (argc > 3))
|
1160
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDC, 1);
|
1161
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXIcon, 1); arg3 = NUM2INT(argv[1]); arg4 = NUM2INT(argv[2]);
|
1162
|
+
FXDC_drawIconSunken(arg1,(FXIcon const *)arg2,arg3,arg4); return Qnil; }
|
1163
|
+
static VALUE _wrap_FXDC_drawText(int argc, VALUE *argv, VALUE self) { FXDC *arg1 = (FXDC *) 0 ; FXint arg2 ; FXint arg3 ;
|
1164
|
+
FXchar *arg4 ; FXuint arg5 ; if ((argc < 3) || (argc > 3)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc);
|
1165
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDC, 1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); {
|
1166
|
+
Check_Type(argv[2], T_STRING); arg4 = StringValuePtr(argv[2]); arg5 = RSTRING_LEN(argv[2]); }
|
1167
|
+
FXDC_drawText(arg1,arg2,arg3,(FXchar const *)arg4,arg5); return Qnil; }
|
1168
|
+
static VALUE _wrap_FXDC_drawImageText(int argc, VALUE *argv, VALUE self) { FXDC *arg1 = (FXDC *) 0 ; FXint arg2 ; FXint arg3 ;
|
1169
|
+
FXchar *arg4 ; FXuint arg5 ; if ((argc < 3) || (argc > 3)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc);
|
1170
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDC, 1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); {
|
1171
|
+
Check_Type(argv[2], T_STRING); arg4 = StringValuePtr(argv[2]); arg5 = RSTRING_LEN(argv[2]); }
|
1172
|
+
FXDC_drawImageText(arg1,arg2,arg3,(FXchar const *)arg4,arg5); return Qnil; }
|
1173
|
+
static VALUE _wrap_FXDC_setForeground(int argc, VALUE *argv, VALUE self) { FXDC *arg1 = (FXDC *) 0 ; FXColor arg2 ;
|
1174
|
+
if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1175
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDC, 1); arg2 = to_FXColor(argv[0]); FXDC_setForeground(arg1,arg2);
|
1176
|
+
return Qnil; }
|
1177
|
+
static VALUE _wrap_FXDC_setBackground(int argc, VALUE *argv, VALUE self) { FXDC *arg1 = (FXDC *) 0 ; FXColor arg2 ;
|
1178
|
+
if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1179
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDC, 1); arg2 = to_FXColor(argv[0]); FXDC_setBackground(arg1,arg2);
|
1180
|
+
return Qnil; }
|
1181
|
+
static VALUE _wrap_FXDC_setDashes(int argc, VALUE *argv, VALUE self) { FXDC *arg1 = (FXDC *) 0 ; FXuint arg2 ; FXchar *arg3 ;
|
1182
|
+
FXuint arg4 ; if ((argc < 2) || (argc > 2)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
|
1183
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDC, 1); arg2 = NUM2UINT(argv[0]); { Check_Type(argv[1], T_ARRAY);
|
1184
|
+
arg3 = new FXchar[RARRAY_LEN(argv[1])]; arg4 = static_cast<FXuint>( RARRAY_LEN(argv[1]) );
|
1185
|
+
for (FXuint i = 0; i < arg4; i++) { arg3[i] = NUM2INT(rb_ary_entry(argv[1], i)); } }
|
1186
|
+
FXDC_setDashes(arg1,arg2,(FXchar const *)arg3,arg4); { delete [] arg3; } return Qnil; }
|
1187
|
+
static VALUE _wrap_FXDC_setLineWidth(int argc, VALUE *argv, VALUE self) { FXDC *arg1 = (FXDC *) 0 ; FXuint arg2 = (FXuint) 0 ;
|
1188
|
+
if ((argc < 0) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
1189
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDC, 1); if (argc > 0) { arg2 = NUM2UINT(argv[0]); }
|
1190
|
+
FXDC_setLineWidth(arg1,arg2); return Qnil; }
|
1191
|
+
static VALUE _wrap_FXDC_setLineCap(int argc, VALUE *argv, VALUE self) { FXDC *arg1 = (FXDC *) 0 ; int arg2 = (int) CAP_BUTT ;
|
1192
|
+
if ((argc < 0) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
1193
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDC, 1); if (argc > 0) { arg2 = (int) NUM2INT(argv[0]); }
|
1194
|
+
FXDC_setLineCap(arg1,(FXCapStyle )arg2); return Qnil; }
|
1195
|
+
static VALUE _wrap_FXDC_setLineJoin(int argc, VALUE *argv, VALUE self) { FXDC *arg1 = (FXDC *) 0 ; int arg2 = (int) JOIN_MITER ;
|
1196
|
+
if ((argc < 0) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
1197
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDC, 1); if (argc > 0) { arg2 = (int) NUM2INT(argv[0]); }
|
1198
|
+
FXDC_setLineJoin(arg1,(FXJoinStyle )arg2); return Qnil; }
|
1199
|
+
static VALUE _wrap_FXDC_setLineStyle(int argc, VALUE *argv, VALUE self) { FXDC *arg1 = (FXDC *) 0 ;
|
1200
|
+
int arg2 = (int) LINE_SOLID ; if ((argc < 0) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
1201
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDC, 1); if (argc > 0) { arg2 = (int) NUM2INT(argv[0]); }
|
1202
|
+
FXDC_setLineStyle(arg1,(FXLineStyle )arg2); return Qnil; }
|
1203
|
+
static VALUE _wrap_FXDC_setFillStyle(int argc, VALUE *argv, VALUE self) { FXDC *arg1 = (FXDC *) 0 ;
|
1204
|
+
int arg2 = (int) FILL_SOLID ; if ((argc < 0) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
1205
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDC, 1); if (argc > 0) { arg2 = (int) NUM2INT(argv[0]); }
|
1206
|
+
FXDC_setFillStyle(arg1,(FXFillStyle )arg2); return Qnil; }
|
1207
|
+
static VALUE _wrap_FXDC_setFillRule(int argc, VALUE *argv, VALUE self) { FXDC *arg1 = (FXDC *) 0 ;
|
1208
|
+
int arg2 = (int) RULE_EVEN_ODD ; if ((argc < 0) || (argc > 1))
|
1209
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDC, 1);
|
1210
|
+
if (argc > 0) { arg2 = (int) NUM2INT(argv[0]); } FXDC_setFillRule(arg1,(FXFillRule )arg2); return Qnil; }
|
1211
|
+
static VALUE _wrap_FXDC_setFunction(int argc, VALUE *argv, VALUE self) { FXDC *arg1 = (FXDC *) 0 ; int arg2 = (int) BLT_SRC ;
|
1212
|
+
if ((argc < 0) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
1213
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDC, 1); if (argc > 0) { arg2 = (int) NUM2INT(argv[0]); }
|
1214
|
+
FXDC_setFunction(arg1,(FXFunction )arg2); return Qnil; }
|
1215
|
+
static VALUE _wrap_FXDC_setTile(int argc, VALUE *argv, VALUE self) { FXDC *arg1 = (FXDC *) 0 ; FXImage *arg2 = (FXImage *) 0 ;
|
1216
|
+
FXint arg3 = (FXint) 0 ; FXint arg4 = (FXint) 0 ; if ((argc < 1) || (argc > 3))
|
1217
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDC, 1);
|
1218
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXImage, 1); if (argc > 1) { arg3 = NUM2INT(argv[1]); }
|
1219
|
+
if (argc > 2) { arg4 = NUM2INT(argv[2]); } FXDC_setTile(arg1,arg2,arg3,arg4); return Qnil; }
|
1220
|
+
static VALUE _wrap_FXDC_setStipple__SWIG_0(int argc, VALUE *argv, VALUE self) { FXDC *arg1 = (FXDC *) 0 ;
|
1221
|
+
FXBitmap *arg2 = (FXBitmap *) 0 ; FXint arg3 = (FXint) 0 ; FXint arg4 = (FXint) 0 ; if ((argc < 1) || (argc > 3))
|
1222
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDC, 1);
|
1223
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXBitmap, 1); if (argc > 1) { arg3 = NUM2INT(argv[1]); }
|
1224
|
+
if (argc > 2) { arg4 = NUM2INT(argv[2]); } FXDC_setStipple(arg1,arg2,arg3,arg4); return Qnil; }
|
1225
|
+
static VALUE _wrap_FXDC_setStipple__SWIG_1(int argc, VALUE *argv, VALUE self) { FXDC *arg1 = (FXDC *) 0 ; int arg2 ;
|
1226
|
+
FXint arg3 = (FXint) 0 ; FXint arg4 = (FXint) 0 ; if ((argc < 1) || (argc > 3))
|
1227
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDC, 1);
|
1228
|
+
arg2 = (int) NUM2INT(argv[0]); if (argc > 1) { arg3 = NUM2INT(argv[1]); } if (argc > 2) { arg4 = NUM2INT(argv[2]); }
|
1229
|
+
FXDC_setStipple(arg1,(FXStipplePattern )arg2,arg3,arg4); return Qnil; }
|
1230
|
+
static VALUE _wrap_FXDC_setStipple(int nargs, VALUE *args, VALUE self) { int argc; VALUE argv[5]; int ii; argc = nargs + 1;
|
1231
|
+
argv[0] = self; for (ii = 1; (ii < argc) && (ii < 4); ii++) { argv[ii] = args[ii-1]; } if ((argc >= 2) && (argc <= 4)) {
|
1232
|
+
int _v; { void *ptr;
|
1233
|
+
_v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_FXDC, 0) != -1)) ? 1 : 0; }
|
1234
|
+
if (_v) { { void *ptr;
|
1235
|
+
_v = (NIL_P(argv[1]) || (TYPE(argv[1]) == T_DATA && SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_FXBitmap, 0) != -1)) ? 1 : 0; }
|
1236
|
+
if (_v) { if (argc <= 2) { return _wrap_FXDC_setStipple__SWIG_0(nargs, args, self);} {
|
1237
|
+
_v = ((TYPE(argv[2]) == T_FIXNUM) || (TYPE(argv[2]) == T_BIGNUM)) ? 1 : 0; } if (_v) { if (argc <= 3) {
|
1238
|
+
return _wrap_FXDC_setStipple__SWIG_0(nargs, args, self);} {
|
1239
|
+
_v = ((TYPE(argv[3]) == T_FIXNUM) || (TYPE(argv[3]) == T_BIGNUM)) ? 1 : 0; } if (_v) {
|
1240
|
+
return _wrap_FXDC_setStipple__SWIG_0(nargs, args, self);} } } } } if ((argc >= 2) && (argc <= 4)) {
|
1241
|
+
int _v; { void *ptr;
|
1242
|
+
_v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_FXDC, 0) != -1)) ? 1 : 0; }
|
1243
|
+
if (_v) { { _v = ((TYPE(argv[1]) == T_FIXNUM) || (TYPE(argv[1]) == T_BIGNUM)) ? 1 : 0; } if (_v) { if (argc <= 2) {
|
1244
|
+
return _wrap_FXDC_setStipple__SWIG_1(nargs, args, self);} {
|
1245
|
+
_v = ((TYPE(argv[2]) == T_FIXNUM) || (TYPE(argv[2]) == T_BIGNUM)) ? 1 : 0; } if (_v) { if (argc <= 3) {
|
1246
|
+
return _wrap_FXDC_setStipple__SWIG_1(nargs, args, self);} {
|
1247
|
+
_v = ((TYPE(argv[3]) == T_FIXNUM) || (TYPE(argv[3]) == T_BIGNUM)) ? 1 : 0; } if (_v) {
|
1248
|
+
return _wrap_FXDC_setStipple__SWIG_1(nargs, args, self);} } } } }
|
1249
|
+
rb_raise(rb_eArgError, "No matching function for overloaded 'FXDC_setStipple'"); return Qnil; }
|
1250
|
+
static VALUE _wrap_FXDC_setClipRegion(int argc, VALUE *argv, VALUE self) { FXDC *arg1 = (FXDC *) 0 ; FXRegion *arg2 = 0 ;
|
1251
|
+
if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1252
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDC, 1);
|
1253
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXRegion, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
|
1254
|
+
FXDC_setClipRegion(arg1,(FXRegion const &)*arg2); return Qnil; }
|
1255
|
+
static VALUE _wrap_FXDC_setClipRectangle__SWIG_0(int argc, VALUE *argv, VALUE self) { FXDC *arg1 = (FXDC *) 0 ; FXint arg2 ;
|
1256
|
+
FXint arg3 ; FXint arg4 ; FXint arg5 ; if ((argc < 4) || (argc > 4))
|
1257
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDC, 1);
|
1258
|
+
arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); arg4 = NUM2INT(argv[2]); arg5 = NUM2INT(argv[3]);
|
1259
|
+
FXDC_setClipRectangle(arg1,arg2,arg3,arg4,arg5); return Qnil; }
|
1260
|
+
static VALUE _wrap_FXDC_setClipRectangle__SWIG_1(int argc, VALUE *argv, VALUE self) { FXDC *arg1 = (FXDC *) 0 ;
|
1261
|
+
FXRectangle *arg2 = 0 ; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1262
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDC, 1);
|
1263
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXRectangle, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
|
1264
|
+
FXDC_setClipRectangle(arg1,(FXRectangle const &)*arg2); return Qnil; }
|
1265
|
+
static VALUE _wrap_FXDC_setClipRectangle(int nargs, VALUE *args, VALUE self) { int argc; VALUE argv[6]; int ii;
|
1266
|
+
argc = nargs + 1; argv[0] = self; for (ii = 1; (ii < argc) && (ii < 5); ii++) { argv[ii] = args[ii-1]; } if (argc == 2) {
|
1267
|
+
int _v; { void *ptr;
|
1268
|
+
_v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_FXDC, 0) != -1)) ? 1 : 0; }
|
1269
|
+
if (_v) { { void *ptr;
|
1270
|
+
_v = (NIL_P(argv[1]) || (TYPE(argv[1]) == T_DATA && SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_FXRectangle, 0) != -1)) ? 1 : 0; }
|
1271
|
+
if (_v) { return _wrap_FXDC_setClipRectangle__SWIG_1(nargs, args, self);} } } if (argc == 5) { int _v; {
|
1272
|
+
void *ptr;
|
1273
|
+
_v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_FXDC, 0) != -1)) ? 1 : 0; }
|
1274
|
+
if (_v) { { _v = ((TYPE(argv[1]) == T_FIXNUM) || (TYPE(argv[1]) == T_BIGNUM)) ? 1 : 0; } if (_v) { {
|
1275
|
+
_v = ((TYPE(argv[2]) == T_FIXNUM) || (TYPE(argv[2]) == T_BIGNUM)) ? 1 : 0; } if (_v) { {
|
1276
|
+
_v = ((TYPE(argv[3]) == T_FIXNUM) || (TYPE(argv[3]) == T_BIGNUM)) ? 1 : 0; } if (_v) { {
|
1277
|
+
_v = ((TYPE(argv[4]) == T_FIXNUM) || (TYPE(argv[4]) == T_BIGNUM)) ? 1 : 0; } if (_v) {
|
1278
|
+
return _wrap_FXDC_setClipRectangle__SWIG_0(nargs, args, self);} } } } } }
|
1279
|
+
rb_raise(rb_eArgError, "No matching function for overloaded 'FXDC_setClipRectangle'"); return Qnil; }
|
1280
|
+
static VALUE _wrap_FXDC_clearClipRectangle(int argc, VALUE *argv, VALUE self) { FXDC *arg1 = (FXDC *) 0 ;
|
1281
|
+
if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
1282
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDC, 1); FXDC_clearClipRectangle(arg1); return Qnil; }
|
1283
|
+
static VALUE _wrap_FXDC_setClipMask(int argc, VALUE *argv, VALUE self) { FXDC *arg1 = (FXDC *) 0 ;
|
1284
|
+
FXBitmap *arg2 = (FXBitmap *) 0 ; FXint arg3 = (FXint) 0 ; FXint arg4 = (FXint) 0 ; if ((argc < 1) || (argc > 3))
|
1285
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDC, 1);
|
1286
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXBitmap, 1); if (argc > 1) { arg3 = NUM2INT(argv[1]); }
|
1287
|
+
if (argc > 2) { arg4 = NUM2INT(argv[2]); } FXDC_setClipMask(arg1,arg2,arg3,arg4); return Qnil; }
|
1288
|
+
static VALUE _wrap_FXDC_clearClipMask(int argc, VALUE *argv, VALUE self) { FXDC *arg1 = (FXDC *) 0 ;
|
1289
|
+
if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
1290
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDC, 1); FXDC_clearClipMask(arg1); return Qnil; }
|
1291
|
+
static VALUE _wrap_FXDC_setFont(int argc, VALUE *argv, VALUE self) { FXDC *arg1 = (FXDC *) 0 ; FXFont *arg2 = (FXFont *) 0 ;
|
1292
|
+
if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1293
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDC, 1); SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXFont, 1);
|
1294
|
+
FXDC_setFont(arg1,arg2); return Qnil; }
|
1295
|
+
static VALUE _wrap_FXDC_clipChildren(int argc, VALUE *argv, VALUE self) { FXDC *arg1 = (FXDC *) 0 ; FXbool arg2 ;
|
1296
|
+
if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1297
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDC, 1); arg2 = to_FXbool(argv[0]); FXDC_clipChildren(arg1,arg2);
|
1298
|
+
return Qnil; }
|
1299
|
+
static VALUE _wrap_new_FXDCWindow__SWIG_0(int argc, VALUE *argv, VALUE self) { FXDrawable *arg1 = (FXDrawable *) 0 ;
|
1300
|
+
FXEvent *arg2 = (FXEvent *) 0 ; FXDCWindow *result; if ((argc < 2) || (argc > 2))
|
1301
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
|
1302
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_FXDrawable, 1);
|
1303
|
+
SWIG_ConvertPtr(argv[1], (void **) &arg2, SWIGTYPE_p_FXEvent, 1); {
|
1304
|
+
result = (FXDCWindow *)new_FXDCWindow__SWIG_0(arg1,arg2); DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result);
|
1305
|
+
if(rb_block_given_p()){ rb_ensure(VALUEFUNC(rb_yield), self, VALUEFUNC(FXRbDCWindow::endit), self); } } return self; }
|
1306
|
+
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
|
1307
|
+
static VALUE _wrap_FXDCWindow_allocate(VALUE self) {
|
1308
|
+
#else
|
1309
|
+
static VALUE _wrap_FXDCWindow_allocate(int argc, VALUE *argv, VALUE self) {
|
1310
|
+
#endif
|
1311
|
+
VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_FXDCWindow);
|
1312
|
+
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
|
1313
|
+
rb_obj_call_init(vresult, argc, argv);
|
1314
|
+
#endif
|
1315
|
+
return vresult; }
|
1316
|
+
static VALUE _wrap_new_FXDCWindow__SWIG_1(int argc, VALUE *argv, VALUE self) { FXDrawable *arg1 = (FXDrawable *) 0 ;
|
1317
|
+
FXDCWindow *result; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1318
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_FXDrawable, 1); { result = (FXDCWindow *)new_FXDCWindow__SWIG_1(arg1);
|
1319
|
+
DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result); if(rb_block_given_p()){
|
1320
|
+
rb_ensure(VALUEFUNC(rb_yield), self, VALUEFUNC(FXRbDCWindow::endit), self); } } return self; }
|
1321
|
+
static VALUE _wrap_new_FXDCWindow(int nargs, VALUE *args, VALUE self) { int argc; VALUE argv[2]; int ii; argc = nargs;
|
1322
|
+
for (ii = 0; (ii < argc) && (ii < 2); ii++) { argv[ii] = args[ii]; } if (argc == 1) { int _v; { void *ptr;
|
1323
|
+
_v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_FXDrawable, 0) != -1)) ? 1 : 0; }
|
1324
|
+
if (_v) { return _wrap_new_FXDCWindow__SWIG_1(nargs, args, self);} } if (argc == 2) { int _v; { void *ptr;
|
1325
|
+
_v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_FXDrawable, 0) != -1)) ? 1 : 0; }
|
1326
|
+
if (_v) { { void *ptr;
|
1327
|
+
_v = (NIL_P(argv[1]) || (TYPE(argv[1]) == T_DATA && SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_FXEvent, 0) != -1)) ? 1 : 0; }
|
1328
|
+
if (_v) { return _wrap_new_FXDCWindow__SWIG_0(nargs, args, self);} } }
|
1329
|
+
rb_raise(rb_eArgError, "No matching function for overloaded 'new_FXDCWindow'"); return Qnil; }
|
1330
|
+
static VALUE _wrap_FXDCWindow_begin(int argc, VALUE *argv, VALUE self) { FXDCWindow *arg1 = (FXDCWindow *) 0 ;
|
1331
|
+
FXDrawable *arg2 = (FXDrawable *) 0 ; if ((argc < 1) || (argc > 1))
|
1332
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1333
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDCWindow, 1);
|
1334
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXDrawable, 1); (arg1)->begin(arg2); return Qnil; }
|
1335
|
+
static VALUE _wrap_FXDCWindow_end(int argc, VALUE *argv, VALUE self) { FXDCWindow *arg1 = (FXDCWindow *) 0 ;
|
1336
|
+
if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
1337
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDCWindow, 1); (arg1)->end(); return Qnil; }
|
1338
|
+
static void
|
1339
|
+
free_FXDCWindow(FXDCWindow *arg1) {
|
1340
|
+
delete arg1;
|
1341
|
+
}
|
1342
|
+
static VALUE _wrap_FXDCWindow_readPixel(int argc, VALUE *argv, VALUE self) { FXDCWindow *arg1 = (FXDCWindow *) 0 ; FXint arg2 ;
|
1343
|
+
FXint arg3 ; FXColor result; VALUE vresult = Qnil; if ((argc < 2) || (argc > 2))
|
1344
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
|
1345
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDCWindow, 1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]);
|
1346
|
+
result = (FXColor)FXDCWindow_readPixel(arg1,arg2,arg3); vresult = UINT2NUM(result); return vresult; }
|
1347
|
+
static VALUE _wrap_FXDCWindow_drawPoint(int argc, VALUE *argv, VALUE self) { FXDCWindow *arg1 = (FXDCWindow *) 0 ; FXint arg2 ;
|
1348
|
+
FXint arg3 ; if ((argc < 2) || (argc > 2)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
|
1349
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDCWindow, 1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]);
|
1350
|
+
FXDCWindow_drawPoint(arg1,arg2,arg3); return Qnil; }
|
1351
|
+
static VALUE _wrap_FXDCWindow_drawPoints(int argc, VALUE *argv, VALUE self) { FXDCWindow *arg1 = (FXDCWindow *) 0 ;
|
1352
|
+
FXPoint *arg2 = (FXPoint *) 0 ; FXuint arg3 ; if ((argc < 1) || (argc > 1))
|
1353
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1354
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDCWindow, 1); { Check_Type(argv[0], T_ARRAY);
|
1355
|
+
arg2 = new FXPoint[RARRAY_LEN(argv[0])]; arg3 = static_cast<FXuint>( RARRAY_LEN(argv[0]) );
|
1356
|
+
for (FXuint i = 0; i < arg3; i++) { FXPoint *pPoint; Data_Get_Struct(rb_ary_entry(argv[0], i), FXPoint, pPoint);
|
1357
|
+
arg2[i] = *pPoint; } } FXDCWindow_drawPoints(arg1,(FXPoint const *)arg2,arg3); { delete [] arg2; } return Qnil; }
|
1358
|
+
static VALUE _wrap_FXDCWindow_drawPointsRel(int argc, VALUE *argv, VALUE self) { FXDCWindow *arg1 = (FXDCWindow *) 0 ;
|
1359
|
+
FXPoint *arg2 = (FXPoint *) 0 ; FXuint arg3 ; if ((argc < 1) || (argc > 1))
|
1360
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1361
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDCWindow, 1); { Check_Type(argv[0], T_ARRAY);
|
1362
|
+
arg2 = new FXPoint[RARRAY_LEN(argv[0])]; arg3 = static_cast<FXuint>( RARRAY_LEN(argv[0]) );
|
1363
|
+
for (FXuint i = 0; i < arg3; i++) { FXPoint *pPoint; Data_Get_Struct(rb_ary_entry(argv[0], i), FXPoint, pPoint);
|
1364
|
+
arg2[i] = *pPoint; } } FXDCWindow_drawPointsRel(arg1,(FXPoint const *)arg2,arg3); { delete [] arg2; }
|
1365
|
+
return Qnil; }
|
1366
|
+
static VALUE _wrap_FXDCWindow_drawLine(int argc, VALUE *argv, VALUE self) { FXDCWindow *arg1 = (FXDCWindow *) 0 ; FXint arg2 ;
|
1367
|
+
FXint arg3 ; FXint arg4 ; FXint arg5 ; if ((argc < 4) || (argc > 4))
|
1368
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc);
|
1369
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDCWindow, 1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]);
|
1370
|
+
arg4 = NUM2INT(argv[2]); arg5 = NUM2INT(argv[3]); FXDCWindow_drawLine(arg1,arg2,arg3,arg4,arg5); return Qnil; }
|
1371
|
+
static VALUE _wrap_FXDCWindow_drawLines(int argc, VALUE *argv, VALUE self) { FXDCWindow *arg1 = (FXDCWindow *) 0 ;
|
1372
|
+
FXPoint *arg2 = (FXPoint *) 0 ; FXuint arg3 ; if ((argc < 1) || (argc > 1))
|
1373
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1374
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDCWindow, 1); { Check_Type(argv[0], T_ARRAY);
|
1375
|
+
arg2 = new FXPoint[RARRAY_LEN(argv[0])]; arg3 = static_cast<FXuint>( RARRAY_LEN(argv[0]) );
|
1376
|
+
for (FXuint i = 0; i < arg3; i++) { FXPoint *pPoint; Data_Get_Struct(rb_ary_entry(argv[0], i), FXPoint, pPoint);
|
1377
|
+
arg2[i] = *pPoint; } } FXDCWindow_drawLines(arg1,(FXPoint const *)arg2,arg3); { delete [] arg2; } return Qnil; }
|
1378
|
+
static VALUE _wrap_FXDCWindow_drawLinesRel(int argc, VALUE *argv, VALUE self) { FXDCWindow *arg1 = (FXDCWindow *) 0 ;
|
1379
|
+
FXPoint *arg2 = (FXPoint *) 0 ; FXuint arg3 ; if ((argc < 1) || (argc > 1))
|
1380
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1381
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDCWindow, 1); { Check_Type(argv[0], T_ARRAY);
|
1382
|
+
arg2 = new FXPoint[RARRAY_LEN(argv[0])]; arg3 = static_cast<FXuint>( RARRAY_LEN(argv[0]) );
|
1383
|
+
for (FXuint i = 0; i < arg3; i++) { FXPoint *pPoint; Data_Get_Struct(rb_ary_entry(argv[0], i), FXPoint, pPoint);
|
1384
|
+
arg2[i] = *pPoint; } } FXDCWindow_drawLinesRel(arg1,(FXPoint const *)arg2,arg3); { delete [] arg2; }
|
1385
|
+
return Qnil; }
|
1386
|
+
static VALUE _wrap_FXDCWindow_drawLineSegments(int argc, VALUE *argv, VALUE self) { FXDCWindow *arg1 = (FXDCWindow *) 0 ;
|
1387
|
+
FXSegment *arg2 = (FXSegment *) 0 ; FXuint arg3 ; if ((argc < 1) || (argc > 1))
|
1388
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1389
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDCWindow, 1); { Check_Type(argv[0], T_ARRAY);
|
1390
|
+
arg2 = new FXSegment[RARRAY_LEN(argv[0])]; arg3 = static_cast<FXuint>( RARRAY_LEN(argv[0]) );
|
1391
|
+
for (FXuint i = 0; i < arg3; i++) { FXSegment *pSeg; Data_Get_Struct(rb_ary_entry(argv[0], i), FXSegment, pSeg);
|
1392
|
+
arg2[i] = *pSeg; } } FXDCWindow_drawLineSegments(arg1,(FXSegment const *)arg2,arg3); { delete [] arg2; }
|
1393
|
+
return Qnil; }
|
1394
|
+
static VALUE _wrap_FXDCWindow_drawRectangle(int argc, VALUE *argv, VALUE self) { FXDCWindow *arg1 = (FXDCWindow *) 0 ;
|
1395
|
+
FXint arg2 ; FXint arg3 ; FXint arg4 ; FXint arg5 ; if ((argc < 4) || (argc > 4))
|
1396
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc);
|
1397
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDCWindow, 1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]);
|
1398
|
+
arg4 = NUM2INT(argv[2]); arg5 = NUM2INT(argv[3]); FXDCWindow_drawRectangle(arg1,arg2,arg3,arg4,arg5); return Qnil; }
|
1399
|
+
static VALUE _wrap_FXDCWindow_drawRectangles(int argc, VALUE *argv, VALUE self) { FXDCWindow *arg1 = (FXDCWindow *) 0 ;
|
1400
|
+
FXRectangle *arg2 = (FXRectangle *) 0 ; FXuint arg3 ; if ((argc < 1) || (argc > 1))
|
1401
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1402
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDCWindow, 1); { Check_Type(argv[0], T_ARRAY);
|
1403
|
+
arg2 = new FXRectangle[RARRAY_LEN(argv[0])]; arg3 = static_cast<FXuint>( RARRAY_LEN(argv[0]) );
|
1404
|
+
for (FXuint i = 0; i < arg3; i++) { FXRectangle *pRect; Data_Get_Struct(rb_ary_entry(argv[0], i), FXRectangle, pRect);
|
1405
|
+
arg2[i] = *pRect; } } FXDCWindow_drawRectangles(arg1,(FXRectangle const *)arg2,arg3); { delete [] arg2; }
|
1406
|
+
return Qnil; }
|
1407
|
+
static VALUE _wrap_FXDCWindow_drawRoundRectangle(int argc, VALUE *argv, VALUE self) { FXDCWindow *arg1 = (FXDCWindow *) 0 ;
|
1408
|
+
FXint arg2 ; FXint arg3 ; FXint arg4 ; FXint arg5 ; FXint arg6 ; FXint arg7 ; if ((argc < 6) || (argc > 6))
|
1409
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 6)",argc);
|
1410
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDCWindow, 1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]);
|
1411
|
+
arg4 = NUM2INT(argv[2]); arg5 = NUM2INT(argv[3]); arg6 = NUM2INT(argv[4]); arg7 = NUM2INT(argv[5]);
|
1412
|
+
FXDCWindow_drawRoundRectangle(arg1,arg2,arg3,arg4,arg5,arg6,arg7); return Qnil; }
|
1413
|
+
static VALUE _wrap_FXDCWindow_drawArc(int argc, VALUE *argv, VALUE self) { FXDCWindow *arg1 = (FXDCWindow *) 0 ; FXint arg2 ;
|
1414
|
+
FXint arg3 ; FXint arg4 ; FXint arg5 ; FXint arg6 ; FXint arg7 ; if ((argc < 6) || (argc > 6))
|
1415
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 6)",argc);
|
1416
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDCWindow, 1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]);
|
1417
|
+
arg4 = NUM2INT(argv[2]); arg5 = NUM2INT(argv[3]); arg6 = NUM2INT(argv[4]); arg7 = NUM2INT(argv[5]);
|
1418
|
+
FXDCWindow_drawArc(arg1,arg2,arg3,arg4,arg5,arg6,arg7); return Qnil; }
|
1419
|
+
static VALUE _wrap_FXDCWindow_drawArcs(int argc, VALUE *argv, VALUE self) { FXDCWindow *arg1 = (FXDCWindow *) 0 ;
|
1420
|
+
FXArc *arg2 = (FXArc *) 0 ; FXuint arg3 ; if ((argc < 1) || (argc > 1))
|
1421
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1422
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDCWindow, 1); { Check_Type(argv[0], T_ARRAY);
|
1423
|
+
arg2 = new FXArc[RARRAY_LEN(argv[0])]; arg3 = static_cast<FXuint>( RARRAY_LEN(argv[0]) );
|
1424
|
+
for (FXuint i = 0; i < arg3; i++) { FXArc *pArc; Data_Get_Struct(rb_ary_entry(argv[0], i), FXArc, pArc);
|
1425
|
+
arg2[i] = *pArc; } } FXDCWindow_drawArcs(arg1,(FXArc const *)arg2,arg3); return Qnil; }
|
1426
|
+
static VALUE _wrap_FXDCWindow_drawEllipse(int argc, VALUE *argv, VALUE self) { FXDCWindow *arg1 = (FXDCWindow *) 0 ;
|
1427
|
+
FXint arg2 ; FXint arg3 ; FXint arg4 ; FXint arg5 ; if ((argc < 4) || (argc > 4))
|
1428
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc);
|
1429
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDCWindow, 1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]);
|
1430
|
+
arg4 = NUM2INT(argv[2]); arg5 = NUM2INT(argv[3]); FXDCWindow_drawEllipse(arg1,arg2,arg3,arg4,arg5); return Qnil; }
|
1431
|
+
static VALUE _wrap_FXDCWindow_fillRectangle(int argc, VALUE *argv, VALUE self) { FXDCWindow *arg1 = (FXDCWindow *) 0 ;
|
1432
|
+
FXint arg2 ; FXint arg3 ; FXint arg4 ; FXint arg5 ; if ((argc < 4) || (argc > 4))
|
1433
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc);
|
1434
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDCWindow, 1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]);
|
1435
|
+
arg4 = NUM2INT(argv[2]); arg5 = NUM2INT(argv[3]); FXDCWindow_fillRectangle(arg1,arg2,arg3,arg4,arg5); return Qnil; }
|
1436
|
+
static VALUE _wrap_FXDCWindow_fillRectangles(int argc, VALUE *argv, VALUE self) { FXDCWindow *arg1 = (FXDCWindow *) 0 ;
|
1437
|
+
FXRectangle *arg2 = (FXRectangle *) 0 ; FXuint arg3 ; if ((argc < 1) || (argc > 1))
|
1438
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1439
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDCWindow, 1); { Check_Type(argv[0], T_ARRAY);
|
1440
|
+
arg2 = new FXRectangle[RARRAY_LEN(argv[0])]; arg3 = static_cast<FXuint>( RARRAY_LEN(argv[0]) );
|
1441
|
+
for (FXuint i = 0; i < arg3; i++) { FXRectangle *pRect; Data_Get_Struct(rb_ary_entry(argv[0], i), FXRectangle, pRect);
|
1442
|
+
arg2[i] = *pRect; } } FXDCWindow_fillRectangles(arg1,(FXRectangle const *)arg2,arg3); { delete [] arg2; }
|
1443
|
+
return Qnil; }
|
1444
|
+
static VALUE _wrap_FXDCWindow_fillRoundRectangle(int argc, VALUE *argv, VALUE self) { FXDCWindow *arg1 = (FXDCWindow *) 0 ;
|
1445
|
+
FXint arg2 ; FXint arg3 ; FXint arg4 ; FXint arg5 ; FXint arg6 ; FXint arg7 ; if ((argc < 6) || (argc > 6))
|
1446
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 6)",argc);
|
1447
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDCWindow, 1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]);
|
1448
|
+
arg4 = NUM2INT(argv[2]); arg5 = NUM2INT(argv[3]); arg6 = NUM2INT(argv[4]); arg7 = NUM2INT(argv[5]);
|
1449
|
+
FXDCWindow_fillRoundRectangle(arg1,arg2,arg3,arg4,arg5,arg6,arg7); return Qnil; }
|
1450
|
+
static VALUE _wrap_FXDCWindow_fillChord(int argc, VALUE *argv, VALUE self) { FXDCWindow *arg1 = (FXDCWindow *) 0 ; FXint arg2 ;
|
1451
|
+
FXint arg3 ; FXint arg4 ; FXint arg5 ; FXint arg6 ; FXint arg7 ; if ((argc < 6) || (argc > 6))
|
1452
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 6)",argc);
|
1453
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDCWindow, 1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]);
|
1454
|
+
arg4 = NUM2INT(argv[2]); arg5 = NUM2INT(argv[3]); arg6 = NUM2INT(argv[4]); arg7 = NUM2INT(argv[5]);
|
1455
|
+
FXDCWindow_fillChord(arg1,arg2,arg3,arg4,arg5,arg6,arg7); return Qnil; }
|
1456
|
+
static VALUE _wrap_FXDCWindow_fillChords(int argc, VALUE *argv, VALUE self) { FXDCWindow *arg1 = (FXDCWindow *) 0 ;
|
1457
|
+
FXArc *arg2 = (FXArc *) 0 ; FXuint arg3 ; if ((argc < 2) || (argc > 2))
|
1458
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
|
1459
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDCWindow, 1);
|
1460
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXArc, 1); arg3 = NUM2UINT(argv[1]);
|
1461
|
+
FXDCWindow_fillChords(arg1,(FXArc const *)arg2,arg3); return Qnil; }
|
1462
|
+
static VALUE _wrap_FXDCWindow_fillArc(int argc, VALUE *argv, VALUE self) { FXDCWindow *arg1 = (FXDCWindow *) 0 ; FXint arg2 ;
|
1463
|
+
FXint arg3 ; FXint arg4 ; FXint arg5 ; FXint arg6 ; FXint arg7 ; if ((argc < 6) || (argc > 6))
|
1464
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 6)",argc);
|
1465
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDCWindow, 1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]);
|
1466
|
+
arg4 = NUM2INT(argv[2]); arg5 = NUM2INT(argv[3]); arg6 = NUM2INT(argv[4]); arg7 = NUM2INT(argv[5]);
|
1467
|
+
FXDCWindow_fillArc(arg1,arg2,arg3,arg4,arg5,arg6,arg7); return Qnil; }
|
1468
|
+
static VALUE _wrap_FXDCWindow_fillArcs(int argc, VALUE *argv, VALUE self) { FXDCWindow *arg1 = (FXDCWindow *) 0 ;
|
1469
|
+
FXArc *arg2 = (FXArc *) 0 ; FXuint arg3 ; if ((argc < 1) || (argc > 1))
|
1470
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1471
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDCWindow, 1); { Check_Type(argv[0], T_ARRAY);
|
1472
|
+
arg2 = new FXArc[RARRAY_LEN(argv[0])]; arg3 = static_cast<FXuint>( RARRAY_LEN(argv[0]) );
|
1473
|
+
for (FXuint i = 0; i < arg3; i++) { FXArc *pArc; Data_Get_Struct(rb_ary_entry(argv[0], i), FXArc, pArc);
|
1474
|
+
arg2[i] = *pArc; } } FXDCWindow_fillArcs(arg1,(FXArc const *)arg2,arg3); return Qnil; }
|
1475
|
+
static VALUE _wrap_FXDCWindow_fillPolygon(int argc, VALUE *argv, VALUE self) { FXDCWindow *arg1 = (FXDCWindow *) 0 ;
|
1476
|
+
FXPoint *arg2 = (FXPoint *) 0 ; FXuint arg3 ; if ((argc < 1) || (argc > 1))
|
1477
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1478
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDCWindow, 1); { Check_Type(argv[0], T_ARRAY);
|
1479
|
+
arg2 = new FXPoint[RARRAY_LEN(argv[0])]; arg3 = static_cast<FXuint>( RARRAY_LEN(argv[0]) );
|
1480
|
+
for (FXuint i = 0; i < arg3; i++) { FXPoint *pPoint; Data_Get_Struct(rb_ary_entry(argv[0], i), FXPoint, pPoint);
|
1481
|
+
arg2[i] = *pPoint; } } FXDCWindow_fillPolygon(arg1,(FXPoint const *)arg2,arg3); { delete [] arg2; } return Qnil; }
|
1482
|
+
static VALUE _wrap_FXDCWindow_fillConcavePolygon(int argc, VALUE *argv, VALUE self) { FXDCWindow *arg1 = (FXDCWindow *) 0 ;
|
1483
|
+
FXPoint *arg2 = (FXPoint *) 0 ; FXuint arg3 ; if ((argc < 1) || (argc > 1))
|
1484
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1485
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDCWindow, 1); { Check_Type(argv[0], T_ARRAY);
|
1486
|
+
arg2 = new FXPoint[RARRAY_LEN(argv[0])]; arg3 = static_cast<FXuint>( RARRAY_LEN(argv[0]) );
|
1487
|
+
for (FXuint i = 0; i < arg3; i++) { FXPoint *pPoint; Data_Get_Struct(rb_ary_entry(argv[0], i), FXPoint, pPoint);
|
1488
|
+
arg2[i] = *pPoint; } } FXDCWindow_fillConcavePolygon(arg1,(FXPoint const *)arg2,arg3); { delete [] arg2; }
|
1489
|
+
return Qnil; }
|
1490
|
+
static VALUE _wrap_FXDCWindow_fillComplexPolygon(int argc, VALUE *argv, VALUE self) { FXDCWindow *arg1 = (FXDCWindow *) 0 ;
|
1491
|
+
FXPoint *arg2 = (FXPoint *) 0 ; FXuint arg3 ; if ((argc < 1) || (argc > 1))
|
1492
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1493
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDCWindow, 1); { Check_Type(argv[0], T_ARRAY);
|
1494
|
+
arg2 = new FXPoint[RARRAY_LEN(argv[0])]; arg3 = static_cast<FXuint>( RARRAY_LEN(argv[0]) );
|
1495
|
+
for (FXuint i = 0; i < arg3; i++) { FXPoint *pPoint; Data_Get_Struct(rb_ary_entry(argv[0], i), FXPoint, pPoint);
|
1496
|
+
arg2[i] = *pPoint; } } FXDCWindow_fillComplexPolygon(arg1,(FXPoint const *)arg2,arg3); { delete [] arg2; }
|
1497
|
+
return Qnil; }
|
1498
|
+
static VALUE _wrap_FXDCWindow_fillPolygonRel(int argc, VALUE *argv, VALUE self) { FXDCWindow *arg1 = (FXDCWindow *) 0 ;
|
1499
|
+
FXPoint *arg2 = (FXPoint *) 0 ; FXuint arg3 ; if ((argc < 1) || (argc > 1))
|
1500
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1501
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDCWindow, 1); { Check_Type(argv[0], T_ARRAY);
|
1502
|
+
arg2 = new FXPoint[RARRAY_LEN(argv[0])]; arg3 = static_cast<FXuint>( RARRAY_LEN(argv[0]) );
|
1503
|
+
for (FXuint i = 0; i < arg3; i++) { FXPoint *pPoint; Data_Get_Struct(rb_ary_entry(argv[0], i), FXPoint, pPoint);
|
1504
|
+
arg2[i] = *pPoint; } } FXDCWindow_fillPolygonRel(arg1,(FXPoint const *)arg2,arg3); { delete [] arg2; }
|
1505
|
+
return Qnil; }
|
1506
|
+
static VALUE _wrap_FXDCWindow_fillConcavePolygonRel(int argc, VALUE *argv, VALUE self) { FXDCWindow *arg1 = (FXDCWindow *) 0 ;
|
1507
|
+
FXPoint *arg2 = (FXPoint *) 0 ; FXuint arg3 ; if ((argc < 1) || (argc > 1))
|
1508
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1509
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDCWindow, 1); { Check_Type(argv[0], T_ARRAY);
|
1510
|
+
arg2 = new FXPoint[RARRAY_LEN(argv[0])]; arg3 = static_cast<FXuint>( RARRAY_LEN(argv[0]) );
|
1511
|
+
for (FXuint i = 0; i < arg3; i++) { FXPoint *pPoint; Data_Get_Struct(rb_ary_entry(argv[0], i), FXPoint, pPoint);
|
1512
|
+
arg2[i] = *pPoint; } } FXDCWindow_fillConcavePolygonRel(arg1,(FXPoint const *)arg2,arg3); { delete [] arg2; }
|
1513
|
+
return Qnil; }
|
1514
|
+
static VALUE _wrap_FXDCWindow_fillComplexPolygonRel(int argc, VALUE *argv, VALUE self) { FXDCWindow *arg1 = (FXDCWindow *) 0 ;
|
1515
|
+
FXPoint *arg2 = (FXPoint *) 0 ; FXuint arg3 ; if ((argc < 1) || (argc > 1))
|
1516
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1517
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDCWindow, 1); { Check_Type(argv[0], T_ARRAY);
|
1518
|
+
arg2 = new FXPoint[RARRAY_LEN(argv[0])]; arg3 = static_cast<FXuint>( RARRAY_LEN(argv[0]) );
|
1519
|
+
for (FXuint i = 0; i < arg3; i++) { FXPoint *pPoint; Data_Get_Struct(rb_ary_entry(argv[0], i), FXPoint, pPoint);
|
1520
|
+
arg2[i] = *pPoint; } } FXDCWindow_fillComplexPolygonRel(arg1,(FXPoint const *)arg2,arg3); { delete [] arg2; }
|
1521
|
+
return Qnil; }
|
1522
|
+
static VALUE _wrap_FXDCWindow_drawHashBox(int argc, VALUE *argv, VALUE self) { FXDCWindow *arg1 = (FXDCWindow *) 0 ;
|
1523
|
+
FXint arg2 ; FXint arg3 ; FXint arg4 ; FXint arg5 ; FXint arg6 = (FXint) 1 ; if ((argc < 4) || (argc > 5))
|
1524
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc);
|
1525
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDCWindow, 1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]);
|
1526
|
+
arg4 = NUM2INT(argv[2]); arg5 = NUM2INT(argv[3]); if (argc > 4) { arg6 = NUM2INT(argv[4]); }
|
1527
|
+
FXDCWindow_drawHashBox(arg1,arg2,arg3,arg4,arg5,arg6); return Qnil; }
|
1528
|
+
static VALUE _wrap_FXDCWindow_drawFocusRectangle(int argc, VALUE *argv, VALUE self) { FXDCWindow *arg1 = (FXDCWindow *) 0 ;
|
1529
|
+
FXint arg2 ; FXint arg3 ; FXint arg4 ; FXint arg5 ; if ((argc < 4) || (argc > 4))
|
1530
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc);
|
1531
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDCWindow, 1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]);
|
1532
|
+
arg4 = NUM2INT(argv[2]); arg5 = NUM2INT(argv[3]); FXDCWindow_drawFocusRectangle(arg1,arg2,arg3,arg4,arg5); return Qnil; }
|
1533
|
+
static VALUE _wrap_FXDCWindow_drawArea__SWIG_0(int argc, VALUE *argv, VALUE self) { FXDCWindow *arg1 = (FXDCWindow *) 0 ;
|
1534
|
+
FXDrawable *arg2 = (FXDrawable *) 0 ; FXint arg3 ; FXint arg4 ; FXint arg5 ; FXint arg6 ; FXint arg7 ; FXint arg8 ;
|
1535
|
+
if ((argc < 7) || (argc > 7)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 7)",argc);
|
1536
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDCWindow, 1);
|
1537
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXDrawable, 1); arg3 = NUM2INT(argv[1]); arg4 = NUM2INT(argv[2]);
|
1538
|
+
arg5 = NUM2INT(argv[3]); arg6 = NUM2INT(argv[4]); arg7 = NUM2INT(argv[5]); arg8 = NUM2INT(argv[6]);
|
1539
|
+
FXDCWindow_drawArea(arg1,(FXDrawable const *)arg2,arg3,arg4,arg5,arg6,arg7,arg8); return Qnil; }
|
1540
|
+
static VALUE _wrap_FXDCWindow_drawArea__SWIG_1(int argc, VALUE *argv, VALUE self) { FXDCWindow *arg1 = (FXDCWindow *) 0 ;
|
1541
|
+
FXDrawable *arg2 = (FXDrawable *) 0 ; FXint arg3 ; FXint arg4 ; FXint arg5 ; FXint arg6 ; FXint arg7 ; FXint arg8 ;
|
1542
|
+
FXint arg9 ; FXint arg10 ; if ((argc < 9) || (argc > 9)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 9)",argc);
|
1543
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDCWindow, 1);
|
1544
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXDrawable, 1); arg3 = NUM2INT(argv[1]); arg4 = NUM2INT(argv[2]);
|
1545
|
+
arg5 = NUM2INT(argv[3]); arg6 = NUM2INT(argv[4]); arg7 = NUM2INT(argv[5]); arg8 = NUM2INT(argv[6]); arg9 = NUM2INT(argv[7]);
|
1546
|
+
arg10 = NUM2INT(argv[8]); FXDCWindow_drawArea(arg1,(FXDrawable const *)arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
|
1547
|
+
return Qnil; }
|
1548
|
+
static VALUE _wrap_FXDCWindow_drawArea(int nargs, VALUE *args, VALUE self) { int argc; VALUE argv[11]; int ii; argc = nargs + 1;
|
1549
|
+
argv[0] = self; for (ii = 1; (ii < argc) && (ii < 10); ii++) { argv[ii] = args[ii-1]; } if (argc == 8) { int _v; {
|
1550
|
+
void *ptr;
|
1551
|
+
_v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_FXDCWindow, 0) != -1)) ? 1 : 0; }
|
1552
|
+
if (_v) { { void *ptr;
|
1553
|
+
_v = (NIL_P(argv[1]) || (TYPE(argv[1]) == T_DATA && SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_FXDrawable, 0) != -1)) ? 1 : 0; }
|
1554
|
+
if (_v) { { _v = ((TYPE(argv[2]) == T_FIXNUM) || (TYPE(argv[2]) == T_BIGNUM)) ? 1 : 0; } if (_v) { {
|
1555
|
+
_v = ((TYPE(argv[3]) == T_FIXNUM) || (TYPE(argv[3]) == T_BIGNUM)) ? 1 : 0; } if (_v) { {
|
1556
|
+
_v = ((TYPE(argv[4]) == T_FIXNUM) || (TYPE(argv[4]) == T_BIGNUM)) ? 1 : 0; } if (_v) { {
|
1557
|
+
_v = ((TYPE(argv[5]) == T_FIXNUM) || (TYPE(argv[5]) == T_BIGNUM)) ? 1 : 0; } if (_v) { {
|
1558
|
+
_v = ((TYPE(argv[6]) == T_FIXNUM) || (TYPE(argv[6]) == T_BIGNUM)) ? 1 : 0; } if (_v) { {
|
1559
|
+
_v = ((TYPE(argv[7]) == T_FIXNUM) || (TYPE(argv[7]) == T_BIGNUM)) ? 1 : 0; } if (_v) {
|
1560
|
+
return _wrap_FXDCWindow_drawArea__SWIG_0(nargs, args, self);} } } } } } } } }
|
1561
|
+
if (argc == 10) { int _v; { void *ptr;
|
1562
|
+
_v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_FXDCWindow, 0) != -1)) ? 1 : 0; }
|
1563
|
+
if (_v) { { void *ptr;
|
1564
|
+
_v = (NIL_P(argv[1]) || (TYPE(argv[1]) == T_DATA && SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_FXDrawable, 0) != -1)) ? 1 : 0; }
|
1565
|
+
if (_v) { { _v = ((TYPE(argv[2]) == T_FIXNUM) || (TYPE(argv[2]) == T_BIGNUM)) ? 1 : 0; } if (_v) { {
|
1566
|
+
_v = ((TYPE(argv[3]) == T_FIXNUM) || (TYPE(argv[3]) == T_BIGNUM)) ? 1 : 0; } if (_v) { {
|
1567
|
+
_v = ((TYPE(argv[4]) == T_FIXNUM) || (TYPE(argv[4]) == T_BIGNUM)) ? 1 : 0; } if (_v) { {
|
1568
|
+
_v = ((TYPE(argv[5]) == T_FIXNUM) || (TYPE(argv[5]) == T_BIGNUM)) ? 1 : 0; } if (_v) { {
|
1569
|
+
_v = ((TYPE(argv[6]) == T_FIXNUM) || (TYPE(argv[6]) == T_BIGNUM)) ? 1 : 0; } if (_v) { {
|
1570
|
+
_v = ((TYPE(argv[7]) == T_FIXNUM) || (TYPE(argv[7]) == T_BIGNUM)) ? 1 : 0; } if (_v) {
|
1571
|
+
{ _v = ((TYPE(argv[8]) == T_FIXNUM) || (TYPE(argv[8]) == T_BIGNUM)) ? 1 : 0; }
|
1572
|
+
if (_v) { { _v = ((TYPE(argv[9]) == T_FIXNUM) || (TYPE(argv[9]) == T_BIGNUM)) ? 1 : 0; }
|
1573
|
+
if (_v) { return _wrap_FXDCWindow_drawArea__SWIG_1(nargs, args, self);} } } } }
|
1574
|
+
} } } } } }
|
1575
|
+
rb_raise(rb_eArgError, "No matching function for overloaded 'FXDCWindow_drawArea'"); return Qnil; }
|
1576
|
+
static VALUE _wrap_FXDCWindow_drawImage(int argc, VALUE *argv, VALUE self) { FXDCWindow *arg1 = (FXDCWindow *) 0 ;
|
1577
|
+
FXImage *arg2 = (FXImage *) 0 ; FXint arg3 ; FXint arg4 ; if ((argc < 3) || (argc > 3))
|
1578
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc);
|
1579
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDCWindow, 1);
|
1580
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXImage, 1); arg3 = NUM2INT(argv[1]); arg4 = NUM2INT(argv[2]);
|
1581
|
+
FXDCWindow_drawImage(arg1,(FXImage const *)arg2,arg3,arg4); return Qnil; }
|
1582
|
+
static VALUE _wrap_FXDCWindow_drawBitmap(int argc, VALUE *argv, VALUE self) { FXDCWindow *arg1 = (FXDCWindow *) 0 ;
|
1583
|
+
FXBitmap *arg2 = (FXBitmap *) 0 ; FXint arg3 ; FXint arg4 ; if ((argc < 3) || (argc > 3))
|
1584
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc);
|
1585
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDCWindow, 1);
|
1586
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXBitmap, 1); arg3 = NUM2INT(argv[1]); arg4 = NUM2INT(argv[2]);
|
1587
|
+
FXDCWindow_drawBitmap(arg1,(FXBitmap const *)arg2,arg3,arg4); return Qnil; }
|
1588
|
+
static VALUE _wrap_FXDCWindow_drawIcon(int argc, VALUE *argv, VALUE self) { FXDCWindow *arg1 = (FXDCWindow *) 0 ;
|
1589
|
+
FXIcon *arg2 = (FXIcon *) 0 ; FXint arg3 ; FXint arg4 ; if ((argc < 3) || (argc > 3))
|
1590
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc);
|
1591
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDCWindow, 1);
|
1592
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXIcon, 1); arg3 = NUM2INT(argv[1]); arg4 = NUM2INT(argv[2]);
|
1593
|
+
FXDCWindow_drawIcon(arg1,(FXIcon const *)arg2,arg3,arg4); return Qnil; }
|
1594
|
+
static VALUE _wrap_FXDCWindow_drawIconShaded(int argc, VALUE *argv, VALUE self) { FXDCWindow *arg1 = (FXDCWindow *) 0 ;
|
1595
|
+
FXIcon *arg2 = (FXIcon *) 0 ; FXint arg3 ; FXint arg4 ; if ((argc < 3) || (argc > 3))
|
1596
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc);
|
1597
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDCWindow, 1);
|
1598
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXIcon, 1); arg3 = NUM2INT(argv[1]); arg4 = NUM2INT(argv[2]);
|
1599
|
+
FXDCWindow_drawIconShaded(arg1,(FXIcon const *)arg2,arg3,arg4); return Qnil; }
|
1600
|
+
static VALUE _wrap_FXDCWindow_drawIconSunken(int argc, VALUE *argv, VALUE self) { FXDCWindow *arg1 = (FXDCWindow *) 0 ;
|
1601
|
+
FXIcon *arg2 = (FXIcon *) 0 ; FXint arg3 ; FXint arg4 ; if ((argc < 3) || (argc > 3))
|
1602
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc);
|
1603
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDCWindow, 1);
|
1604
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXIcon, 1); arg3 = NUM2INT(argv[1]); arg4 = NUM2INT(argv[2]);
|
1605
|
+
FXDCWindow_drawIconSunken(arg1,(FXIcon const *)arg2,arg3,arg4); return Qnil; }
|
1606
|
+
static VALUE _wrap_FXDCWindow_drawText(int argc, VALUE *argv, VALUE self) { FXDCWindow *arg1 = (FXDCWindow *) 0 ; FXint arg2 ;
|
1607
|
+
FXint arg3 ; FXchar *arg4 ; FXuint arg5 ; if ((argc < 3) || (argc > 3))
|
1608
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc);
|
1609
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDCWindow, 1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); {
|
1610
|
+
Check_Type(argv[2], T_STRING); arg4 = StringValuePtr(argv[2]); arg5 = RSTRING_LEN(argv[2]); }
|
1611
|
+
FXDCWindow_drawText(arg1,arg2,arg3,(FXchar const *)arg4,arg5); return Qnil; }
|
1612
|
+
static VALUE _wrap_FXDCWindow_drawImageText(int argc, VALUE *argv, VALUE self) { FXDCWindow *arg1 = (FXDCWindow *) 0 ;
|
1613
|
+
FXint arg2 ; FXint arg3 ; FXchar *arg4 ; FXuint arg5 ; if ((argc < 3) || (argc > 3))
|
1614
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc);
|
1615
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDCWindow, 1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); {
|
1616
|
+
Check_Type(argv[2], T_STRING); arg4 = StringValuePtr(argv[2]); arg5 = RSTRING_LEN(argv[2]); }
|
1617
|
+
FXDCWindow_drawImageText(arg1,arg2,arg3,(FXchar const *)arg4,arg5); return Qnil; }
|
1618
|
+
static VALUE _wrap_FXDCWindow_setForeground(int argc, VALUE *argv, VALUE self) { FXDCWindow *arg1 = (FXDCWindow *) 0 ;
|
1619
|
+
FXColor arg2 ; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1620
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDCWindow, 1); arg2 = to_FXColor(argv[0]);
|
1621
|
+
FXDCWindow_setForeground(arg1,arg2); return Qnil; }
|
1622
|
+
static VALUE _wrap_FXDCWindow_setBackground(int argc, VALUE *argv, VALUE self) { FXDCWindow *arg1 = (FXDCWindow *) 0 ;
|
1623
|
+
FXColor arg2 ; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1624
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDCWindow, 1); arg2 = to_FXColor(argv[0]);
|
1625
|
+
FXDCWindow_setBackground(arg1,arg2); return Qnil; }
|
1626
|
+
static VALUE _wrap_FXDCWindow_setDashes(int argc, VALUE *argv, VALUE self) { FXDCWindow *arg1 = (FXDCWindow *) 0 ; FXuint arg2 ;
|
1627
|
+
FXchar *arg3 ; FXuint arg4 ; if ((argc < 2) || (argc > 2)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
|
1628
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDCWindow, 1); arg2 = NUM2UINT(argv[0]); { Check_Type(argv[1], T_ARRAY);
|
1629
|
+
arg3 = new FXchar[RARRAY_LEN(argv[1])]; arg4 = static_cast<FXuint>( RARRAY_LEN(argv[1]) );
|
1630
|
+
for (FXuint i = 0; i < arg4; i++) { arg3[i] = NUM2INT(rb_ary_entry(argv[1], i)); } }
|
1631
|
+
FXDCWindow_setDashes(arg1,arg2,(FXchar const *)arg3,arg4); { delete [] arg3; } return Qnil; }
|
1632
|
+
static VALUE _wrap_FXDCWindow_setLineWidth(int argc, VALUE *argv, VALUE self) { FXDCWindow *arg1 = (FXDCWindow *) 0 ;
|
1633
|
+
FXuint arg2 = (FXuint) 0 ; if ((argc < 0) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
1634
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDCWindow, 1); if (argc > 0) { arg2 = NUM2UINT(argv[0]); }
|
1635
|
+
FXDCWindow_setLineWidth(arg1,arg2); return Qnil; }
|
1636
|
+
static VALUE _wrap_FXDCWindow_setLineCap(int argc, VALUE *argv, VALUE self) { FXDCWindow *arg1 = (FXDCWindow *) 0 ;
|
1637
|
+
int arg2 = (int) CAP_BUTT ; if ((argc < 0) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
1638
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDCWindow, 1); if (argc > 0) { arg2 = (int) NUM2INT(argv[0]); }
|
1639
|
+
FXDCWindow_setLineCap(arg1,(FXCapStyle )arg2); return Qnil; }
|
1640
|
+
static VALUE _wrap_FXDCWindow_setLineJoin(int argc, VALUE *argv, VALUE self) { FXDCWindow *arg1 = (FXDCWindow *) 0 ;
|
1641
|
+
int arg2 = (int) JOIN_MITER ; if ((argc < 0) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
1642
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDCWindow, 1); if (argc > 0) { arg2 = (int) NUM2INT(argv[0]); }
|
1643
|
+
FXDCWindow_setLineJoin(arg1,(FXJoinStyle )arg2); return Qnil; }
|
1644
|
+
static VALUE _wrap_FXDCWindow_setLineStyle(int argc, VALUE *argv, VALUE self) { FXDCWindow *arg1 = (FXDCWindow *) 0 ;
|
1645
|
+
int arg2 = (int) LINE_SOLID ; if ((argc < 0) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
1646
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDCWindow, 1); if (argc > 0) { arg2 = (int) NUM2INT(argv[0]); }
|
1647
|
+
FXDCWindow_setLineStyle(arg1,(FXLineStyle )arg2); return Qnil; }
|
1648
|
+
static VALUE _wrap_FXDCWindow_setFillStyle(int argc, VALUE *argv, VALUE self) { FXDCWindow *arg1 = (FXDCWindow *) 0 ;
|
1649
|
+
int arg2 = (int) FILL_SOLID ; if ((argc < 0) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
1650
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDCWindow, 1); if (argc > 0) { arg2 = (int) NUM2INT(argv[0]); }
|
1651
|
+
FXDCWindow_setFillStyle(arg1,(FXFillStyle )arg2); return Qnil; }
|
1652
|
+
static VALUE _wrap_FXDCWindow_setFillRule(int argc, VALUE *argv, VALUE self) { FXDCWindow *arg1 = (FXDCWindow *) 0 ;
|
1653
|
+
int arg2 = (int) RULE_EVEN_ODD ; if ((argc < 0) || (argc > 1))
|
1654
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
1655
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDCWindow, 1); if (argc > 0) { arg2 = (int) NUM2INT(argv[0]); }
|
1656
|
+
FXDCWindow_setFillRule(arg1,(FXFillRule )arg2); return Qnil; }
|
1657
|
+
static VALUE _wrap_FXDCWindow_setFunction(int argc, VALUE *argv, VALUE self) { FXDCWindow *arg1 = (FXDCWindow *) 0 ;
|
1658
|
+
int arg2 = (int) BLT_SRC ; if ((argc < 0) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
1659
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDCWindow, 1); if (argc > 0) { arg2 = (int) NUM2INT(argv[0]); }
|
1660
|
+
FXDCWindow_setFunction(arg1,(FXFunction )arg2); return Qnil; }
|
1661
|
+
static VALUE _wrap_FXDCWindow_setTile(int argc, VALUE *argv, VALUE self) { FXDCWindow *arg1 = (FXDCWindow *) 0 ;
|
1662
|
+
FXImage *arg2 = (FXImage *) 0 ; FXint arg3 = (FXint) 0 ; FXint arg4 = (FXint) 0 ; if ((argc < 1) || (argc > 3))
|
1663
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1664
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDCWindow, 1);
|
1665
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXImage, 1); if (argc > 1) { arg3 = NUM2INT(argv[1]); }
|
1666
|
+
if (argc > 2) { arg4 = NUM2INT(argv[2]); } FXDCWindow_setTile(arg1,arg2,arg3,arg4); return Qnil; }
|
1667
|
+
static VALUE _wrap_FXDCWindow_setStipple__SWIG_0(int argc, VALUE *argv, VALUE self) { FXDCWindow *arg1 = (FXDCWindow *) 0 ;
|
1668
|
+
FXBitmap *arg2 = (FXBitmap *) 0 ; FXint arg3 = (FXint) 0 ; FXint arg4 = (FXint) 0 ; if ((argc < 1) || (argc > 3))
|
1669
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1670
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDCWindow, 1);
|
1671
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXBitmap, 1); if (argc > 1) { arg3 = NUM2INT(argv[1]); }
|
1672
|
+
if (argc > 2) { arg4 = NUM2INT(argv[2]); } FXDCWindow_setStipple(arg1,arg2,arg3,arg4); return Qnil; }
|
1673
|
+
static VALUE _wrap_FXDCWindow_setStipple__SWIG_1(int argc, VALUE *argv, VALUE self) { FXDCWindow *arg1 = (FXDCWindow *) 0 ;
|
1674
|
+
int arg2 ; FXint arg3 = (FXint) 0 ; FXint arg4 = (FXint) 0 ; if ((argc < 1) || (argc > 3))
|
1675
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1676
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDCWindow, 1); arg2 = (int) NUM2INT(argv[0]); if (argc > 1) {
|
1677
|
+
arg3 = NUM2INT(argv[1]); } if (argc > 2) { arg4 = NUM2INT(argv[2]); }
|
1678
|
+
FXDCWindow_setStipple(arg1,(FXStipplePattern )arg2,arg3,arg4); return Qnil; }
|
1679
|
+
static VALUE _wrap_FXDCWindow_setStipple(int nargs, VALUE *args, VALUE self) { int argc; VALUE argv[5]; int ii;
|
1680
|
+
argc = nargs + 1; argv[0] = self; for (ii = 1; (ii < argc) && (ii < 4); ii++) { argv[ii] = args[ii-1]; }
|
1681
|
+
if ((argc >= 2) && (argc <= 4)) { int _v; { void *ptr;
|
1682
|
+
_v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_FXDCWindow, 0) != -1)) ? 1 : 0; }
|
1683
|
+
if (_v) { { void *ptr;
|
1684
|
+
_v = (NIL_P(argv[1]) || (TYPE(argv[1]) == T_DATA && SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_FXBitmap, 0) != -1)) ? 1 : 0; }
|
1685
|
+
if (_v) { if (argc <= 2) { return _wrap_FXDCWindow_setStipple__SWIG_0(nargs, args, self);} {
|
1686
|
+
_v = ((TYPE(argv[2]) == T_FIXNUM) || (TYPE(argv[2]) == T_BIGNUM)) ? 1 : 0; } if (_v) { if (argc <= 3) {
|
1687
|
+
return _wrap_FXDCWindow_setStipple__SWIG_0(nargs, args, self);} {
|
1688
|
+
_v = ((TYPE(argv[3]) == T_FIXNUM) || (TYPE(argv[3]) == T_BIGNUM)) ? 1 : 0; } if (_v) {
|
1689
|
+
return _wrap_FXDCWindow_setStipple__SWIG_0(nargs, args, self);} } } } }
|
1690
|
+
if ((argc >= 2) && (argc <= 4)) { int _v; { void *ptr;
|
1691
|
+
_v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_FXDCWindow, 0) != -1)) ? 1 : 0; }
|
1692
|
+
if (_v) { { _v = ((TYPE(argv[1]) == T_FIXNUM) || (TYPE(argv[1]) == T_BIGNUM)) ? 1 : 0; } if (_v) { if (argc <= 2) {
|
1693
|
+
return _wrap_FXDCWindow_setStipple__SWIG_1(nargs, args, self);} {
|
1694
|
+
_v = ((TYPE(argv[2]) == T_FIXNUM) || (TYPE(argv[2]) == T_BIGNUM)) ? 1 : 0; } if (_v) { if (argc <= 3) {
|
1695
|
+
return _wrap_FXDCWindow_setStipple__SWIG_1(nargs, args, self);} {
|
1696
|
+
_v = ((TYPE(argv[3]) == T_FIXNUM) || (TYPE(argv[3]) == T_BIGNUM)) ? 1 : 0; } if (_v) {
|
1697
|
+
return _wrap_FXDCWindow_setStipple__SWIG_1(nargs, args, self);} } } } }
|
1698
|
+
rb_raise(rb_eArgError, "No matching function for overloaded 'FXDCWindow_setStipple'"); return Qnil; }
|
1699
|
+
static VALUE _wrap_FXDCWindow_setClipRegion(int argc, VALUE *argv, VALUE self) { FXDCWindow *arg1 = (FXDCWindow *) 0 ;
|
1700
|
+
FXRegion *arg2 = 0 ; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1701
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDCWindow, 1);
|
1702
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXRegion, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
|
1703
|
+
FXDCWindow_setClipRegion(arg1,(FXRegion const &)*arg2); return Qnil; }
|
1704
|
+
static VALUE _wrap_FXDCWindow_setClipRectangle__SWIG_0(int argc, VALUE *argv, VALUE self) {
|
1705
|
+
FXDCWindow *arg1 = (FXDCWindow *) 0 ; FXint arg2 ; FXint arg3 ; FXint arg4 ; FXint arg5 ; if ((argc < 4) || (argc > 4))
|
1706
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc);
|
1707
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDCWindow, 1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]);
|
1708
|
+
arg4 = NUM2INT(argv[2]); arg5 = NUM2INT(argv[3]); FXDCWindow_setClipRectangle(arg1,arg2,arg3,arg4,arg5); return Qnil; }
|
1709
|
+
static VALUE _wrap_FXDCWindow_setClipRectangle__SWIG_1(int argc, VALUE *argv, VALUE self) {
|
1710
|
+
FXDCWindow *arg1 = (FXDCWindow *) 0 ; FXRectangle *arg2 = 0 ; if ((argc < 1) || (argc > 1))
|
1711
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1712
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDCWindow, 1);
|
1713
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXRectangle, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
|
1714
|
+
FXDCWindow_setClipRectangle(arg1,(FXRectangle const &)*arg2); return Qnil; }
|
1715
|
+
static VALUE _wrap_FXDCWindow_setClipRectangle(int nargs, VALUE *args, VALUE self) { int argc; VALUE argv[6]; int ii;
|
1716
|
+
argc = nargs + 1; argv[0] = self; for (ii = 1; (ii < argc) && (ii < 5); ii++) { argv[ii] = args[ii-1]; } if (argc == 2) {
|
1717
|
+
int _v; { void *ptr;
|
1718
|
+
_v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_FXDCWindow, 0) != -1)) ? 1 : 0; }
|
1719
|
+
if (_v) { { void *ptr;
|
1720
|
+
_v = (NIL_P(argv[1]) || (TYPE(argv[1]) == T_DATA && SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_FXRectangle, 0) != -1)) ? 1 : 0; }
|
1721
|
+
if (_v) { return _wrap_FXDCWindow_setClipRectangle__SWIG_1(nargs, args, self);} } } if (argc == 5) { int _v; {
|
1722
|
+
void *ptr;
|
1723
|
+
_v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_FXDCWindow, 0) != -1)) ? 1 : 0; }
|
1724
|
+
if (_v) { { _v = ((TYPE(argv[1]) == T_FIXNUM) || (TYPE(argv[1]) == T_BIGNUM)) ? 1 : 0; } if (_v) { {
|
1725
|
+
_v = ((TYPE(argv[2]) == T_FIXNUM) || (TYPE(argv[2]) == T_BIGNUM)) ? 1 : 0; } if (_v) { {
|
1726
|
+
_v = ((TYPE(argv[3]) == T_FIXNUM) || (TYPE(argv[3]) == T_BIGNUM)) ? 1 : 0; } if (_v) { {
|
1727
|
+
_v = ((TYPE(argv[4]) == T_FIXNUM) || (TYPE(argv[4]) == T_BIGNUM)) ? 1 : 0; } if (_v) {
|
1728
|
+
return _wrap_FXDCWindow_setClipRectangle__SWIG_0(nargs, args, self);} } } } } }
|
1729
|
+
rb_raise(rb_eArgError, "No matching function for overloaded 'FXDCWindow_setClipRectangle'"); return Qnil; }
|
1730
|
+
static VALUE _wrap_FXDCWindow_clearClipRectangle(int argc, VALUE *argv, VALUE self) { FXDCWindow *arg1 = (FXDCWindow *) 0 ;
|
1731
|
+
if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
1732
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDCWindow, 1); FXDCWindow_clearClipRectangle(arg1); return Qnil; }
|
1733
|
+
static VALUE _wrap_FXDCWindow_setClipMask(int argc, VALUE *argv, VALUE self) { FXDCWindow *arg1 = (FXDCWindow *) 0 ;
|
1734
|
+
FXBitmap *arg2 = (FXBitmap *) 0 ; FXint arg3 = (FXint) 0 ; FXint arg4 = (FXint) 0 ; if ((argc < 1) || (argc > 3))
|
1735
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1736
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDCWindow, 1);
|
1737
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXBitmap, 1); if (argc > 1) { arg3 = NUM2INT(argv[1]); }
|
1738
|
+
if (argc > 2) { arg4 = NUM2INT(argv[2]); } FXDCWindow_setClipMask(arg1,arg2,arg3,arg4); return Qnil; }
|
1739
|
+
static VALUE _wrap_FXDCWindow_clearClipMask(int argc, VALUE *argv, VALUE self) { FXDCWindow *arg1 = (FXDCWindow *) 0 ;
|
1740
|
+
if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
1741
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDCWindow, 1); FXDCWindow_clearClipMask(arg1); return Qnil; }
|
1742
|
+
static VALUE _wrap_FXDCWindow_setFont(int argc, VALUE *argv, VALUE self) { FXDCWindow *arg1 = (FXDCWindow *) 0 ;
|
1743
|
+
FXFont *arg2 = (FXFont *) 0 ; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1744
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDCWindow, 1);
|
1745
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXFont, 1); FXDCWindow_setFont(arg1,arg2); return Qnil; }
|
1746
|
+
static VALUE _wrap_FXDCWindow_clipChildren(int argc, VALUE *argv, VALUE self) { FXDCWindow *arg1 = (FXDCWindow *) 0 ;
|
1747
|
+
FXbool arg2 ; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1748
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDCWindow, 1); arg2 = to_FXbool(argv[0]);
|
1749
|
+
FXDCWindow_clipChildren(arg1,arg2); return Qnil; }
|
1750
|
+
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
|
1751
|
+
static VALUE _wrap_FXPSBounds_allocate(VALUE self) {
|
1752
|
+
#else
|
1753
|
+
static VALUE _wrap_FXPSBounds_allocate(int argc, VALUE *argv, VALUE self) {
|
1754
|
+
#endif
|
1755
|
+
VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_FXPSBounds);
|
1756
|
+
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
|
1757
|
+
rb_obj_call_init(vresult, argc, argv);
|
1758
|
+
#endif
|
1759
|
+
return vresult; }
|
1760
|
+
static VALUE _wrap_new_FXPSBounds(int argc, VALUE *argv, VALUE self) { FXPSBounds *result; if ((argc < 0) || (argc > 0))
|
1761
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); result = (FXPSBounds *)new FXPSBounds();
|
1762
|
+
DATA_PTR(self) = result; return self; }
|
1763
|
+
static VALUE _wrap_FXPSBounds_xmin_set(int argc, VALUE *argv, VALUE self) { FXPSBounds *arg1 = (FXPSBounds *) 0 ;
|
1764
|
+
FXdouble arg2 ; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1765
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXPSBounds, 1); arg2 = (FXdouble) NUM2DBL(argv[0]);
|
1766
|
+
if (arg1) (arg1)->xmin = arg2; return Qnil; }
|
1767
|
+
static VALUE _wrap_FXPSBounds_xmin_get(int argc, VALUE *argv, VALUE self) { FXPSBounds *arg1 = (FXPSBounds *) 0 ;
|
1768
|
+
FXdouble result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0))
|
1769
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
1770
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXPSBounds, 1); result = (FXdouble) ((arg1)->xmin);
|
1771
|
+
vresult = rb_float_new(result); return vresult; }
|
1772
|
+
static VALUE _wrap_FXPSBounds_xmax_set(int argc, VALUE *argv, VALUE self) { FXPSBounds *arg1 = (FXPSBounds *) 0 ;
|
1773
|
+
FXdouble arg2 ; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1774
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXPSBounds, 1); arg2 = (FXdouble) NUM2DBL(argv[0]);
|
1775
|
+
if (arg1) (arg1)->xmax = arg2; return Qnil; }
|
1776
|
+
static VALUE _wrap_FXPSBounds_xmax_get(int argc, VALUE *argv, VALUE self) { FXPSBounds *arg1 = (FXPSBounds *) 0 ;
|
1777
|
+
FXdouble result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0))
|
1778
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
1779
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXPSBounds, 1); result = (FXdouble) ((arg1)->xmax);
|
1780
|
+
vresult = rb_float_new(result); return vresult; }
|
1781
|
+
static VALUE _wrap_FXPSBounds_ymin_set(int argc, VALUE *argv, VALUE self) { FXPSBounds *arg1 = (FXPSBounds *) 0 ;
|
1782
|
+
FXdouble arg2 ; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1783
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXPSBounds, 1); arg2 = (FXdouble) NUM2DBL(argv[0]);
|
1784
|
+
if (arg1) (arg1)->ymin = arg2; return Qnil; }
|
1785
|
+
static VALUE _wrap_FXPSBounds_ymin_get(int argc, VALUE *argv, VALUE self) { FXPSBounds *arg1 = (FXPSBounds *) 0 ;
|
1786
|
+
FXdouble result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0))
|
1787
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
1788
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXPSBounds, 1); result = (FXdouble) ((arg1)->ymin);
|
1789
|
+
vresult = rb_float_new(result); return vresult; }
|
1790
|
+
static VALUE _wrap_FXPSBounds_ymax_set(int argc, VALUE *argv, VALUE self) { FXPSBounds *arg1 = (FXPSBounds *) 0 ;
|
1791
|
+
FXdouble arg2 ; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1792
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXPSBounds, 1); arg2 = (FXdouble) NUM2DBL(argv[0]);
|
1793
|
+
if (arg1) (arg1)->ymax = arg2; return Qnil; }
|
1794
|
+
static VALUE _wrap_FXPSBounds_ymax_get(int argc, VALUE *argv, VALUE self) { FXPSBounds *arg1 = (FXPSBounds *) 0 ;
|
1795
|
+
FXdouble result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0))
|
1796
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
1797
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXPSBounds, 1); result = (FXdouble) ((arg1)->ymax);
|
1798
|
+
vresult = rb_float_new(result); return vresult; }
|
1799
|
+
static void
|
1800
|
+
free_FXPSBounds(FXPSBounds *arg1) {
|
1801
|
+
delete arg1;
|
1802
|
+
}
|
1803
|
+
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
|
1804
|
+
static VALUE _wrap_FXPrinter_allocate(VALUE self) {
|
1805
|
+
#else
|
1806
|
+
static VALUE _wrap_FXPrinter_allocate(int argc, VALUE *argv, VALUE self) {
|
1807
|
+
#endif
|
1808
|
+
VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_FXPrinter);
|
1809
|
+
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
|
1810
|
+
rb_obj_call_init(vresult, argc, argv);
|
1811
|
+
#endif
|
1812
|
+
return vresult; }
|
1813
|
+
static VALUE _wrap_new_FXPrinter(int argc, VALUE *argv, VALUE self) { FXPrinter *result; if ((argc < 0) || (argc > 0))
|
1814
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); result = (FXPrinter *)new FXPrinter();
|
1815
|
+
DATA_PTR(self) = result; return self; }
|
1816
|
+
static VALUE _wrap_FXPrinter_name_set(int argc, VALUE *argv, VALUE self) { FXPrinter *arg1 = (FXPrinter *) 0 ; FXString arg2 ;
|
1817
|
+
if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1818
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXPrinter, 1); arg2 = to_FXString(argv[0]); if (arg1) (arg1)->name = arg2;
|
1819
|
+
return Qnil; }
|
1820
|
+
static VALUE _wrap_FXPrinter_name_get(int argc, VALUE *argv, VALUE self) { FXPrinter *arg1 = (FXPrinter *) 0 ; FXString result;
|
1821
|
+
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
1822
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXPrinter, 1); result = ((arg1)->name);
|
1823
|
+
vresult = rb_str_new2((&result)->text()); return vresult; }
|
1824
|
+
static VALUE _wrap_FXPrinter_firstpage_set(int argc, VALUE *argv, VALUE self) { FXPrinter *arg1 = (FXPrinter *) 0 ;
|
1825
|
+
FXuint arg2 ; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1826
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXPrinter, 1); arg2 = NUM2UINT(argv[0]);
|
1827
|
+
if (arg1) (arg1)->firstpage = arg2; return Qnil; }
|
1828
|
+
static VALUE _wrap_FXPrinter_firstpage_get(int argc, VALUE *argv, VALUE self) { FXPrinter *arg1 = (FXPrinter *) 0 ;
|
1829
|
+
FXuint result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0))
|
1830
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
1831
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXPrinter, 1); result = (FXuint) ((arg1)->firstpage);
|
1832
|
+
vresult = UINT2NUM(result); return vresult; }
|
1833
|
+
static VALUE _wrap_FXPrinter_lastpage_set(int argc, VALUE *argv, VALUE self) { FXPrinter *arg1 = (FXPrinter *) 0 ; FXuint arg2 ;
|
1834
|
+
if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1835
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXPrinter, 1); arg2 = NUM2UINT(argv[0]);
|
1836
|
+
if (arg1) (arg1)->lastpage = arg2; return Qnil; }
|
1837
|
+
static VALUE _wrap_FXPrinter_lastpage_get(int argc, VALUE *argv, VALUE self) { FXPrinter *arg1 = (FXPrinter *) 0 ;
|
1838
|
+
FXuint result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0))
|
1839
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
1840
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXPrinter, 1); result = (FXuint) ((arg1)->lastpage);
|
1841
|
+
vresult = UINT2NUM(result); return vresult; }
|
1842
|
+
static VALUE _wrap_FXPrinter_currentpage_set(int argc, VALUE *argv, VALUE self) { FXPrinter *arg1 = (FXPrinter *) 0 ;
|
1843
|
+
FXuint arg2 ; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1844
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXPrinter, 1); arg2 = NUM2UINT(argv[0]);
|
1845
|
+
if (arg1) (arg1)->currentpage = arg2; return Qnil; }
|
1846
|
+
static VALUE _wrap_FXPrinter_currentpage_get(int argc, VALUE *argv, VALUE self) { FXPrinter *arg1 = (FXPrinter *) 0 ;
|
1847
|
+
FXuint result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0))
|
1848
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
1849
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXPrinter, 1); result = (FXuint) ((arg1)->currentpage);
|
1850
|
+
vresult = UINT2NUM(result); return vresult; }
|
1851
|
+
static VALUE _wrap_FXPrinter_frompage_set(int argc, VALUE *argv, VALUE self) { FXPrinter *arg1 = (FXPrinter *) 0 ; FXuint arg2 ;
|
1852
|
+
if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1853
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXPrinter, 1); arg2 = NUM2UINT(argv[0]);
|
1854
|
+
if (arg1) (arg1)->frompage = arg2; return Qnil; }
|
1855
|
+
static VALUE _wrap_FXPrinter_frompage_get(int argc, VALUE *argv, VALUE self) { FXPrinter *arg1 = (FXPrinter *) 0 ;
|
1856
|
+
FXuint result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0))
|
1857
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
1858
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXPrinter, 1); result = (FXuint) ((arg1)->frompage);
|
1859
|
+
vresult = UINT2NUM(result); return vresult; }
|
1860
|
+
static VALUE _wrap_FXPrinter_topage_set(int argc, VALUE *argv, VALUE self) { FXPrinter *arg1 = (FXPrinter *) 0 ; FXuint arg2 ;
|
1861
|
+
if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1862
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXPrinter, 1); arg2 = NUM2UINT(argv[0]); if (arg1) (arg1)->topage = arg2;
|
1863
|
+
return Qnil; }
|
1864
|
+
static VALUE _wrap_FXPrinter_topage_get(int argc, VALUE *argv, VALUE self) { FXPrinter *arg1 = (FXPrinter *) 0 ; FXuint result;
|
1865
|
+
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
1866
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXPrinter, 1); result = (FXuint) ((arg1)->topage);
|
1867
|
+
vresult = UINT2NUM(result); return vresult; }
|
1868
|
+
static VALUE _wrap_FXPrinter_mediasize_set(int argc, VALUE *argv, VALUE self) { FXPrinter *arg1 = (FXPrinter *) 0 ;
|
1869
|
+
FXuint arg2 ; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1870
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXPrinter, 1); arg2 = NUM2UINT(argv[0]);
|
1871
|
+
if (arg1) (arg1)->mediasize = arg2; return Qnil; }
|
1872
|
+
static VALUE _wrap_FXPrinter_mediasize_get(int argc, VALUE *argv, VALUE self) { FXPrinter *arg1 = (FXPrinter *) 0 ;
|
1873
|
+
FXuint result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0))
|
1874
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
1875
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXPrinter, 1); result = (FXuint) ((arg1)->mediasize);
|
1876
|
+
vresult = UINT2NUM(result); return vresult; }
|
1877
|
+
static VALUE _wrap_FXPrinter_mediawidth_set(int argc, VALUE *argv, VALUE self) { FXPrinter *arg1 = (FXPrinter *) 0 ;
|
1878
|
+
FXdouble arg2 ; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1879
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXPrinter, 1); arg2 = (FXdouble) NUM2DBL(argv[0]);
|
1880
|
+
if (arg1) (arg1)->mediawidth = arg2; return Qnil; }
|
1881
|
+
static VALUE _wrap_FXPrinter_mediawidth_get(int argc, VALUE *argv, VALUE self) { FXPrinter *arg1 = (FXPrinter *) 0 ;
|
1882
|
+
FXdouble result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0))
|
1883
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
1884
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXPrinter, 1); result = (FXdouble) ((arg1)->mediawidth);
|
1885
|
+
vresult = rb_float_new(result); return vresult; }
|
1886
|
+
static VALUE _wrap_FXPrinter_mediaheight_set(int argc, VALUE *argv, VALUE self) { FXPrinter *arg1 = (FXPrinter *) 0 ;
|
1887
|
+
FXdouble arg2 ; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1888
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXPrinter, 1); arg2 = (FXdouble) NUM2DBL(argv[0]);
|
1889
|
+
if (arg1) (arg1)->mediaheight = arg2; return Qnil; }
|
1890
|
+
static VALUE _wrap_FXPrinter_mediaheight_get(int argc, VALUE *argv, VALUE self) { FXPrinter *arg1 = (FXPrinter *) 0 ;
|
1891
|
+
FXdouble result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0))
|
1892
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
1893
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXPrinter, 1); result = (FXdouble) ((arg1)->mediaheight);
|
1894
|
+
vresult = rb_float_new(result); return vresult; }
|
1895
|
+
static VALUE _wrap_FXPrinter_leftmargin_set(int argc, VALUE *argv, VALUE self) { FXPrinter *arg1 = (FXPrinter *) 0 ;
|
1896
|
+
FXdouble arg2 ; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1897
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXPrinter, 1); arg2 = (FXdouble) NUM2DBL(argv[0]);
|
1898
|
+
if (arg1) (arg1)->leftmargin = arg2; return Qnil; }
|
1899
|
+
static VALUE _wrap_FXPrinter_leftmargin_get(int argc, VALUE *argv, VALUE self) { FXPrinter *arg1 = (FXPrinter *) 0 ;
|
1900
|
+
FXdouble result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0))
|
1901
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
1902
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXPrinter, 1); result = (FXdouble) ((arg1)->leftmargin);
|
1903
|
+
vresult = rb_float_new(result); return vresult; }
|
1904
|
+
static VALUE _wrap_FXPrinter_rightmargin_set(int argc, VALUE *argv, VALUE self) { FXPrinter *arg1 = (FXPrinter *) 0 ;
|
1905
|
+
FXdouble arg2 ; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1906
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXPrinter, 1); arg2 = (FXdouble) NUM2DBL(argv[0]);
|
1907
|
+
if (arg1) (arg1)->rightmargin = arg2; return Qnil; }
|
1908
|
+
static VALUE _wrap_FXPrinter_rightmargin_get(int argc, VALUE *argv, VALUE self) { FXPrinter *arg1 = (FXPrinter *) 0 ;
|
1909
|
+
FXdouble result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0))
|
1910
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
1911
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXPrinter, 1); result = (FXdouble) ((arg1)->rightmargin);
|
1912
|
+
vresult = rb_float_new(result); return vresult; }
|
1913
|
+
static VALUE _wrap_FXPrinter_topmargin_set(int argc, VALUE *argv, VALUE self) { FXPrinter *arg1 = (FXPrinter *) 0 ;
|
1914
|
+
FXdouble arg2 ; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1915
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXPrinter, 1); arg2 = (FXdouble) NUM2DBL(argv[0]);
|
1916
|
+
if (arg1) (arg1)->topmargin = arg2; return Qnil; }
|
1917
|
+
static VALUE _wrap_FXPrinter_topmargin_get(int argc, VALUE *argv, VALUE self) { FXPrinter *arg1 = (FXPrinter *) 0 ;
|
1918
|
+
FXdouble result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0))
|
1919
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
1920
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXPrinter, 1); result = (FXdouble) ((arg1)->topmargin);
|
1921
|
+
vresult = rb_float_new(result); return vresult; }
|
1922
|
+
static VALUE _wrap_FXPrinter_bottommargin_set(int argc, VALUE *argv, VALUE self) { FXPrinter *arg1 = (FXPrinter *) 0 ;
|
1923
|
+
FXdouble arg2 ; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1924
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXPrinter, 1); arg2 = (FXdouble) NUM2DBL(argv[0]);
|
1925
|
+
if (arg1) (arg1)->bottommargin = arg2; return Qnil; }
|
1926
|
+
static VALUE _wrap_FXPrinter_bottommargin_get(int argc, VALUE *argv, VALUE self) { FXPrinter *arg1 = (FXPrinter *) 0 ;
|
1927
|
+
FXdouble result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0))
|
1928
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
1929
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXPrinter, 1); result = (FXdouble) ((arg1)->bottommargin);
|
1930
|
+
vresult = rb_float_new(result); return vresult; }
|
1931
|
+
static VALUE _wrap_FXPrinter_numcopies_set(int argc, VALUE *argv, VALUE self) { FXPrinter *arg1 = (FXPrinter *) 0 ;
|
1932
|
+
FXuint arg2 ; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1933
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXPrinter, 1); arg2 = NUM2UINT(argv[0]);
|
1934
|
+
if (arg1) (arg1)->numcopies = arg2; return Qnil; }
|
1935
|
+
static VALUE _wrap_FXPrinter_numcopies_get(int argc, VALUE *argv, VALUE self) { FXPrinter *arg1 = (FXPrinter *) 0 ;
|
1936
|
+
FXuint result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0))
|
1937
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
1938
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXPrinter, 1); result = (FXuint) ((arg1)->numcopies);
|
1939
|
+
vresult = UINT2NUM(result); return vresult; }
|
1940
|
+
static VALUE _wrap_FXPrinter_flags_set(int argc, VALUE *argv, VALUE self) { FXPrinter *arg1 = (FXPrinter *) 0 ; FXuint arg2 ;
|
1941
|
+
if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1942
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXPrinter, 1); arg2 = NUM2UINT(argv[0]); if (arg1) (arg1)->flags = arg2;
|
1943
|
+
return Qnil; }
|
1944
|
+
static VALUE _wrap_FXPrinter_flags_get(int argc, VALUE *argv, VALUE self) { FXPrinter *arg1 = (FXPrinter *) 0 ; FXuint result;
|
1945
|
+
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
1946
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXPrinter, 1); result = (FXuint) ((arg1)->flags);
|
1947
|
+
vresult = UINT2NUM(result); return vresult; }
|
1948
|
+
static void
|
1949
|
+
free_FXPrinter(FXPrinter *arg1) {
|
1950
|
+
delete arg1;
|
1951
|
+
}
|
1952
|
+
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
|
1953
|
+
static VALUE _wrap_FXDCPrint_allocate(VALUE self) {
|
1954
|
+
#else
|
1955
|
+
static VALUE _wrap_FXDCPrint_allocate(int argc, VALUE *argv, VALUE self) {
|
1956
|
+
#endif
|
1957
|
+
VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_FXDCPrint);
|
1958
|
+
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
|
1959
|
+
rb_obj_call_init(vresult, argc, argv);
|
1960
|
+
#endif
|
1961
|
+
return vresult; }
|
1962
|
+
static VALUE _wrap_new_FXDCPrint(int argc, VALUE *argv, VALUE self) { FXApp *arg1 = (FXApp *) 0 ; FXDCPrint *result;
|
1963
|
+
if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1964
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_FXApp, 1); { result = (FXDCPrint *)new_FXDCPrint(arg1);
|
1965
|
+
DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result); if(rb_block_given_p()){ rb_yield(self); } } return self; }
|
1966
|
+
static VALUE _wrap_FXDCPrint_beginPrint(int argc, VALUE *argv, VALUE self) { FXDCPrint *arg1 = (FXDCPrint *) 0 ;
|
1967
|
+
FXPrinter *arg2 = 0 ; FXbool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1))
|
1968
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
1969
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDCPrint, 1);
|
1970
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXPrinter, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
|
1971
|
+
result = (FXbool)(arg1)->beginPrint(*arg2); vresult = result ? Qtrue : Qfalse; return vresult; }
|
1972
|
+
static VALUE _wrap_FXDCPrint_endPrint(int argc, VALUE *argv, VALUE self) { FXDCPrint *arg1 = (FXDCPrint *) 0 ; FXbool result;
|
1973
|
+
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
1974
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDCPrint, 1); result = (FXbool)(arg1)->endPrint();
|
1975
|
+
vresult = result ? Qtrue : Qfalse; return vresult; }
|
1976
|
+
static VALUE _wrap_FXDCPrint_beginPage(int argc, VALUE *argv, VALUE self) { FXDCPrint *arg1 = (FXDCPrint *) 0 ;
|
1977
|
+
FXuint arg2 = (FXuint) 1 ; FXbool result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 1))
|
1978
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
1979
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDCPrint, 1); if (argc > 0) { arg2 = NUM2UINT(argv[0]); }
|
1980
|
+
result = (FXbool)(arg1)->beginPage(arg2); vresult = result ? Qtrue : Qfalse; return vresult; }
|
1981
|
+
static VALUE _wrap_FXDCPrint_endPage(int argc, VALUE *argv, VALUE self) { FXDCPrint *arg1 = (FXDCPrint *) 0 ; FXbool result;
|
1982
|
+
VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
1983
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDCPrint, 1); result = (FXbool)(arg1)->endPage();
|
1984
|
+
vresult = result ? Qtrue : Qfalse; return vresult; }
|
1985
|
+
static VALUE _wrap_FXDCPrint_setContentRange(int argc, VALUE *argv, VALUE self) { FXDCPrint *arg1 = (FXDCPrint *) 0 ;
|
1986
|
+
FXint arg2 ; FXint arg3 ; FXint arg4 ; FXint arg5 ; FXbool result; VALUE vresult = Qnil; if ((argc < 4) || (argc > 4))
|
1987
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc);
|
1988
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDCPrint, 1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]);
|
1989
|
+
arg4 = NUM2INT(argv[2]); arg5 = NUM2INT(argv[3]); result = (FXbool)(arg1)->setContentRange(arg2,arg3,arg4,arg5);
|
1990
|
+
vresult = result ? Qtrue : Qfalse; return vresult; }
|
1991
|
+
static void
|
1992
|
+
free_FXDCPrint(FXDCPrint *arg1) {
|
1993
|
+
delete arg1;
|
1994
|
+
}
|
1995
|
+
static VALUE _wrap_FXDCPrint_readPixel(int argc, VALUE *argv, VALUE self) { FXDCPrint *arg1 = (FXDCPrint *) 0 ; FXint arg2 ;
|
1996
|
+
FXint arg3 ; FXColor result; VALUE vresult = Qnil; if ((argc < 2) || (argc > 2))
|
1997
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
|
1998
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDCPrint, 1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]);
|
1999
|
+
result = (FXColor)FXDCPrint_readPixel(arg1,arg2,arg3); vresult = UINT2NUM(result); return vresult; }
|
2000
|
+
static VALUE _wrap_FXDCPrint_drawPoint(int argc, VALUE *argv, VALUE self) { FXDCPrint *arg1 = (FXDCPrint *) 0 ; FXint arg2 ;
|
2001
|
+
FXint arg3 ; if ((argc < 2) || (argc > 2)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
|
2002
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDCPrint, 1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]);
|
2003
|
+
FXDCPrint_drawPoint(arg1,arg2,arg3); return Qnil; }
|
2004
|
+
static VALUE _wrap_FXDCPrint_drawPoints(int argc, VALUE *argv, VALUE self) { FXDCPrint *arg1 = (FXDCPrint *) 0 ;
|
2005
|
+
FXPoint *arg2 = (FXPoint *) 0 ; FXuint arg3 ; if ((argc < 1) || (argc > 1))
|
2006
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
2007
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDCPrint, 1); { Check_Type(argv[0], T_ARRAY);
|
2008
|
+
arg2 = new FXPoint[RARRAY_LEN(argv[0])]; arg3 = static_cast<FXuint>( RARRAY_LEN(argv[0]) );
|
2009
|
+
for (FXuint i = 0; i < arg3; i++) { FXPoint *pPoint; Data_Get_Struct(rb_ary_entry(argv[0], i), FXPoint, pPoint);
|
2010
|
+
arg2[i] = *pPoint; } } FXDCPrint_drawPoints(arg1,(FXPoint const *)arg2,arg3); { delete [] arg2; } return Qnil; }
|
2011
|
+
static VALUE _wrap_FXDCPrint_drawPointsRel(int argc, VALUE *argv, VALUE self) { FXDCPrint *arg1 = (FXDCPrint *) 0 ;
|
2012
|
+
FXPoint *arg2 = (FXPoint *) 0 ; FXuint arg3 ; if ((argc < 1) || (argc > 1))
|
2013
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
2014
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDCPrint, 1); { Check_Type(argv[0], T_ARRAY);
|
2015
|
+
arg2 = new FXPoint[RARRAY_LEN(argv[0])]; arg3 = static_cast<FXuint>( RARRAY_LEN(argv[0]) );
|
2016
|
+
for (FXuint i = 0; i < arg3; i++) { FXPoint *pPoint; Data_Get_Struct(rb_ary_entry(argv[0], i), FXPoint, pPoint);
|
2017
|
+
arg2[i] = *pPoint; } } FXDCPrint_drawPointsRel(arg1,(FXPoint const *)arg2,arg3); { delete [] arg2; }
|
2018
|
+
return Qnil; }
|
2019
|
+
static VALUE _wrap_FXDCPrint_drawLine(int argc, VALUE *argv, VALUE self) { FXDCPrint *arg1 = (FXDCPrint *) 0 ; FXint arg2 ;
|
2020
|
+
FXint arg3 ; FXint arg4 ; FXint arg5 ; if ((argc < 4) || (argc > 4))
|
2021
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc);
|
2022
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDCPrint, 1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]);
|
2023
|
+
arg4 = NUM2INT(argv[2]); arg5 = NUM2INT(argv[3]); FXDCPrint_drawLine(arg1,arg2,arg3,arg4,arg5); return Qnil; }
|
2024
|
+
static VALUE _wrap_FXDCPrint_drawLines(int argc, VALUE *argv, VALUE self) { FXDCPrint *arg1 = (FXDCPrint *) 0 ;
|
2025
|
+
FXPoint *arg2 = (FXPoint *) 0 ; FXuint arg3 ; if ((argc < 1) || (argc > 1))
|
2026
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
2027
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDCPrint, 1); { Check_Type(argv[0], T_ARRAY);
|
2028
|
+
arg2 = new FXPoint[RARRAY_LEN(argv[0])]; arg3 = static_cast<FXuint>( RARRAY_LEN(argv[0]) );
|
2029
|
+
for (FXuint i = 0; i < arg3; i++) { FXPoint *pPoint; Data_Get_Struct(rb_ary_entry(argv[0], i), FXPoint, pPoint);
|
2030
|
+
arg2[i] = *pPoint; } } FXDCPrint_drawLines(arg1,(FXPoint const *)arg2,arg3); { delete [] arg2; } return Qnil; }
|
2031
|
+
static VALUE _wrap_FXDCPrint_drawLinesRel(int argc, VALUE *argv, VALUE self) { FXDCPrint *arg1 = (FXDCPrint *) 0 ;
|
2032
|
+
FXPoint *arg2 = (FXPoint *) 0 ; FXuint arg3 ; if ((argc < 1) || (argc > 1))
|
2033
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
2034
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDCPrint, 1); { Check_Type(argv[0], T_ARRAY);
|
2035
|
+
arg2 = new FXPoint[RARRAY_LEN(argv[0])]; arg3 = static_cast<FXuint>( RARRAY_LEN(argv[0]) );
|
2036
|
+
for (FXuint i = 0; i < arg3; i++) { FXPoint *pPoint; Data_Get_Struct(rb_ary_entry(argv[0], i), FXPoint, pPoint);
|
2037
|
+
arg2[i] = *pPoint; } } FXDCPrint_drawLinesRel(arg1,(FXPoint const *)arg2,arg3); { delete [] arg2; } return Qnil; }
|
2038
|
+
static VALUE _wrap_FXDCPrint_drawLineSegments(int argc, VALUE *argv, VALUE self) { FXDCPrint *arg1 = (FXDCPrint *) 0 ;
|
2039
|
+
FXSegment *arg2 = (FXSegment *) 0 ; FXuint arg3 ; if ((argc < 1) || (argc > 1))
|
2040
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
2041
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDCPrint, 1); { Check_Type(argv[0], T_ARRAY);
|
2042
|
+
arg2 = new FXSegment[RARRAY_LEN(argv[0])]; arg3 = static_cast<FXuint>( RARRAY_LEN(argv[0]) );
|
2043
|
+
for (FXuint i = 0; i < arg3; i++) { FXSegment *pSeg; Data_Get_Struct(rb_ary_entry(argv[0], i), FXSegment, pSeg);
|
2044
|
+
arg2[i] = *pSeg; } } FXDCPrint_drawLineSegments(arg1,(FXSegment const *)arg2,arg3); { delete [] arg2; }
|
2045
|
+
return Qnil; }
|
2046
|
+
static VALUE _wrap_FXDCPrint_drawRectangle(int argc, VALUE *argv, VALUE self) { FXDCPrint *arg1 = (FXDCPrint *) 0 ; FXint arg2 ;
|
2047
|
+
FXint arg3 ; FXint arg4 ; FXint arg5 ; if ((argc < 4) || (argc > 4))
|
2048
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc);
|
2049
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDCPrint, 1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]);
|
2050
|
+
arg4 = NUM2INT(argv[2]); arg5 = NUM2INT(argv[3]); FXDCPrint_drawRectangle(arg1,arg2,arg3,arg4,arg5); return Qnil; }
|
2051
|
+
static VALUE _wrap_FXDCPrint_drawRectangles(int argc, VALUE *argv, VALUE self) { FXDCPrint *arg1 = (FXDCPrint *) 0 ;
|
2052
|
+
FXRectangle *arg2 = (FXRectangle *) 0 ; FXuint arg3 ; if ((argc < 1) || (argc > 1))
|
2053
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
2054
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDCPrint, 1); { Check_Type(argv[0], T_ARRAY);
|
2055
|
+
arg2 = new FXRectangle[RARRAY_LEN(argv[0])]; arg3 = static_cast<FXuint>( RARRAY_LEN(argv[0]) );
|
2056
|
+
for (FXuint i = 0; i < arg3; i++) { FXRectangle *pRect; Data_Get_Struct(rb_ary_entry(argv[0], i), FXRectangle, pRect);
|
2057
|
+
arg2[i] = *pRect; } } FXDCPrint_drawRectangles(arg1,(FXRectangle const *)arg2,arg3); { delete [] arg2; }
|
2058
|
+
return Qnil; }
|
2059
|
+
static VALUE _wrap_FXDCPrint_drawRoundRectangle(int argc, VALUE *argv, VALUE self) { FXDCPrint *arg1 = (FXDCPrint *) 0 ;
|
2060
|
+
FXint arg2 ; FXint arg3 ; FXint arg4 ; FXint arg5 ; FXint arg6 ; FXint arg7 ; if ((argc < 6) || (argc > 6))
|
2061
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 6)",argc);
|
2062
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDCPrint, 1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]);
|
2063
|
+
arg4 = NUM2INT(argv[2]); arg5 = NUM2INT(argv[3]); arg6 = NUM2INT(argv[4]); arg7 = NUM2INT(argv[5]);
|
2064
|
+
FXDCPrint_drawRoundRectangle(arg1,arg2,arg3,arg4,arg5,arg6,arg7); return Qnil; }
|
2065
|
+
static VALUE _wrap_FXDCPrint_drawArc(int argc, VALUE *argv, VALUE self) { FXDCPrint *arg1 = (FXDCPrint *) 0 ; FXint arg2 ;
|
2066
|
+
FXint arg3 ; FXint arg4 ; FXint arg5 ; FXint arg6 ; FXint arg7 ; if ((argc < 6) || (argc > 6))
|
2067
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 6)",argc);
|
2068
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDCPrint, 1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]);
|
2069
|
+
arg4 = NUM2INT(argv[2]); arg5 = NUM2INT(argv[3]); arg6 = NUM2INT(argv[4]); arg7 = NUM2INT(argv[5]);
|
2070
|
+
FXDCPrint_drawArc(arg1,arg2,arg3,arg4,arg5,arg6,arg7); return Qnil; }
|
2071
|
+
static VALUE _wrap_FXDCPrint_drawArcs(int argc, VALUE *argv, VALUE self) { FXDCPrint *arg1 = (FXDCPrint *) 0 ;
|
2072
|
+
FXArc *arg2 = (FXArc *) 0 ; FXuint arg3 ; if ((argc < 1) || (argc > 1))
|
2073
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
2074
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDCPrint, 1); { Check_Type(argv[0], T_ARRAY);
|
2075
|
+
arg2 = new FXArc[RARRAY_LEN(argv[0])]; arg3 = static_cast<FXuint>( RARRAY_LEN(argv[0]) );
|
2076
|
+
for (FXuint i = 0; i < arg3; i++) { FXArc *pArc; Data_Get_Struct(rb_ary_entry(argv[0], i), FXArc, pArc);
|
2077
|
+
arg2[i] = *pArc; } } FXDCPrint_drawArcs(arg1,(FXArc const *)arg2,arg3); return Qnil; }
|
2078
|
+
static VALUE _wrap_FXDCPrint_drawEllipse(int argc, VALUE *argv, VALUE self) { FXDCPrint *arg1 = (FXDCPrint *) 0 ; FXint arg2 ;
|
2079
|
+
FXint arg3 ; FXint arg4 ; FXint arg5 ; if ((argc < 4) || (argc > 4))
|
2080
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc);
|
2081
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDCPrint, 1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]);
|
2082
|
+
arg4 = NUM2INT(argv[2]); arg5 = NUM2INT(argv[3]); FXDCPrint_drawEllipse(arg1,arg2,arg3,arg4,arg5); return Qnil; }
|
2083
|
+
static VALUE _wrap_FXDCPrint_fillRectangle(int argc, VALUE *argv, VALUE self) { FXDCPrint *arg1 = (FXDCPrint *) 0 ; FXint arg2 ;
|
2084
|
+
FXint arg3 ; FXint arg4 ; FXint arg5 ; if ((argc < 4) || (argc > 4))
|
2085
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc);
|
2086
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDCPrint, 1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]);
|
2087
|
+
arg4 = NUM2INT(argv[2]); arg5 = NUM2INT(argv[3]); FXDCPrint_fillRectangle(arg1,arg2,arg3,arg4,arg5); return Qnil; }
|
2088
|
+
static VALUE _wrap_FXDCPrint_fillRectangles(int argc, VALUE *argv, VALUE self) { FXDCPrint *arg1 = (FXDCPrint *) 0 ;
|
2089
|
+
FXRectangle *arg2 = (FXRectangle *) 0 ; FXuint arg3 ; if ((argc < 1) || (argc > 1))
|
2090
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
2091
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDCPrint, 1); { Check_Type(argv[0], T_ARRAY);
|
2092
|
+
arg2 = new FXRectangle[RARRAY_LEN(argv[0])]; arg3 = static_cast<FXuint>( RARRAY_LEN(argv[0]) );
|
2093
|
+
for (FXuint i = 0; i < arg3; i++) { FXRectangle *pRect; Data_Get_Struct(rb_ary_entry(argv[0], i), FXRectangle, pRect);
|
2094
|
+
arg2[i] = *pRect; } } FXDCPrint_fillRectangles(arg1,(FXRectangle const *)arg2,arg3); { delete [] arg2; }
|
2095
|
+
return Qnil; }
|
2096
|
+
static VALUE _wrap_FXDCPrint_fillRoundRectangle(int argc, VALUE *argv, VALUE self) { FXDCPrint *arg1 = (FXDCPrint *) 0 ;
|
2097
|
+
FXint arg2 ; FXint arg3 ; FXint arg4 ; FXint arg5 ; FXint arg6 ; FXint arg7 ; if ((argc < 6) || (argc > 6))
|
2098
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 6)",argc);
|
2099
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDCPrint, 1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]);
|
2100
|
+
arg4 = NUM2INT(argv[2]); arg5 = NUM2INT(argv[3]); arg6 = NUM2INT(argv[4]); arg7 = NUM2INT(argv[5]);
|
2101
|
+
FXDCPrint_fillRoundRectangle(arg1,arg2,arg3,arg4,arg5,arg6,arg7); return Qnil; }
|
2102
|
+
static VALUE _wrap_FXDCPrint_fillChord(int argc, VALUE *argv, VALUE self) { FXDCPrint *arg1 = (FXDCPrint *) 0 ; FXint arg2 ;
|
2103
|
+
FXint arg3 ; FXint arg4 ; FXint arg5 ; FXint arg6 ; FXint arg7 ; if ((argc < 6) || (argc > 6))
|
2104
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 6)",argc);
|
2105
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDCPrint, 1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]);
|
2106
|
+
arg4 = NUM2INT(argv[2]); arg5 = NUM2INT(argv[3]); arg6 = NUM2INT(argv[4]); arg7 = NUM2INT(argv[5]);
|
2107
|
+
FXDCPrint_fillChord(arg1,arg2,arg3,arg4,arg5,arg6,arg7); return Qnil; }
|
2108
|
+
static VALUE _wrap_FXDCPrint_fillChords(int argc, VALUE *argv, VALUE self) { FXDCPrint *arg1 = (FXDCPrint *) 0 ;
|
2109
|
+
FXArc *arg2 = (FXArc *) 0 ; FXuint arg3 ; if ((argc < 2) || (argc > 2))
|
2110
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
|
2111
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDCPrint, 1);
|
2112
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXArc, 1); arg3 = NUM2UINT(argv[1]);
|
2113
|
+
FXDCPrint_fillChords(arg1,(FXArc const *)arg2,arg3); return Qnil; }
|
2114
|
+
static VALUE _wrap_FXDCPrint_fillArc(int argc, VALUE *argv, VALUE self) { FXDCPrint *arg1 = (FXDCPrint *) 0 ; FXint arg2 ;
|
2115
|
+
FXint arg3 ; FXint arg4 ; FXint arg5 ; FXint arg6 ; FXint arg7 ; if ((argc < 6) || (argc > 6))
|
2116
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 6)",argc);
|
2117
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDCPrint, 1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]);
|
2118
|
+
arg4 = NUM2INT(argv[2]); arg5 = NUM2INT(argv[3]); arg6 = NUM2INT(argv[4]); arg7 = NUM2INT(argv[5]);
|
2119
|
+
FXDCPrint_fillArc(arg1,arg2,arg3,arg4,arg5,arg6,arg7); return Qnil; }
|
2120
|
+
static VALUE _wrap_FXDCPrint_fillArcs(int argc, VALUE *argv, VALUE self) { FXDCPrint *arg1 = (FXDCPrint *) 0 ;
|
2121
|
+
FXArc *arg2 = (FXArc *) 0 ; FXuint arg3 ; if ((argc < 1) || (argc > 1))
|
2122
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
2123
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDCPrint, 1); { Check_Type(argv[0], T_ARRAY);
|
2124
|
+
arg2 = new FXArc[RARRAY_LEN(argv[0])]; arg3 = static_cast<FXuint>( RARRAY_LEN(argv[0]) );
|
2125
|
+
for (FXuint i = 0; i < arg3; i++) { FXArc *pArc; Data_Get_Struct(rb_ary_entry(argv[0], i), FXArc, pArc);
|
2126
|
+
arg2[i] = *pArc; } } FXDCPrint_fillArcs(arg1,(FXArc const *)arg2,arg3); return Qnil; }
|
2127
|
+
static VALUE _wrap_FXDCPrint_fillPolygon(int argc, VALUE *argv, VALUE self) { FXDCPrint *arg1 = (FXDCPrint *) 0 ;
|
2128
|
+
FXPoint *arg2 = (FXPoint *) 0 ; FXuint arg3 ; if ((argc < 1) || (argc > 1))
|
2129
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
2130
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDCPrint, 1); { Check_Type(argv[0], T_ARRAY);
|
2131
|
+
arg2 = new FXPoint[RARRAY_LEN(argv[0])]; arg3 = static_cast<FXuint>( RARRAY_LEN(argv[0]) );
|
2132
|
+
for (FXuint i = 0; i < arg3; i++) { FXPoint *pPoint; Data_Get_Struct(rb_ary_entry(argv[0], i), FXPoint, pPoint);
|
2133
|
+
arg2[i] = *pPoint; } } FXDCPrint_fillPolygon(arg1,(FXPoint const *)arg2,arg3); { delete [] arg2; } return Qnil; }
|
2134
|
+
static VALUE _wrap_FXDCPrint_fillConcavePolygon(int argc, VALUE *argv, VALUE self) { FXDCPrint *arg1 = (FXDCPrint *) 0 ;
|
2135
|
+
FXPoint *arg2 = (FXPoint *) 0 ; FXuint arg3 ; if ((argc < 1) || (argc > 1))
|
2136
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
2137
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDCPrint, 1); { Check_Type(argv[0], T_ARRAY);
|
2138
|
+
arg2 = new FXPoint[RARRAY_LEN(argv[0])]; arg3 = static_cast<FXuint>( RARRAY_LEN(argv[0]) );
|
2139
|
+
for (FXuint i = 0; i < arg3; i++) { FXPoint *pPoint; Data_Get_Struct(rb_ary_entry(argv[0], i), FXPoint, pPoint);
|
2140
|
+
arg2[i] = *pPoint; } } FXDCPrint_fillConcavePolygon(arg1,(FXPoint const *)arg2,arg3); { delete [] arg2; }
|
2141
|
+
return Qnil; }
|
2142
|
+
static VALUE _wrap_FXDCPrint_fillComplexPolygon(int argc, VALUE *argv, VALUE self) { FXDCPrint *arg1 = (FXDCPrint *) 0 ;
|
2143
|
+
FXPoint *arg2 = (FXPoint *) 0 ; FXuint arg3 ; if ((argc < 1) || (argc > 1))
|
2144
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
2145
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDCPrint, 1); { Check_Type(argv[0], T_ARRAY);
|
2146
|
+
arg2 = new FXPoint[RARRAY_LEN(argv[0])]; arg3 = static_cast<FXuint>( RARRAY_LEN(argv[0]) );
|
2147
|
+
for (FXuint i = 0; i < arg3; i++) { FXPoint *pPoint; Data_Get_Struct(rb_ary_entry(argv[0], i), FXPoint, pPoint);
|
2148
|
+
arg2[i] = *pPoint; } } FXDCPrint_fillComplexPolygon(arg1,(FXPoint const *)arg2,arg3); { delete [] arg2; }
|
2149
|
+
return Qnil; }
|
2150
|
+
static VALUE _wrap_FXDCPrint_fillPolygonRel(int argc, VALUE *argv, VALUE self) { FXDCPrint *arg1 = (FXDCPrint *) 0 ;
|
2151
|
+
FXPoint *arg2 = (FXPoint *) 0 ; FXuint arg3 ; if ((argc < 1) || (argc > 1))
|
2152
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
2153
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDCPrint, 1); { Check_Type(argv[0], T_ARRAY);
|
2154
|
+
arg2 = new FXPoint[RARRAY_LEN(argv[0])]; arg3 = static_cast<FXuint>( RARRAY_LEN(argv[0]) );
|
2155
|
+
for (FXuint i = 0; i < arg3; i++) { FXPoint *pPoint; Data_Get_Struct(rb_ary_entry(argv[0], i), FXPoint, pPoint);
|
2156
|
+
arg2[i] = *pPoint; } } FXDCPrint_fillPolygonRel(arg1,(FXPoint const *)arg2,arg3); { delete [] arg2; }
|
2157
|
+
return Qnil; }
|
2158
|
+
static VALUE _wrap_FXDCPrint_fillConcavePolygonRel(int argc, VALUE *argv, VALUE self) { FXDCPrint *arg1 = (FXDCPrint *) 0 ;
|
2159
|
+
FXPoint *arg2 = (FXPoint *) 0 ; FXuint arg3 ; if ((argc < 1) || (argc > 1))
|
2160
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
2161
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDCPrint, 1); { Check_Type(argv[0], T_ARRAY);
|
2162
|
+
arg2 = new FXPoint[RARRAY_LEN(argv[0])]; arg3 = static_cast<FXuint>( RARRAY_LEN(argv[0]) );
|
2163
|
+
for (FXuint i = 0; i < arg3; i++) { FXPoint *pPoint; Data_Get_Struct(rb_ary_entry(argv[0], i), FXPoint, pPoint);
|
2164
|
+
arg2[i] = *pPoint; } } FXDCPrint_fillConcavePolygonRel(arg1,(FXPoint const *)arg2,arg3); { delete [] arg2; }
|
2165
|
+
return Qnil; }
|
2166
|
+
static VALUE _wrap_FXDCPrint_fillComplexPolygonRel(int argc, VALUE *argv, VALUE self) { FXDCPrint *arg1 = (FXDCPrint *) 0 ;
|
2167
|
+
FXPoint *arg2 = (FXPoint *) 0 ; FXuint arg3 ; if ((argc < 1) || (argc > 1))
|
2168
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
2169
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDCPrint, 1); { Check_Type(argv[0], T_ARRAY);
|
2170
|
+
arg2 = new FXPoint[RARRAY_LEN(argv[0])]; arg3 = static_cast<FXuint>( RARRAY_LEN(argv[0]) );
|
2171
|
+
for (FXuint i = 0; i < arg3; i++) { FXPoint *pPoint; Data_Get_Struct(rb_ary_entry(argv[0], i), FXPoint, pPoint);
|
2172
|
+
arg2[i] = *pPoint; } } FXDCPrint_fillComplexPolygonRel(arg1,(FXPoint const *)arg2,arg3); { delete [] arg2; }
|
2173
|
+
return Qnil; }
|
2174
|
+
static VALUE _wrap_FXDCPrint_drawHashBox(int argc, VALUE *argv, VALUE self) { FXDCPrint *arg1 = (FXDCPrint *) 0 ; FXint arg2 ;
|
2175
|
+
FXint arg3 ; FXint arg4 ; FXint arg5 ; FXint arg6 = (FXint) 1 ; if ((argc < 4) || (argc > 5))
|
2176
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc);
|
2177
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDCPrint, 1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]);
|
2178
|
+
arg4 = NUM2INT(argv[2]); arg5 = NUM2INT(argv[3]); if (argc > 4) { arg6 = NUM2INT(argv[4]); }
|
2179
|
+
FXDCPrint_drawHashBox(arg1,arg2,arg3,arg4,arg5,arg6); return Qnil; }
|
2180
|
+
static VALUE _wrap_FXDCPrint_drawFocusRectangle(int argc, VALUE *argv, VALUE self) { FXDCPrint *arg1 = (FXDCPrint *) 0 ;
|
2181
|
+
FXint arg2 ; FXint arg3 ; FXint arg4 ; FXint arg5 ; if ((argc < 4) || (argc > 4))
|
2182
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc);
|
2183
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDCPrint, 1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]);
|
2184
|
+
arg4 = NUM2INT(argv[2]); arg5 = NUM2INT(argv[3]); FXDCPrint_drawFocusRectangle(arg1,arg2,arg3,arg4,arg5); return Qnil; }
|
2185
|
+
static VALUE _wrap_FXDCPrint_drawArea__SWIG_0(int argc, VALUE *argv, VALUE self) { FXDCPrint *arg1 = (FXDCPrint *) 0 ;
|
2186
|
+
FXDrawable *arg2 = (FXDrawable *) 0 ; FXint arg3 ; FXint arg4 ; FXint arg5 ; FXint arg6 ; FXint arg7 ; FXint arg8 ;
|
2187
|
+
if ((argc < 7) || (argc > 7)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 7)",argc);
|
2188
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDCPrint, 1);
|
2189
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXDrawable, 1); arg3 = NUM2INT(argv[1]); arg4 = NUM2INT(argv[2]);
|
2190
|
+
arg5 = NUM2INT(argv[3]); arg6 = NUM2INT(argv[4]); arg7 = NUM2INT(argv[5]); arg8 = NUM2INT(argv[6]);
|
2191
|
+
FXDCPrint_drawArea(arg1,(FXDrawable const *)arg2,arg3,arg4,arg5,arg6,arg7,arg8); return Qnil; }
|
2192
|
+
static VALUE _wrap_FXDCPrint_drawArea__SWIG_1(int argc, VALUE *argv, VALUE self) { FXDCPrint *arg1 = (FXDCPrint *) 0 ;
|
2193
|
+
FXDrawable *arg2 = (FXDrawable *) 0 ; FXint arg3 ; FXint arg4 ; FXint arg5 ; FXint arg6 ; FXint arg7 ; FXint arg8 ;
|
2194
|
+
FXint arg9 ; FXint arg10 ; if ((argc < 9) || (argc > 9)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 9)",argc);
|
2195
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDCPrint, 1);
|
2196
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXDrawable, 1); arg3 = NUM2INT(argv[1]); arg4 = NUM2INT(argv[2]);
|
2197
|
+
arg5 = NUM2INT(argv[3]); arg6 = NUM2INT(argv[4]); arg7 = NUM2INT(argv[5]); arg8 = NUM2INT(argv[6]); arg9 = NUM2INT(argv[7]);
|
2198
|
+
arg10 = NUM2INT(argv[8]); FXDCPrint_drawArea(arg1,(FXDrawable const *)arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
|
2199
|
+
return Qnil; }
|
2200
|
+
static VALUE _wrap_FXDCPrint_drawArea(int nargs, VALUE *args, VALUE self) { int argc; VALUE argv[11]; int ii; argc = nargs + 1;
|
2201
|
+
argv[0] = self; for (ii = 1; (ii < argc) && (ii < 10); ii++) { argv[ii] = args[ii-1]; } if (argc == 8) { int _v; {
|
2202
|
+
void *ptr;
|
2203
|
+
_v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_FXDCPrint, 0) != -1)) ? 1 : 0; }
|
2204
|
+
if (_v) { { void *ptr;
|
2205
|
+
_v = (NIL_P(argv[1]) || (TYPE(argv[1]) == T_DATA && SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_FXDrawable, 0) != -1)) ? 1 : 0; }
|
2206
|
+
if (_v) { { _v = ((TYPE(argv[2]) == T_FIXNUM) || (TYPE(argv[2]) == T_BIGNUM)) ? 1 : 0; } if (_v) { {
|
2207
|
+
_v = ((TYPE(argv[3]) == T_FIXNUM) || (TYPE(argv[3]) == T_BIGNUM)) ? 1 : 0; } if (_v) { {
|
2208
|
+
_v = ((TYPE(argv[4]) == T_FIXNUM) || (TYPE(argv[4]) == T_BIGNUM)) ? 1 : 0; } if (_v) { {
|
2209
|
+
_v = ((TYPE(argv[5]) == T_FIXNUM) || (TYPE(argv[5]) == T_BIGNUM)) ? 1 : 0; } if (_v) { {
|
2210
|
+
_v = ((TYPE(argv[6]) == T_FIXNUM) || (TYPE(argv[6]) == T_BIGNUM)) ? 1 : 0; } if (_v) { {
|
2211
|
+
_v = ((TYPE(argv[7]) == T_FIXNUM) || (TYPE(argv[7]) == T_BIGNUM)) ? 1 : 0; } if (_v) {
|
2212
|
+
return _wrap_FXDCPrint_drawArea__SWIG_0(nargs, args, self);} } } } } } } } }
|
2213
|
+
if (argc == 10) { int _v; { void *ptr;
|
2214
|
+
_v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_FXDCPrint, 0) != -1)) ? 1 : 0; }
|
2215
|
+
if (_v) { { void *ptr;
|
2216
|
+
_v = (NIL_P(argv[1]) || (TYPE(argv[1]) == T_DATA && SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_FXDrawable, 0) != -1)) ? 1 : 0; }
|
2217
|
+
if (_v) { { _v = ((TYPE(argv[2]) == T_FIXNUM) || (TYPE(argv[2]) == T_BIGNUM)) ? 1 : 0; } if (_v) { {
|
2218
|
+
_v = ((TYPE(argv[3]) == T_FIXNUM) || (TYPE(argv[3]) == T_BIGNUM)) ? 1 : 0; } if (_v) { {
|
2219
|
+
_v = ((TYPE(argv[4]) == T_FIXNUM) || (TYPE(argv[4]) == T_BIGNUM)) ? 1 : 0; } if (_v) { {
|
2220
|
+
_v = ((TYPE(argv[5]) == T_FIXNUM) || (TYPE(argv[5]) == T_BIGNUM)) ? 1 : 0; } if (_v) { {
|
2221
|
+
_v = ((TYPE(argv[6]) == T_FIXNUM) || (TYPE(argv[6]) == T_BIGNUM)) ? 1 : 0; } if (_v) { {
|
2222
|
+
_v = ((TYPE(argv[7]) == T_FIXNUM) || (TYPE(argv[7]) == T_BIGNUM)) ? 1 : 0; } if (_v) {
|
2223
|
+
{ _v = ((TYPE(argv[8]) == T_FIXNUM) || (TYPE(argv[8]) == T_BIGNUM)) ? 1 : 0; }
|
2224
|
+
if (_v) { { _v = ((TYPE(argv[9]) == T_FIXNUM) || (TYPE(argv[9]) == T_BIGNUM)) ? 1 : 0; }
|
2225
|
+
if (_v) { return _wrap_FXDCPrint_drawArea__SWIG_1(nargs, args, self);} } } } }
|
2226
|
+
} } } } } }
|
2227
|
+
rb_raise(rb_eArgError, "No matching function for overloaded 'FXDCPrint_drawArea'"); return Qnil; }
|
2228
|
+
static VALUE _wrap_FXDCPrint_drawImage(int argc, VALUE *argv, VALUE self) { FXDCPrint *arg1 = (FXDCPrint *) 0 ;
|
2229
|
+
FXImage *arg2 = (FXImage *) 0 ; FXint arg3 ; FXint arg4 ; if ((argc < 3) || (argc > 3))
|
2230
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc);
|
2231
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDCPrint, 1);
|
2232
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXImage, 1); arg3 = NUM2INT(argv[1]); arg4 = NUM2INT(argv[2]);
|
2233
|
+
FXDCPrint_drawImage(arg1,(FXImage const *)arg2,arg3,arg4); return Qnil; }
|
2234
|
+
static VALUE _wrap_FXDCPrint_drawBitmap(int argc, VALUE *argv, VALUE self) { FXDCPrint *arg1 = (FXDCPrint *) 0 ;
|
2235
|
+
FXBitmap *arg2 = (FXBitmap *) 0 ; FXint arg3 ; FXint arg4 ; if ((argc < 3) || (argc > 3))
|
2236
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc);
|
2237
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDCPrint, 1);
|
2238
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXBitmap, 1); arg3 = NUM2INT(argv[1]); arg4 = NUM2INT(argv[2]);
|
2239
|
+
FXDCPrint_drawBitmap(arg1,(FXBitmap const *)arg2,arg3,arg4); return Qnil; }
|
2240
|
+
static VALUE _wrap_FXDCPrint_drawIcon(int argc, VALUE *argv, VALUE self) { FXDCPrint *arg1 = (FXDCPrint *) 0 ;
|
2241
|
+
FXIcon *arg2 = (FXIcon *) 0 ; FXint arg3 ; FXint arg4 ; if ((argc < 3) || (argc > 3))
|
2242
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc);
|
2243
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDCPrint, 1);
|
2244
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXIcon, 1); arg3 = NUM2INT(argv[1]); arg4 = NUM2INT(argv[2]);
|
2245
|
+
FXDCPrint_drawIcon(arg1,(FXIcon const *)arg2,arg3,arg4); return Qnil; }
|
2246
|
+
static VALUE _wrap_FXDCPrint_drawIconShaded(int argc, VALUE *argv, VALUE self) { FXDCPrint *arg1 = (FXDCPrint *) 0 ;
|
2247
|
+
FXIcon *arg2 = (FXIcon *) 0 ; FXint arg3 ; FXint arg4 ; if ((argc < 3) || (argc > 3))
|
2248
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc);
|
2249
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDCPrint, 1);
|
2250
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXIcon, 1); arg3 = NUM2INT(argv[1]); arg4 = NUM2INT(argv[2]);
|
2251
|
+
FXDCPrint_drawIconShaded(arg1,(FXIcon const *)arg2,arg3,arg4); return Qnil; }
|
2252
|
+
static VALUE _wrap_FXDCPrint_drawIconSunken(int argc, VALUE *argv, VALUE self) { FXDCPrint *arg1 = (FXDCPrint *) 0 ;
|
2253
|
+
FXIcon *arg2 = (FXIcon *) 0 ; FXint arg3 ; FXint arg4 ; if ((argc < 3) || (argc > 3))
|
2254
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc);
|
2255
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDCPrint, 1);
|
2256
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXIcon, 1); arg3 = NUM2INT(argv[1]); arg4 = NUM2INT(argv[2]);
|
2257
|
+
FXDCPrint_drawIconSunken(arg1,(FXIcon const *)arg2,arg3,arg4); return Qnil; }
|
2258
|
+
static VALUE _wrap_FXDCPrint_drawText(int argc, VALUE *argv, VALUE self) { FXDCPrint *arg1 = (FXDCPrint *) 0 ; FXint arg2 ;
|
2259
|
+
FXint arg3 ; FXchar *arg4 ; FXuint arg5 ; if ((argc < 3) || (argc > 3))
|
2260
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc);
|
2261
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDCPrint, 1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); {
|
2262
|
+
Check_Type(argv[2], T_STRING); arg4 = StringValuePtr(argv[2]); arg5 = RSTRING_LEN(argv[2]); }
|
2263
|
+
FXDCPrint_drawText(arg1,arg2,arg3,(FXchar const *)arg4,arg5); return Qnil; }
|
2264
|
+
static VALUE _wrap_FXDCPrint_drawImageText(int argc, VALUE *argv, VALUE self) { FXDCPrint *arg1 = (FXDCPrint *) 0 ; FXint arg2 ;
|
2265
|
+
FXint arg3 ; FXchar *arg4 ; FXuint arg5 ; if ((argc < 3) || (argc > 3))
|
2266
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc);
|
2267
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDCPrint, 1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); {
|
2268
|
+
Check_Type(argv[2], T_STRING); arg4 = StringValuePtr(argv[2]); arg5 = RSTRING_LEN(argv[2]); }
|
2269
|
+
FXDCPrint_drawImageText(arg1,arg2,arg3,(FXchar const *)arg4,arg5); return Qnil; }
|
2270
|
+
static VALUE _wrap_FXDCPrint_setForeground(int argc, VALUE *argv, VALUE self) { FXDCPrint *arg1 = (FXDCPrint *) 0 ;
|
2271
|
+
FXColor arg2 ; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
2272
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDCPrint, 1); arg2 = to_FXColor(argv[0]);
|
2273
|
+
FXDCPrint_setForeground(arg1,arg2); return Qnil; }
|
2274
|
+
static VALUE _wrap_FXDCPrint_setBackground(int argc, VALUE *argv, VALUE self) { FXDCPrint *arg1 = (FXDCPrint *) 0 ;
|
2275
|
+
FXColor arg2 ; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
2276
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDCPrint, 1); arg2 = to_FXColor(argv[0]);
|
2277
|
+
FXDCPrint_setBackground(arg1,arg2); return Qnil; }
|
2278
|
+
static VALUE _wrap_FXDCPrint_setDashes(int argc, VALUE *argv, VALUE self) { FXDCPrint *arg1 = (FXDCPrint *) 0 ; FXuint arg2 ;
|
2279
|
+
FXchar *arg3 ; FXuint arg4 ; if ((argc < 2) || (argc > 2)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
|
2280
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDCPrint, 1); arg2 = NUM2UINT(argv[0]); { Check_Type(argv[1], T_ARRAY);
|
2281
|
+
arg3 = new FXchar[RARRAY_LEN(argv[1])]; arg4 = static_cast<FXuint>( RARRAY_LEN(argv[1]) );
|
2282
|
+
for (FXuint i = 0; i < arg4; i++) { arg3[i] = NUM2INT(rb_ary_entry(argv[1], i)); } }
|
2283
|
+
FXDCPrint_setDashes(arg1,arg2,(FXchar const *)arg3,arg4); { delete [] arg3; } return Qnil; }
|
2284
|
+
static VALUE _wrap_FXDCPrint_setLineWidth(int argc, VALUE *argv, VALUE self) { FXDCPrint *arg1 = (FXDCPrint *) 0 ;
|
2285
|
+
FXuint arg2 = (FXuint) 0 ; if ((argc < 0) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
2286
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDCPrint, 1); if (argc > 0) { arg2 = NUM2UINT(argv[0]); }
|
2287
|
+
FXDCPrint_setLineWidth(arg1,arg2); return Qnil; }
|
2288
|
+
static VALUE _wrap_FXDCPrint_setLineCap(int argc, VALUE *argv, VALUE self) { FXDCPrint *arg1 = (FXDCPrint *) 0 ;
|
2289
|
+
int arg2 = (int) CAP_BUTT ; if ((argc < 0) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
2290
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDCPrint, 1); if (argc > 0) { arg2 = (int) NUM2INT(argv[0]); }
|
2291
|
+
FXDCPrint_setLineCap(arg1,(FXCapStyle )arg2); return Qnil; }
|
2292
|
+
static VALUE _wrap_FXDCPrint_setLineJoin(int argc, VALUE *argv, VALUE self) { FXDCPrint *arg1 = (FXDCPrint *) 0 ;
|
2293
|
+
int arg2 = (int) JOIN_MITER ; if ((argc < 0) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
2294
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDCPrint, 1); if (argc > 0) { arg2 = (int) NUM2INT(argv[0]); }
|
2295
|
+
FXDCPrint_setLineJoin(arg1,(FXJoinStyle )arg2); return Qnil; }
|
2296
|
+
static VALUE _wrap_FXDCPrint_setLineStyle(int argc, VALUE *argv, VALUE self) { FXDCPrint *arg1 = (FXDCPrint *) 0 ;
|
2297
|
+
int arg2 = (int) LINE_SOLID ; if ((argc < 0) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
2298
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDCPrint, 1); if (argc > 0) { arg2 = (int) NUM2INT(argv[0]); }
|
2299
|
+
FXDCPrint_setLineStyle(arg1,(FXLineStyle )arg2); return Qnil; }
|
2300
|
+
static VALUE _wrap_FXDCPrint_setFillStyle(int argc, VALUE *argv, VALUE self) { FXDCPrint *arg1 = (FXDCPrint *) 0 ;
|
2301
|
+
int arg2 = (int) FILL_SOLID ; if ((argc < 0) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
2302
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDCPrint, 1); if (argc > 0) { arg2 = (int) NUM2INT(argv[0]); }
|
2303
|
+
FXDCPrint_setFillStyle(arg1,(FXFillStyle )arg2); return Qnil; }
|
2304
|
+
static VALUE _wrap_FXDCPrint_setFillRule(int argc, VALUE *argv, VALUE self) { FXDCPrint *arg1 = (FXDCPrint *) 0 ;
|
2305
|
+
int arg2 = (int) RULE_EVEN_ODD ; if ((argc < 0) || (argc > 1))
|
2306
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
2307
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDCPrint, 1); if (argc > 0) { arg2 = (int) NUM2INT(argv[0]); }
|
2308
|
+
FXDCPrint_setFillRule(arg1,(FXFillRule )arg2); return Qnil; }
|
2309
|
+
static VALUE _wrap_FXDCPrint_setFunction(int argc, VALUE *argv, VALUE self) { FXDCPrint *arg1 = (FXDCPrint *) 0 ;
|
2310
|
+
int arg2 = (int) BLT_SRC ; if ((argc < 0) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
2311
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDCPrint, 1); if (argc > 0) { arg2 = (int) NUM2INT(argv[0]); }
|
2312
|
+
FXDCPrint_setFunction(arg1,(FXFunction )arg2); return Qnil; }
|
2313
|
+
static VALUE _wrap_FXDCPrint_setTile(int argc, VALUE *argv, VALUE self) { FXDCPrint *arg1 = (FXDCPrint *) 0 ;
|
2314
|
+
FXImage *arg2 = (FXImage *) 0 ; FXint arg3 = (FXint) 0 ; FXint arg4 = (FXint) 0 ; if ((argc < 1) || (argc > 3))
|
2315
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
2316
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDCPrint, 1);
|
2317
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXImage, 1); if (argc > 1) { arg3 = NUM2INT(argv[1]); }
|
2318
|
+
if (argc > 2) { arg4 = NUM2INT(argv[2]); } FXDCPrint_setTile(arg1,arg2,arg3,arg4); return Qnil; }
|
2319
|
+
static VALUE _wrap_FXDCPrint_setStipple__SWIG_0(int argc, VALUE *argv, VALUE self) { FXDCPrint *arg1 = (FXDCPrint *) 0 ;
|
2320
|
+
FXBitmap *arg2 = (FXBitmap *) 0 ; FXint arg3 = (FXint) 0 ; FXint arg4 = (FXint) 0 ; if ((argc < 1) || (argc > 3))
|
2321
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
2322
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDCPrint, 1);
|
2323
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXBitmap, 1); if (argc > 1) { arg3 = NUM2INT(argv[1]); }
|
2324
|
+
if (argc > 2) { arg4 = NUM2INT(argv[2]); } FXDCPrint_setStipple(arg1,arg2,arg3,arg4); return Qnil; }
|
2325
|
+
static VALUE _wrap_FXDCPrint_setStipple__SWIG_1(int argc, VALUE *argv, VALUE self) { FXDCPrint *arg1 = (FXDCPrint *) 0 ;
|
2326
|
+
int arg2 ; FXint arg3 = (FXint) 0 ; FXint arg4 = (FXint) 0 ; if ((argc < 1) || (argc > 3))
|
2327
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
2328
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDCPrint, 1); arg2 = (int) NUM2INT(argv[0]); if (argc > 1) {
|
2329
|
+
arg3 = NUM2INT(argv[1]); } if (argc > 2) { arg4 = NUM2INT(argv[2]); }
|
2330
|
+
FXDCPrint_setStipple(arg1,(FXStipplePattern )arg2,arg3,arg4); return Qnil; }
|
2331
|
+
static VALUE _wrap_FXDCPrint_setStipple(int nargs, VALUE *args, VALUE self) { int argc; VALUE argv[5]; int ii; argc = nargs + 1;
|
2332
|
+
argv[0] = self; for (ii = 1; (ii < argc) && (ii < 4); ii++) { argv[ii] = args[ii-1]; } if ((argc >= 2) && (argc <= 4)) {
|
2333
|
+
int _v; { void *ptr;
|
2334
|
+
_v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_FXDCPrint, 0) != -1)) ? 1 : 0; }
|
2335
|
+
if (_v) { { void *ptr;
|
2336
|
+
_v = (NIL_P(argv[1]) || (TYPE(argv[1]) == T_DATA && SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_FXBitmap, 0) != -1)) ? 1 : 0; }
|
2337
|
+
if (_v) { if (argc <= 2) { return _wrap_FXDCPrint_setStipple__SWIG_0(nargs, args, self);} {
|
2338
|
+
_v = ((TYPE(argv[2]) == T_FIXNUM) || (TYPE(argv[2]) == T_BIGNUM)) ? 1 : 0; } if (_v) { if (argc <= 3) {
|
2339
|
+
return _wrap_FXDCPrint_setStipple__SWIG_0(nargs, args, self);} {
|
2340
|
+
_v = ((TYPE(argv[3]) == T_FIXNUM) || (TYPE(argv[3]) == T_BIGNUM)) ? 1 : 0; } if (_v) {
|
2341
|
+
return _wrap_FXDCPrint_setStipple__SWIG_0(nargs, args, self);} } } } }
|
2342
|
+
if ((argc >= 2) && (argc <= 4)) { int _v; { void *ptr;
|
2343
|
+
_v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_FXDCPrint, 0) != -1)) ? 1 : 0; }
|
2344
|
+
if (_v) { { _v = ((TYPE(argv[1]) == T_FIXNUM) || (TYPE(argv[1]) == T_BIGNUM)) ? 1 : 0; } if (_v) { if (argc <= 2) {
|
2345
|
+
return _wrap_FXDCPrint_setStipple__SWIG_1(nargs, args, self);} {
|
2346
|
+
_v = ((TYPE(argv[2]) == T_FIXNUM) || (TYPE(argv[2]) == T_BIGNUM)) ? 1 : 0; } if (_v) { if (argc <= 3) {
|
2347
|
+
return _wrap_FXDCPrint_setStipple__SWIG_1(nargs, args, self);} {
|
2348
|
+
_v = ((TYPE(argv[3]) == T_FIXNUM) || (TYPE(argv[3]) == T_BIGNUM)) ? 1 : 0; } if (_v) {
|
2349
|
+
return _wrap_FXDCPrint_setStipple__SWIG_1(nargs, args, self);} } } } }
|
2350
|
+
rb_raise(rb_eArgError, "No matching function for overloaded 'FXDCPrint_setStipple'"); return Qnil; }
|
2351
|
+
static VALUE _wrap_FXDCPrint_setClipRegion(int argc, VALUE *argv, VALUE self) { FXDCPrint *arg1 = (FXDCPrint *) 0 ;
|
2352
|
+
FXRegion *arg2 = 0 ; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
2353
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDCPrint, 1);
|
2354
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXRegion, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
|
2355
|
+
FXDCPrint_setClipRegion(arg1,(FXRegion const &)*arg2); return Qnil; }
|
2356
|
+
static VALUE _wrap_FXDCPrint_setClipRectangle__SWIG_0(int argc, VALUE *argv, VALUE self) { FXDCPrint *arg1 = (FXDCPrint *) 0 ;
|
2357
|
+
FXint arg2 ; FXint arg3 ; FXint arg4 ; FXint arg5 ; if ((argc < 4) || (argc > 4))
|
2358
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc);
|
2359
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDCPrint, 1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]);
|
2360
|
+
arg4 = NUM2INT(argv[2]); arg5 = NUM2INT(argv[3]); FXDCPrint_setClipRectangle(arg1,arg2,arg3,arg4,arg5); return Qnil; }
|
2361
|
+
static VALUE _wrap_FXDCPrint_setClipRectangle__SWIG_1(int argc, VALUE *argv, VALUE self) { FXDCPrint *arg1 = (FXDCPrint *) 0 ;
|
2362
|
+
FXRectangle *arg2 = 0 ; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
2363
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDCPrint, 1);
|
2364
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXRectangle, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
|
2365
|
+
FXDCPrint_setClipRectangle(arg1,(FXRectangle const &)*arg2); return Qnil; }
|
2366
|
+
static VALUE _wrap_FXDCPrint_setClipRectangle(int nargs, VALUE *args, VALUE self) { int argc; VALUE argv[6]; int ii;
|
2367
|
+
argc = nargs + 1; argv[0] = self; for (ii = 1; (ii < argc) && (ii < 5); ii++) { argv[ii] = args[ii-1]; } if (argc == 2) {
|
2368
|
+
int _v; { void *ptr;
|
2369
|
+
_v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_FXDCPrint, 0) != -1)) ? 1 : 0; }
|
2370
|
+
if (_v) { { void *ptr;
|
2371
|
+
_v = (NIL_P(argv[1]) || (TYPE(argv[1]) == T_DATA && SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_FXRectangle, 0) != -1)) ? 1 : 0; }
|
2372
|
+
if (_v) { return _wrap_FXDCPrint_setClipRectangle__SWIG_1(nargs, args, self);} } } if (argc == 5) { int _v; {
|
2373
|
+
void *ptr;
|
2374
|
+
_v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_FXDCPrint, 0) != -1)) ? 1 : 0; }
|
2375
|
+
if (_v) { { _v = ((TYPE(argv[1]) == T_FIXNUM) || (TYPE(argv[1]) == T_BIGNUM)) ? 1 : 0; } if (_v) { {
|
2376
|
+
_v = ((TYPE(argv[2]) == T_FIXNUM) || (TYPE(argv[2]) == T_BIGNUM)) ? 1 : 0; } if (_v) { {
|
2377
|
+
_v = ((TYPE(argv[3]) == T_FIXNUM) || (TYPE(argv[3]) == T_BIGNUM)) ? 1 : 0; } if (_v) { {
|
2378
|
+
_v = ((TYPE(argv[4]) == T_FIXNUM) || (TYPE(argv[4]) == T_BIGNUM)) ? 1 : 0; } if (_v) {
|
2379
|
+
return _wrap_FXDCPrint_setClipRectangle__SWIG_0(nargs, args, self);} } } } } }
|
2380
|
+
rb_raise(rb_eArgError, "No matching function for overloaded 'FXDCPrint_setClipRectangle'"); return Qnil; }
|
2381
|
+
static VALUE _wrap_FXDCPrint_clearClipRectangle(int argc, VALUE *argv, VALUE self) { FXDCPrint *arg1 = (FXDCPrint *) 0 ;
|
2382
|
+
if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
2383
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDCPrint, 1); FXDCPrint_clearClipRectangle(arg1); return Qnil; }
|
2384
|
+
static VALUE _wrap_FXDCPrint_setClipMask(int argc, VALUE *argv, VALUE self) { FXDCPrint *arg1 = (FXDCPrint *) 0 ;
|
2385
|
+
FXBitmap *arg2 = (FXBitmap *) 0 ; FXint arg3 = (FXint) 0 ; FXint arg4 = (FXint) 0 ; if ((argc < 1) || (argc > 3))
|
2386
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
2387
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDCPrint, 1);
|
2388
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXBitmap, 1); if (argc > 1) { arg3 = NUM2INT(argv[1]); }
|
2389
|
+
if (argc > 2) { arg4 = NUM2INT(argv[2]); } FXDCPrint_setClipMask(arg1,arg2,arg3,arg4); return Qnil; }
|
2390
|
+
static VALUE _wrap_FXDCPrint_clearClipMask(int argc, VALUE *argv, VALUE self) { FXDCPrint *arg1 = (FXDCPrint *) 0 ;
|
2391
|
+
if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
|
2392
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDCPrint, 1); FXDCPrint_clearClipMask(arg1); return Qnil; }
|
2393
|
+
static VALUE _wrap_FXDCPrint_setFont(int argc, VALUE *argv, VALUE self) { FXDCPrint *arg1 = (FXDCPrint *) 0 ;
|
2394
|
+
FXFont *arg2 = (FXFont *) 0 ; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
2395
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDCPrint, 1);
|
2396
|
+
SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_FXFont, 1); FXDCPrint_setFont(arg1,arg2); return Qnil; }
|
2397
|
+
static VALUE _wrap_FXDCPrint_clipChildren(int argc, VALUE *argv, VALUE self) { FXDCPrint *arg1 = (FXDCPrint *) 0 ; FXbool arg2 ;
|
2398
|
+
if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
|
2399
|
+
SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_FXDCPrint, 1); arg2 = to_FXbool(argv[0]);
|
2400
|
+
FXDCPrint_clipChildren(arg1,arg2); return Qnil; }
|
2401
|
+
|
2402
|
+
/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
|
2403
|
+
|
2404
|
+
static void *_p_FXCompositeTo_p_FXDrawable(void *x) {
|
2405
|
+
return (void *)((FXDrawable *) (FXWindow *) ((FXComposite *) x));
|
2406
|
+
}
|
2407
|
+
static void *_p_FXShellTo_p_FXDrawable(void *x) {
|
2408
|
+
return (void *)((FXDrawable *) (FXWindow *)(FXComposite *) ((FXShell *) x));
|
2409
|
+
}
|
2410
|
+
static void *_p_FXWindowTo_p_FXDrawable(void *x) {
|
2411
|
+
return (void *)((FXDrawable *) ((FXWindow *) x));
|
2412
|
+
}
|
2413
|
+
static void *_p_FXRootWindowTo_p_FXDrawable(void *x) {
|
2414
|
+
return (void *)((FXDrawable *) (FXWindow *)(FXComposite *) ((FXRootWindow *) x));
|
2415
|
+
}
|
2416
|
+
static void *_p_FXPopupTo_p_FXDrawable(void *x) {
|
2417
|
+
return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXShell *) ((FXPopup *) x));
|
2418
|
+
}
|
2419
|
+
static void *_p_FXTopWindowTo_p_FXDrawable(void *x) {
|
2420
|
+
return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXShell *) ((FXTopWindow *) x));
|
2421
|
+
}
|
2422
|
+
static void *_p_FXMainWindowTo_p_FXDrawable(void *x) {
|
2423
|
+
return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXShell *)(FXTopWindow *) ((FXMainWindow *) x));
|
2424
|
+
}
|
2425
|
+
static void *_p_FXSplashWindowTo_p_FXDrawable(void *x) {
|
2426
|
+
return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXShell *)(FXTopWindow *) ((FXSplashWindow *) x));
|
2427
|
+
}
|
2428
|
+
static void *_p_FXFrameTo_p_FXDrawable(void *x) {
|
2429
|
+
return (void *)((FXDrawable *) (FXWindow *) ((FXFrame *) x));
|
2430
|
+
}
|
2431
|
+
static void *_p_FXDCPrintTo_p_FXDC(void *x) {
|
2432
|
+
return (void *)((FXDC *) ((FXDCPrint *) x));
|
2433
|
+
}
|
2434
|
+
static void *_p_FXDCWindowTo_p_FXDC(void *x) {
|
2435
|
+
return (void *)((FXDC *) ((FXDCWindow *) x));
|
2436
|
+
}
|
2437
|
+
static swig_type_info _swigt__p_FXDCWindow[] = {{"_p_FXDCWindow", 0, "FXDCWindow *", 0, 0, 0, 0},{"_p_FXDCWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
|
2438
|
+
static swig_type_info _swigt__p_FXDC[] = {{"_p_FXDC", 0, "FXDC *", 0, 0, 0, 0},{"_p_FXDCPrint", _p_FXDCPrintTo_p_FXDC, 0, 0, 0, 0, 0},{"_p_FXDC", 0, 0, 0, 0, 0, 0},{"_p_FXDCWindow", _p_FXDCWindowTo_p_FXDC, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
|
2439
|
+
static swig_type_info _swigt__p_FXPrinter[] = {{"_p_FXPrinter", 0, "FXPrinter *", 0, 0, 0, 0},{"_p_FXPrinter", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
|
2440
|
+
static swig_type_info _swigt__p_FXPSBounds[] = {{"_p_FXPSBounds", 0, "FXPSBounds *", 0, 0, 0, 0},{"_p_FXPSBounds", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
|
2441
|
+
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}};
|
2442
|
+
static swig_type_info _swigt__p_FXRectangle[] = {{"_p_FXRectangle", 0, "FXRectangle *", 0, 0, 0, 0},{"_p_FXRectangle", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
|
2443
|
+
static swig_type_info _swigt__p_FXFont[] = {{"_p_FXFont", 0, "FXFont *", 0, 0, 0, 0},{"_p_FXFont", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
|
2444
|
+
static swig_type_info _swigt__p_FXDrawable[] = {{"_p_FXDrawable", 0, "FXDrawable *", 0, 0, 0, 0},{"_p_FXComposite", _p_FXCompositeTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXShell", _p_FXShellTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXWindow", _p_FXWindowTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXRootWindow", _p_FXRootWindowTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXPopup", _p_FXPopupTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXTopWindow", _p_FXTopWindowTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXMainWindow", _p_FXMainWindowTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXSplashWindow", _p_FXSplashWindowTo_p_FXDrawable, 0, 0, 0, 0, 0},{"_p_FXDrawable", 0, 0, 0, 0, 0, 0},{"_p_FXFrame", _p_FXFrameTo_p_FXDrawable, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
|
2445
|
+
static swig_type_info _swigt__p_FXString[] = {{"_p_FXString", 0, "FXString *", 0, 0, 0, 0},{"_p_FXString", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
|
2446
|
+
static swig_type_info _swigt__p_FXDCPrint[] = {{"_p_FXDCPrint", 0, "FXDCPrint *", 0, 0, 0, 0},{"_p_FXDCPrint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
|
2447
|
+
static swig_type_info _swigt__p_FXIcon[] = {{"_p_FXIcon", 0, "FXIcon *", 0, 0, 0, 0},{"_p_FXIcon", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
|
2448
|
+
static swig_type_info _swigt__p_FXRegion[] = {{"_p_FXRegion", 0, "FXRegion *", 0, 0, 0, 0},{"_p_FXRegion", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
|
2449
|
+
static swig_type_info _swigt__p_FXArc[] = {{"_p_FXArc", 0, "FXArc *", 0, 0, 0, 0},{"_p_FXArc", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
|
2450
|
+
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}};
|
2451
|
+
static swig_type_info _swigt__p_FXEvent[] = {{"_p_FXEvent", 0, "FXEvent *", 0, 0, 0, 0},{"_p_FXEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
|
2452
|
+
static swig_type_info _swigt__p_FXImage[] = {{"_p_FXImage", 0, "FXImage *", 0, 0, 0, 0},{"_p_FXImage", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
|
2453
|
+
static swig_type_info _swigt__p_FXSegment[] = {{"_p_FXSegment", 0, "FXSegment *", 0, 0, 0, 0},{"_p_FXSegment", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
|
2454
|
+
|
2455
|
+
static swig_type_info *swig_types_initial[] = {
|
2456
|
+
_swigt__p_FXDCWindow,
|
2457
|
+
_swigt__p_FXDC,
|
2458
|
+
_swigt__p_FXPrinter,
|
2459
|
+
_swigt__p_FXPSBounds,
|
2460
|
+
_swigt__p_FXBitmap,
|
2461
|
+
_swigt__p_FXRectangle,
|
2462
|
+
_swigt__p_FXFont,
|
2463
|
+
_swigt__p_FXDrawable,
|
2464
|
+
_swigt__p_FXString,
|
2465
|
+
_swigt__p_FXDCPrint,
|
2466
|
+
_swigt__p_FXIcon,
|
2467
|
+
_swigt__p_FXRegion,
|
2468
|
+
_swigt__p_FXArc,
|
2469
|
+
_swigt__p_FXApp,
|
2470
|
+
_swigt__p_FXEvent,
|
2471
|
+
_swigt__p_FXImage,
|
2472
|
+
_swigt__p_FXSegment,
|
2473
|
+
0
|
2474
|
+
};
|
2475
|
+
|
2476
|
+
|
2477
|
+
/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
|
2478
|
+
|
2479
|
+
|
2480
|
+
#ifdef __cplusplus
|
2481
|
+
extern "C"
|
2482
|
+
#endif
|
2483
|
+
SWIGEXPORT(void) Init_dc(void) {
|
2484
|
+
int i;
|
2485
|
+
|
2486
|
+
SWIG_InitRuntime();
|
2487
|
+
|
2488
|
+
for (i = 0; swig_types_initial[i]; i++) {
|
2489
|
+
swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
|
2490
|
+
SWIG_define_class(swig_types[i]);
|
2491
|
+
}
|
2492
|
+
|
2493
|
+
rb_define_const(mFox,"BLT_CLR", INT2NUM(BLT_CLR));
|
2494
|
+
rb_define_const(mFox,"BLT_SRC_AND_DST", INT2NUM(BLT_SRC_AND_DST));
|
2495
|
+
rb_define_const(mFox,"BLT_SRC_AND_NOT_DST", INT2NUM(BLT_SRC_AND_NOT_DST));
|
2496
|
+
rb_define_const(mFox,"BLT_SRC", INT2NUM(BLT_SRC));
|
2497
|
+
rb_define_const(mFox,"BLT_NOT_SRC_AND_DST", INT2NUM(BLT_NOT_SRC_AND_DST));
|
2498
|
+
rb_define_const(mFox,"BLT_DST", INT2NUM(BLT_DST));
|
2499
|
+
rb_define_const(mFox,"BLT_SRC_XOR_DST", INT2NUM(BLT_SRC_XOR_DST));
|
2500
|
+
rb_define_const(mFox,"BLT_SRC_OR_DST", INT2NUM(BLT_SRC_OR_DST));
|
2501
|
+
rb_define_const(mFox,"BLT_NOT_SRC_AND_NOT_DST", INT2NUM(BLT_NOT_SRC_AND_NOT_DST));
|
2502
|
+
rb_define_const(mFox,"BLT_NOT_SRC_XOR_DST", INT2NUM(BLT_NOT_SRC_XOR_DST));
|
2503
|
+
rb_define_const(mFox,"BLT_NOT_DST", INT2NUM(BLT_NOT_DST));
|
2504
|
+
rb_define_const(mFox,"BLT_SRC_OR_NOT_DST", INT2NUM(BLT_SRC_OR_NOT_DST));
|
2505
|
+
rb_define_const(mFox,"BLT_NOT_SRC", INT2NUM(BLT_NOT_SRC));
|
2506
|
+
rb_define_const(mFox,"BLT_NOT_SRC_OR_DST", INT2NUM(BLT_NOT_SRC_OR_DST));
|
2507
|
+
rb_define_const(mFox,"BLT_NOT_SRC_OR_NOT_DST", INT2NUM(BLT_NOT_SRC_OR_NOT_DST));
|
2508
|
+
rb_define_const(mFox,"BLT_SET", INT2NUM(BLT_SET));
|
2509
|
+
rb_define_const(mFox,"LINE_SOLID", INT2NUM(LINE_SOLID));
|
2510
|
+
rb_define_const(mFox,"LINE_ONOFF_DASH", INT2NUM(LINE_ONOFF_DASH));
|
2511
|
+
rb_define_const(mFox,"LINE_DOUBLE_DASH", INT2NUM(LINE_DOUBLE_DASH));
|
2512
|
+
rb_define_const(mFox,"CAP_NOT_LAST", INT2NUM(CAP_NOT_LAST));
|
2513
|
+
rb_define_const(mFox,"CAP_BUTT", INT2NUM(CAP_BUTT));
|
2514
|
+
rb_define_const(mFox,"CAP_ROUND", INT2NUM(CAP_ROUND));
|
2515
|
+
rb_define_const(mFox,"CAP_PROJECTING", INT2NUM(CAP_PROJECTING));
|
2516
|
+
rb_define_const(mFox,"JOIN_MITER", INT2NUM(JOIN_MITER));
|
2517
|
+
rb_define_const(mFox,"JOIN_ROUND", INT2NUM(JOIN_ROUND));
|
2518
|
+
rb_define_const(mFox,"JOIN_BEVEL", INT2NUM(JOIN_BEVEL));
|
2519
|
+
rb_define_const(mFox,"FILL_SOLID", INT2NUM(FILL_SOLID));
|
2520
|
+
rb_define_const(mFox,"FILL_TILED", INT2NUM(FILL_TILED));
|
2521
|
+
rb_define_const(mFox,"FILL_STIPPLED", INT2NUM(FILL_STIPPLED));
|
2522
|
+
rb_define_const(mFox,"FILL_OPAQUESTIPPLED", INT2NUM(FILL_OPAQUESTIPPLED));
|
2523
|
+
rb_define_const(mFox,"RULE_EVEN_ODD", INT2NUM(RULE_EVEN_ODD));
|
2524
|
+
rb_define_const(mFox,"RULE_WINDING", INT2NUM(RULE_WINDING));
|
2525
|
+
rb_define_const(mFox,"STIPPLE_0", INT2NUM(STIPPLE_0));
|
2526
|
+
rb_define_const(mFox,"STIPPLE_NONE", INT2NUM(STIPPLE_NONE));
|
2527
|
+
rb_define_const(mFox,"STIPPLE_BLACK", INT2NUM(STIPPLE_BLACK));
|
2528
|
+
rb_define_const(mFox,"STIPPLE_1", INT2NUM(STIPPLE_1));
|
2529
|
+
rb_define_const(mFox,"STIPPLE_2", INT2NUM(STIPPLE_2));
|
2530
|
+
rb_define_const(mFox,"STIPPLE_3", INT2NUM(STIPPLE_3));
|
2531
|
+
rb_define_const(mFox,"STIPPLE_4", INT2NUM(STIPPLE_4));
|
2532
|
+
rb_define_const(mFox,"STIPPLE_5", INT2NUM(STIPPLE_5));
|
2533
|
+
rb_define_const(mFox,"STIPPLE_6", INT2NUM(STIPPLE_6));
|
2534
|
+
rb_define_const(mFox,"STIPPLE_7", INT2NUM(STIPPLE_7));
|
2535
|
+
rb_define_const(mFox,"STIPPLE_8", INT2NUM(STIPPLE_8));
|
2536
|
+
rb_define_const(mFox,"STIPPLE_GRAY", INT2NUM(STIPPLE_GRAY));
|
2537
|
+
rb_define_const(mFox,"STIPPLE_9", INT2NUM(STIPPLE_9));
|
2538
|
+
rb_define_const(mFox,"STIPPLE_10", INT2NUM(STIPPLE_10));
|
2539
|
+
rb_define_const(mFox,"STIPPLE_11", INT2NUM(STIPPLE_11));
|
2540
|
+
rb_define_const(mFox,"STIPPLE_12", INT2NUM(STIPPLE_12));
|
2541
|
+
rb_define_const(mFox,"STIPPLE_13", INT2NUM(STIPPLE_13));
|
2542
|
+
rb_define_const(mFox,"STIPPLE_14", INT2NUM(STIPPLE_14));
|
2543
|
+
rb_define_const(mFox,"STIPPLE_15", INT2NUM(STIPPLE_15));
|
2544
|
+
rb_define_const(mFox,"STIPPLE_16", INT2NUM(STIPPLE_16));
|
2545
|
+
rb_define_const(mFox,"STIPPLE_WHITE", INT2NUM(STIPPLE_WHITE));
|
2546
|
+
rb_define_const(mFox,"STIPPLE_HORZ", INT2NUM(STIPPLE_HORZ));
|
2547
|
+
rb_define_const(mFox,"STIPPLE_VERT", INT2NUM(STIPPLE_VERT));
|
2548
|
+
rb_define_const(mFox,"STIPPLE_CROSS", INT2NUM(STIPPLE_CROSS));
|
2549
|
+
rb_define_const(mFox,"STIPPLE_DIAG", INT2NUM(STIPPLE_DIAG));
|
2550
|
+
rb_define_const(mFox,"STIPPLE_REVDIAG", INT2NUM(STIPPLE_REVDIAG));
|
2551
|
+
rb_define_const(mFox,"STIPPLE_CROSSDIAG", INT2NUM(STIPPLE_CROSSDIAG));
|
2552
|
+
|
2553
|
+
cFXSegment.klass = rb_define_class_under(mFox, "FXSegment", rb_cObject);
|
2554
|
+
SWIG_TypeClientData(SWIGTYPE_p_FXSegment, (void *) &cFXSegment);
|
2555
|
+
rb_define_alloc_func(cFXSegment.klass, _wrap_FXSegment_allocate);
|
2556
|
+
rb_define_method(cFXSegment.klass, "initialize", VALUEFUNC(_wrap_new_FXSegment), -1);
|
2557
|
+
rb_define_method(cFXSegment.klass, "x1=", VALUEFUNC(_wrap_FXSegment_x1_set), -1);
|
2558
|
+
rb_define_method(cFXSegment.klass, "x1", VALUEFUNC(_wrap_FXSegment_x1_get), -1);
|
2559
|
+
rb_define_method(cFXSegment.klass, "y1=", VALUEFUNC(_wrap_FXSegment_y1_set), -1);
|
2560
|
+
rb_define_method(cFXSegment.klass, "y1", VALUEFUNC(_wrap_FXSegment_y1_get), -1);
|
2561
|
+
rb_define_method(cFXSegment.klass, "x2=", VALUEFUNC(_wrap_FXSegment_x2_set), -1);
|
2562
|
+
rb_define_method(cFXSegment.klass, "x2", VALUEFUNC(_wrap_FXSegment_x2_get), -1);
|
2563
|
+
rb_define_method(cFXSegment.klass, "y2=", VALUEFUNC(_wrap_FXSegment_y2_set), -1);
|
2564
|
+
rb_define_method(cFXSegment.klass, "y2", VALUEFUNC(_wrap_FXSegment_y2_get), -1);
|
2565
|
+
cFXSegment.mark = 0;
|
2566
|
+
cFXSegment.destroy = (void (*)(void *)) free_FXSegment;
|
2567
|
+
|
2568
|
+
cFXArc.klass = rb_define_class_under(mFox, "FXArc", rb_cObject);
|
2569
|
+
SWIG_TypeClientData(SWIGTYPE_p_FXArc, (void *) &cFXArc);
|
2570
|
+
rb_define_alloc_func(cFXArc.klass, _wrap_FXArc_allocate);
|
2571
|
+
rb_define_method(cFXArc.klass, "initialize", VALUEFUNC(_wrap_new_FXArc), -1);
|
2572
|
+
rb_define_method(cFXArc.klass, "x=", VALUEFUNC(_wrap_FXArc_x_set), -1);
|
2573
|
+
rb_define_method(cFXArc.klass, "x", VALUEFUNC(_wrap_FXArc_x_get), -1);
|
2574
|
+
rb_define_method(cFXArc.klass, "y=", VALUEFUNC(_wrap_FXArc_y_set), -1);
|
2575
|
+
rb_define_method(cFXArc.klass, "y", VALUEFUNC(_wrap_FXArc_y_get), -1);
|
2576
|
+
rb_define_method(cFXArc.klass, "w=", VALUEFUNC(_wrap_FXArc_w_set), -1);
|
2577
|
+
rb_define_method(cFXArc.klass, "w", VALUEFUNC(_wrap_FXArc_w_get), -1);
|
2578
|
+
rb_define_method(cFXArc.klass, "h=", VALUEFUNC(_wrap_FXArc_h_set), -1);
|
2579
|
+
rb_define_method(cFXArc.klass, "h", VALUEFUNC(_wrap_FXArc_h_get), -1);
|
2580
|
+
rb_define_method(cFXArc.klass, "a=", VALUEFUNC(_wrap_FXArc_a_set), -1);
|
2581
|
+
rb_define_method(cFXArc.klass, "a", VALUEFUNC(_wrap_FXArc_a_get), -1);
|
2582
|
+
rb_define_method(cFXArc.klass, "b=", VALUEFUNC(_wrap_FXArc_b_set), -1);
|
2583
|
+
rb_define_method(cFXArc.klass, "b", VALUEFUNC(_wrap_FXArc_b_get), -1);
|
2584
|
+
cFXArc.mark = 0;
|
2585
|
+
cFXArc.destroy = (void (*)(void *)) free_FXArc;
|
2586
|
+
|
2587
|
+
cFXDC.klass = rb_define_class_under(mFox, "FXDC", rb_cObject);
|
2588
|
+
SWIG_TypeClientData(SWIGTYPE_p_FXDC, (void *) &cFXDC);
|
2589
|
+
rb_define_alloc_func(cFXDC.klass, _wrap_FXDC_allocate);
|
2590
|
+
rb_define_method(cFXDC.klass, "initialize", VALUEFUNC(_wrap_new_FXDC), -1);
|
2591
|
+
rb_define_method(cFXDC.klass, "getApp", VALUEFUNC(_wrap_FXDC_getApp), -1);
|
2592
|
+
rb_define_method(cFXDC.klass, "getForeground", VALUEFUNC(_wrap_FXDC_getForeground), -1);
|
2593
|
+
rb_define_method(cFXDC.klass, "getBackground", VALUEFUNC(_wrap_FXDC_getBackground), -1);
|
2594
|
+
rb_define_method(cFXDC.klass, "getDashPattern", VALUEFUNC(_wrap_FXDC_getDashPattern), -1);
|
2595
|
+
rb_define_method(cFXDC.klass, "getDashOffset", VALUEFUNC(_wrap_FXDC_getDashOffset), -1);
|
2596
|
+
rb_define_method(cFXDC.klass, "getLineWidth", VALUEFUNC(_wrap_FXDC_getLineWidth), -1);
|
2597
|
+
rb_define_method(cFXDC.klass, "getLineCap", VALUEFUNC(_wrap_FXDC_getLineCap), -1);
|
2598
|
+
rb_define_method(cFXDC.klass, "getLineJoin", VALUEFUNC(_wrap_FXDC_getLineJoin), -1);
|
2599
|
+
rb_define_method(cFXDC.klass, "getLineStyle", VALUEFUNC(_wrap_FXDC_getLineStyle), -1);
|
2600
|
+
rb_define_method(cFXDC.klass, "getFillStyle", VALUEFUNC(_wrap_FXDC_getFillStyle), -1);
|
2601
|
+
rb_define_method(cFXDC.klass, "getFillRule", VALUEFUNC(_wrap_FXDC_getFillRule), -1);
|
2602
|
+
rb_define_method(cFXDC.klass, "getFunction", VALUEFUNC(_wrap_FXDC_getFunction), -1);
|
2603
|
+
rb_define_method(cFXDC.klass, "getTile", VALUEFUNC(_wrap_FXDC_getTile), -1);
|
2604
|
+
rb_define_method(cFXDC.klass, "getStippleBitmap", VALUEFUNC(_wrap_FXDC_getStippleBitmap), -1);
|
2605
|
+
rb_define_method(cFXDC.klass, "getStipplePattern", VALUEFUNC(_wrap_FXDC_getStipplePattern), -1);
|
2606
|
+
rb_define_method(cFXDC.klass, "getClipRectangle", VALUEFUNC(_wrap_FXDC_getClipRectangle), -1);
|
2607
|
+
rb_define_method(cFXDC.klass, "getClipX", VALUEFUNC(_wrap_FXDC_getClipX), -1);
|
2608
|
+
rb_define_method(cFXDC.klass, "getClipY", VALUEFUNC(_wrap_FXDC_getClipY), -1);
|
2609
|
+
rb_define_method(cFXDC.klass, "getClipWidth", VALUEFUNC(_wrap_FXDC_getClipWidth), -1);
|
2610
|
+
rb_define_method(cFXDC.klass, "getClipHeight", VALUEFUNC(_wrap_FXDC_getClipHeight), -1);
|
2611
|
+
rb_define_method(cFXDC.klass, "getFont", VALUEFUNC(_wrap_FXDC_getFont), -1);
|
2612
|
+
rb_define_method(cFXDC.klass, "readPixel", VALUEFUNC(_wrap_FXDC_readPixel), -1);
|
2613
|
+
rb_define_method(cFXDC.klass, "drawPoint", VALUEFUNC(_wrap_FXDC_drawPoint), -1);
|
2614
|
+
rb_define_method(cFXDC.klass, "drawPoints", VALUEFUNC(_wrap_FXDC_drawPoints), -1);
|
2615
|
+
rb_define_method(cFXDC.klass, "drawPointsRel", VALUEFUNC(_wrap_FXDC_drawPointsRel), -1);
|
2616
|
+
rb_define_method(cFXDC.klass, "drawLine", VALUEFUNC(_wrap_FXDC_drawLine), -1);
|
2617
|
+
rb_define_method(cFXDC.klass, "drawLines", VALUEFUNC(_wrap_FXDC_drawLines), -1);
|
2618
|
+
rb_define_method(cFXDC.klass, "drawLinesRel", VALUEFUNC(_wrap_FXDC_drawLinesRel), -1);
|
2619
|
+
rb_define_method(cFXDC.klass, "drawLineSegments", VALUEFUNC(_wrap_FXDC_drawLineSegments), -1);
|
2620
|
+
rb_define_method(cFXDC.klass, "drawRectangle", VALUEFUNC(_wrap_FXDC_drawRectangle), -1);
|
2621
|
+
rb_define_method(cFXDC.klass, "drawRectangles", VALUEFUNC(_wrap_FXDC_drawRectangles), -1);
|
2622
|
+
rb_define_method(cFXDC.klass, "drawRoundRectangle", VALUEFUNC(_wrap_FXDC_drawRoundRectangle), -1);
|
2623
|
+
rb_define_method(cFXDC.klass, "drawArc", VALUEFUNC(_wrap_FXDC_drawArc), -1);
|
2624
|
+
rb_define_method(cFXDC.klass, "drawArcs", VALUEFUNC(_wrap_FXDC_drawArcs), -1);
|
2625
|
+
rb_define_method(cFXDC.klass, "drawEllipse", VALUEFUNC(_wrap_FXDC_drawEllipse), -1);
|
2626
|
+
rb_define_method(cFXDC.klass, "fillRectangle", VALUEFUNC(_wrap_FXDC_fillRectangle), -1);
|
2627
|
+
rb_define_method(cFXDC.klass, "fillRectangles", VALUEFUNC(_wrap_FXDC_fillRectangles), -1);
|
2628
|
+
rb_define_method(cFXDC.klass, "fillRoundRectangle", VALUEFUNC(_wrap_FXDC_fillRoundRectangle), -1);
|
2629
|
+
rb_define_method(cFXDC.klass, "fillChord", VALUEFUNC(_wrap_FXDC_fillChord), -1);
|
2630
|
+
rb_define_method(cFXDC.klass, "fillChords", VALUEFUNC(_wrap_FXDC_fillChords), -1);
|
2631
|
+
rb_define_method(cFXDC.klass, "fillArc", VALUEFUNC(_wrap_FXDC_fillArc), -1);
|
2632
|
+
rb_define_method(cFXDC.klass, "fillArcs", VALUEFUNC(_wrap_FXDC_fillArcs), -1);
|
2633
|
+
rb_define_method(cFXDC.klass, "fillPolygon", VALUEFUNC(_wrap_FXDC_fillPolygon), -1);
|
2634
|
+
rb_define_method(cFXDC.klass, "fillConcavePolygon", VALUEFUNC(_wrap_FXDC_fillConcavePolygon), -1);
|
2635
|
+
rb_define_method(cFXDC.klass, "fillComplexPolygon", VALUEFUNC(_wrap_FXDC_fillComplexPolygon), -1);
|
2636
|
+
rb_define_method(cFXDC.klass, "fillPolygonRel", VALUEFUNC(_wrap_FXDC_fillPolygonRel), -1);
|
2637
|
+
rb_define_method(cFXDC.klass, "fillConcavePolygonRel", VALUEFUNC(_wrap_FXDC_fillConcavePolygonRel), -1);
|
2638
|
+
rb_define_method(cFXDC.klass, "fillComplexPolygonRel", VALUEFUNC(_wrap_FXDC_fillComplexPolygonRel), -1);
|
2639
|
+
rb_define_method(cFXDC.klass, "drawHashBox", VALUEFUNC(_wrap_FXDC_drawHashBox), -1);
|
2640
|
+
rb_define_method(cFXDC.klass, "drawFocusRectangle", VALUEFUNC(_wrap_FXDC_drawFocusRectangle), -1);
|
2641
|
+
rb_define_method(cFXDC.klass, "drawArea", VALUEFUNC(_wrap_FXDC_drawArea), -1);
|
2642
|
+
rb_define_method(cFXDC.klass, "drawImage", VALUEFUNC(_wrap_FXDC_drawImage), -1);
|
2643
|
+
rb_define_method(cFXDC.klass, "drawBitmap", VALUEFUNC(_wrap_FXDC_drawBitmap), -1);
|
2644
|
+
rb_define_method(cFXDC.klass, "drawIcon", VALUEFUNC(_wrap_FXDC_drawIcon), -1);
|
2645
|
+
rb_define_method(cFXDC.klass, "drawIconShaded", VALUEFUNC(_wrap_FXDC_drawIconShaded), -1);
|
2646
|
+
rb_define_method(cFXDC.klass, "drawIconSunken", VALUEFUNC(_wrap_FXDC_drawIconSunken), -1);
|
2647
|
+
rb_define_method(cFXDC.klass, "drawText", VALUEFUNC(_wrap_FXDC_drawText), -1);
|
2648
|
+
rb_define_method(cFXDC.klass, "drawImageText", VALUEFUNC(_wrap_FXDC_drawImageText), -1);
|
2649
|
+
rb_define_method(cFXDC.klass, "setForeground", VALUEFUNC(_wrap_FXDC_setForeground), -1);
|
2650
|
+
rb_define_method(cFXDC.klass, "setBackground", VALUEFUNC(_wrap_FXDC_setBackground), -1);
|
2651
|
+
rb_define_method(cFXDC.klass, "setDashes", VALUEFUNC(_wrap_FXDC_setDashes), -1);
|
2652
|
+
rb_define_method(cFXDC.klass, "setLineWidth", VALUEFUNC(_wrap_FXDC_setLineWidth), -1);
|
2653
|
+
rb_define_method(cFXDC.klass, "setLineCap", VALUEFUNC(_wrap_FXDC_setLineCap), -1);
|
2654
|
+
rb_define_method(cFXDC.klass, "setLineJoin", VALUEFUNC(_wrap_FXDC_setLineJoin), -1);
|
2655
|
+
rb_define_method(cFXDC.klass, "setLineStyle", VALUEFUNC(_wrap_FXDC_setLineStyle), -1);
|
2656
|
+
rb_define_method(cFXDC.klass, "setFillStyle", VALUEFUNC(_wrap_FXDC_setFillStyle), -1);
|
2657
|
+
rb_define_method(cFXDC.klass, "setFillRule", VALUEFUNC(_wrap_FXDC_setFillRule), -1);
|
2658
|
+
rb_define_method(cFXDC.klass, "setFunction", VALUEFUNC(_wrap_FXDC_setFunction), -1);
|
2659
|
+
rb_define_method(cFXDC.klass, "setTile", VALUEFUNC(_wrap_FXDC_setTile), -1);
|
2660
|
+
rb_define_method(cFXDC.klass, "setStipple", VALUEFUNC(_wrap_FXDC_setStipple), -1);
|
2661
|
+
rb_define_method(cFXDC.klass, "setClipRegion", VALUEFUNC(_wrap_FXDC_setClipRegion), -1);
|
2662
|
+
rb_define_method(cFXDC.klass, "setClipRectangle", VALUEFUNC(_wrap_FXDC_setClipRectangle), -1);
|
2663
|
+
rb_define_method(cFXDC.klass, "clearClipRectangle", VALUEFUNC(_wrap_FXDC_clearClipRectangle), -1);
|
2664
|
+
rb_define_method(cFXDC.klass, "setClipMask", VALUEFUNC(_wrap_FXDC_setClipMask), -1);
|
2665
|
+
rb_define_method(cFXDC.klass, "clearClipMask", VALUEFUNC(_wrap_FXDC_clearClipMask), -1);
|
2666
|
+
rb_define_method(cFXDC.klass, "setFont", VALUEFUNC(_wrap_FXDC_setFont), -1);
|
2667
|
+
rb_define_method(cFXDC.klass, "clipChildren", VALUEFUNC(_wrap_FXDC_clipChildren), -1);
|
2668
|
+
cFXDC.mark = (void (*)(void *)) FXRbDC::markfunc;
|
2669
|
+
cFXDC.destroy = (void (*)(void *)) FXRbUnregisterRubyObj;
|
2670
|
+
|
2671
|
+
cFXDCWindow.klass = rb_define_class_under(mFox, "FXDCWindow", ((swig_class *) SWIGTYPE_p_FXDC->clientdata)->klass);
|
2672
|
+
SWIG_TypeClientData(SWIGTYPE_p_FXDCWindow, (void *) &cFXDCWindow);
|
2673
|
+
rb_define_alloc_func(cFXDCWindow.klass, _wrap_FXDCWindow_allocate);
|
2674
|
+
rb_define_method(cFXDCWindow.klass, "initialize", VALUEFUNC(_wrap_new_FXDCWindow), -1);
|
2675
|
+
rb_define_method(cFXDCWindow.klass, "begin", VALUEFUNC(_wrap_FXDCWindow_begin), -1);
|
2676
|
+
rb_define_method(cFXDCWindow.klass, "end", VALUEFUNC(_wrap_FXDCWindow_end), -1);
|
2677
|
+
rb_define_method(cFXDCWindow.klass, "readPixel", VALUEFUNC(_wrap_FXDCWindow_readPixel), -1);
|
2678
|
+
rb_define_method(cFXDCWindow.klass, "drawPoint", VALUEFUNC(_wrap_FXDCWindow_drawPoint), -1);
|
2679
|
+
rb_define_method(cFXDCWindow.klass, "drawPoints", VALUEFUNC(_wrap_FXDCWindow_drawPoints), -1);
|
2680
|
+
rb_define_method(cFXDCWindow.klass, "drawPointsRel", VALUEFUNC(_wrap_FXDCWindow_drawPointsRel), -1);
|
2681
|
+
rb_define_method(cFXDCWindow.klass, "drawLine", VALUEFUNC(_wrap_FXDCWindow_drawLine), -1);
|
2682
|
+
rb_define_method(cFXDCWindow.klass, "drawLines", VALUEFUNC(_wrap_FXDCWindow_drawLines), -1);
|
2683
|
+
rb_define_method(cFXDCWindow.klass, "drawLinesRel", VALUEFUNC(_wrap_FXDCWindow_drawLinesRel), -1);
|
2684
|
+
rb_define_method(cFXDCWindow.klass, "drawLineSegments", VALUEFUNC(_wrap_FXDCWindow_drawLineSegments), -1);
|
2685
|
+
rb_define_method(cFXDCWindow.klass, "drawRectangle", VALUEFUNC(_wrap_FXDCWindow_drawRectangle), -1);
|
2686
|
+
rb_define_method(cFXDCWindow.klass, "drawRectangles", VALUEFUNC(_wrap_FXDCWindow_drawRectangles), -1);
|
2687
|
+
rb_define_method(cFXDCWindow.klass, "drawRoundRectangle", VALUEFUNC(_wrap_FXDCWindow_drawRoundRectangle), -1);
|
2688
|
+
rb_define_method(cFXDCWindow.klass, "drawArc", VALUEFUNC(_wrap_FXDCWindow_drawArc), -1);
|
2689
|
+
rb_define_method(cFXDCWindow.klass, "drawArcs", VALUEFUNC(_wrap_FXDCWindow_drawArcs), -1);
|
2690
|
+
rb_define_method(cFXDCWindow.klass, "drawEllipse", VALUEFUNC(_wrap_FXDCWindow_drawEllipse), -1);
|
2691
|
+
rb_define_method(cFXDCWindow.klass, "fillRectangle", VALUEFUNC(_wrap_FXDCWindow_fillRectangle), -1);
|
2692
|
+
rb_define_method(cFXDCWindow.klass, "fillRectangles", VALUEFUNC(_wrap_FXDCWindow_fillRectangles), -1);
|
2693
|
+
rb_define_method(cFXDCWindow.klass, "fillRoundRectangle", VALUEFUNC(_wrap_FXDCWindow_fillRoundRectangle), -1);
|
2694
|
+
rb_define_method(cFXDCWindow.klass, "fillChord", VALUEFUNC(_wrap_FXDCWindow_fillChord), -1);
|
2695
|
+
rb_define_method(cFXDCWindow.klass, "fillChords", VALUEFUNC(_wrap_FXDCWindow_fillChords), -1);
|
2696
|
+
rb_define_method(cFXDCWindow.klass, "fillArc", VALUEFUNC(_wrap_FXDCWindow_fillArc), -1);
|
2697
|
+
rb_define_method(cFXDCWindow.klass, "fillArcs", VALUEFUNC(_wrap_FXDCWindow_fillArcs), -1);
|
2698
|
+
rb_define_method(cFXDCWindow.klass, "fillPolygon", VALUEFUNC(_wrap_FXDCWindow_fillPolygon), -1);
|
2699
|
+
rb_define_method(cFXDCWindow.klass, "fillConcavePolygon", VALUEFUNC(_wrap_FXDCWindow_fillConcavePolygon), -1);
|
2700
|
+
rb_define_method(cFXDCWindow.klass, "fillComplexPolygon", VALUEFUNC(_wrap_FXDCWindow_fillComplexPolygon), -1);
|
2701
|
+
rb_define_method(cFXDCWindow.klass, "fillPolygonRel", VALUEFUNC(_wrap_FXDCWindow_fillPolygonRel), -1);
|
2702
|
+
rb_define_method(cFXDCWindow.klass, "fillConcavePolygonRel", VALUEFUNC(_wrap_FXDCWindow_fillConcavePolygonRel), -1);
|
2703
|
+
rb_define_method(cFXDCWindow.klass, "fillComplexPolygonRel", VALUEFUNC(_wrap_FXDCWindow_fillComplexPolygonRel), -1);
|
2704
|
+
rb_define_method(cFXDCWindow.klass, "drawHashBox", VALUEFUNC(_wrap_FXDCWindow_drawHashBox), -1);
|
2705
|
+
rb_define_method(cFXDCWindow.klass, "drawFocusRectangle", VALUEFUNC(_wrap_FXDCWindow_drawFocusRectangle), -1);
|
2706
|
+
rb_define_method(cFXDCWindow.klass, "drawArea", VALUEFUNC(_wrap_FXDCWindow_drawArea), -1);
|
2707
|
+
rb_define_method(cFXDCWindow.klass, "drawImage", VALUEFUNC(_wrap_FXDCWindow_drawImage), -1);
|
2708
|
+
rb_define_method(cFXDCWindow.klass, "drawBitmap", VALUEFUNC(_wrap_FXDCWindow_drawBitmap), -1);
|
2709
|
+
rb_define_method(cFXDCWindow.klass, "drawIcon", VALUEFUNC(_wrap_FXDCWindow_drawIcon), -1);
|
2710
|
+
rb_define_method(cFXDCWindow.klass, "drawIconShaded", VALUEFUNC(_wrap_FXDCWindow_drawIconShaded), -1);
|
2711
|
+
rb_define_method(cFXDCWindow.klass, "drawIconSunken", VALUEFUNC(_wrap_FXDCWindow_drawIconSunken), -1);
|
2712
|
+
rb_define_method(cFXDCWindow.klass, "drawText", VALUEFUNC(_wrap_FXDCWindow_drawText), -1);
|
2713
|
+
rb_define_method(cFXDCWindow.klass, "drawImageText", VALUEFUNC(_wrap_FXDCWindow_drawImageText), -1);
|
2714
|
+
rb_define_method(cFXDCWindow.klass, "setForeground", VALUEFUNC(_wrap_FXDCWindow_setForeground), -1);
|
2715
|
+
rb_define_method(cFXDCWindow.klass, "setBackground", VALUEFUNC(_wrap_FXDCWindow_setBackground), -1);
|
2716
|
+
rb_define_method(cFXDCWindow.klass, "setDashes", VALUEFUNC(_wrap_FXDCWindow_setDashes), -1);
|
2717
|
+
rb_define_method(cFXDCWindow.klass, "setLineWidth", VALUEFUNC(_wrap_FXDCWindow_setLineWidth), -1);
|
2718
|
+
rb_define_method(cFXDCWindow.klass, "setLineCap", VALUEFUNC(_wrap_FXDCWindow_setLineCap), -1);
|
2719
|
+
rb_define_method(cFXDCWindow.klass, "setLineJoin", VALUEFUNC(_wrap_FXDCWindow_setLineJoin), -1);
|
2720
|
+
rb_define_method(cFXDCWindow.klass, "setLineStyle", VALUEFUNC(_wrap_FXDCWindow_setLineStyle), -1);
|
2721
|
+
rb_define_method(cFXDCWindow.klass, "setFillStyle", VALUEFUNC(_wrap_FXDCWindow_setFillStyle), -1);
|
2722
|
+
rb_define_method(cFXDCWindow.klass, "setFillRule", VALUEFUNC(_wrap_FXDCWindow_setFillRule), -1);
|
2723
|
+
rb_define_method(cFXDCWindow.klass, "setFunction", VALUEFUNC(_wrap_FXDCWindow_setFunction), -1);
|
2724
|
+
rb_define_method(cFXDCWindow.klass, "setTile", VALUEFUNC(_wrap_FXDCWindow_setTile), -1);
|
2725
|
+
rb_define_method(cFXDCWindow.klass, "setStipple", VALUEFUNC(_wrap_FXDCWindow_setStipple), -1);
|
2726
|
+
rb_define_method(cFXDCWindow.klass, "setClipRegion", VALUEFUNC(_wrap_FXDCWindow_setClipRegion), -1);
|
2727
|
+
rb_define_method(cFXDCWindow.klass, "setClipRectangle", VALUEFUNC(_wrap_FXDCWindow_setClipRectangle), -1);
|
2728
|
+
rb_define_method(cFXDCWindow.klass, "clearClipRectangle", VALUEFUNC(_wrap_FXDCWindow_clearClipRectangle), -1);
|
2729
|
+
rb_define_method(cFXDCWindow.klass, "setClipMask", VALUEFUNC(_wrap_FXDCWindow_setClipMask), -1);
|
2730
|
+
rb_define_method(cFXDCWindow.klass, "clearClipMask", VALUEFUNC(_wrap_FXDCWindow_clearClipMask), -1);
|
2731
|
+
rb_define_method(cFXDCWindow.klass, "setFont", VALUEFUNC(_wrap_FXDCWindow_setFont), -1);
|
2732
|
+
rb_define_method(cFXDCWindow.klass, "clipChildren", VALUEFUNC(_wrap_FXDCWindow_clipChildren), -1);
|
2733
|
+
cFXDCWindow.mark = (void (*)(void *)) FXRbDCWindow::markfunc;
|
2734
|
+
cFXDCWindow.destroy = (void (*)(void *)) free_FXDCWindow;
|
2735
|
+
rb_define_const(mFox,"PRINT_DEST_PAPER", INT2NUM(PRINT_DEST_PAPER));
|
2736
|
+
rb_define_const(mFox,"PRINT_DEST_FILE", INT2NUM(PRINT_DEST_FILE));
|
2737
|
+
rb_define_const(mFox,"PRINT_PAGES_ALL", INT2NUM(PRINT_PAGES_ALL));
|
2738
|
+
rb_define_const(mFox,"PRINT_PAGES_EVEN", INT2NUM(PRINT_PAGES_EVEN));
|
2739
|
+
rb_define_const(mFox,"PRINT_PAGES_ODD", INT2NUM(PRINT_PAGES_ODD));
|
2740
|
+
rb_define_const(mFox,"PRINT_PAGES_RANGE", INT2NUM(PRINT_PAGES_RANGE));
|
2741
|
+
rb_define_const(mFox,"PRINT_COLLATE_NORMAL", INT2NUM(PRINT_COLLATE_NORMAL));
|
2742
|
+
rb_define_const(mFox,"PRINT_COLLATE_REVERSED", INT2NUM(PRINT_COLLATE_REVERSED));
|
2743
|
+
rb_define_const(mFox,"PRINT_PORTRAIT", INT2NUM(PRINT_PORTRAIT));
|
2744
|
+
rb_define_const(mFox,"PRINT_LANDSCAPE", INT2NUM(PRINT_LANDSCAPE));
|
2745
|
+
rb_define_const(mFox,"PRINT_BLACKANDWHITE", INT2NUM(PRINT_BLACKANDWHITE));
|
2746
|
+
rb_define_const(mFox,"PRINT_COLOR", INT2NUM(PRINT_COLOR));
|
2747
|
+
rb_define_const(mFox,"PRINT_NOBOUNDS", INT2NUM(PRINT_NOBOUNDS));
|
2748
|
+
rb_define_const(mFox,"MEDIA_CUSTOM", INT2NUM(MEDIA_CUSTOM));
|
2749
|
+
rb_define_const(mFox,"MEDIA_USLETTER", INT2NUM(MEDIA_USLETTER));
|
2750
|
+
rb_define_const(mFox,"MEDIA_LEGAL", INT2NUM(MEDIA_LEGAL));
|
2751
|
+
rb_define_const(mFox,"MEDIA_A4", INT2NUM(MEDIA_A4));
|
2752
|
+
rb_define_const(mFox,"MEDIA_ENVELOPE", INT2NUM(MEDIA_ENVELOPE));
|
2753
|
+
|
2754
|
+
cFXPSBounds.klass = rb_define_class_under(mFox, "FXPSBounds", rb_cObject);
|
2755
|
+
SWIG_TypeClientData(SWIGTYPE_p_FXPSBounds, (void *) &cFXPSBounds);
|
2756
|
+
rb_define_alloc_func(cFXPSBounds.klass, _wrap_FXPSBounds_allocate);
|
2757
|
+
rb_define_method(cFXPSBounds.klass, "initialize", VALUEFUNC(_wrap_new_FXPSBounds), -1);
|
2758
|
+
rb_define_method(cFXPSBounds.klass, "xmin=", VALUEFUNC(_wrap_FXPSBounds_xmin_set), -1);
|
2759
|
+
rb_define_method(cFXPSBounds.klass, "xmin", VALUEFUNC(_wrap_FXPSBounds_xmin_get), -1);
|
2760
|
+
rb_define_method(cFXPSBounds.klass, "xmax=", VALUEFUNC(_wrap_FXPSBounds_xmax_set), -1);
|
2761
|
+
rb_define_method(cFXPSBounds.klass, "xmax", VALUEFUNC(_wrap_FXPSBounds_xmax_get), -1);
|
2762
|
+
rb_define_method(cFXPSBounds.klass, "ymin=", VALUEFUNC(_wrap_FXPSBounds_ymin_set), -1);
|
2763
|
+
rb_define_method(cFXPSBounds.klass, "ymin", VALUEFUNC(_wrap_FXPSBounds_ymin_get), -1);
|
2764
|
+
rb_define_method(cFXPSBounds.klass, "ymax=", VALUEFUNC(_wrap_FXPSBounds_ymax_set), -1);
|
2765
|
+
rb_define_method(cFXPSBounds.klass, "ymax", VALUEFUNC(_wrap_FXPSBounds_ymax_get), -1);
|
2766
|
+
cFXPSBounds.mark = 0;
|
2767
|
+
cFXPSBounds.destroy = (void (*)(void *)) free_FXPSBounds;
|
2768
|
+
|
2769
|
+
cFXPrinter.klass = rb_define_class_under(mFox, "FXPrinter", rb_cObject);
|
2770
|
+
SWIG_TypeClientData(SWIGTYPE_p_FXPrinter, (void *) &cFXPrinter);
|
2771
|
+
rb_define_alloc_func(cFXPrinter.klass, _wrap_FXPrinter_allocate);
|
2772
|
+
rb_define_method(cFXPrinter.klass, "initialize", VALUEFUNC(_wrap_new_FXPrinter), -1);
|
2773
|
+
rb_define_method(cFXPrinter.klass, "name=", VALUEFUNC(_wrap_FXPrinter_name_set), -1);
|
2774
|
+
rb_define_method(cFXPrinter.klass, "name", VALUEFUNC(_wrap_FXPrinter_name_get), -1);
|
2775
|
+
rb_define_method(cFXPrinter.klass, "firstpage=", VALUEFUNC(_wrap_FXPrinter_firstpage_set), -1);
|
2776
|
+
rb_define_method(cFXPrinter.klass, "firstpage", VALUEFUNC(_wrap_FXPrinter_firstpage_get), -1);
|
2777
|
+
rb_define_method(cFXPrinter.klass, "lastpage=", VALUEFUNC(_wrap_FXPrinter_lastpage_set), -1);
|
2778
|
+
rb_define_method(cFXPrinter.klass, "lastpage", VALUEFUNC(_wrap_FXPrinter_lastpage_get), -1);
|
2779
|
+
rb_define_method(cFXPrinter.klass, "currentpage=", VALUEFUNC(_wrap_FXPrinter_currentpage_set), -1);
|
2780
|
+
rb_define_method(cFXPrinter.klass, "currentpage", VALUEFUNC(_wrap_FXPrinter_currentpage_get), -1);
|
2781
|
+
rb_define_method(cFXPrinter.klass, "frompage=", VALUEFUNC(_wrap_FXPrinter_frompage_set), -1);
|
2782
|
+
rb_define_method(cFXPrinter.klass, "frompage", VALUEFUNC(_wrap_FXPrinter_frompage_get), -1);
|
2783
|
+
rb_define_method(cFXPrinter.klass, "topage=", VALUEFUNC(_wrap_FXPrinter_topage_set), -1);
|
2784
|
+
rb_define_method(cFXPrinter.klass, "topage", VALUEFUNC(_wrap_FXPrinter_topage_get), -1);
|
2785
|
+
rb_define_method(cFXPrinter.klass, "mediasize=", VALUEFUNC(_wrap_FXPrinter_mediasize_set), -1);
|
2786
|
+
rb_define_method(cFXPrinter.klass, "mediasize", VALUEFUNC(_wrap_FXPrinter_mediasize_get), -1);
|
2787
|
+
rb_define_method(cFXPrinter.klass, "mediawidth=", VALUEFUNC(_wrap_FXPrinter_mediawidth_set), -1);
|
2788
|
+
rb_define_method(cFXPrinter.klass, "mediawidth", VALUEFUNC(_wrap_FXPrinter_mediawidth_get), -1);
|
2789
|
+
rb_define_method(cFXPrinter.klass, "mediaheight=", VALUEFUNC(_wrap_FXPrinter_mediaheight_set), -1);
|
2790
|
+
rb_define_method(cFXPrinter.klass, "mediaheight", VALUEFUNC(_wrap_FXPrinter_mediaheight_get), -1);
|
2791
|
+
rb_define_method(cFXPrinter.klass, "leftmargin=", VALUEFUNC(_wrap_FXPrinter_leftmargin_set), -1);
|
2792
|
+
rb_define_method(cFXPrinter.klass, "leftmargin", VALUEFUNC(_wrap_FXPrinter_leftmargin_get), -1);
|
2793
|
+
rb_define_method(cFXPrinter.klass, "rightmargin=", VALUEFUNC(_wrap_FXPrinter_rightmargin_set), -1);
|
2794
|
+
rb_define_method(cFXPrinter.klass, "rightmargin", VALUEFUNC(_wrap_FXPrinter_rightmargin_get), -1);
|
2795
|
+
rb_define_method(cFXPrinter.klass, "topmargin=", VALUEFUNC(_wrap_FXPrinter_topmargin_set), -1);
|
2796
|
+
rb_define_method(cFXPrinter.klass, "topmargin", VALUEFUNC(_wrap_FXPrinter_topmargin_get), -1);
|
2797
|
+
rb_define_method(cFXPrinter.klass, "bottommargin=", VALUEFUNC(_wrap_FXPrinter_bottommargin_set), -1);
|
2798
|
+
rb_define_method(cFXPrinter.klass, "bottommargin", VALUEFUNC(_wrap_FXPrinter_bottommargin_get), -1);
|
2799
|
+
rb_define_method(cFXPrinter.klass, "numcopies=", VALUEFUNC(_wrap_FXPrinter_numcopies_set), -1);
|
2800
|
+
rb_define_method(cFXPrinter.klass, "numcopies", VALUEFUNC(_wrap_FXPrinter_numcopies_get), -1);
|
2801
|
+
rb_define_method(cFXPrinter.klass, "flags=", VALUEFUNC(_wrap_FXPrinter_flags_set), -1);
|
2802
|
+
rb_define_method(cFXPrinter.klass, "flags", VALUEFUNC(_wrap_FXPrinter_flags_get), -1);
|
2803
|
+
cFXPrinter.mark = 0;
|
2804
|
+
cFXPrinter.destroy = (void (*)(void *)) FXRbUnregisterRubyObj;
|
2805
|
+
|
2806
|
+
cFXDCPrint.klass = rb_define_class_under(mFox, "FXDCPrint", ((swig_class *) SWIGTYPE_p_FXDC->clientdata)->klass);
|
2807
|
+
SWIG_TypeClientData(SWIGTYPE_p_FXDCPrint, (void *) &cFXDCPrint);
|
2808
|
+
rb_define_alloc_func(cFXDCPrint.klass, _wrap_FXDCPrint_allocate);
|
2809
|
+
rb_define_method(cFXDCPrint.klass, "initialize", VALUEFUNC(_wrap_new_FXDCPrint), -1);
|
2810
|
+
rb_define_method(cFXDCPrint.klass, "beginPrint", VALUEFUNC(_wrap_FXDCPrint_beginPrint), -1);
|
2811
|
+
rb_define_method(cFXDCPrint.klass, "endPrint", VALUEFUNC(_wrap_FXDCPrint_endPrint), -1);
|
2812
|
+
rb_define_method(cFXDCPrint.klass, "beginPage", VALUEFUNC(_wrap_FXDCPrint_beginPage), -1);
|
2813
|
+
rb_define_method(cFXDCPrint.klass, "endPage", VALUEFUNC(_wrap_FXDCPrint_endPage), -1);
|
2814
|
+
rb_define_method(cFXDCPrint.klass, "setContentRange", VALUEFUNC(_wrap_FXDCPrint_setContentRange), -1);
|
2815
|
+
rb_define_method(cFXDCPrint.klass, "readPixel", VALUEFUNC(_wrap_FXDCPrint_readPixel), -1);
|
2816
|
+
rb_define_method(cFXDCPrint.klass, "drawPoint", VALUEFUNC(_wrap_FXDCPrint_drawPoint), -1);
|
2817
|
+
rb_define_method(cFXDCPrint.klass, "drawPoints", VALUEFUNC(_wrap_FXDCPrint_drawPoints), -1);
|
2818
|
+
rb_define_method(cFXDCPrint.klass, "drawPointsRel", VALUEFUNC(_wrap_FXDCPrint_drawPointsRel), -1);
|
2819
|
+
rb_define_method(cFXDCPrint.klass, "drawLine", VALUEFUNC(_wrap_FXDCPrint_drawLine), -1);
|
2820
|
+
rb_define_method(cFXDCPrint.klass, "drawLines", VALUEFUNC(_wrap_FXDCPrint_drawLines), -1);
|
2821
|
+
rb_define_method(cFXDCPrint.klass, "drawLinesRel", VALUEFUNC(_wrap_FXDCPrint_drawLinesRel), -1);
|
2822
|
+
rb_define_method(cFXDCPrint.klass, "drawLineSegments", VALUEFUNC(_wrap_FXDCPrint_drawLineSegments), -1);
|
2823
|
+
rb_define_method(cFXDCPrint.klass, "drawRectangle", VALUEFUNC(_wrap_FXDCPrint_drawRectangle), -1);
|
2824
|
+
rb_define_method(cFXDCPrint.klass, "drawRectangles", VALUEFUNC(_wrap_FXDCPrint_drawRectangles), -1);
|
2825
|
+
rb_define_method(cFXDCPrint.klass, "drawRoundRectangle", VALUEFUNC(_wrap_FXDCPrint_drawRoundRectangle), -1);
|
2826
|
+
rb_define_method(cFXDCPrint.klass, "drawArc", VALUEFUNC(_wrap_FXDCPrint_drawArc), -1);
|
2827
|
+
rb_define_method(cFXDCPrint.klass, "drawArcs", VALUEFUNC(_wrap_FXDCPrint_drawArcs), -1);
|
2828
|
+
rb_define_method(cFXDCPrint.klass, "drawEllipse", VALUEFUNC(_wrap_FXDCPrint_drawEllipse), -1);
|
2829
|
+
rb_define_method(cFXDCPrint.klass, "fillRectangle", VALUEFUNC(_wrap_FXDCPrint_fillRectangle), -1);
|
2830
|
+
rb_define_method(cFXDCPrint.klass, "fillRectangles", VALUEFUNC(_wrap_FXDCPrint_fillRectangles), -1);
|
2831
|
+
rb_define_method(cFXDCPrint.klass, "fillRoundRectangle", VALUEFUNC(_wrap_FXDCPrint_fillRoundRectangle), -1);
|
2832
|
+
rb_define_method(cFXDCPrint.klass, "fillChord", VALUEFUNC(_wrap_FXDCPrint_fillChord), -1);
|
2833
|
+
rb_define_method(cFXDCPrint.klass, "fillChords", VALUEFUNC(_wrap_FXDCPrint_fillChords), -1);
|
2834
|
+
rb_define_method(cFXDCPrint.klass, "fillArc", VALUEFUNC(_wrap_FXDCPrint_fillArc), -1);
|
2835
|
+
rb_define_method(cFXDCPrint.klass, "fillArcs", VALUEFUNC(_wrap_FXDCPrint_fillArcs), -1);
|
2836
|
+
rb_define_method(cFXDCPrint.klass, "fillPolygon", VALUEFUNC(_wrap_FXDCPrint_fillPolygon), -1);
|
2837
|
+
rb_define_method(cFXDCPrint.klass, "fillConcavePolygon", VALUEFUNC(_wrap_FXDCPrint_fillConcavePolygon), -1);
|
2838
|
+
rb_define_method(cFXDCPrint.klass, "fillComplexPolygon", VALUEFUNC(_wrap_FXDCPrint_fillComplexPolygon), -1);
|
2839
|
+
rb_define_method(cFXDCPrint.klass, "fillPolygonRel", VALUEFUNC(_wrap_FXDCPrint_fillPolygonRel), -1);
|
2840
|
+
rb_define_method(cFXDCPrint.klass, "fillConcavePolygonRel", VALUEFUNC(_wrap_FXDCPrint_fillConcavePolygonRel), -1);
|
2841
|
+
rb_define_method(cFXDCPrint.klass, "fillComplexPolygonRel", VALUEFUNC(_wrap_FXDCPrint_fillComplexPolygonRel), -1);
|
2842
|
+
rb_define_method(cFXDCPrint.klass, "drawHashBox", VALUEFUNC(_wrap_FXDCPrint_drawHashBox), -1);
|
2843
|
+
rb_define_method(cFXDCPrint.klass, "drawFocusRectangle", VALUEFUNC(_wrap_FXDCPrint_drawFocusRectangle), -1);
|
2844
|
+
rb_define_method(cFXDCPrint.klass, "drawArea", VALUEFUNC(_wrap_FXDCPrint_drawArea), -1);
|
2845
|
+
rb_define_method(cFXDCPrint.klass, "drawImage", VALUEFUNC(_wrap_FXDCPrint_drawImage), -1);
|
2846
|
+
rb_define_method(cFXDCPrint.klass, "drawBitmap", VALUEFUNC(_wrap_FXDCPrint_drawBitmap), -1);
|
2847
|
+
rb_define_method(cFXDCPrint.klass, "drawIcon", VALUEFUNC(_wrap_FXDCPrint_drawIcon), -1);
|
2848
|
+
rb_define_method(cFXDCPrint.klass, "drawIconShaded", VALUEFUNC(_wrap_FXDCPrint_drawIconShaded), -1);
|
2849
|
+
rb_define_method(cFXDCPrint.klass, "drawIconSunken", VALUEFUNC(_wrap_FXDCPrint_drawIconSunken), -1);
|
2850
|
+
rb_define_method(cFXDCPrint.klass, "drawText", VALUEFUNC(_wrap_FXDCPrint_drawText), -1);
|
2851
|
+
rb_define_method(cFXDCPrint.klass, "drawImageText", VALUEFUNC(_wrap_FXDCPrint_drawImageText), -1);
|
2852
|
+
rb_define_method(cFXDCPrint.klass, "setForeground", VALUEFUNC(_wrap_FXDCPrint_setForeground), -1);
|
2853
|
+
rb_define_method(cFXDCPrint.klass, "setBackground", VALUEFUNC(_wrap_FXDCPrint_setBackground), -1);
|
2854
|
+
rb_define_method(cFXDCPrint.klass, "setDashes", VALUEFUNC(_wrap_FXDCPrint_setDashes), -1);
|
2855
|
+
rb_define_method(cFXDCPrint.klass, "setLineWidth", VALUEFUNC(_wrap_FXDCPrint_setLineWidth), -1);
|
2856
|
+
rb_define_method(cFXDCPrint.klass, "setLineCap", VALUEFUNC(_wrap_FXDCPrint_setLineCap), -1);
|
2857
|
+
rb_define_method(cFXDCPrint.klass, "setLineJoin", VALUEFUNC(_wrap_FXDCPrint_setLineJoin), -1);
|
2858
|
+
rb_define_method(cFXDCPrint.klass, "setLineStyle", VALUEFUNC(_wrap_FXDCPrint_setLineStyle), -1);
|
2859
|
+
rb_define_method(cFXDCPrint.klass, "setFillStyle", VALUEFUNC(_wrap_FXDCPrint_setFillStyle), -1);
|
2860
|
+
rb_define_method(cFXDCPrint.klass, "setFillRule", VALUEFUNC(_wrap_FXDCPrint_setFillRule), -1);
|
2861
|
+
rb_define_method(cFXDCPrint.klass, "setFunction", VALUEFUNC(_wrap_FXDCPrint_setFunction), -1);
|
2862
|
+
rb_define_method(cFXDCPrint.klass, "setTile", VALUEFUNC(_wrap_FXDCPrint_setTile), -1);
|
2863
|
+
rb_define_method(cFXDCPrint.klass, "setStipple", VALUEFUNC(_wrap_FXDCPrint_setStipple), -1);
|
2864
|
+
rb_define_method(cFXDCPrint.klass, "setClipRegion", VALUEFUNC(_wrap_FXDCPrint_setClipRegion), -1);
|
2865
|
+
rb_define_method(cFXDCPrint.klass, "setClipRectangle", VALUEFUNC(_wrap_FXDCPrint_setClipRectangle), -1);
|
2866
|
+
rb_define_method(cFXDCPrint.klass, "clearClipRectangle", VALUEFUNC(_wrap_FXDCPrint_clearClipRectangle), -1);
|
2867
|
+
rb_define_method(cFXDCPrint.klass, "setClipMask", VALUEFUNC(_wrap_FXDCPrint_setClipMask), -1);
|
2868
|
+
rb_define_method(cFXDCPrint.klass, "clearClipMask", VALUEFUNC(_wrap_FXDCPrint_clearClipMask), -1);
|
2869
|
+
rb_define_method(cFXDCPrint.klass, "setFont", VALUEFUNC(_wrap_FXDCPrint_setFont), -1);
|
2870
|
+
rb_define_method(cFXDCPrint.klass, "clipChildren", VALUEFUNC(_wrap_FXDCPrint_clipChildren), -1);
|
2871
|
+
cFXDCPrint.mark = (void (*)(void *)) FXRbDCPrint::markfunc;
|
2872
|
+
cFXDCPrint.destroy = (void (*)(void *)) FXRbUnregisterRubyObj;
|
2873
|
+
}
|
2874
|
+
|