gtk2 0.90.8-x86-mingw32 → 0.90.9-x86-mingw32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/ChangeLog +22 -0
- data/ext/gtk2/rbgtkwindow.c +3 -1
- data/lib/1.8/gtk2.so +0 -0
- data/lib/1.9/gtk2.so +0 -0
- data/sample/gtk-demo/cairo-operator.rb +1 -1
- data/sample/misc/bindings.rb +1 -1
- data/sample/misc/cairo-pong.rb +1 -1
- data/vendor/local/bin/gtk-builder-convert +29 -2
- data/vendor/local/bin/gtk-demo.exe +0 -0
- data/vendor/local/bin/gtk-query-immodules-2.0.exe +0 -0
- data/vendor/local/bin/gtk-update-icon-cache.exe +0 -0
- data/vendor/local/bin/libgailutil-18.dll +0 -0
- data/vendor/local/bin/libgdk-win32-2.0-0.dll +0 -0
- data/vendor/local/bin/libgtk-win32-2.0-0.dll +0 -0
- data/vendor/local/etc/gtk-2.0/gtk.immodules +1 -1
- data/vendor/local/include/gtk-2.0/gdk/gdk.h +2 -5
- data/vendor/local/include/gtk-2.0/gdk/gdkcairo.h +4 -0
- data/vendor/local/include/gtk-2.0/gdk/gdkdisplay.h +2 -0
- data/vendor/local/include/gtk-2.0/gdk/gdkdnd.h +7 -0
- data/vendor/local/include/gtk-2.0/gdk/gdkdrawable.h +7 -4
- data/vendor/local/include/gtk-2.0/gdk/gdkfont.h +1 -1
- data/vendor/local/include/gtk-2.0/gdk/gdkinput.h +1 -0
- data/vendor/local/include/gtk-2.0/gdk/gdkpixmap.h +4 -0
- data/vendor/local/include/gtk-2.0/gdk/gdkproperty.h +13 -9
- data/vendor/local/include/gtk-2.0/gdk/gdkspawn.h +2 -0
- data/vendor/local/include/gtk-2.0/gdk/gdkwin32.h +5 -0
- data/vendor/local/include/gtk-2.0/gdk/gdkwindow.h +16 -6
- data/vendor/local/include/gtk-2.0/gtk/gtk.h +1 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkaboutdialog.h +5 -1
- data/vendor/local/include/gtk-2.0/gtk/gtkcombobox.h +14 -3
- data/vendor/local/include/gtk-2.0/gtk/gtkcomboboxentry.h +3 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkcomboboxtext.h +77 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkhruler.h +4 -0
- data/vendor/local/include/gtk-2.0/gtk/gtklinkbutton.h +2 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkmain.h +2 -2
- data/vendor/local/include/gtk-2.0/gtk/gtknotebook.h +5 -3
- data/vendor/local/include/gtk-2.0/gtk/gtkrange.h +6 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkruler.h +4 -0
- data/vendor/local/include/gtk-2.0/gtk/gtktypeutils.h +2 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkversion.h +4 -4
- data/vendor/local/include/gtk-2.0/gtk/gtkvruler.h +4 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkwidget.h +5 -1
- data/vendor/local/include/gtk-2.0/gtk/gtkwindow.h +2 -1
- data/vendor/local/lib/gailutil.lib +0 -0
- data/vendor/local/lib/gdk-win32-2.0.lib +0 -0
- data/vendor/local/lib/gtk-2.0/2.10.0/engines/libpixmap.dll +0 -0
- data/vendor/local/lib/gtk-2.0/2.10.0/engines/libwimp.dll +0 -0
- data/vendor/local/lib/gtk-2.0/modules/libgail.dll +0 -0
- data/vendor/local/lib/gtk-win32-2.0.lib +0 -0
- data/vendor/local/lib/libgailutil.dll.a +0 -0
- data/vendor/local/lib/libgdk-win32-2.0.dll.a +0 -0
- data/vendor/local/lib/libgtk-win32-2.0.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/gail.pc +1 -1
- data/vendor/local/lib/pkgconfig/gdk-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gdk-win32-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gtk+-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gtk+-win32-2.0.pc +1 -1
- data/vendor/local/manifest/{gtk+-dev_2.22.1-1_win32.mft → gtk+-dev_2.24.0-1_win32.mft} +9 -6
- data/vendor/local/manifest/{gtk+_2.22.1-1_win32.mft → gtk+_2.24.0-1_win32.mft} +2 -6
- data/vendor/local/share/doc/{gtk+-2.22.1 → gtk+-2.24.0}/COPYING +0 -0
- data/vendor/local/share/doc/{gtk+-dev-2.22.1 → gtk+-dev-2.24.0}/COPYING +0 -0
- data/vendor/local/share/gtk-2.0/demo/appwindow.c +0 -21
- data/vendor/local/share/gtk-2.0/demo/combobox.c +6 -6
- data/vendor/local/share/gtk-2.0/demo/offscreen_window.c +1 -1
- data/vendor/local/share/gtk-2.0/demo/offscreen_window2.c +1 -1
- data/vendor/local/share/gtk-2.0/demo/sizegroup.c +2 -2
- data/vendor/local/share/gtk-2.0/demo/textview.c +4 -4
- data/vendor/local/share/gtk-doc/html/gail-libgail-util/gail-libgail-util-GailMisc.html +60 -94
- data/vendor/local/share/gtk-doc/html/gail-libgail-util/gail-libgail-util-GailTextUtil.html +44 -58
- data/vendor/local/share/gtk-doc/html/gail-libgail-util/gail-libgail-util.devhelp +1 -1
- data/vendor/local/share/gtk-doc/html/gail-libgail-util/gail-libgail-util.devhelp2 +1 -1
- data/vendor/local/share/gtk-doc/html/gail-libgail-util/index.html +3 -3
- data/vendor/local/share/gtk-doc/html/gail-libgail-util/libgail-util-main.html +3 -3
- data/vendor/local/share/gtk-doc/html/gail-libgail-util/style.css +2 -1
- data/vendor/local/share/gtk-doc/html/gdk/GdkDisplay.html +151 -208
- data/vendor/local/share/gtk-doc/html/gdk/GdkDisplayManager.html +33 -37
- data/vendor/local/share/gtk-doc/html/gdk/GdkScreen.html +180 -239
- data/vendor/local/share/gtk-doc/html/gdk/annotation-glossary.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk/api-index-2-10.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk/api-index-2-12.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk/api-index-2-14.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk/api-index-2-16.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk/api-index-2-18.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk/api-index-2-2.html +4 -4
- data/vendor/local/share/gtk-doc/html/gdk/api-index-2-20.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk/api-index-2-22.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk/api-index-2-4.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk/api-index-2-6.html +6 -6
- data/vendor/local/share/gtk-doc/html/gdk/api-index-2-8.html +4 -4
- data/vendor/local/share/gtk-doc/html/gdk/api-index-deprecated.html +135 -5
- data/vendor/local/share/gtk-doc/html/gdk/api-index-full.html +83 -47
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Application-launching.html +20 -23
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Bitmaps-and-Pixmaps.html +126 -126
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Cairo-Interaction.html +81 -39
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Colormaps-and-Colors.html +135 -199
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Cursors.html +71 -90
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Drag-and-Drop.html +161 -200
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Drawing-Primitives.html +293 -409
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Event-Structures.html +320 -435
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Events.html +109 -141
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Fonts.html +155 -234
- data/vendor/local/share/gtk-doc/html/gdk/gdk-GdkRGB.html +143 -217
- data/vendor/local/share/gtk-doc/html/gdk/gdk-General.html +103 -124
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Graphics-Contexts.html +168 -250
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Images.html +90 -131
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Input-Devices.html +143 -191
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Input.html +35 -53
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Keyboard-Handling.html +162 -195
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Pango-Interaction.html +85 -112
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Pixbufs.html +79 -137
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Points-Rectangles-and-Regions.html +144 -176
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Properties-and-Atoms.html +188 -235
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Selections.html +97 -134
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Testing.html +22 -35
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Threads.html +44 -70
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Visuals.html +83 -108
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Windows.html +653 -744
- data/vendor/local/share/gtk-doc/html/gdk/gdk-X-Window-System-Interaction.html +476 -490
- data/vendor/local/share/gtk-doc/html/gdk/gdk.devhelp +53 -44
- data/vendor/local/share/gtk-doc/html/gdk/gdk.devhelp2 +85 -76
- data/vendor/local/share/gtk-doc/html/gdk/index.html +4 -4
- data/vendor/local/share/gtk-doc/html/gdk/index.sgml +10 -1
- data/vendor/local/share/gtk-doc/html/gdk/multihead.html +9 -9
- data/vendor/local/share/gtk-doc/html/gdk/reference.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk/style.css +2 -1
- data/vendor/local/share/gtk-doc/html/gtk/AbstractObjects.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/Actions.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/Builder.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/ButtonWidgets.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/DeprecatedObjects.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/DisplayWidgets.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/GtkAboutDialog.html +193 -186
- data/vendor/local/share/gtk-doc/html/gtk/GtkAccelLabel.html +38 -46
- data/vendor/local/share/gtk-doc/html/gtk/GtkAccessible.html +18 -18
- data/vendor/local/share/gtk-doc/html/gtk/GtkAction.html +169 -236
- data/vendor/local/share/gtk-doc/html/gtk/GtkActionGroup.html +175 -258
- data/vendor/local/share/gtk-doc/html/gtk/GtkActivatable.html +46 -50
- data/vendor/local/share/gtk-doc/html/gtk/GtkAdjustment.html +78 -114
- data/vendor/local/share/gtk-doc/html/gtk/GtkAlignment.html +52 -66
- data/vendor/local/share/gtk-doc/html/gtk/GtkArrow.html +30 -36
- data/vendor/local/share/gtk-doc/html/gtk/GtkAspectFrame.html +36 -46
- data/vendor/local/share/gtk-doc/html/gtk/GtkAssistant.html +97 -118
- data/vendor/local/share/gtk-doc/html/gtk/GtkBin.html +14 -14
- data/vendor/local/share/gtk-doc/html/gtk/GtkBox.html +95 -120
- data/vendor/local/share/gtk-doc/html/gtk/GtkBuildable.html +86 -117
- data/vendor/local/share/gtk-doc/html/gtk/GtkBuilder.html +96 -137
- data/vendor/local/share/gtk-doc/html/gtk/GtkButton.html +152 -185
- data/vendor/local/share/gtk-doc/html/gtk/GtkButtonBox.html +59 -76
- data/vendor/local/share/gtk-doc/html/gtk/GtkCList.html +615 -895
- data/vendor/local/share/gtk-doc/html/gtk/GtkCTree.html +520 -1791
- data/vendor/local/share/gtk-doc/html/gtk/GtkCalendar.html +125 -163
- data/vendor/local/share/gtk-doc/html/gtk/GtkCellEditable.html +33 -35
- data/vendor/local/share/gtk-doc/html/gtk/GtkCellLayout.html +60 -87
- data/vendor/local/share/gtk-doc/html/gtk/GtkCellRenderer.html +106 -130
- data/vendor/local/share/gtk-doc/html/gtk/GtkCellRendererAccel.html +35 -44
- data/vendor/local/share/gtk-doc/html/gtk/GtkCellRendererCombo.html +27 -32
- data/vendor/local/share/gtk-doc/html/gtk/GtkCellRendererPixbuf.html +24 -25
- data/vendor/local/share/gtk-doc/html/gtk/GtkCellRendererProgress.html +23 -25
- data/vendor/local/share/gtk-doc/html/gtk/GtkCellRendererSpin.html +19 -20
- data/vendor/local/share/gtk-doc/html/gtk/GtkCellRendererSpinner.html +19 -20
- data/vendor/local/share/gtk-doc/html/gtk/GtkCellRendererText.html +69 -74
- data/vendor/local/share/gtk-doc/html/gtk/GtkCellRendererToggle.html +45 -54
- data/vendor/local/share/gtk-doc/html/gtk/GtkCellView.html +57 -76
- data/vendor/local/share/gtk-doc/html/gtk/GtkCheckButton.html +30 -34
- data/vendor/local/share/gtk-doc/html/gtk/GtkColorButton.html +53 -75
- data/vendor/local/share/gtk-doc/html/gtk/GtkColorSelection.html +104 -180
- data/vendor/local/share/gtk-doc/html/gtk/GtkColorSelectionDialog.html +29 -32
- data/vendor/local/share/gtk-doc/html/gtk/GtkCombo.html +63 -81
- data/vendor/local/share/gtk-doc/html/gtk/GtkComboBox.html +344 -186
- data/vendor/local/share/gtk-doc/html/gtk/GtkComboBoxEntry.html +57 -46
- data/vendor/local/share/gtk-doc/html/gtk/GtkComboBoxText.html +301 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkContainer.html +311 -260
- data/vendor/local/share/gtk-doc/html/gtk/GtkCurve.html +61 -79
- data/vendor/local/share/gtk-doc/html/gtk/GtkDialog.html +97 -121
- data/vendor/local/share/gtk-doc/html/gtk/GtkDrawingArea.html +21 -23
- data/vendor/local/share/gtk-doc/html/gtk/GtkEditable.html +68 -88
- data/vendor/local/share/gtk-doc/html/gtk/GtkEntry.html +360 -470
- data/vendor/local/share/gtk-doc/html/gtk/GtkEntryBuffer.html +71 -104
- data/vendor/local/share/gtk-doc/html/gtk/GtkEntryCompletion.html +130 -185
- data/vendor/local/share/gtk-doc/html/gtk/GtkEventBox.html +33 -38
- data/vendor/local/share/gtk-doc/html/gtk/GtkExpander.html +76 -96
- data/vendor/local/share/gtk-doc/html/gtk/GtkFileChooser.html +331 -403
- data/vendor/local/share/gtk-doc/html/gtk/GtkFileChooserButton.html +64 -89
- data/vendor/local/share/gtk-doc/html/gtk/GtkFileChooserDialog.html +30 -35
- data/vendor/local/share/gtk-doc/html/gtk/GtkFileChooserWidget.html +21 -26
- data/vendor/local/share/gtk-doc/html/gtk/GtkFileSelection.html +102 -146
- data/vendor/local/share/gtk-doc/html/gtk/GtkFixed.html +38 -49
- data/vendor/local/share/gtk-doc/html/gtk/GtkFontButton.html +60 -86
- data/vendor/local/share/gtk-doc/html/gtk/GtkFontSelection.html +66 -81
- data/vendor/local/share/gtk-doc/html/gtk/GtkFontSelectionDialog.html +52 -61
- data/vendor/local/share/gtk-doc/html/gtk/GtkFrame.html +51 -58
- data/vendor/local/share/gtk-doc/html/gtk/GtkGammaCurve.html +18 -19
- data/vendor/local/share/gtk-doc/html/gtk/GtkHBox.html +17 -20
- data/vendor/local/share/gtk-doc/html/gtk/GtkHButtonBox.html +29 -34
- data/vendor/local/share/gtk-doc/html/gtk/GtkHPaned.html +13 -13
- data/vendor/local/share/gtk-doc/html/gtk/GtkHRuler.html +30 -24
- data/vendor/local/share/gtk-doc/html/gtk/GtkHSV.html +65 -101
- data/vendor/local/share/gtk-doc/html/gtk/GtkHScale.html +25 -30
- data/vendor/local/share/gtk-doc/html/gtk/GtkHScrollbar.html +18 -18
- data/vendor/local/share/gtk-doc/html/gtk/GtkHSeparator.html +19 -20
- data/vendor/local/share/gtk-doc/html/gtk/GtkHandleBox.html +55 -66
- data/vendor/local/share/gtk-doc/html/gtk/GtkIMContext.html +140 -182
- data/vendor/local/share/gtk-doc/html/gtk/GtkIMContextSimple.html +18 -22
- data/vendor/local/share/gtk-doc/html/gtk/GtkIMMulticontext.html +18 -22
- data/vendor/local/share/gtk-doc/html/gtk/GtkIconTheme.html +184 -248
- data/vendor/local/share/gtk-doc/html/gtk/GtkIconView.html +321 -447
- data/vendor/local/share/gtk-doc/html/gtk/GtkImage.html +174 -195
- data/vendor/local/share/gtk-doc/html/gtk/GtkImageMenuItem.html +58 -69
- data/vendor/local/share/gtk-doc/html/gtk/GtkInfoBar.html +67 -80
- data/vendor/local/share/gtk-doc/html/gtk/GtkInputDialog.html +32 -37
- data/vendor/local/share/gtk-doc/html/gtk/GtkInvisible.html +33 -41
- data/vendor/local/share/gtk-doc/html/gtk/GtkItem.html +36 -42
- data/vendor/local/share/gtk-doc/html/gtk/GtkItemFactory.html +179 -272
- data/vendor/local/share/gtk-doc/html/gtk/GtkLabel.html +197 -249
- data/vendor/local/share/gtk-doc/html/gtk/GtkLayout.html +68 -76
- data/vendor/local/share/gtk-doc/html/gtk/GtkLinkButton.html +51 -60
- data/vendor/local/share/gtk-doc/html/gtk/GtkList.html +130 -180
- data/vendor/local/share/gtk-doc/html/gtk/GtkListItem.html +80 -130
- data/vendor/local/share/gtk-doc/html/gtk/GtkListStore.html +138 -168
- data/vendor/local/share/gtk-doc/html/gtk/GtkMenu.html +177 -221
- data/vendor/local/share/gtk-doc/html/gtk/GtkMenuBar.html +41 -49
- data/vendor/local/share/gtk-doc/html/gtk/GtkMenuItem.html +112 -145
- data/vendor/local/share/gtk-doc/html/gtk/GtkMenuShell.html +86 -118
- data/vendor/local/share/gtk-doc/html/gtk/GtkMenuToolButton.html +73 -49
- data/vendor/local/share/gtk-doc/html/gtk/GtkMessageDialog.html +81 -81
- data/vendor/local/share/gtk-doc/html/gtk/GtkMisc.html +33 -39
- data/vendor/local/share/gtk-doc/html/gtk/GtkNotebook.html +396 -452
- data/vendor/local/share/gtk-doc/html/gtk/GtkObject.html +148 -206
- data/vendor/local/share/gtk-doc/html/gtk/GtkOffscreenWindow.html +21 -25
- data/vendor/local/share/gtk-doc/html/gtk/GtkOldEditable.html +80 -165
- data/vendor/local/share/gtk-doc/html/gtk/GtkOptionMenu.html +56 -66
- data/vendor/local/share/gtk-doc/html/gtk/GtkPageSetup.html +115 -160
- data/vendor/local/share/gtk-doc/html/gtk/GtkPageSetupUnixDialog.html +22 -25
- data/vendor/local/share/gtk-doc/html/gtk/GtkPaned.html +94 -134
- data/vendor/local/share/gtk-doc/html/gtk/{gtk-GtkPaperSize.html → GtkPaperSize.html} +204 -252
- data/vendor/local/share/gtk-doc/html/gtk/GtkPixmap.html +34 -44
- data/vendor/local/share/gtk-doc/html/gtk/GtkPlug.html +51 -67
- data/vendor/local/share/gtk-doc/html/gtk/GtkPreview.html +109 -136
- data/vendor/local/share/gtk-doc/html/gtk/GtkPrintContext.html +38 -53
- data/vendor/local/share/gtk-doc/html/gtk/GtkPrintJob.html +53 -68
- data/vendor/local/share/gtk-doc/html/gtk/GtkPrintSettings.html +265 -403
- data/vendor/local/share/gtk-doc/html/gtk/GtkPrintUnixDialog.html +74 -94
- data/vendor/local/share/gtk-doc/html/gtk/GtkPrinter.html +100 -134
- data/vendor/local/share/gtk-doc/html/gtk/GtkProgress.html +80 -111
- data/vendor/local/share/gtk-doc/html/gtk/GtkProgressBar.html +91 -108
- data/vendor/local/share/gtk-doc/html/gtk/GtkRadioAction.html +42 -53
- data/vendor/local/share/gtk-doc/html/gtk/GtkRadioButton.html +86 -79
- data/vendor/local/share/gtk-doc/html/gtk/GtkRadioMenuItem.html +63 -71
- data/vendor/local/share/gtk-doc/html/gtk/GtkRadioToolButton.html +33 -42
- data/vendor/local/share/gtk-doc/html/gtk/GtkRange.html +218 -185
- data/vendor/local/share/gtk-doc/html/gtk/GtkRecentAction.html +34 -41
- data/vendor/local/share/gtk-doc/html/gtk/GtkRecentChooser.html +135 -194
- data/vendor/local/share/gtk-doc/html/gtk/GtkRecentChooserDialog.html +27 -29
- data/vendor/local/share/gtk-doc/html/gtk/GtkRecentChooserMenu.html +25 -30
- data/vendor/local/share/gtk-doc/html/gtk/GtkRecentChooserWidget.html +17 -19
- data/vendor/local/share/gtk-doc/html/gtk/GtkRecentFilter.html +63 -85
- data/vendor/local/share/gtk-doc/html/gtk/GtkRecentManager.html +202 -269
- data/vendor/local/share/gtk-doc/html/gtk/GtkRuler.html +83 -58
- data/vendor/local/share/gtk-doc/html/gtk/GtkScale.html +61 -72
- data/vendor/local/share/gtk-doc/html/gtk/GtkScaleButton.html +64 -83
- data/vendor/local/share/gtk-doc/html/gtk/GtkScrollbar.html +21 -21
- data/vendor/local/share/gtk-doc/html/gtk/GtkScrolledWindow.html +93 -143
- data/vendor/local/share/gtk-doc/html/gtk/GtkSeparator.html +13 -13
- data/vendor/local/share/gtk-doc/html/gtk/GtkSeparatorMenuItem.html +17 -18
- data/vendor/local/share/gtk-doc/html/gtk/GtkSeparatorToolItem.html +24 -27
- data/vendor/local/share/gtk-doc/html/gtk/GtkSettings.html +129 -259
- data/vendor/local/share/gtk-doc/html/gtk/GtkSizeGroup.html +38 -45
- data/vendor/local/share/gtk-doc/html/gtk/GtkSocket.html +44 -53
- data/vendor/local/share/gtk-doc/html/gtk/GtkSpinButton.html +132 -177
- data/vendor/local/share/gtk-doc/html/gtk/GtkSpinner.html +24 -25
- data/vendor/local/share/gtk-doc/html/gtk/GtkStatusIcon.html +190 -254
- data/vendor/local/share/gtk-doc/html/gtk/GtkStatusbar.html +60 -75
- data/vendor/local/share/gtk-doc/html/gtk/GtkStyle.html +546 -928
- data/vendor/local/share/gtk-doc/html/gtk/GtkTable.html +94 -135
- data/vendor/local/share/gtk-doc/html/gtk/GtkTearoffMenuItem.html +18 -19
- data/vendor/local/share/gtk-doc/html/gtk/GtkText.html +97 -140
- data/vendor/local/share/gtk-doc/html/gtk/GtkTextBuffer.html +494 -656
- data/vendor/local/share/gtk-doc/html/gtk/{gtk-GtkTextIter.html → GtkTextIter.html} +664 -806
- data/vendor/local/share/gtk-doc/html/gtk/GtkTextMark.html +41 -46
- data/vendor/local/share/gtk-doc/html/gtk/GtkTextTag.html +164 -194
- data/vendor/local/share/gtk-doc/html/gtk/GtkTextTagTable.html +84 -76
- data/vendor/local/share/gtk-doc/html/gtk/GtkTextView.html +340 -425
- data/vendor/local/share/gtk-doc/html/gtk/GtkTipsQuery.html +74 -94
- data/vendor/local/share/gtk-doc/html/gtk/GtkToggleAction.html +43 -57
- data/vendor/local/share/gtk-doc/html/gtk/GtkToggleButton.html +59 -71
- data/vendor/local/share/gtk-doc/html/gtk/GtkToggleToolButton.html +32 -38
- data/vendor/local/share/gtk-doc/html/gtk/GtkToolButton.html +74 -85
- data/vendor/local/share/gtk-doc/html/gtk/GtkToolItem.html +133 -166
- data/vendor/local/share/gtk-doc/html/gtk/GtkToolItemGroup.html +84 -103
- data/vendor/local/share/gtk-doc/html/gtk/GtkToolPalette.html +116 -139
- data/vendor/local/share/gtk-doc/html/gtk/GtkToolShell.html +42 -59
- data/vendor/local/share/gtk-doc/html/gtk/GtkToolbar.html +249 -360
- data/vendor/local/share/gtk-doc/html/gtk/GtkTooltip.html +27 -27
- data/vendor/local/share/gtk-doc/html/gtk/GtkTooltips.html +60 -70
- data/vendor/local/share/gtk-doc/html/gtk/GtkTree.html +105 -152
- data/vendor/local/share/gtk-doc/html/gtk/GtkTreeItem.html +46 -134
- data/vendor/local/share/gtk-doc/html/gtk/GtkTreeModel.html +428 -557
- data/vendor/local/share/gtk-doc/html/gtk/GtkTreeModelFilter.html +95 -126
- data/vendor/local/share/gtk-doc/html/gtk/GtkTreeModelSort.html +63 -70
- data/vendor/local/share/gtk-doc/html/gtk/GtkTreeSelection.html +123 -171
- data/vendor/local/share/gtk-doc/html/gtk/GtkTreeSortable.html +53 -62
- data/vendor/local/share/gtk-doc/html/gtk/GtkTreeStore.html +170 -199
- data/vendor/local/share/gtk-doc/html/gtk/GtkTreeView.html +565 -863
- data/vendor/local/share/gtk-doc/html/gtk/GtkTreeViewColumn.html +203 -282
- data/vendor/local/share/gtk-doc/html/gtk/GtkUIManager.html +125 -189
- data/vendor/local/share/gtk-doc/html/gtk/GtkVBox.html +17 -20
- data/vendor/local/share/gtk-doc/html/gtk/GtkVButtonBox.html +27 -34
- data/vendor/local/share/gtk-doc/html/gtk/GtkVPaned.html +14 -14
- data/vendor/local/share/gtk-doc/html/gtk/GtkVRuler.html +31 -24
- data/vendor/local/share/gtk-doc/html/gtk/GtkVScale.html +24 -29
- data/vendor/local/share/gtk-doc/html/gtk/GtkVScrollbar.html +18 -18
- data/vendor/local/share/gtk-doc/html/gtk/GtkVSeparator.html +17 -18
- data/vendor/local/share/gtk-doc/html/gtk/GtkViewport.html +58 -69
- data/vendor/local/share/gtk-doc/html/gtk/GtkVolumeButton.html +16 -17
- data/vendor/local/share/gtk-doc/html/gtk/GtkWidget.html +1278 -1579
- data/vendor/local/share/gtk-doc/html/gtk/GtkWindow.html +380 -532
- data/vendor/local/share/gtk-doc/html/gtk/GtkWindowGroup.html +21 -39
- data/vendor/local/share/gtk-doc/html/gtk/LayoutContainers.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/MenusAndCombos.html +6 -3
- data/vendor/local/share/gtk-doc/html/gtk/MiscObjects.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/NumericEntry.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/Ornaments.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/PlugSocket.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/Printing.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk/RecentDocuments.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/ScrollingWidgets.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/SelectorWidgets.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/SpecialObjects.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/TextWidget.html +15 -15
- data/vendor/local/share/gtk-doc/html/gtk/TextWidgetObjects.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk/TreeWidget.html +16 -16
- data/vendor/local/share/gtk-doc/html/gtk/TreeWidgetObjects.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/WindowWidgets.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/annotation-glossary.html +17 -11
- data/vendor/local/share/gtk-doc/html/gtk/api-index-2-10.html +20 -20
- data/vendor/local/share/gtk-doc/html/gtk/api-index-2-12.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk/api-index-2-14.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/api-index-2-16.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk/api-index-2-18.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/api-index-2-2.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk/api-index-2-20.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/api-index-2-22.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk/api-index-2-24.html +117 -0
- data/vendor/local/share/gtk-doc/html/gtk/api-index-2-4.html +28 -28
- data/vendor/local/share/gtk-doc/html/gtk/api-index-2-6.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/api-index-2-8.html +7 -7
- data/vendor/local/share/gtk-doc/html/gtk/api-index-deprecated.html +236 -45
- data/vendor/local/share/gtk-doc/html/gtk/api-index-full.html +469 -385
- data/vendor/local/share/gtk-doc/html/gtk/ch01.html +15 -4
- data/vendor/local/share/gtk-doc/html/gtk/ch02.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk/chap-drawing-model.html +12 -12
- data/vendor/local/share/gtk-doc/html/gtk/checklist-gdkeventexpose-region.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk/checklist-modifiers.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk/checklist-named-icons.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk/decorating-the-assistant-pages.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/glossary.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Accelerator-Maps.html +69 -124
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Bindings.html +149 -211
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Clipboards.html +189 -293
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Drag-and-Drop.html +175 -246
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Feature-Test-Macros.html +35 -41
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Filesystem-utilities.html +41 -47
- data/vendor/local/share/gtk-doc/html/gtk/gtk-General.html +270 -318
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Graphics-Contexts.html +16 -22
- data/vendor/local/share/gtk-doc/html/gtk/gtk-GtkTreeView-drag-and-drop.html +75 -82
- data/vendor/local/share/gtk-doc/html/gtk/gtk-High-level-Printing-API.html +221 -289
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Keyboard-Accelerators.html +142 -232
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Orientable.html +17 -20
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Resource-Files.html +150 -190
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Selections.html +328 -408
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Signals.html +190 -306
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Standard-Enumerations.html +53 -53
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Stock-Items.html +152 -158
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Testing.html +85 -136
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Themeable-Stock-Images.html +204 -239
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Types.html +271 -343
- data/vendor/local/share/gtk-doc/html/gtk/gtk-builder-convert.html +18 -11
- data/vendor/local/share/gtk-doc/html/gtk/gtk-building.html +20 -20
- data/vendor/local/share/gtk-doc/html/gtk/gtk-changes-1-2.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk/gtk-changes-2-0.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk/gtk-compiling.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk/gtk-directfb.html +7 -7
- data/vendor/local/share/gtk-doc/html/gtk/gtk-gtkcheckmenuitem.html +63 -75
- data/vendor/local/share/gtk-doc/html/gtk/gtk-gtkfilefilter.html +58 -75
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-ClientSideWindows.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkAboutDialog.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkAction.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkAssistant.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkBuilder.html +5 -10
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkColorButton.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkComboBox.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkFileChooser.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkIconView.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkLinkButton.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkRecentChooser.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-checklist.html +7 -7
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-entry-icons.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-label-links.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-tooltips.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/gtk-osx.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk/gtk-query-immodules-2.0.html +10 -10
- data/vendor/local/share/gtk-doc/html/gtk/gtk-question-index.html +90 -90
- data/vendor/local/share/gtk-doc/html/gtk/gtk-resources.html +9 -9
- data/vendor/local/share/gtk-doc/html/gtk/gtk-running.html +39 -31
- data/vendor/local/share/gtk-doc/html/gtk/gtk-update-icon-cache.html +10 -10
- data/vendor/local/share/gtk-doc/html/gtk/gtk-windows.html +14 -14
- data/vendor/local/share/gtk-doc/html/gtk/gtk-x11.html +12 -12
- data/vendor/local/share/gtk-doc/html/gtk/gtk.devhelp +445 -412
- data/vendor/local/share/gtk-doc/html/gtk/gtk.devhelp2 +488 -455
- data/vendor/local/share/gtk-doc/html/gtk/gtk.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk/gtkbase.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/gtkfilechooser-installing-extra-widgets.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/gtkfilechooser-installing-preview.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/gtkfilechooser-new-features.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/gtkfilechooser-selection-modes.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk/gtkobjects.html +8 -5
- data/vendor/local/share/gtk-doc/html/gtk/gtkrecent-advanced.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/gtkrecent-chooser.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/index.html +10 -6
- data/vendor/local/share/gtk-doc/html/gtk/index.sgml +194 -142
- data/vendor/local/share/gtk-doc/html/gtk/migrating-GtkCombo.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/migrating-gnomeuiinfo.html +17 -17
- data/vendor/local/share/gtk-doc/html/gtk/migrating.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk/new-features-GtkComboBox.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/pt05.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk/setting-the-page-flow.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/style.css +2 -1
- data/vendor/local/share/gtk-doc/html/gtk/ui-manager.html +3 -3
- data/vendor/local/share/locale/bg/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/bg/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/ca/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/ca/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/en_GB/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/en_GB/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/et/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/te/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/zh_HK/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/src/tml/packaging/gtk+_2.24.0-1_win32.log +4934 -0
- data/vendor/local/src/tml/packaging/{gtk+_2.22.1-1_win32.sh → gtk+_2.24.0-1_win32.sh} +2 -2
- metadata +26 -33
- data/ext/gtk2/Makefile +0 -169
- data/ext/gtk2/rbgdkkeysyms.h +0 -2174
- data/ext/gtk2/rbgtkinits.c +0 -473
- data/ext/gtk2/ruby-gtk2.pc +0 -3
- data/vendor/local/share/locale/kg/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/kg/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/lg/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/lg/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/src/tml/packaging/gtk+_2.22.1-1_win32.log +0 -5048
@@ -8,7 +8,7 @@
|
|
8
8
|
<link rel="up" href="reference.html" title="API Reference">
|
9
9
|
<link rel="prev" href="GdkScreen.html" title="GdkScreen">
|
10
10
|
<link rel="next" href="gdk-Graphics-Contexts.html" title="Graphics Contexts">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.16.1 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
</head>
|
14
14
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
@@ -26,7 +26,7 @@
|
|
26
26
|
<a href="#gdk-Points-Rectangles-and-Regions.description" class="shortcut">Description</a>
|
27
27
|
</td></tr>
|
28
28
|
</table>
|
29
|
-
<div class="refentry"
|
29
|
+
<div class="refentry">
|
30
30
|
<a name="gdk-Points-Rectangles-and-Regions"></a><div class="titlepage"></div>
|
31
31
|
<div class="refnamediv"><table width="100%"><tr>
|
32
32
|
<td valign="top">
|
@@ -35,46 +35,46 @@
|
|
35
35
|
</td>
|
36
36
|
<td valign="top" align="right"></td>
|
37
37
|
</tr></table></div>
|
38
|
-
<div class="refsynopsisdiv"
|
38
|
+
<div class="refsynopsisdiv">
|
39
39
|
<a name="gdk-Points-Rectangles-and-Regions.synopsis"></a><h2>Synopsis</h2>
|
40
40
|
<pre class="synopsis">
|
41
41
|
#include <gdk/gdk.h>
|
42
42
|
|
43
|
-
|
43
|
+
struct <a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkPoint" title="struct GdkPoint">GdkPoint</a>;
|
44
44
|
|
45
|
-
|
46
|
-
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="gdk-Points-Rectangles-and-Regions.html#gdk-rectangle-intersect" title="gdk_rectangle_intersect ()">gdk_rectangle_intersect</a> (<em class="parameter"><code>const <a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRectangle" title="GdkRectangle"><span class="type">GdkRectangle</span></a> *src1</code></em>,
|
47
|
-
<em class="parameter"><code>const <a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRectangle" title="GdkRectangle"><span class="type">GdkRectangle</span></a> *src2</code></em>,
|
48
|
-
<em class="parameter"><code><a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRectangle" title="GdkRectangle"><span class="type">GdkRectangle</span></a> *dest</code></em>);
|
49
|
-
<span class="returnvalue">void</span> <a class="link" href="gdk-Points-Rectangles-and-Regions.html#gdk-rectangle-union" title="gdk_rectangle_union ()">gdk_rectangle_union</a> (<em class="parameter"><code>const <a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRectangle" title="GdkRectangle"><span class="type">GdkRectangle</span></a> *src1</code></em>,
|
50
|
-
<em class="parameter"><code>const <a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRectangle" title="GdkRectangle"><span class="type">GdkRectangle</span></a> *src2</code></em>,
|
51
|
-
<em class="parameter"><code><a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRectangle" title="GdkRectangle"><span class="type">GdkRectangle</span></a> *dest</code></em>);
|
45
|
+
struct <a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRectangle" title="struct GdkRectangle">GdkRectangle</a>;
|
46
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="gdk-Points-Rectangles-and-Regions.html#gdk-rectangle-intersect" title="gdk_rectangle_intersect ()">gdk_rectangle_intersect</a> (<em class="parameter"><code>const <a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRectangle" title="struct GdkRectangle"><span class="type">GdkRectangle</span></a> *src1</code></em>,
|
47
|
+
<em class="parameter"><code>const <a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRectangle" title="struct GdkRectangle"><span class="type">GdkRectangle</span></a> *src2</code></em>,
|
48
|
+
<em class="parameter"><code><a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRectangle" title="struct GdkRectangle"><span class="type">GdkRectangle</span></a> *dest</code></em>);
|
49
|
+
<span class="returnvalue">void</span> <a class="link" href="gdk-Points-Rectangles-and-Regions.html#gdk-rectangle-union" title="gdk_rectangle_union ()">gdk_rectangle_union</a> (<em class="parameter"><code>const <a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRectangle" title="struct GdkRectangle"><span class="type">GdkRectangle</span></a> *src1</code></em>,
|
50
|
+
<em class="parameter"><code>const <a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRectangle" title="struct GdkRectangle"><span class="type">GdkRectangle</span></a> *src2</code></em>,
|
51
|
+
<em class="parameter"><code><a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRectangle" title="struct GdkRectangle"><span class="type">GdkRectangle</span></a> *dest</code></em>);
|
52
52
|
|
53
53
|
<a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRegion" title="GdkRegion">GdkRegion</a>;
|
54
54
|
<a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRegion" title="GdkRegion"><span class="returnvalue">GdkRegion</span></a> * <a class="link" href="gdk-Points-Rectangles-and-Regions.html#gdk-region-new" title="gdk_region_new ()">gdk_region_new</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
55
|
-
<a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRegion" title="GdkRegion"><span class="returnvalue">GdkRegion</span></a> * <a class="link" href="gdk-Points-Rectangles-and-Regions.html#gdk-region-polygon" title="gdk_region_polygon ()">gdk_region_polygon</a> (<em class="parameter"><code>const <a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkPoint" title="GdkPoint"><span class="type">GdkPoint</span></a> *points</code></em>,
|
55
|
+
<a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRegion" title="GdkRegion"><span class="returnvalue">GdkRegion</span></a> * <a class="link" href="gdk-Points-Rectangles-and-Regions.html#gdk-region-polygon" title="gdk_region_polygon ()">gdk_region_polygon</a> (<em class="parameter"><code>const <a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkPoint" title="struct GdkPoint"><span class="type">GdkPoint</span></a> *points</code></em>,
|
56
56
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> n_points</code></em>,
|
57
57
|
<em class="parameter"><code><a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkFillRule" title="enum GdkFillRule"><span class="type">GdkFillRule</span></a> fill_rule</code></em>);
|
58
58
|
enum <a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkFillRule" title="enum GdkFillRule">GdkFillRule</a>;
|
59
59
|
<a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRegion" title="GdkRegion"><span class="returnvalue">GdkRegion</span></a> * <a class="link" href="gdk-Points-Rectangles-and-Regions.html#gdk-region-copy" title="gdk_region_copy ()">gdk_region_copy</a> (<em class="parameter"><code>const <a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRegion" title="GdkRegion"><span class="type">GdkRegion</span></a> *region</code></em>);
|
60
|
-
<a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRegion" title="GdkRegion"><span class="returnvalue">GdkRegion</span></a> * <a class="link" href="gdk-Points-Rectangles-and-Regions.html#gdk-region-rectangle" title="gdk_region_rectangle ()">gdk_region_rectangle</a> (<em class="parameter"><code>const <a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRectangle" title="GdkRectangle"><span class="type">GdkRectangle</span></a> *rectangle</code></em>);
|
60
|
+
<a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRegion" title="GdkRegion"><span class="returnvalue">GdkRegion</span></a> * <a class="link" href="gdk-Points-Rectangles-and-Regions.html#gdk-region-rectangle" title="gdk_region_rectangle ()">gdk_region_rectangle</a> (<em class="parameter"><code>const <a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRectangle" title="struct GdkRectangle"><span class="type">GdkRectangle</span></a> *rectangle</code></em>);
|
61
61
|
<span class="returnvalue">void</span> <a class="link" href="gdk-Points-Rectangles-and-Regions.html#gdk-region-destroy" title="gdk_region_destroy ()">gdk_region_destroy</a> (<em class="parameter"><code><a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRegion" title="GdkRegion"><span class="type">GdkRegion</span></a> *region</code></em>);
|
62
62
|
|
63
63
|
<span class="returnvalue">void</span> <a class="link" href="gdk-Points-Rectangles-and-Regions.html#gdk-region-get-clipbox" title="gdk_region_get_clipbox ()">gdk_region_get_clipbox</a> (<em class="parameter"><code>const <a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRegion" title="GdkRegion"><span class="type">GdkRegion</span></a> *region</code></em>,
|
64
|
-
<em class="parameter"><code><a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRectangle" title="GdkRectangle"><span class="type">GdkRectangle</span></a> *rectangle</code></em>);
|
64
|
+
<em class="parameter"><code><a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRectangle" title="struct GdkRectangle"><span class="type">GdkRectangle</span></a> *rectangle</code></em>);
|
65
65
|
<span class="returnvalue">void</span> <a class="link" href="gdk-Points-Rectangles-and-Regions.html#gdk-region-get-rectangles" title="gdk_region_get_rectangles ()">gdk_region_get_rectangles</a> (<em class="parameter"><code>const <a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRegion" title="GdkRegion"><span class="type">GdkRegion</span></a> *region</code></em>,
|
66
|
-
<em class="parameter"><code><a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRectangle" title="GdkRectangle"><span class="type">GdkRectangle</span></a> **rectangles</code></em>,
|
66
|
+
<em class="parameter"><code><a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRectangle" title="struct GdkRectangle"><span class="type">GdkRectangle</span></a> **rectangles</code></em>,
|
67
67
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *n_rectangles</code></em>);
|
68
68
|
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="gdk-Points-Rectangles-and-Regions.html#gdk-region-empty" title="gdk_region_empty ()">gdk_region_empty</a> (<em class="parameter"><code>const <a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRegion" title="GdkRegion"><span class="type">GdkRegion</span></a> *region</code></em>);
|
69
69
|
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="gdk-Points-Rectangles-and-Regions.html#gdk-region-equal" title="gdk_region_equal ()">gdk_region_equal</a> (<em class="parameter"><code>const <a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRegion" title="GdkRegion"><span class="type">GdkRegion</span></a> *region1</code></em>,
|
70
70
|
<em class="parameter"><code>const <a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRegion" title="GdkRegion"><span class="type">GdkRegion</span></a> *region2</code></em>);
|
71
71
|
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="gdk-Points-Rectangles-and-Regions.html#gdk-region-rect-equal" title="gdk_region_rect_equal ()">gdk_region_rect_equal</a> (<em class="parameter"><code>const <a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRegion" title="GdkRegion"><span class="type">GdkRegion</span></a> *region</code></em>,
|
72
|
-
<em class="parameter"><code>const <a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRectangle" title="GdkRectangle"><span class="type">GdkRectangle</span></a> *rectangle</code></em>);
|
72
|
+
<em class="parameter"><code>const <a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRectangle" title="struct GdkRectangle"><span class="type">GdkRectangle</span></a> *rectangle</code></em>);
|
73
73
|
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="gdk-Points-Rectangles-and-Regions.html#gdk-region-point-in" title="gdk_region_point_in ()">gdk_region_point_in</a> (<em class="parameter"><code>const <a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRegion" title="GdkRegion"><span class="type">GdkRegion</span></a> *region</code></em>,
|
74
74
|
<em class="parameter"><code><span class="type">int</span> x</code></em>,
|
75
75
|
<em class="parameter"><code><span class="type">int</span> y</code></em>);
|
76
76
|
<a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkOverlapType" title="enum GdkOverlapType"><span class="returnvalue">GdkOverlapType</span></a> <a class="link" href="gdk-Points-Rectangles-and-Regions.html#gdk-region-rect-in" title="gdk_region_rect_in ()">gdk_region_rect_in</a> (<em class="parameter"><code>const <a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRegion" title="GdkRegion"><span class="type">GdkRegion</span></a> *region</code></em>,
|
77
|
-
<em class="parameter"><code>const <a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRectangle" title="GdkRectangle"><span class="type">GdkRectangle</span></a> *rectangle</code></em>);
|
77
|
+
<em class="parameter"><code>const <a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRectangle" title="struct GdkRectangle"><span class="type">GdkRectangle</span></a> *rectangle</code></em>);
|
78
78
|
enum <a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkOverlapType" title="enum GdkOverlapType">GdkOverlapType</a>;
|
79
79
|
|
80
80
|
<span class="returnvalue">void</span> <a class="link" href="gdk-Points-Rectangles-and-Regions.html#gdk-region-offset" title="gdk_region_offset ()">gdk_region_offset</a> (<em class="parameter"><code><a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRegion" title="GdkRegion"><span class="type">GdkRegion</span></a> *region</code></em>,
|
@@ -84,7 +84,7 @@ enum <a class="link" href="gdk-Points-Rectangles-and-Regions.html
|
|
84
84
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> dx</code></em>,
|
85
85
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> dy</code></em>);
|
86
86
|
<span class="returnvalue">void</span> <a class="link" href="gdk-Points-Rectangles-and-Regions.html#gdk-region-union-with-rect" title="gdk_region_union_with_rect ()">gdk_region_union_with_rect</a> (<em class="parameter"><code><a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRegion" title="GdkRegion"><span class="type">GdkRegion</span></a> *region</code></em>,
|
87
|
-
<em class="parameter"><code>const <a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRectangle" title="GdkRectangle"><span class="type">GdkRectangle</span></a> *rect</code></em>);
|
87
|
+
<em class="parameter"><code>const <a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRectangle" title="struct GdkRectangle"><span class="type">GdkRectangle</span></a> *rect</code></em>);
|
88
88
|
<span class="returnvalue">void</span> <a class="link" href="gdk-Points-Rectangles-and-Regions.html#gdk-region-intersect" title="gdk_region_intersect ()">gdk_region_intersect</a> (<em class="parameter"><code><a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRegion" title="GdkRegion"><span class="type">GdkRegion</span></a> *source1</code></em>,
|
89
89
|
<em class="parameter"><code>const <a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRegion" title="GdkRegion"><span class="type">GdkRegion</span></a> *source2</code></em>);
|
90
90
|
<span class="returnvalue">void</span> <a class="link" href="gdk-Points-Rectangles-and-Regions.html#gdk-region-union" title="gdk_region_union ()">gdk_region_union</a> (<em class="parameter"><code><a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRegion" title="GdkRegion"><span class="type">GdkRegion</span></a> *source1</code></em>,
|
@@ -94,28 +94,28 @@ enum <a class="link" href="gdk-Points-Rectangles-and-Regions.html
|
|
94
94
|
<span class="returnvalue">void</span> <a class="link" href="gdk-Points-Rectangles-and-Regions.html#gdk-region-xor" title="gdk_region_xor ()">gdk_region_xor</a> (<em class="parameter"><code><a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRegion" title="GdkRegion"><span class="type">GdkRegion</span></a> *source1</code></em>,
|
95
95
|
<em class="parameter"><code>const <a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRegion" title="GdkRegion"><span class="type">GdkRegion</span></a> *source2</code></em>);
|
96
96
|
|
97
|
-
|
98
|
-
<span class="returnvalue">void</span> (<a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkSpanFunc" title="GdkSpanFunc ()">*GdkSpanFunc</a>) (<em class="parameter"><code><a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkSpan" title="GdkSpan"><span class="type">GdkSpan</span></a> *span</code></em>,
|
97
|
+
struct <a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkSpan" title="struct GdkSpan">GdkSpan</a>;
|
98
|
+
<span class="returnvalue">void</span> (<a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkSpanFunc" title="GdkSpanFunc ()">*GdkSpanFunc</a>) (<em class="parameter"><code><a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkSpan" title="struct GdkSpan"><span class="type">GdkSpan</span></a> *span</code></em>,
|
99
99
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);
|
100
100
|
<span class="returnvalue">void</span> <a class="link" href="gdk-Points-Rectangles-and-Regions.html#gdk-region-spans-intersect-foreach" title="gdk_region_spans_intersect_foreach ()">gdk_region_spans_intersect_foreach</a> (<em class="parameter"><code><a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRegion" title="GdkRegion"><span class="type">GdkRegion</span></a> *region</code></em>,
|
101
|
-
<em class="parameter"><code>const <a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkSpan" title="GdkSpan"><span class="type">GdkSpan</span></a> *spans</code></em>,
|
101
|
+
<em class="parameter"><code>const <a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkSpan" title="struct GdkSpan"><span class="type">GdkSpan</span></a> *spans</code></em>,
|
102
102
|
<em class="parameter"><code><span class="type">int</span> n_spans</code></em>,
|
103
103
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> sorted</code></em>,
|
104
104
|
<em class="parameter"><code><a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkSpanFunc" title="GdkSpanFunc ()"><span class="type">GdkSpanFunc</span></a> function</code></em>,
|
105
105
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);
|
106
106
|
</pre>
|
107
107
|
</div>
|
108
|
-
<div class="refsect1"
|
108
|
+
<div class="refsect1">
|
109
109
|
<a name="gdk-Points-Rectangles-and-Regions.description"></a><h2>Description</h2>
|
110
110
|
<p>
|
111
|
-
GDK provides the <a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkPoint" title="GdkPoint"><span class="type">GdkPoint</span></a>, <a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRectangle" title="GdkRectangle"><span class="type">GdkRectangle</span></a>, <a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRegion" title="GdkRegion"><span class="type">GdkRegion</span></a> and <a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkSpan" title="GdkSpan"><span class="type">GdkSpan</span></a> data types
|
111
|
+
GDK provides the <a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkPoint" title="struct GdkPoint"><span class="type">GdkPoint</span></a>, <a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRectangle" title="struct GdkRectangle"><span class="type">GdkRectangle</span></a>, <a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRegion" title="GdkRegion"><span class="type">GdkRegion</span></a> and <a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkSpan" title="struct GdkSpan"><span class="type">GdkSpan</span></a> data types
|
112
112
|
for representing pixels and sets of pixels on the screen.
|
113
113
|
</p>
|
114
114
|
<p>
|
115
|
-
<a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkPoint" title="GdkPoint"><span class="type">GdkPoint</span></a> is a simple structure containing an x and y coordinate of a point.
|
115
|
+
<a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkPoint" title="struct GdkPoint"><span class="type">GdkPoint</span></a> is a simple structure containing an x and y coordinate of a point.
|
116
116
|
</p>
|
117
117
|
<p>
|
118
|
-
<a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRectangle" title="GdkRectangle"><span class="type">GdkRectangle</span></a> is a structure holding the position and size of a rectangle.
|
118
|
+
<a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRectangle" title="struct GdkRectangle"><span class="type">GdkRectangle</span></a> is a structure holding the position and size of a rectangle.
|
119
119
|
The intersection of two rectangles can be computed with
|
120
120
|
<a class="link" href="gdk-Points-Rectangles-and-Regions.html#gdk-rectangle-intersect" title="gdk_rectangle_intersect ()"><code class="function">gdk_rectangle_intersect()</code></a>. To find the union of two rectangles use
|
121
121
|
<a class="link" href="gdk-Points-Rectangles-and-Regions.html#gdk-rectangle-union" title="gdk_rectangle_union ()"><code class="function">gdk_rectangle_union()</code></a>.
|
@@ -125,19 +125,19 @@ The intersection of two rectangles can be computed with
|
|
125
125
|
usually used for clipping graphical operations (see <a class="link" href="gdk-Graphics-Contexts.html#gdk-gc-set-clip-region" title="gdk_gc_set_clip_region ()"><code class="function">gdk_gc_set_clip_region()</code></a>).
|
126
126
|
</p>
|
127
127
|
<p>
|
128
|
-
<a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkSpan" title="GdkSpan"><span class="type">GdkSpan</span></a> is a structure holding a spanline. A spanline is a horizontal line that
|
128
|
+
<a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkSpan" title="struct GdkSpan"><span class="type">GdkSpan</span></a> is a structure holding a spanline. A spanline is a horizontal line that
|
129
129
|
is one pixel wide. It is mainly used when rasterizing other graphics primitives.
|
130
130
|
It can be intersected to regions by using <a class="link" href="gdk-Points-Rectangles-and-Regions.html#gdk-region-spans-intersect-foreach" title="gdk_region_spans_intersect_foreach ()"><code class="function">gdk_region_spans_intersect_foreach()</code></a>.
|
131
131
|
</p>
|
132
132
|
</div>
|
133
|
-
<div class="refsect1"
|
133
|
+
<div class="refsect1">
|
134
134
|
<a name="gdk-Points-Rectangles-and-Regions.details"></a><h2>Details</h2>
|
135
|
-
<div class="refsect2"
|
136
|
-
<a name="GdkPoint"></a><h3>GdkPoint</h3>
|
137
|
-
<pre class="programlisting">
|
135
|
+
<div class="refsect2">
|
136
|
+
<a name="GdkPoint"></a><h3>struct GdkPoint</h3>
|
137
|
+
<pre class="programlisting">struct GdkPoint {
|
138
138
|
gint x;
|
139
139
|
gint y;
|
140
|
-
}
|
140
|
+
};
|
141
141
|
</pre>
|
142
142
|
<p>
|
143
143
|
Defines the x and y coordinates of a point.
|
@@ -147,26 +147,24 @@ Defines the x and y coordinates of a point.
|
|
147
147
|
<tbody>
|
148
148
|
<tr>
|
149
149
|
<td><p><span class="term"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> <em class="structfield"><code><a name="GdkPoint.x"></a>x</code></em>;</span></p></td>
|
150
|
-
<td>the x coordinate of the point
|
151
|
-
</td>
|
150
|
+
<td>the x coordinate of the point.</td>
|
152
151
|
</tr>
|
153
152
|
<tr>
|
154
153
|
<td><p><span class="term"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> <em class="structfield"><code><a name="GdkPoint.y"></a>y</code></em>;</span></p></td>
|
155
|
-
<td>the y coordinate of the point
|
156
|
-
</td>
|
154
|
+
<td>the y coordinate of the point.</td>
|
157
155
|
</tr>
|
158
156
|
</tbody>
|
159
157
|
</table></div>
|
160
158
|
</div>
|
161
159
|
<hr>
|
162
|
-
<div class="refsect2"
|
163
|
-
<a name="GdkRectangle"></a><h3>GdkRectangle</h3>
|
164
|
-
<pre class="programlisting">
|
160
|
+
<div class="refsect2">
|
161
|
+
<a name="GdkRectangle"></a><h3>struct GdkRectangle</h3>
|
162
|
+
<pre class="programlisting">struct GdkRectangle {
|
165
163
|
gint x;
|
166
164
|
gint y;
|
167
165
|
gint width;
|
168
166
|
gint height;
|
169
|
-
}
|
167
|
+
};
|
170
168
|
</pre>
|
171
169
|
<p>
|
172
170
|
Defines the position and size of a rectangle.
|
@@ -176,33 +174,29 @@ Defines the position and size of a rectangle.
|
|
176
174
|
<tbody>
|
177
175
|
<tr>
|
178
176
|
<td><p><span class="term"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> <em class="structfield"><code><a name="GdkRectangle.x"></a>x</code></em>;</span></p></td>
|
179
|
-
<td>the x coordinate of the left edge of the rectangle
|
180
|
-
</td>
|
177
|
+
<td>the x coordinate of the left edge of the rectangle.</td>
|
181
178
|
</tr>
|
182
179
|
<tr>
|
183
180
|
<td><p><span class="term"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> <em class="structfield"><code><a name="GdkRectangle.y"></a>y</code></em>;</span></p></td>
|
184
|
-
<td>the y coordinate of the top of the rectangle
|
185
|
-
</td>
|
181
|
+
<td>the y coordinate of the top of the rectangle.</td>
|
186
182
|
</tr>
|
187
183
|
<tr>
|
188
184
|
<td><p><span class="term"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> <em class="structfield"><code><a name="GdkRectangle.width"></a>width</code></em>;</span></p></td>
|
189
|
-
<td>the width of the rectangle
|
190
|
-
</td>
|
185
|
+
<td>the width of the rectangle.</td>
|
191
186
|
</tr>
|
192
187
|
<tr>
|
193
188
|
<td><p><span class="term"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> <em class="structfield"><code><a name="GdkRectangle.height"></a>height</code></em>;</span></p></td>
|
194
|
-
<td>the height of the rectangle
|
195
|
-
</td>
|
189
|
+
<td>the height of the rectangle.</td>
|
196
190
|
</tr>
|
197
191
|
</tbody>
|
198
192
|
</table></div>
|
199
193
|
</div>
|
200
194
|
<hr>
|
201
|
-
<div class="refsect2"
|
195
|
+
<div class="refsect2">
|
202
196
|
<a name="gdk-rectangle-intersect"></a><h3>gdk_rectangle_intersect ()</h3>
|
203
|
-
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gdk_rectangle_intersect (<em class="parameter"><code>const <a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRectangle" title="GdkRectangle"><span class="type">GdkRectangle</span></a> *src1</code></em>,
|
204
|
-
<em class="parameter"><code>const <a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRectangle" title="GdkRectangle"><span class="type">GdkRectangle</span></a> *src2</code></em>,
|
205
|
-
<em class="parameter"><code><a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRectangle" title="GdkRectangle"><span class="type">GdkRectangle</span></a> *dest</code></em>);</pre>
|
197
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gdk_rectangle_intersect (<em class="parameter"><code>const <a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRectangle" title="struct GdkRectangle"><span class="type">GdkRectangle</span></a> *src1</code></em>,
|
198
|
+
<em class="parameter"><code>const <a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRectangle" title="struct GdkRectangle"><span class="type">GdkRectangle</span></a> *src2</code></em>,
|
199
|
+
<em class="parameter"><code><a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRectangle" title="struct GdkRectangle"><span class="type">GdkRectangle</span></a> *dest</code></em>);</pre>
|
206
200
|
<p>
|
207
201
|
Calculates the intersection of two rectangles. It is allowed for
|
208
202
|
<em class="parameter"><code>dest</code></em> to be the same as either <em class="parameter"><code>src1</code></em> or <em class="parameter"><code>src2</code></em>. If the rectangles
|
@@ -216,34 +210,34 @@ pass <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.
|
|
216
210
|
<tbody>
|
217
211
|
<tr>
|
218
212
|
<td><p><span class="term"><em class="parameter"><code>src1</code></em> :</span></p></td>
|
219
|
-
<td>a <a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRectangle" title="GdkRectangle"><span class="type">GdkRectangle</span></a>
|
213
|
+
<td>a <a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRectangle" title="struct GdkRectangle"><span class="type">GdkRectangle</span></a>
|
220
214
|
</td>
|
221
215
|
</tr>
|
222
216
|
<tr>
|
223
217
|
<td><p><span class="term"><em class="parameter"><code>src2</code></em> :</span></p></td>
|
224
|
-
<td>a <a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRectangle" title="GdkRectangle"><span class="type">GdkRectangle</span></a>
|
218
|
+
<td>a <a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRectangle" title="struct GdkRectangle"><span class="type">GdkRectangle</span></a>
|
225
219
|
</td>
|
226
220
|
</tr>
|
227
221
|
<tr>
|
228
222
|
<td><p><span class="term"><em class="parameter"><code>dest</code></em> :</span></p></td>
|
229
|
-
<td>
|
230
|
-
intersection of <em class="parameter"><code>src1</code></em> and <em class="parameter"><code>src2</code></em>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym> caller-allocates][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>
|
223
|
+
<td>return location for the
|
224
|
+
intersection of <em class="parameter"><code>src1</code></em> and <em class="parameter"><code>src2</code></em>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym> caller-allocates][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
231
225
|
</td>
|
232
226
|
</tr>
|
233
227
|
<tr>
|
234
228
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
235
|
-
<td>
|
236
|
-
</td>
|
229
|
+
<td>
|
230
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the rectangles intersect.</td>
|
237
231
|
</tr>
|
238
232
|
</tbody>
|
239
233
|
</table></div>
|
240
234
|
</div>
|
241
235
|
<hr>
|
242
|
-
<div class="refsect2"
|
236
|
+
<div class="refsect2">
|
243
237
|
<a name="gdk-rectangle-union"></a><h3>gdk_rectangle_union ()</h3>
|
244
|
-
<pre class="programlisting"><span class="returnvalue">void</span> gdk_rectangle_union (<em class="parameter"><code>const <a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRectangle" title="GdkRectangle"><span class="type">GdkRectangle</span></a> *src1</code></em>,
|
245
|
-
<em class="parameter"><code>const <a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRectangle" title="GdkRectangle"><span class="type">GdkRectangle</span></a> *src2</code></em>,
|
246
|
-
<em class="parameter"><code><a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRectangle" title="GdkRectangle"><span class="type">GdkRectangle</span></a> *dest</code></em>);</pre>
|
238
|
+
<pre class="programlisting"><span class="returnvalue">void</span> gdk_rectangle_union (<em class="parameter"><code>const <a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRectangle" title="struct GdkRectangle"><span class="type">GdkRectangle</span></a> *src1</code></em>,
|
239
|
+
<em class="parameter"><code>const <a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRectangle" title="struct GdkRectangle"><span class="type">GdkRectangle</span></a> *src2</code></em>,
|
240
|
+
<em class="parameter"><code><a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRectangle" title="struct GdkRectangle"><span class="type">GdkRectangle</span></a> *dest</code></em>);</pre>
|
247
241
|
<p>
|
248
242
|
Calculates the union of two rectangles.
|
249
243
|
The union of rectangles <em class="parameter"><code>src1</code></em> and <em class="parameter"><code>src2</code></em> is the smallest rectangle which
|
@@ -255,12 +249,12 @@ It is allowed for <em class="parameter"><code>dest</code></em> to be the same as
|
|
255
249
|
<tbody>
|
256
250
|
<tr>
|
257
251
|
<td><p><span class="term"><em class="parameter"><code>src1</code></em> :</span></p></td>
|
258
|
-
<td>a <a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRectangle" title="GdkRectangle"><span class="type">GdkRectangle</span></a>
|
252
|
+
<td>a <a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRectangle" title="struct GdkRectangle"><span class="type">GdkRectangle</span></a>
|
259
253
|
</td>
|
260
254
|
</tr>
|
261
255
|
<tr>
|
262
256
|
<td><p><span class="term"><em class="parameter"><code>src2</code></em> :</span></p></td>
|
263
|
-
<td>a <a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRectangle" title="GdkRectangle"><span class="type">GdkRectangle</span></a>
|
257
|
+
<td>a <a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRectangle" title="struct GdkRectangle"><span class="type">GdkRectangle</span></a>
|
264
258
|
</td>
|
265
259
|
</tr>
|
266
260
|
<tr>
|
@@ -272,7 +266,7 @@ It is allowed for <em class="parameter"><code>dest</code></em> to be the same as
|
|
272
266
|
</table></div>
|
273
267
|
</div>
|
274
268
|
<hr>
|
275
|
-
<div class="refsect2"
|
269
|
+
<div class="refsect2">
|
276
270
|
<a name="GdkRegion"></a><h3>GdkRegion</h3>
|
277
271
|
<pre class="programlisting">typedef struct _GdkRegion GdkRegion;</pre>
|
278
272
|
<p>
|
@@ -285,7 +279,7 @@ Cairo functions. The conversion can be done using simple serch and replace.
|
|
285
279
|
</p>
|
286
280
|
</div>
|
287
281
|
<hr>
|
288
|
-
<div class="refsect2"
|
282
|
+
<div class="refsect2">
|
289
283
|
<a name="gdk-region-new"></a><h3>gdk_region_new ()</h3>
|
290
284
|
<pre class="programlisting"><a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRegion" title="GdkRegion"><span class="returnvalue">GdkRegion</span></a> * gdk_region_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
291
285
|
<p>
|
@@ -295,18 +289,18 @@ Creates a new empty <a class="link" href="gdk-Points-Rectangles-and-Regions.html
|
|
295
289
|
<col align="left" valign="top">
|
296
290
|
<tbody><tr>
|
297
291
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
298
|
-
<td>
|
292
|
+
<td>a new empty <a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRegion" title="GdkRegion"><span class="type">GdkRegion</span></a>
|
299
293
|
</td>
|
300
294
|
</tr></tbody>
|
301
295
|
</table></div>
|
302
296
|
</div>
|
303
297
|
<hr>
|
304
|
-
<div class="refsect2"
|
298
|
+
<div class="refsect2">
|
305
299
|
<a name="gdk-region-polygon"></a><h3>gdk_region_polygon ()</h3>
|
306
|
-
<pre class="programlisting"><a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRegion" title="GdkRegion"><span class="returnvalue">GdkRegion</span></a> * gdk_region_polygon (<em class="parameter"><code>const <a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkPoint" title="GdkPoint"><span class="type">GdkPoint</span></a> *points</code></em>,
|
300
|
+
<pre class="programlisting"><a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRegion" title="GdkRegion"><span class="returnvalue">GdkRegion</span></a> * gdk_region_polygon (<em class="parameter"><code>const <a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkPoint" title="struct GdkPoint"><span class="type">GdkPoint</span></a> *points</code></em>,
|
307
301
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> n_points</code></em>,
|
308
302
|
<em class="parameter"><code><a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkFillRule" title="enum GdkFillRule"><span class="type">GdkFillRule</span></a> fill_rule</code></em>);</pre>
|
309
|
-
<div class="warning"
|
303
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
310
304
|
<h3 class="title">Warning</h3>
|
311
305
|
<p><code class="literal">gdk_region_polygon</code> has been deprecated since version 2.22 and should not be used in newly-written code. There is no replacement. For working with paths, please
|
312
306
|
use Cairo.</p>
|
@@ -320,31 +314,26 @@ number of points.
|
|
320
314
|
<tbody>
|
321
315
|
<tr>
|
322
316
|
<td><p><span class="term"><em class="parameter"><code>points</code></em> :</span></p></td>
|
323
|
-
<td>an array of <a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkPoint" title="GdkPoint"><span class="type">GdkPoint</span></a> structs
|
324
|
-
</td>
|
317
|
+
<td>an array of <a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkPoint" title="struct GdkPoint"><span class="type">GdkPoint</span></a> structs</td>
|
325
318
|
</tr>
|
326
319
|
<tr>
|
327
320
|
<td><p><span class="term"><em class="parameter"><code>n_points</code></em> :</span></p></td>
|
328
|
-
<td>the number of elements in the <em class="parameter"><code>points</code></em> array
|
329
|
-
</td>
|
321
|
+
<td>the number of elements in the <em class="parameter"><code>points</code></em> array</td>
|
330
322
|
</tr>
|
331
323
|
<tr>
|
332
324
|
<td><p><span class="term"><em class="parameter"><code>fill_rule</code></em> :</span></p></td>
|
333
|
-
<td>specifies which pixels are included in the region when the
|
334
|
-
|
335
|
-
</td>
|
325
|
+
<td>specifies which pixels are included in the region when the
|
326
|
+
polygon overlaps itself.</td>
|
336
327
|
</tr>
|
337
328
|
<tr>
|
338
329
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
339
|
-
<td>
|
340
|
-
|
341
|
-
</td>
|
330
|
+
<td>a new <a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRegion" title="GdkRegion"><span class="type">GdkRegion</span></a> based on the given polygon</td>
|
342
331
|
</tr>
|
343
332
|
</tbody>
|
344
333
|
</table></div>
|
345
334
|
</div>
|
346
335
|
<hr>
|
347
|
-
<div class="refsect2"
|
336
|
+
<div class="refsect2">
|
348
337
|
<a name="GdkFillRule"></a><h3>enum GdkFillRule</h3>
|
349
338
|
<pre class="programlisting">typedef enum
|
350
339
|
{
|
@@ -352,7 +341,7 @@ number of points.
|
|
352
341
|
GDK_WINDING_RULE
|
353
342
|
} GdkFillRule;
|
354
343
|
</pre>
|
355
|
-
<div class="warning"
|
344
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
356
345
|
<h3 class="title">Warning</h3>
|
357
346
|
<p><code class="literal">GdkFillRule</code> is deprecated and should not be used in newly-written code.</p>
|
358
347
|
</div>
|
@@ -379,7 +368,7 @@ included in the region, while areas overlapped an even number of times are not.
|
|
379
368
|
</table></div>
|
380
369
|
</div>
|
381
370
|
<hr>
|
382
|
-
<div class="refsect2"
|
371
|
+
<div class="refsect2">
|
383
372
|
<a name="gdk-region-copy"></a><h3>gdk_region_copy ()</h3>
|
384
373
|
<pre class="programlisting"><a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRegion" title="GdkRegion"><span class="returnvalue">GdkRegion</span></a> * gdk_region_copy (<em class="parameter"><code>const <a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRegion" title="GdkRegion"><span class="type">GdkRegion</span></a> *region</code></em>);</pre>
|
385
374
|
<p>
|
@@ -395,16 +384,16 @@ Copies <em class="parameter"><code>region</code></em>, creating an identical new
|
|
395
384
|
</tr>
|
396
385
|
<tr>
|
397
386
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
398
|
-
<td>
|
387
|
+
<td>a new region identical to <em class="parameter"><code>region</code></em>
|
399
388
|
</td>
|
400
389
|
</tr>
|
401
390
|
</tbody>
|
402
391
|
</table></div>
|
403
392
|
</div>
|
404
393
|
<hr>
|
405
|
-
<div class="refsect2"
|
394
|
+
<div class="refsect2">
|
406
395
|
<a name="gdk-region-rectangle"></a><h3>gdk_region_rectangle ()</h3>
|
407
|
-
<pre class="programlisting"><a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRegion" title="GdkRegion"><span class="returnvalue">GdkRegion</span></a> * gdk_region_rectangle (<em class="parameter"><code>const <a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRectangle" title="GdkRectangle"><span class="type">GdkRectangle</span></a> *rectangle</code></em>);</pre>
|
396
|
+
<pre class="programlisting"><a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRegion" title="GdkRegion"><span class="returnvalue">GdkRegion</span></a> * gdk_region_rectangle (<em class="parameter"><code>const <a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRectangle" title="struct GdkRectangle"><span class="type">GdkRectangle</span></a> *rectangle</code></em>);</pre>
|
408
397
|
<p>
|
409
398
|
Creates a new region containing the area <em class="parameter"><code>rectangle</code></em>.
|
410
399
|
</p>
|
@@ -413,19 +402,18 @@ Creates a new region containing the area <em class="parameter"><code>rectangle</
|
|
413
402
|
<tbody>
|
414
403
|
<tr>
|
415
404
|
<td><p><span class="term"><em class="parameter"><code>rectangle</code></em> :</span></p></td>
|
416
|
-
<td>a <a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRectangle" title="GdkRectangle"><span class="type">GdkRectangle</span></a>
|
405
|
+
<td>a <a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRectangle" title="struct GdkRectangle"><span class="type">GdkRectangle</span></a>
|
417
406
|
</td>
|
418
407
|
</tr>
|
419
408
|
<tr>
|
420
409
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
421
|
-
<td>
|
422
|
-
</td>
|
410
|
+
<td>a new region</td>
|
423
411
|
</tr>
|
424
412
|
</tbody>
|
425
413
|
</table></div>
|
426
414
|
</div>
|
427
415
|
<hr>
|
428
|
-
<div class="refsect2"
|
416
|
+
<div class="refsect2">
|
429
417
|
<a name="gdk-region-destroy"></a><h3>gdk_region_destroy ()</h3>
|
430
418
|
<pre class="programlisting"><span class="returnvalue">void</span> gdk_region_destroy (<em class="parameter"><code><a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRegion" title="GdkRegion"><span class="type">GdkRegion</span></a> *region</code></em>);</pre>
|
431
419
|
<p>
|
@@ -441,10 +429,10 @@ Destroys a <a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRegio
|
|
441
429
|
</table></div>
|
442
430
|
</div>
|
443
431
|
<hr>
|
444
|
-
<div class="refsect2"
|
432
|
+
<div class="refsect2">
|
445
433
|
<a name="gdk-region-get-clipbox"></a><h3>gdk_region_get_clipbox ()</h3>
|
446
434
|
<pre class="programlisting"><span class="returnvalue">void</span> gdk_region_get_clipbox (<em class="parameter"><code>const <a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRegion" title="GdkRegion"><span class="type">GdkRegion</span></a> *region</code></em>,
|
447
|
-
<em class="parameter"><code><a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRectangle" title="GdkRectangle"><span class="type">GdkRectangle</span></a> *rectangle</code></em>);</pre>
|
435
|
+
<em class="parameter"><code><a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRectangle" title="struct GdkRectangle"><span class="type">GdkRectangle</span></a> *rectangle</code></em>);</pre>
|
448
436
|
<p>
|
449
437
|
Obtains the smallest rectangle which includes the entire <a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRegion" title="GdkRegion"><span class="type">GdkRegion</span></a>.
|
450
438
|
</p>
|
@@ -458,17 +446,16 @@ Obtains the smallest rectangle which includes the entire <a class="link" href="g
|
|
458
446
|
</tr>
|
459
447
|
<tr>
|
460
448
|
<td><p><span class="term"><em class="parameter"><code>rectangle</code></em> :</span></p></td>
|
461
|
-
<td>return location for the clipbox
|
462
|
-
</td>
|
449
|
+
<td>return location for the clipbox</td>
|
463
450
|
</tr>
|
464
451
|
</tbody>
|
465
452
|
</table></div>
|
466
453
|
</div>
|
467
454
|
<hr>
|
468
|
-
<div class="refsect2"
|
455
|
+
<div class="refsect2">
|
469
456
|
<a name="gdk-region-get-rectangles"></a><h3>gdk_region_get_rectangles ()</h3>
|
470
457
|
<pre class="programlisting"><span class="returnvalue">void</span> gdk_region_get_rectangles (<em class="parameter"><code>const <a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRegion" title="GdkRegion"><span class="type">GdkRegion</span></a> *region</code></em>,
|
471
|
-
<em class="parameter"><code><a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRectangle" title="GdkRectangle"><span class="type">GdkRectangle</span></a> **rectangles</code></em>,
|
458
|
+
<em class="parameter"><code><a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRectangle" title="struct GdkRectangle"><span class="type">GdkRectangle</span></a> **rectangles</code></em>,
|
472
459
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *n_rectangles</code></em>);</pre>
|
473
460
|
<p>
|
474
461
|
Obtains the area covered by the region as a list of rectangles.
|
@@ -484,19 +471,18 @@ The array returned in <em class="parameter"><code>rectangles</code></em> must be
|
|
484
471
|
</tr>
|
485
472
|
<tr>
|
486
473
|
<td><p><span class="term"><em class="parameter"><code>rectangles</code></em> :</span></p></td>
|
487
|
-
<td>
|
474
|
+
<td>return location for an array of rectangles. <span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=n_rectangles][<acronym title="Free data container after the code is done."><span class="acronym">transfer container</span></acronym>]</span>
|
488
475
|
</td>
|
489
476
|
</tr>
|
490
477
|
<tr>
|
491
478
|
<td><p><span class="term"><em class="parameter"><code>n_rectangles</code></em> :</span></p></td>
|
492
|
-
<td>length of returned array
|
493
|
-
</td>
|
479
|
+
<td>length of returned array</td>
|
494
480
|
</tr>
|
495
481
|
</tbody>
|
496
482
|
</table></div>
|
497
483
|
</div>
|
498
484
|
<hr>
|
499
|
-
<div class="refsect2"
|
485
|
+
<div class="refsect2">
|
500
486
|
<a name="gdk-region-empty"></a><h3>gdk_region_empty ()</h3>
|
501
487
|
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gdk_region_empty (<em class="parameter"><code>const <a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRegion" title="GdkRegion"><span class="type">GdkRegion</span></a> *region</code></em>);</pre>
|
502
488
|
<p>
|
@@ -512,14 +498,14 @@ Finds out if the <a class="link" href="gdk-Points-Rectangles-and-Regions.html#Gd
|
|
512
498
|
</tr>
|
513
499
|
<tr>
|
514
500
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
515
|
-
<td>
|
516
|
-
</td>
|
501
|
+
<td>
|
502
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>region</code></em> is empty.</td>
|
517
503
|
</tr>
|
518
504
|
</tbody>
|
519
505
|
</table></div>
|
520
506
|
</div>
|
521
507
|
<hr>
|
522
|
-
<div class="refsect2"
|
508
|
+
<div class="refsect2">
|
523
509
|
<a name="gdk-region-equal"></a><h3>gdk_region_equal ()</h3>
|
524
510
|
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gdk_region_equal (<em class="parameter"><code>const <a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRegion" title="GdkRegion"><span class="type">GdkRegion</span></a> *region1</code></em>,
|
525
511
|
<em class="parameter"><code>const <a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRegion" title="GdkRegion"><span class="type">GdkRegion</span></a> *region2</code></em>);</pre>
|
@@ -541,18 +527,18 @@ Finds out if the two regions are the same.
|
|
541
527
|
</tr>
|
542
528
|
<tr>
|
543
529
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
544
|
-
<td>
|
545
|
-
</td>
|
530
|
+
<td>
|
531
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>region1</code></em> and <em class="parameter"><code>region2</code></em> are equal.</td>
|
546
532
|
</tr>
|
547
533
|
</tbody>
|
548
534
|
</table></div>
|
549
535
|
</div>
|
550
536
|
<hr>
|
551
|
-
<div class="refsect2"
|
537
|
+
<div class="refsect2">
|
552
538
|
<a name="gdk-region-rect-equal"></a><h3>gdk_region_rect_equal ()</h3>
|
553
539
|
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gdk_region_rect_equal (<em class="parameter"><code>const <a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRegion" title="GdkRegion"><span class="type">GdkRegion</span></a> *region</code></em>,
|
554
|
-
<em class="parameter"><code>const <a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRectangle" title="GdkRectangle"><span class="type">GdkRectangle</span></a> *rectangle</code></em>);</pre>
|
555
|
-
<div class="warning"
|
540
|
+
<em class="parameter"><code>const <a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRectangle" title="struct GdkRectangle"><span class="type">GdkRectangle</span></a> *rectangle</code></em>);</pre>
|
541
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
556
542
|
<h3 class="title">Warning</h3>
|
557
543
|
<p><code class="literal">gdk_region_rect_equal</code> has been deprecated since version 2.22 and should not be used in newly-written code. Use <code class="function">gdk_region_new_rect()</code> and <a class="link" href="gdk-Points-Rectangles-and-Regions.html#gdk-region-equal" title="gdk_region_equal ()"><code class="function">gdk_region_equal()</code></a> to
|
558
544
|
achieve the same effect.</p>
|
@@ -570,21 +556,20 @@ Finds out if a regions is the same as a rectangle.
|
|
570
556
|
</tr>
|
571
557
|
<tr>
|
572
558
|
<td><p><span class="term"><em class="parameter"><code>rectangle</code></em> :</span></p></td>
|
573
|
-
<td>a <a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRectangle" title="GdkRectangle"><span class="type">GdkRectangle</span></a>
|
559
|
+
<td>a <a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRectangle" title="struct GdkRectangle"><span class="type">GdkRectangle</span></a>
|
574
560
|
</td>
|
575
561
|
</tr>
|
576
562
|
<tr>
|
577
563
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
578
|
-
<td>
|
579
|
-
|
580
|
-
</td>
|
564
|
+
<td>
|
565
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>region</code></em> and <em class="parameter"><code>rectangle</code></em> are equal.</td>
|
581
566
|
</tr>
|
582
567
|
</tbody>
|
583
568
|
</table></div>
|
584
569
|
<p class="since">Since 2.18</p>
|
585
570
|
</div>
|
586
571
|
<hr>
|
587
|
-
<div class="refsect2"
|
572
|
+
<div class="refsect2">
|
588
573
|
<a name="gdk-region-point-in"></a><h3>gdk_region_point_in ()</h3>
|
589
574
|
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gdk_region_point_in (<em class="parameter"><code>const <a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRegion" title="GdkRegion"><span class="type">GdkRegion</span></a> *region</code></em>,
|
590
575
|
<em class="parameter"><code><span class="type">int</span> x</code></em>,
|
@@ -602,27 +587,25 @@ Finds out if a point is in a region.
|
|
602
587
|
</tr>
|
603
588
|
<tr>
|
604
589
|
<td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
|
605
|
-
<td>the x coordinate of a point
|
606
|
-
</td>
|
590
|
+
<td>the x coordinate of a point</td>
|
607
591
|
</tr>
|
608
592
|
<tr>
|
609
593
|
<td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
|
610
|
-
<td>the y coordinate of a point
|
611
|
-
</td>
|
594
|
+
<td>the y coordinate of a point</td>
|
612
595
|
</tr>
|
613
596
|
<tr>
|
614
597
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
615
|
-
<td>
|
616
|
-
</td>
|
598
|
+
<td>
|
599
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the point is in <em class="parameter"><code>region</code></em>.</td>
|
617
600
|
</tr>
|
618
601
|
</tbody>
|
619
602
|
</table></div>
|
620
603
|
</div>
|
621
604
|
<hr>
|
622
|
-
<div class="refsect2"
|
605
|
+
<div class="refsect2">
|
623
606
|
<a name="gdk-region-rect-in"></a><h3>gdk_region_rect_in ()</h3>
|
624
607
|
<pre class="programlisting"><a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkOverlapType" title="enum GdkOverlapType"><span class="returnvalue">GdkOverlapType</span></a> gdk_region_rect_in (<em class="parameter"><code>const <a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRegion" title="GdkRegion"><span class="type">GdkRegion</span></a> *region</code></em>,
|
625
|
-
<em class="parameter"><code>const <a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRectangle" title="GdkRectangle"><span class="type">GdkRectangle</span></a> *rectangle</code></em>);</pre>
|
608
|
+
<em class="parameter"><code>const <a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRectangle" title="struct GdkRectangle"><span class="type">GdkRectangle</span></a> *rectangle</code></em>);</pre>
|
626
609
|
<p>
|
627
610
|
Tests whether a rectangle is within a region.
|
628
611
|
</p>
|
@@ -631,26 +614,24 @@ Tests whether a rectangle is within a region.
|
|
631
614
|
<tbody>
|
632
615
|
<tr>
|
633
616
|
<td><p><span class="term"><em class="parameter"><code>region</code></em> :</span></p></td>
|
634
|
-
<td>a <a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRegion" title="GdkRegion"><span class="type">GdkRegion</span></a
|
635
|
-
</td>
|
617
|
+
<td>a <a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRegion" title="GdkRegion"><span class="type">GdkRegion</span></a>.</td>
|
636
618
|
</tr>
|
637
619
|
<tr>
|
638
620
|
<td><p><span class="term"><em class="parameter"><code>rectangle</code></em> :</span></p></td>
|
639
|
-
<td>a <a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRectangle" title="GdkRectangle"><span class="type">GdkRectangle</span></a
|
640
|
-
</td>
|
621
|
+
<td>a <a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRectangle" title="struct GdkRectangle"><span class="type">GdkRectangle</span></a>.</td>
|
641
622
|
</tr>
|
642
623
|
<tr>
|
643
624
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
644
|
-
<td>
|
645
|
-
|
646
|
-
|
647
|
-
</td>
|
625
|
+
<td>
|
626
|
+
<a class="link" href="gdk-Points-Rectangles-and-Regions.html#GDK-OVERLAP-RECTANGLE-IN:CAPS"><code class="literal">GDK_OVERLAP_RECTANGLE_IN</code></a>, <a class="link" href="gdk-Points-Rectangles-and-Regions.html#GDK-OVERLAP-RECTANGLE-OUT:CAPS"><code class="literal">GDK_OVERLAP_RECTANGLE_OUT</code></a>, or
|
627
|
+
<a class="link" href="gdk-Points-Rectangles-and-Regions.html#GDK-OVERLAP-RECTANGLE-PART:CAPS"><code class="literal">GDK_OVERLAP_RECTANGLE_PART</code></a>, depending on whether the rectangle is inside,
|
628
|
+
outside, or partly inside the <a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRegion" title="GdkRegion"><span class="type">GdkRegion</span></a>, respectively.</td>
|
648
629
|
</tr>
|
649
630
|
</tbody>
|
650
631
|
</table></div>
|
651
632
|
</div>
|
652
633
|
<hr>
|
653
|
-
<div class="refsect2"
|
634
|
+
<div class="refsect2">
|
654
635
|
<a name="GdkOverlapType"></a><h3>enum GdkOverlapType</h3>
|
655
636
|
<pre class="programlisting">typedef enum
|
656
637
|
{
|
@@ -684,7 +665,7 @@ Specifies the possible values returned by <a class="link" href="gdk-Points-Recta
|
|
684
665
|
</table></div>
|
685
666
|
</div>
|
686
667
|
<hr>
|
687
|
-
<div class="refsect2"
|
668
|
+
<div class="refsect2">
|
688
669
|
<a name="gdk-region-offset"></a><h3>gdk_region_offset ()</h3>
|
689
670
|
<pre class="programlisting"><span class="returnvalue">void</span> gdk_region_offset (<em class="parameter"><code><a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRegion" title="GdkRegion"><span class="type">GdkRegion</span></a> *region</code></em>,
|
690
671
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> dx</code></em>,
|
@@ -702,24 +683,22 @@ Moves a region the specified distance.
|
|
702
683
|
</tr>
|
703
684
|
<tr>
|
704
685
|
<td><p><span class="term"><em class="parameter"><code>dx</code></em> :</span></p></td>
|
705
|
-
<td>the distance to move the region horizontally
|
706
|
-
</td>
|
686
|
+
<td>the distance to move the region horizontally</td>
|
707
687
|
</tr>
|
708
688
|
<tr>
|
709
689
|
<td><p><span class="term"><em class="parameter"><code>dy</code></em> :</span></p></td>
|
710
|
-
<td>the distance to move the region vertically
|
711
|
-
</td>
|
690
|
+
<td>the distance to move the region vertically</td>
|
712
691
|
</tr>
|
713
692
|
</tbody>
|
714
693
|
</table></div>
|
715
694
|
</div>
|
716
695
|
<hr>
|
717
|
-
<div class="refsect2"
|
696
|
+
<div class="refsect2">
|
718
697
|
<a name="gdk-region-shrink"></a><h3>gdk_region_shrink ()</h3>
|
719
698
|
<pre class="programlisting"><span class="returnvalue">void</span> gdk_region_shrink (<em class="parameter"><code><a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRegion" title="GdkRegion"><span class="type">GdkRegion</span></a> *region</code></em>,
|
720
699
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> dx</code></em>,
|
721
700
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> dy</code></em>);</pre>
|
722
|
-
<div class="warning"
|
701
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
723
702
|
<h3 class="title">Warning</h3>
|
724
703
|
<p><code class="literal">gdk_region_shrink</code> has been deprecated since version 2.22 and should not be used in newly-written code. There is no replacement for this function.</p>
|
725
704
|
</div>
|
@@ -737,22 +716,20 @@ Positive values shrink the region. Negative values expand it.
|
|
737
716
|
</tr>
|
738
717
|
<tr>
|
739
718
|
<td><p><span class="term"><em class="parameter"><code>dx</code></em> :</span></p></td>
|
740
|
-
<td>the number of pixels to shrink the region horizontally
|
741
|
-
</td>
|
719
|
+
<td>the number of pixels to shrink the region horizontally</td>
|
742
720
|
</tr>
|
743
721
|
<tr>
|
744
722
|
<td><p><span class="term"><em class="parameter"><code>dy</code></em> :</span></p></td>
|
745
|
-
<td>the number of pixels to shrink the region vertically
|
746
|
-
</td>
|
723
|
+
<td>the number of pixels to shrink the region vertically</td>
|
747
724
|
</tr>
|
748
725
|
</tbody>
|
749
726
|
</table></div>
|
750
727
|
</div>
|
751
728
|
<hr>
|
752
|
-
<div class="refsect2"
|
729
|
+
<div class="refsect2">
|
753
730
|
<a name="gdk-region-union-with-rect"></a><h3>gdk_region_union_with_rect ()</h3>
|
754
731
|
<pre class="programlisting"><span class="returnvalue">void</span> gdk_region_union_with_rect (<em class="parameter"><code><a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRegion" title="GdkRegion"><span class="type">GdkRegion</span></a> *region</code></em>,
|
755
|
-
<em class="parameter"><code>const <a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRectangle" title="GdkRectangle"><span class="type">GdkRectangle</span></a> *rect</code></em>);</pre>
|
732
|
+
<em class="parameter"><code>const <a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRectangle" title="struct GdkRectangle"><span class="type">GdkRectangle</span></a> *rect</code></em>);</pre>
|
756
733
|
<p>
|
757
734
|
Sets the area of <em class="parameter"><code>region</code></em> to the union of the areas of <em class="parameter"><code>region</code></em> and
|
758
735
|
<em class="parameter"><code>rect</code></em>. The resulting area is the set of pixels contained in
|
@@ -763,19 +740,17 @@ either <em class="parameter"><code>region</code></em> or <em class="parameter"><
|
|
763
740
|
<tbody>
|
764
741
|
<tr>
|
765
742
|
<td><p><span class="term"><em class="parameter"><code>region</code></em> :</span></p></td>
|
766
|
-
<td>a <a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRegion" title="GdkRegion"><span class="type">GdkRegion</span></a
|
767
|
-
</td>
|
743
|
+
<td>a <a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRegion" title="GdkRegion"><span class="type">GdkRegion</span></a>.</td>
|
768
744
|
</tr>
|
769
745
|
<tr>
|
770
746
|
<td><p><span class="term"><em class="parameter"><code>rect</code></em> :</span></p></td>
|
771
|
-
<td>a <a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRectangle" title="GdkRectangle"><span class="type">GdkRectangle</span></a
|
772
|
-
</td>
|
747
|
+
<td>a <a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRectangle" title="struct GdkRectangle"><span class="type">GdkRectangle</span></a>.</td>
|
773
748
|
</tr>
|
774
749
|
</tbody>
|
775
750
|
</table></div>
|
776
751
|
</div>
|
777
752
|
<hr>
|
778
|
-
<div class="refsect2"
|
753
|
+
<div class="refsect2">
|
779
754
|
<a name="gdk-region-intersect"></a><h3>gdk_region_intersect ()</h3>
|
780
755
|
<pre class="programlisting"><span class="returnvalue">void</span> gdk_region_intersect (<em class="parameter"><code><a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRegion" title="GdkRegion"><span class="type">GdkRegion</span></a> *source1</code></em>,
|
781
756
|
<em class="parameter"><code>const <a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRegion" title="GdkRegion"><span class="type">GdkRegion</span></a> *source2</code></em>);</pre>
|
@@ -801,7 +776,7 @@ both <em class="parameter"><code>source1</code></em> and <em class="parameter"><
|
|
801
776
|
</table></div>
|
802
777
|
</div>
|
803
778
|
<hr>
|
804
|
-
<div class="refsect2"
|
779
|
+
<div class="refsect2">
|
805
780
|
<a name="gdk-region-union"></a><h3>gdk_region_union ()</h3>
|
806
781
|
<pre class="programlisting"><span class="returnvalue">void</span> gdk_region_union (<em class="parameter"><code><a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRegion" title="GdkRegion"><span class="type">GdkRegion</span></a> *source1</code></em>,
|
807
782
|
<em class="parameter"><code>const <a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRegion" title="GdkRegion"><span class="type">GdkRegion</span></a> *source2</code></em>);</pre>
|
@@ -820,14 +795,14 @@ either <em class="parameter"><code>source1</code></em> or <em class="parameter">
|
|
820
795
|
</tr>
|
821
796
|
<tr>
|
822
797
|
<td><p><span class="term"><em class="parameter"><code>source2</code></em> :</span></p></td>
|
823
|
-
<td>a <a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRegion" title="GdkRegion"><span class="type">GdkRegion</span></a>
|
798
|
+
<td>a <a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRegion" title="GdkRegion"><span class="type">GdkRegion</span></a>
|
824
799
|
</td>
|
825
800
|
</tr>
|
826
801
|
</tbody>
|
827
802
|
</table></div>
|
828
803
|
</div>
|
829
804
|
<hr>
|
830
|
-
<div class="refsect2"
|
805
|
+
<div class="refsect2">
|
831
806
|
<a name="gdk-region-subtract"></a><h3>gdk_region_subtract ()</h3>
|
832
807
|
<pre class="programlisting"><span class="returnvalue">void</span> gdk_region_subtract (<em class="parameter"><code><a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRegion" title="GdkRegion"><span class="type">GdkRegion</span></a> *source1</code></em>,
|
833
808
|
<em class="parameter"><code>const <a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRegion" title="GdkRegion"><span class="type">GdkRegion</span></a> *source2</code></em>);</pre>
|
@@ -852,7 +827,7 @@ area is the set of pixels contained in <em class="parameter"><code>source1</code
|
|
852
827
|
</table></div>
|
853
828
|
</div>
|
854
829
|
<hr>
|
855
|
-
<div class="refsect2"
|
830
|
+
<div class="refsect2">
|
856
831
|
<a name="gdk-region-xor"></a><h3>gdk_region_xor ()</h3>
|
857
832
|
<pre class="programlisting"><span class="returnvalue">void</span> gdk_region_xor (<em class="parameter"><code><a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRegion" title="GdkRegion"><span class="type">GdkRegion</span></a> *source1</code></em>,
|
858
833
|
<em class="parameter"><code>const <a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRegion" title="GdkRegion"><span class="type">GdkRegion</span></a> *source2</code></em>);</pre>
|
@@ -878,13 +853,13 @@ or the other of the two sources but not in both.
|
|
878
853
|
</table></div>
|
879
854
|
</div>
|
880
855
|
<hr>
|
881
|
-
<div class="refsect2"
|
882
|
-
<a name="GdkSpan"></a><h3>GdkSpan</h3>
|
883
|
-
<pre class="programlisting">
|
856
|
+
<div class="refsect2">
|
857
|
+
<a name="GdkSpan"></a><h3>struct GdkSpan</h3>
|
858
|
+
<pre class="programlisting">struct GdkSpan {
|
884
859
|
gint x;
|
885
860
|
gint y;
|
886
861
|
gint width;
|
887
|
-
}
|
862
|
+
};
|
888
863
|
</pre>
|
889
864
|
<p>
|
890
865
|
A GdkSpan represents a horizontal line of pixels starting
|
@@ -895,28 +870,25 @@ at the pixel with coordinates <em class="parameter"><code>x</code></em>, <em cla
|
|
895
870
|
<tbody>
|
896
871
|
<tr>
|
897
872
|
<td><p><span class="term"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> <em class="structfield"><code><a name="GdkSpan.x"></a>x</code></em>;</span></p></td>
|
898
|
-
<td>x coordinate of the first pixel
|
899
|
-
</td>
|
873
|
+
<td>x coordinate of the first pixel.</td>
|
900
874
|
</tr>
|
901
875
|
<tr>
|
902
876
|
<td><p><span class="term"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> <em class="structfield"><code><a name="GdkSpan.y"></a>y</code></em>;</span></p></td>
|
903
|
-
<td>y coordinate of the first pixel
|
904
|
-
</td>
|
877
|
+
<td>y coordinate of the first pixel.</td>
|
905
878
|
</tr>
|
906
879
|
<tr>
|
907
880
|
<td><p><span class="term"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> <em class="structfield"><code><a name="GdkSpan.width"></a>width</code></em>;</span></p></td>
|
908
|
-
<td>number of pixels in the span
|
909
|
-
</td>
|
881
|
+
<td>number of pixels in the span.</td>
|
910
882
|
</tr>
|
911
883
|
</tbody>
|
912
884
|
</table></div>
|
913
885
|
</div>
|
914
886
|
<hr>
|
915
|
-
<div class="refsect2"
|
887
|
+
<div class="refsect2">
|
916
888
|
<a name="GdkSpanFunc"></a><h3>GdkSpanFunc ()</h3>
|
917
|
-
<pre class="programlisting"><span class="returnvalue">void</span> (*GdkSpanFunc) (<em class="parameter"><code><a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkSpan" title="GdkSpan"><span class="type">GdkSpan</span></a> *span</code></em>,
|
889
|
+
<pre class="programlisting"><span class="returnvalue">void</span> (*GdkSpanFunc) (<em class="parameter"><code><a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkSpan" title="struct GdkSpan"><span class="type">GdkSpan</span></a> *span</code></em>,
|
918
890
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre>
|
919
|
-
<div class="warning"
|
891
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
920
892
|
<h3 class="title">Warning</h3>
|
921
893
|
<p><code class="literal">GdkSpanFunc</code> is deprecated and should not be used in newly-written code.</p>
|
922
894
|
</div>
|
@@ -929,27 +901,25 @@ This defines the type of the function passed to
|
|
929
901
|
<tbody>
|
930
902
|
<tr>
|
931
903
|
<td><p><span class="term"><em class="parameter"><code>span</code></em> :</span></p></td>
|
932
|
-
<td>a <a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkSpan" title="GdkSpan"><span class="type">GdkSpan</span></a
|
933
|
-
</td>
|
904
|
+
<td>a <a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkSpan" title="struct GdkSpan"><span class="type">GdkSpan</span></a>.</td>
|
934
905
|
</tr>
|
935
906
|
<tr>
|
936
907
|
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
|
937
|
-
<td>the user data passed to <a class="link" href="gdk-Points-Rectangles-and-Regions.html#gdk-region-spans-intersect-foreach" title="gdk_region_spans_intersect_foreach ()"><code class="function">gdk_region_spans_intersect_foreach()</code></a
|
938
|
-
</td>
|
908
|
+
<td>the user data passed to <a class="link" href="gdk-Points-Rectangles-and-Regions.html#gdk-region-spans-intersect-foreach" title="gdk_region_spans_intersect_foreach ()"><code class="function">gdk_region_spans_intersect_foreach()</code></a>.</td>
|
939
909
|
</tr>
|
940
910
|
</tbody>
|
941
911
|
</table></div>
|
942
912
|
</div>
|
943
913
|
<hr>
|
944
|
-
<div class="refsect2"
|
914
|
+
<div class="refsect2">
|
945
915
|
<a name="gdk-region-spans-intersect-foreach"></a><h3>gdk_region_spans_intersect_foreach ()</h3>
|
946
916
|
<pre class="programlisting"><span class="returnvalue">void</span> gdk_region_spans_intersect_foreach (<em class="parameter"><code><a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRegion" title="GdkRegion"><span class="type">GdkRegion</span></a> *region</code></em>,
|
947
|
-
<em class="parameter"><code>const <a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkSpan" title="GdkSpan"><span class="type">GdkSpan</span></a> *spans</code></em>,
|
917
|
+
<em class="parameter"><code>const <a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkSpan" title="struct GdkSpan"><span class="type">GdkSpan</span></a> *spans</code></em>,
|
948
918
|
<em class="parameter"><code><span class="type">int</span> n_spans</code></em>,
|
949
919
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> sorted</code></em>,
|
950
920
|
<em class="parameter"><code><a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkSpanFunc" title="GdkSpanFunc ()"><span class="type">GdkSpanFunc</span></a> function</code></em>,
|
951
921
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre>
|
952
|
-
<div class="warning"
|
922
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
953
923
|
<h3 class="title">Warning</h3>
|
954
924
|
<p><code class="literal">gdk_region_spans_intersect_foreach</code> has been deprecated since version 2.22 and should not be used in newly-written code. There is no replacement.</p>
|
955
925
|
</div>
|
@@ -977,13 +947,11 @@ Calls a function on each span in the intersection of <em class="parameter"><code
|
|
977
947
|
<tr>
|
978
948
|
<td><p><span class="term"><em class="parameter"><code>sorted</code></em> :</span></p></td>
|
979
949
|
<td>
|
980
|
-
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>spans</code></em> is sorted wrt. the y coordinate
|
981
|
-
</td>
|
950
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>spans</code></em> is sorted wrt. the y coordinate</td>
|
982
951
|
</tr>
|
983
952
|
<tr>
|
984
953
|
<td><p><span class="term"><em class="parameter"><code>function</code></em> :</span></p></td>
|
985
|
-
<td>function to call on each span in the intersection
|
986
|
-
</td>
|
954
|
+
<td>function to call on each span in the intersection</td>
|
987
955
|
</tr>
|
988
956
|
<tr>
|
989
957
|
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
|
@@ -997,6 +965,6 @@ Calls a function on each span in the intersection of <em class="parameter"><code
|
|
997
965
|
</div>
|
998
966
|
<div class="footer">
|
999
967
|
<hr>
|
1000
|
-
Generated by GTK-Doc V1.
|
968
|
+
Generated by GTK-Doc V1.16.1</div>
|
1001
969
|
</body>
|
1002
970
|
</html>
|