gtk2 0.90.8-x86-mingw32 → 0.90.9-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- 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="gdk-Graphics-Contexts.html" title="Graphics Contexts">
|
10
10
|
<link rel="next" href="gdk-Bitmaps-and-Pixmaps.html" title="Bitmaps and Pixmaps">
|
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">
|
@@ -28,7 +28,7 @@
|
|
28
28
|
<a href="#gdk-Drawing-Primitives.object-hierarchy" class="shortcut">Object Hierarchy</a>
|
29
29
|
</td></tr>
|
30
30
|
</table>
|
31
|
-
<div class="refentry"
|
31
|
+
<div class="refentry">
|
32
32
|
<a name="gdk-Drawing-Primitives"></a><div class="titlepage"></div>
|
33
33
|
<div class="refnamediv"><table width="100%"><tr>
|
34
34
|
<td valign="top">
|
@@ -37,13 +37,13 @@
|
|
37
37
|
</td>
|
38
38
|
<td valign="top" align="right"></td>
|
39
39
|
</tr></table></div>
|
40
|
-
<div class="refsynopsisdiv"
|
40
|
+
<div class="refsynopsisdiv">
|
41
41
|
<a name="gdk-Drawing-Primitives.synopsis"></a><h2>Synopsis</h2>
|
42
42
|
<a name="GdkDrawable"></a><pre class="synopsis">
|
43
43
|
#include <gdk/gdk.h>
|
44
44
|
|
45
45
|
<a class="link" href="gdk-Drawing-Primitives.html#GdkDrawable-struct" title="GdkDrawable">GdkDrawable</a>;
|
46
|
-
<a class="link" href="gdk-Drawing-Primitives.html#GdkDrawable"><span class="returnvalue">GdkDrawable</span></a
|
46
|
+
<a class="link" href="gdk-Drawing-Primitives.html#GdkDrawable"><span class="returnvalue">GdkDrawable</span></a> * <a class="link" href="gdk-Drawing-Primitives.html#gdk-drawable-ref" title="gdk_drawable_ref ()">gdk_drawable_ref</a> (<em class="parameter"><code><a class="link" href="gdk-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a> *drawable</code></em>);
|
47
47
|
<span class="returnvalue">void</span> <a class="link" href="gdk-Drawing-Primitives.html#gdk-drawable-unref" title="gdk_drawable_unref ()">gdk_drawable_unref</a> (<em class="parameter"><code><a class="link" href="gdk-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a> *drawable</code></em>);
|
48
48
|
<span class="returnvalue">void</span> <a class="link" href="gdk-Drawing-Primitives.html#gdk-drawable-set-data" title="gdk_drawable_set_data ()">gdk_drawable_set_data</a> (<em class="parameter"><code><a class="link" href="gdk-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a> *drawable</code></em>,
|
49
49
|
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>,
|
@@ -51,12 +51,12 @@
|
|
51
51
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy_func</code></em>);
|
52
52
|
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> <a class="link" href="gdk-Drawing-Primitives.html#gdk-drawable-get-data" title="gdk_drawable_get_data ()">gdk_drawable_get_data</a> (<em class="parameter"><code><a class="link" href="gdk-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a> *drawable</code></em>,
|
53
53
|
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>);
|
54
|
-
<a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="returnvalue">GdkDisplay</span></a
|
55
|
-
<a class="link" href="GdkScreen.html" title="GdkScreen"><span class="returnvalue">GdkScreen</span></a
|
56
|
-
<a class="link" href="gdk-Visuals.html#GdkVisual" title="GdkVisual"><span class="returnvalue">GdkVisual</span></a
|
54
|
+
<a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="returnvalue">GdkDisplay</span></a> * <a class="link" href="gdk-Drawing-Primitives.html#gdk-drawable-get-display" title="gdk_drawable_get_display ()">gdk_drawable_get_display</a> (<em class="parameter"><code><a class="link" href="gdk-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a> *drawable</code></em>);
|
55
|
+
<a class="link" href="GdkScreen.html" title="GdkScreen"><span class="returnvalue">GdkScreen</span></a> * <a class="link" href="gdk-Drawing-Primitives.html#gdk-drawable-get-screen" title="gdk_drawable_get_screen ()">gdk_drawable_get_screen</a> (<em class="parameter"><code><a class="link" href="gdk-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a> *drawable</code></em>);
|
56
|
+
<a class="link" href="gdk-Visuals.html#GdkVisual" title="GdkVisual"><span class="returnvalue">GdkVisual</span></a> * <a class="link" href="gdk-Drawing-Primitives.html#gdk-drawable-get-visual" title="gdk_drawable_get_visual ()">gdk_drawable_get_visual</a> (<em class="parameter"><code><a class="link" href="gdk-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a> *drawable</code></em>);
|
57
57
|
<span class="returnvalue">void</span> <a class="link" href="gdk-Drawing-Primitives.html#gdk-drawable-set-colormap" title="gdk_drawable_set_colormap ()">gdk_drawable_set_colormap</a> (<em class="parameter"><code><a class="link" href="gdk-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a> *drawable</code></em>,
|
58
58
|
<em class="parameter"><code><a class="link" href="gdk-Colormaps-and-Colors.html#GdkColormap" title="GdkColormap"><span class="type">GdkColormap</span></a> *colormap</code></em>);
|
59
|
-
<a class="link" href="gdk-Colormaps-and-Colors.html#GdkColormap" title="GdkColormap"><span class="returnvalue">GdkColormap</span></a
|
59
|
+
<a class="link" href="gdk-Colormaps-and-Colors.html#GdkColormap" title="GdkColormap"><span class="returnvalue">GdkColormap</span></a> * <a class="link" href="gdk-Drawing-Primitives.html#gdk-drawable-get-colormap" title="gdk_drawable_get_colormap ()">gdk_drawable_get_colormap</a> (<em class="parameter"><code><a class="link" href="gdk-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a> *drawable</code></em>);
|
60
60
|
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> <a class="link" href="gdk-Drawing-Primitives.html#gdk-drawable-get-depth" title="gdk_drawable_get_depth ()">gdk_drawable_get_depth</a> (<em class="parameter"><code><a class="link" href="gdk-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a> *drawable</code></em>);
|
61
61
|
<span class="returnvalue">void</span> <a class="link" href="gdk-Drawing-Primitives.html#gdk-drawable-get-size" title="gdk_drawable_get_size ()">gdk_drawable_get_size</a> (<em class="parameter"><code><a class="link" href="gdk-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a> *drawable</code></em>,
|
62
62
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *width</code></em>,
|
@@ -70,7 +70,7 @@
|
|
70
70
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y</code></em>);
|
71
71
|
<span class="returnvalue">void</span> <a class="link" href="gdk-Drawing-Primitives.html#gdk-draw-points" title="gdk_draw_points ()">gdk_draw_points</a> (<em class="parameter"><code><a class="link" href="gdk-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a> *drawable</code></em>,
|
72
72
|
<em class="parameter"><code><a class="link" href="gdk-Graphics-Contexts.html#GdkGC"><span class="type">GdkGC</span></a> *gc</code></em>,
|
73
|
-
<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>,
|
73
|
+
<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>,
|
74
74
|
<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>);
|
75
75
|
<span class="returnvalue">void</span> <a class="link" href="gdk-Drawing-Primitives.html#gdk-draw-line" title="gdk_draw_line ()">gdk_draw_line</a> (<em class="parameter"><code><a class="link" href="gdk-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a> *drawable</code></em>,
|
76
76
|
<em class="parameter"><code><a class="link" href="gdk-Graphics-Contexts.html#GdkGC"><span class="type">GdkGC</span></a> *gc</code></em>,
|
@@ -80,7 +80,7 @@
|
|
80
80
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y2_</code></em>);
|
81
81
|
<span class="returnvalue">void</span> <a class="link" href="gdk-Drawing-Primitives.html#gdk-draw-lines" title="gdk_draw_lines ()">gdk_draw_lines</a> (<em class="parameter"><code><a class="link" href="gdk-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a> *drawable</code></em>,
|
82
82
|
<em class="parameter"><code><a class="link" href="gdk-Graphics-Contexts.html#GdkGC"><span class="type">GdkGC</span></a> *gc</code></em>,
|
83
|
-
<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>,
|
83
|
+
<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>,
|
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> n_points</code></em>);
|
85
85
|
<span class="returnvalue">void</span> <a class="link" href="gdk-Drawing-Primitives.html#gdk-draw-pixbuf" title="gdk_draw_pixbuf ()">gdk_draw_pixbuf</a> (<em class="parameter"><code><a class="link" href="gdk-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a> *drawable</code></em>,
|
86
86
|
<em class="parameter"><code><a class="link" href="gdk-Graphics-Contexts.html#GdkGC"><span class="type">GdkGC</span></a> *gc</code></em>,
|
@@ -96,9 +96,9 @@
|
|
96
96
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y_dither</code></em>);
|
97
97
|
<span class="returnvalue">void</span> <a class="link" href="gdk-Drawing-Primitives.html#gdk-draw-segments" title="gdk_draw_segments ()">gdk_draw_segments</a> (<em class="parameter"><code><a class="link" href="gdk-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a> *drawable</code></em>,
|
98
98
|
<em class="parameter"><code><a class="link" href="gdk-Graphics-Contexts.html#GdkGC"><span class="type">GdkGC</span></a> *gc</code></em>,
|
99
|
-
<em class="parameter"><code>const <a class="link" href="gdk-Drawing-Primitives.html#GdkSegment" title="GdkSegment"><span class="type">GdkSegment</span></a> *segs</code></em>,
|
99
|
+
<em class="parameter"><code>const <a class="link" href="gdk-Drawing-Primitives.html#GdkSegment" title="struct GdkSegment"><span class="type">GdkSegment</span></a> *segs</code></em>,
|
100
100
|
<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_segs</code></em>);
|
101
|
-
|
101
|
+
struct <a class="link" href="gdk-Drawing-Primitives.html#GdkSegment" title="struct GdkSegment">GdkSegment</a>;
|
102
102
|
<span class="returnvalue">void</span> <a class="link" href="gdk-Drawing-Primitives.html#gdk-draw-rectangle" title="gdk_draw_rectangle ()">gdk_draw_rectangle</a> (<em class="parameter"><code><a class="link" href="gdk-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a> *drawable</code></em>,
|
103
103
|
<em class="parameter"><code><a class="link" href="gdk-Graphics-Contexts.html#GdkGC"><span class="type">GdkGC</span></a> *gc</code></em>,
|
104
104
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> filled</code></em>,
|
@@ -118,13 +118,13 @@
|
|
118
118
|
<span class="returnvalue">void</span> <a class="link" href="gdk-Drawing-Primitives.html#gdk-draw-polygon" title="gdk_draw_polygon ()">gdk_draw_polygon</a> (<em class="parameter"><code><a class="link" href="gdk-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a> *drawable</code></em>,
|
119
119
|
<em class="parameter"><code><a class="link" href="gdk-Graphics-Contexts.html#GdkGC"><span class="type">GdkGC</span></a> *gc</code></em>,
|
120
120
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> filled</code></em>,
|
121
|
-
<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>,
|
121
|
+
<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>,
|
122
122
|
<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>);
|
123
123
|
<span class="returnvalue">void</span> <a class="link" href="gdk-Drawing-Primitives.html#gdk-draw-trapezoids" title="gdk_draw_trapezoids ()">gdk_draw_trapezoids</a> (<em class="parameter"><code><a class="link" href="gdk-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a> *drawable</code></em>,
|
124
124
|
<em class="parameter"><code><a class="link" href="gdk-Graphics-Contexts.html#GdkGC"><span class="type">GdkGC</span></a> *gc</code></em>,
|
125
|
-
<em class="parameter"><code>const <a class="link" href="gdk-Drawing-Primitives.html#GdkTrapezoid" title="GdkTrapezoid"><span class="type">GdkTrapezoid</span></a> *trapezoids</code></em>,
|
125
|
+
<em class="parameter"><code>const <a class="link" href="gdk-Drawing-Primitives.html#GdkTrapezoid" title="struct GdkTrapezoid"><span class="type">GdkTrapezoid</span></a> *trapezoids</code></em>,
|
126
126
|
<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_trapezoids</code></em>);
|
127
|
-
|
127
|
+
struct <a class="link" href="gdk-Drawing-Primitives.html#GdkTrapezoid" title="struct GdkTrapezoid">GdkTrapezoid</a>;
|
128
128
|
<span class="returnvalue">void</span> <a class="link" href="gdk-Drawing-Primitives.html#gdk-draw-glyphs" title="gdk_draw_glyphs ()">gdk_draw_glyphs</a> (<em class="parameter"><code><a class="link" href="gdk-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a> *drawable</code></em>,
|
129
129
|
<em class="parameter"><code><a class="link" href="gdk-Graphics-Contexts.html#GdkGC"><span class="type">GdkGC</span></a> *gc</code></em>,
|
130
130
|
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/pango/pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
|
@@ -203,7 +203,7 @@
|
|
203
203
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> ydest</code></em>,
|
204
204
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> width</code></em>,
|
205
205
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> height</code></em>);
|
206
|
-
<a class="link" href="gdk-Images.html#GdkImage" title="GdkImage"><span class="returnvalue">GdkImage</span></a
|
206
|
+
<a class="link" href="gdk-Images.html#GdkImage" title="GdkImage"><span class="returnvalue">GdkImage</span></a> * <a class="link" href="gdk-Drawing-Primitives.html#gdk-drawable-get-image" title="gdk_drawable_get_image ()">gdk_drawable_get_image</a> (<em class="parameter"><code><a class="link" href="gdk-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a> *drawable</code></em>,
|
207
207
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x</code></em>,
|
208
208
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y</code></em>,
|
209
209
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> width</code></em>,
|
@@ -218,7 +218,7 @@
|
|
218
218
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> height</code></em>);
|
219
219
|
</pre>
|
220
220
|
</div>
|
221
|
-
<div class="refsect1"
|
221
|
+
<div class="refsect1">
|
222
222
|
<a name="gdk-Drawing-Primitives.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
223
223
|
<pre class="synopsis">
|
224
224
|
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
|
@@ -227,7 +227,7 @@
|
|
227
227
|
+----<a class="link" href="gdk-Bitmaps-and-Pixmaps.html#GdkPixmap">GdkPixmap</a>
|
228
228
|
</pre>
|
229
229
|
</div>
|
230
|
-
<div class="refsect1"
|
230
|
+
<div class="refsect1">
|
231
231
|
<a name="gdk-Drawing-Primitives.description"></a><h2>Description</h2>
|
232
232
|
<p>
|
233
233
|
These functions provide support for drawing points, lines, arcs and text
|
@@ -250,9 +250,9 @@ way to obtain these structures is via <a href="http://library.gnome.org/devel/gt
|
|
250
250
|
<a href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html#gtk-widget-create-pango-layout"><code class="function">gtk_widget_create_pango_layout()</code></a>.
|
251
251
|
</p>
|
252
252
|
</div>
|
253
|
-
<div class="refsect1"
|
253
|
+
<div class="refsect1">
|
254
254
|
<a name="gdk-Drawing-Primitives.details"></a><h2>Details</h2>
|
255
|
-
<div class="refsect2"
|
255
|
+
<div class="refsect2">
|
256
256
|
<a name="GdkDrawable-struct"></a><h3>GdkDrawable</h3>
|
257
257
|
<pre class="programlisting">typedef struct _GdkDrawable GdkDrawable;</pre>
|
258
258
|
<p>
|
@@ -262,10 +262,10 @@ or a <a class="link" href="gdk-Windows.html#GdkWindow"><span class="type">GdkWin
|
|
262
262
|
</p>
|
263
263
|
</div>
|
264
264
|
<hr>
|
265
|
-
<div class="refsect2"
|
265
|
+
<div class="refsect2">
|
266
266
|
<a name="gdk-drawable-ref"></a><h3>gdk_drawable_ref ()</h3>
|
267
|
-
<pre class="programlisting"><a class="link" href="gdk-Drawing-Primitives.html#GdkDrawable"><span class="returnvalue">GdkDrawable</span></a
|
268
|
-
<div class="warning"
|
267
|
+
<pre class="programlisting"><a class="link" href="gdk-Drawing-Primitives.html#GdkDrawable"><span class="returnvalue">GdkDrawable</span></a> * gdk_drawable_ref (<em class="parameter"><code><a class="link" href="gdk-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a> *drawable</code></em>);</pre>
|
268
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
269
269
|
<h3 class="title">Warning</h3>
|
270
270
|
<p><code class="literal">gdk_drawable_ref</code> has been deprecated since version 2.0 and should not be used in newly-written code. Use <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-ref"><code class="function">g_object_ref()</code></a> instead.</p>
|
271
271
|
</div>
|
@@ -283,18 +283,16 @@ Deprecated equivalent of calling <a href="http://library.gnome.org/devel/gobject
|
|
283
283
|
</tr>
|
284
284
|
<tr>
|
285
285
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
286
|
-
<td>
|
287
|
-
|
288
|
-
</td>
|
286
|
+
<td>the same <em class="parameter"><code>drawable</code></em> passed in</td>
|
289
287
|
</tr>
|
290
288
|
</tbody>
|
291
289
|
</table></div>
|
292
290
|
</div>
|
293
291
|
<hr>
|
294
|
-
<div class="refsect2"
|
292
|
+
<div class="refsect2">
|
295
293
|
<a name="gdk-drawable-unref"></a><h3>gdk_drawable_unref ()</h3>
|
296
294
|
<pre class="programlisting"><span class="returnvalue">void</span> gdk_drawable_unref (<em class="parameter"><code><a class="link" href="gdk-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a> *drawable</code></em>);</pre>
|
297
|
-
<div class="warning"
|
295
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
298
296
|
<h3 class="title">Warning</h3>
|
299
297
|
<p><code class="literal">gdk_drawable_unref</code> has been deprecated since version 2.0 and should not be used in newly-written code. Use <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a> instead.</p>
|
300
298
|
</div>
|
@@ -311,13 +309,13 @@ Deprecated equivalent of calling <a href="http://library.gnome.org/devel/gobject
|
|
311
309
|
</table></div>
|
312
310
|
</div>
|
313
311
|
<hr>
|
314
|
-
<div class="refsect2"
|
312
|
+
<div class="refsect2">
|
315
313
|
<a name="gdk-drawable-set-data"></a><h3>gdk_drawable_set_data ()</h3>
|
316
314
|
<pre class="programlisting"><span class="returnvalue">void</span> gdk_drawable_set_data (<em class="parameter"><code><a class="link" href="gdk-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a> *drawable</code></em>,
|
317
315
|
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>,
|
318
316
|
<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>,
|
319
317
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy_func</code></em>);</pre>
|
320
|
-
<div class="warning"
|
318
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
321
319
|
<h3 class="title">Warning</h3>
|
322
320
|
<p><code class="literal">gdk_drawable_set_data</code> is deprecated and should not be used in newly-written code.</p>
|
323
321
|
</div>
|
@@ -335,28 +333,26 @@ the <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Ob
|
|
335
333
|
</tr>
|
336
334
|
<tr>
|
337
335
|
<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
|
338
|
-
<td>name to store the data under
|
339
|
-
</td>
|
336
|
+
<td>name to store the data under</td>
|
340
337
|
</tr>
|
341
338
|
<tr>
|
342
339
|
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
|
343
|
-
<td>arbitrary data
|
344
|
-
</td>
|
340
|
+
<td>arbitrary data</td>
|
345
341
|
</tr>
|
346
342
|
<tr>
|
347
343
|
<td><p><span class="term"><em class="parameter"><code>destroy_func</code></em> :</span></p></td>
|
348
|
-
<td>
|
344
|
+
<td>function to free <em class="parameter"><code>data</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="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
349
345
|
</td>
|
350
346
|
</tr>
|
351
347
|
</tbody>
|
352
348
|
</table></div>
|
353
349
|
</div>
|
354
350
|
<hr>
|
355
|
-
<div class="refsect2"
|
351
|
+
<div class="refsect2">
|
356
352
|
<a name="gdk-drawable-get-data"></a><h3>gdk_drawable_get_data ()</h3>
|
357
353
|
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> gdk_drawable_get_data (<em class="parameter"><code><a class="link" href="gdk-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a> *drawable</code></em>,
|
358
354
|
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>);</pre>
|
359
|
-
<div class="warning"
|
355
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
360
356
|
<h3 class="title">Warning</h3>
|
361
357
|
<p><code class="literal">gdk_drawable_get_data</code> is deprecated and should not be used in newly-written code.</p>
|
362
358
|
</div>
|
@@ -374,21 +370,24 @@ used instead.
|
|
374
370
|
</tr>
|
375
371
|
<tr>
|
376
372
|
<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
|
377
|
-
<td>name the data was stored under
|
378
|
-
</td>
|
373
|
+
<td>name the data was stored under</td>
|
379
374
|
</tr>
|
380
375
|
<tr>
|
381
376
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
382
|
-
<td>
|
377
|
+
<td>the data stored at <em class="parameter"><code>key</code></em>
|
383
378
|
</td>
|
384
379
|
</tr>
|
385
380
|
</tbody>
|
386
381
|
</table></div>
|
387
382
|
</div>
|
388
383
|
<hr>
|
389
|
-
<div class="refsect2"
|
384
|
+
<div class="refsect2">
|
390
385
|
<a name="gdk-drawable-get-display"></a><h3>gdk_drawable_get_display ()</h3>
|
391
|
-
<pre class="programlisting"><a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="returnvalue">GdkDisplay</span></a
|
386
|
+
<pre class="programlisting"><a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="returnvalue">GdkDisplay</span></a> * gdk_drawable_get_display (<em class="parameter"><code><a class="link" href="gdk-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a> *drawable</code></em>);</pre>
|
387
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
388
|
+
<h3 class="title">Warning</h3>
|
389
|
+
<p><code class="literal">gdk_drawable_get_display</code> has been deprecated since version 2.24 and should not be used in newly-written code. Use <a class="link" href="gdk-Windows.html#gdk-window-get-display" title="gdk_window_get_display ()"><code class="function">gdk_window_get_display()</code></a> instead</p>
|
390
|
+
</div>
|
392
391
|
<p>
|
393
392
|
Gets the <a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> associated with a <a class="link" href="gdk-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a>.
|
394
393
|
</p>
|
@@ -402,8 +401,7 @@ Gets the <a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="
|
|
402
401
|
</tr>
|
403
402
|
<tr>
|
404
403
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
405
|
-
<td>
|
406
|
-
|
404
|
+
<td>the <a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> associated with <em class="parameter"><code>drawable</code></em>
|
407
405
|
</td>
|
408
406
|
</tr>
|
409
407
|
</tbody>
|
@@ -411,9 +409,13 @@ Gets the <a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="
|
|
411
409
|
<p class="since">Since 2.2</p>
|
412
410
|
</div>
|
413
411
|
<hr>
|
414
|
-
<div class="refsect2"
|
412
|
+
<div class="refsect2">
|
415
413
|
<a name="gdk-drawable-get-screen"></a><h3>gdk_drawable_get_screen ()</h3>
|
416
|
-
<pre class="programlisting"><a class="link" href="GdkScreen.html" title="GdkScreen"><span class="returnvalue">GdkScreen</span></a
|
414
|
+
<pre class="programlisting"><a class="link" href="GdkScreen.html" title="GdkScreen"><span class="returnvalue">GdkScreen</span></a> * gdk_drawable_get_screen (<em class="parameter"><code><a class="link" href="gdk-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a> *drawable</code></em>);</pre>
|
415
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
416
|
+
<h3 class="title">Warning</h3>
|
417
|
+
<p><code class="literal">gdk_drawable_get_screen</code> has been deprecated since version 2.24 and should not be used in newly-written code. Use <a class="link" href="gdk-Windows.html#gdk-window-get-screen" title="gdk_window_get_screen ()"><code class="function">gdk_window_get_screen()</code></a> instead</p>
|
418
|
+
</div>
|
417
419
|
<p>
|
418
420
|
Gets the <a class="link" href="GdkScreen.html" title="GdkScreen"><span class="type">GdkScreen</span></a> associated with a <a class="link" href="gdk-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a>.
|
419
421
|
</p>
|
@@ -427,8 +429,7 @@ Gets the <a class="link" href="GdkScreen.html" title="GdkScreen"><span class="ty
|
|
427
429
|
</tr>
|
428
430
|
<tr>
|
429
431
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
430
|
-
<td>
|
431
|
-
|
432
|
+
<td>the <a class="link" href="GdkScreen.html" title="GdkScreen"><span class="type">GdkScreen</span></a> associated with <em class="parameter"><code>drawable</code></em>
|
432
433
|
</td>
|
433
434
|
</tr>
|
434
435
|
</tbody>
|
@@ -436,9 +437,13 @@ Gets the <a class="link" href="GdkScreen.html" title="GdkScreen"><span class="ty
|
|
436
437
|
<p class="since">Since 2.2</p>
|
437
438
|
</div>
|
438
439
|
<hr>
|
439
|
-
<div class="refsect2"
|
440
|
+
<div class="refsect2">
|
440
441
|
<a name="gdk-drawable-get-visual"></a><h3>gdk_drawable_get_visual ()</h3>
|
441
|
-
<pre class="programlisting"><a class="link" href="gdk-Visuals.html#GdkVisual" title="GdkVisual"><span class="returnvalue">GdkVisual</span></a
|
442
|
+
<pre class="programlisting"><a class="link" href="gdk-Visuals.html#GdkVisual" title="GdkVisual"><span class="returnvalue">GdkVisual</span></a> * gdk_drawable_get_visual (<em class="parameter"><code><a class="link" href="gdk-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a> *drawable</code></em>);</pre>
|
443
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
444
|
+
<h3 class="title">Warning</h3>
|
445
|
+
<p><code class="literal">gdk_drawable_get_visual</code> has been deprecated since version 2.24 and should not be used in newly-written code. Use <a class="link" href="gdk-Windows.html#gdk-window-get-visual" title="gdk_window_get_visual ()"><code class="function">gdk_window_get_visual()</code></a></p>
|
446
|
+
</div>
|
442
447
|
<p>
|
443
448
|
Gets the <a class="link" href="gdk-Visuals.html#GdkVisual" title="GdkVisual"><span class="type">GdkVisual</span></a> describing the pixel format of <em class="parameter"><code>drawable</code></em>.
|
444
449
|
</p>
|
@@ -452,14 +457,14 @@ Gets the <a class="link" href="gdk-Visuals.html#GdkVisual" title="GdkVisual"><sp
|
|
452
457
|
</tr>
|
453
458
|
<tr>
|
454
459
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
455
|
-
<td>
|
460
|
+
<td>a <a class="link" href="gdk-Visuals.html#GdkVisual" title="GdkVisual"><span class="type">GdkVisual</span></a>
|
456
461
|
</td>
|
457
462
|
</tr>
|
458
463
|
</tbody>
|
459
464
|
</table></div>
|
460
465
|
</div>
|
461
466
|
<hr>
|
462
|
-
<div class="refsect2"
|
467
|
+
<div class="refsect2">
|
463
468
|
<a name="gdk-drawable-set-colormap"></a><h3>gdk_drawable_set_colormap ()</h3>
|
464
469
|
<pre class="programlisting"><span class="returnvalue">void</span> gdk_drawable_set_colormap (<em class="parameter"><code><a class="link" href="gdk-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a> *drawable</code></em>,
|
465
470
|
<em class="parameter"><code><a class="link" href="gdk-Colormaps-and-Colors.html#GdkColormap" title="GdkColormap"><span class="type">GdkColormap</span></a> *colormap</code></em>);</pre>
|
@@ -490,9 +495,9 @@ to another, the colormaps should match.
|
|
490
495
|
</table></div>
|
491
496
|
</div>
|
492
497
|
<hr>
|
493
|
-
<div class="refsect2"
|
498
|
+
<div class="refsect2">
|
494
499
|
<a name="gdk-drawable-get-colormap"></a><h3>gdk_drawable_get_colormap ()</h3>
|
495
|
-
<pre class="programlisting"><a class="link" href="gdk-Colormaps-and-Colors.html#GdkColormap" title="GdkColormap"><span class="returnvalue">GdkColormap</span></a
|
500
|
+
<pre class="programlisting"><a class="link" href="gdk-Colormaps-and-Colors.html#GdkColormap" title="GdkColormap"><span class="returnvalue">GdkColormap</span></a> * gdk_drawable_get_colormap (<em class="parameter"><code><a class="link" href="gdk-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a> *drawable</code></em>);</pre>
|
496
501
|
<p>
|
497
502
|
Gets the colormap for <em class="parameter"><code>drawable</code></em>, if one is set; returns
|
498
503
|
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> otherwise.
|
@@ -507,14 +512,14 @@ Gets the colormap for <em class="parameter"><code>drawable</code></em>, if one i
|
|
507
512
|
</tr>
|
508
513
|
<tr>
|
509
514
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
510
|
-
<td>
|
515
|
+
<td>the colormap, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
511
516
|
</td>
|
512
517
|
</tr>
|
513
518
|
</tbody>
|
514
519
|
</table></div>
|
515
520
|
</div>
|
516
521
|
<hr>
|
517
|
-
<div class="refsect2"
|
522
|
+
<div class="refsect2">
|
518
523
|
<a name="gdk-drawable-get-depth"></a><h3>gdk_drawable_get_depth ()</h3>
|
519
524
|
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> gdk_drawable_get_depth (<em class="parameter"><code><a class="link" href="gdk-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a> *drawable</code></em>);</pre>
|
520
525
|
<p>
|
@@ -532,18 +537,22 @@ per pixel, 24 bits per pixel, etc.
|
|
532
537
|
</tr>
|
533
538
|
<tr>
|
534
539
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
535
|
-
<td>
|
536
|
-
</td>
|
540
|
+
<td>number of bits per pixel</td>
|
537
541
|
</tr>
|
538
542
|
</tbody>
|
539
543
|
</table></div>
|
540
544
|
</div>
|
541
545
|
<hr>
|
542
|
-
<div class="refsect2"
|
546
|
+
<div class="refsect2">
|
543
547
|
<a name="gdk-drawable-get-size"></a><h3>gdk_drawable_get_size ()</h3>
|
544
548
|
<pre class="programlisting"><span class="returnvalue">void</span> gdk_drawable_get_size (<em class="parameter"><code><a class="link" href="gdk-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a> *drawable</code></em>,
|
545
549
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *width</code></em>,
|
546
550
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *height</code></em>);</pre>
|
551
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
552
|
+
<h3 class="title">Warning</h3>
|
553
|
+
<p><code class="literal">gdk_drawable_get_size</code> has been deprecated since version 2.24 and should not be used in newly-written code. Use <a class="link" href="gdk-Windows.html#gdk-window-get-width" title="gdk_window_get_width ()"><code class="function">gdk_window_get_width()</code></a> and <a class="link" href="gdk-Windows.html#gdk-window-get-height" title="gdk_window_get_height ()"><code class="function">gdk_window_get_height()</code></a> for
|
554
|
+
<a href="gdk-Windows.html#GdkWindow"><span class="type">GdkWindows</span></a>. Use <a class="link" href="gdk-Bitmaps-and-Pixmaps.html#gdk-pixmap-get-size" title="gdk_pixmap_get_size ()"><code class="function">gdk_pixmap_get_size()</code></a> for <a href="gdk-Bitmaps-and-Pixmaps.html#GdkPixmap"><span class="type">GdkPixmaps</span></a>.</p>
|
555
|
+
</div>
|
547
556
|
<p>
|
548
557
|
Fills *<em class="parameter"><code>width</code></em> and *<em class="parameter"><code>height</code></em> with the size of <em class="parameter"><code>drawable</code></em>.
|
549
558
|
<em class="parameter"><code>width</code></em> or <em class="parameter"><code>height</code></em> can be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if you only want the other one.
|
@@ -563,19 +572,19 @@ event, rather than the current size on the X server.
|
|
563
572
|
</tr>
|
564
573
|
<tr>
|
565
574
|
<td><p><span class="term"><em class="parameter"><code>width</code></em> :</span></p></td>
|
566
|
-
<td>
|
575
|
+
<td>location to store drawable's width, 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>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
567
576
|
</td>
|
568
577
|
</tr>
|
569
578
|
<tr>
|
570
579
|
<td><p><span class="term"><em class="parameter"><code>height</code></em> :</span></p></td>
|
571
|
-
<td>
|
580
|
+
<td>location to store drawable's height, 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>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
572
581
|
</td>
|
573
582
|
</tr>
|
574
583
|
</tbody>
|
575
584
|
</table></div>
|
576
585
|
</div>
|
577
586
|
<hr>
|
578
|
-
<div class="refsect2"
|
587
|
+
<div class="refsect2">
|
579
588
|
<a name="gdk-drawable-get-clip-region"></a><h3>gdk_drawable_get_clip_region ()</h3>
|
580
589
|
<pre class="programlisting"><a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRegion" title="GdkRegion"><span class="returnvalue">GdkRegion</span></a> * gdk_drawable_get_clip_region (<em class="parameter"><code><a class="link" href="gdk-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a> *drawable</code></em>);</pre>
|
581
590
|
<p>
|
@@ -596,15 +605,14 @@ primitives.
|
|
596
605
|
</tr>
|
597
606
|
<tr>
|
598
607
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
599
|
-
<td>
|
600
|
-
|
601
|
-
</td>
|
608
|
+
<td>a <a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRegion" title="GdkRegion"><span class="type">GdkRegion</span></a>. This must be freed with <a class="link" href="gdk-Points-Rectangles-and-Regions.html#gdk-region-destroy" title="gdk_region_destroy ()"><code class="function">gdk_region_destroy()</code></a>
|
609
|
+
when you are done.</td>
|
602
610
|
</tr>
|
603
611
|
</tbody>
|
604
612
|
</table></div>
|
605
613
|
</div>
|
606
614
|
<hr>
|
607
|
-
<div class="refsect2"
|
615
|
+
<div class="refsect2">
|
608
616
|
<a name="gdk-drawable-get-visible-region"></a><h3>gdk_drawable_get_visible_region ()</h3>
|
609
617
|
<pre class="programlisting"><a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRegion" title="GdkRegion"><span class="returnvalue">GdkRegion</span></a> * gdk_drawable_get_visible_region (<em class="parameter"><code><a class="link" href="gdk-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a> *drawable</code></em>);</pre>
|
610
618
|
<p>
|
@@ -623,21 +631,20 @@ is visible.
|
|
623
631
|
</tr>
|
624
632
|
<tr>
|
625
633
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
626
|
-
<td>
|
627
|
-
|
628
|
-
</td>
|
634
|
+
<td>a <a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRegion" title="GdkRegion"><span class="type">GdkRegion</span></a>. This must be freed with <a class="link" href="gdk-Points-Rectangles-and-Regions.html#gdk-region-destroy" title="gdk_region_destroy ()"><code class="function">gdk_region_destroy()</code></a>
|
635
|
+
when you are done.</td>
|
629
636
|
</tr>
|
630
637
|
</tbody>
|
631
638
|
</table></div>
|
632
639
|
</div>
|
633
640
|
<hr>
|
634
|
-
<div class="refsect2"
|
641
|
+
<div class="refsect2">
|
635
642
|
<a name="gdk-draw-point"></a><h3>gdk_draw_point ()</h3>
|
636
643
|
<pre class="programlisting"><span class="returnvalue">void</span> gdk_draw_point (<em class="parameter"><code><a class="link" href="gdk-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a> *drawable</code></em>,
|
637
644
|
<em class="parameter"><code><a class="link" href="gdk-Graphics-Contexts.html#GdkGC"><span class="type">GdkGC</span></a> *gc</code></em>,
|
638
645
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x</code></em>,
|
639
646
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y</code></em>);</pre>
|
640
|
-
<div class="warning"
|
647
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
641
648
|
<h3 class="title">Warning</h3>
|
642
649
|
<p><code class="literal">gdk_draw_point</code> has been deprecated since version 2.22 and should not be used in newly-written code. Use <a href="/usr/share/gtk-doc/html/cairo/cairo-Paths.html#cairo-rectangle"><code class="function">cairo_rectangle()</code></a> and <a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-fill"><code class="function">cairo_fill()</code></a> or
|
643
650
|
<a href="/usr/share/gtk-doc/html/cairo/cairo-Paths.html#cairo-move-to"><code class="function">cairo_move_to()</code></a> and <a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-stroke"><code class="function">cairo_stroke()</code></a> instead.</p>
|
@@ -651,35 +658,31 @@ the <a class="link" href="gdk-Graphics-Contexts.html#GdkGC"><span class="type">G
|
|
651
658
|
<tbody>
|
652
659
|
<tr>
|
653
660
|
<td><p><span class="term"><em class="parameter"><code>drawable</code></em> :</span></p></td>
|
654
|
-
<td>a <a class="link" href="gdk-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a> (a <a class="link" href="gdk-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> or a <a class="link" href="gdk-Bitmaps-and-Pixmaps.html#GdkPixmap"><span class="type">GdkPixmap</span></a>)
|
655
|
-
</td>
|
661
|
+
<td>a <a class="link" href="gdk-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a> (a <a class="link" href="gdk-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> or a <a class="link" href="gdk-Bitmaps-and-Pixmaps.html#GdkPixmap"><span class="type">GdkPixmap</span></a>).</td>
|
656
662
|
</tr>
|
657
663
|
<tr>
|
658
664
|
<td><p><span class="term"><em class="parameter"><code>gc</code></em> :</span></p></td>
|
659
|
-
<td>a <a class="link" href="gdk-Graphics-Contexts.html#GdkGC"><span class="type">GdkGC</span></a
|
660
|
-
</td>
|
665
|
+
<td>a <a class="link" href="gdk-Graphics-Contexts.html#GdkGC"><span class="type">GdkGC</span></a>.</td>
|
661
666
|
</tr>
|
662
667
|
<tr>
|
663
668
|
<td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
|
664
|
-
<td>the x coordinate of the point
|
665
|
-
</td>
|
669
|
+
<td>the x coordinate of the point.</td>
|
666
670
|
</tr>
|
667
671
|
<tr>
|
668
672
|
<td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
|
669
|
-
<td>the y coordinate of the point
|
670
|
-
</td>
|
673
|
+
<td>the y coordinate of the point.</td>
|
671
674
|
</tr>
|
672
675
|
</tbody>
|
673
676
|
</table></div>
|
674
677
|
</div>
|
675
678
|
<hr>
|
676
|
-
<div class="refsect2"
|
679
|
+
<div class="refsect2">
|
677
680
|
<a name="gdk-draw-points"></a><h3>gdk_draw_points ()</h3>
|
678
681
|
<pre class="programlisting"><span class="returnvalue">void</span> gdk_draw_points (<em class="parameter"><code><a class="link" href="gdk-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a> *drawable</code></em>,
|
679
682
|
<em class="parameter"><code><a class="link" href="gdk-Graphics-Contexts.html#GdkGC"><span class="type">GdkGC</span></a> *gc</code></em>,
|
680
|
-
<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>,
|
683
|
+
<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>,
|
681
684
|
<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>);</pre>
|
682
|
-
<div class="warning"
|
685
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
683
686
|
<h3 class="title">Warning</h3>
|
684
687
|
<p><code class="literal">gdk_draw_points</code> has been deprecated since version 2.22 and should not be used in newly-written code. Use <em class="parameter"><code>n_points</code></em> calls to <a href="/usr/share/gtk-doc/html/cairo/cairo-Paths.html#cairo-rectangle"><code class="function">cairo_rectangle()</code></a> and
|
685
688
|
<a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-fill"><code class="function">cairo_fill()</code></a> instead.</p>
|
@@ -693,29 +696,25 @@ attributes of the <a class="link" href="gdk-Graphics-Contexts.html#GdkGC"><span
|
|
693
696
|
<tbody>
|
694
697
|
<tr>
|
695
698
|
<td><p><span class="term"><em class="parameter"><code>drawable</code></em> :</span></p></td>
|
696
|
-
<td>a <a class="link" href="gdk-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a> (a <a class="link" href="gdk-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> or a <a class="link" href="gdk-Bitmaps-and-Pixmaps.html#GdkPixmap"><span class="type">GdkPixmap</span></a>)
|
697
|
-
</td>
|
699
|
+
<td>a <a class="link" href="gdk-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a> (a <a class="link" href="gdk-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> or a <a class="link" href="gdk-Bitmaps-and-Pixmaps.html#GdkPixmap"><span class="type">GdkPixmap</span></a>).</td>
|
698
700
|
</tr>
|
699
701
|
<tr>
|
700
702
|
<td><p><span class="term"><em class="parameter"><code>gc</code></em> :</span></p></td>
|
701
|
-
<td>a <a class="link" href="gdk-Graphics-Contexts.html#GdkGC"><span class="type">GdkGC</span></a
|
702
|
-
</td>
|
703
|
+
<td>a <a class="link" href="gdk-Graphics-Contexts.html#GdkGC"><span class="type">GdkGC</span></a>.</td>
|
703
704
|
</tr>
|
704
705
|
<tr>
|
705
706
|
<td><p><span class="term"><em class="parameter"><code>points</code></em> :</span></p></td>
|
706
|
-
<td>an array of <a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkPoint" title="GdkPoint"><span class="type">GdkPoint</span></a> structures
|
707
|
-
</td>
|
707
|
+
<td>an array of <a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkPoint" title="struct GdkPoint"><span class="type">GdkPoint</span></a> structures.</td>
|
708
708
|
</tr>
|
709
709
|
<tr>
|
710
710
|
<td><p><span class="term"><em class="parameter"><code>n_points</code></em> :</span></p></td>
|
711
|
-
<td>the number of points to be drawn
|
712
|
-
</td>
|
711
|
+
<td>the number of points to be drawn.</td>
|
713
712
|
</tr>
|
714
713
|
</tbody>
|
715
714
|
</table></div>
|
716
715
|
</div>
|
717
716
|
<hr>
|
718
|
-
<div class="refsect2"
|
717
|
+
<div class="refsect2">
|
719
718
|
<a name="gdk-draw-line"></a><h3>gdk_draw_line ()</h3>
|
720
719
|
<pre class="programlisting"><span class="returnvalue">void</span> gdk_draw_line (<em class="parameter"><code><a class="link" href="gdk-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a> *drawable</code></em>,
|
721
720
|
<em class="parameter"><code><a class="link" href="gdk-Graphics-Contexts.html#GdkGC"><span class="type">GdkGC</span></a> *gc</code></em>,
|
@@ -723,7 +722,7 @@ attributes of the <a class="link" href="gdk-Graphics-Contexts.html#GdkGC"><span
|
|
723
722
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y1_</code></em>,
|
724
723
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x2_</code></em>,
|
725
724
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y2_</code></em>);</pre>
|
726
|
-
<div class="warning"
|
725
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
727
726
|
<h3 class="title">Warning</h3>
|
728
727
|
<p><code class="literal">gdk_draw_line</code> has been deprecated since version 2.22 and should not be used in newly-written code. Use <a href="/usr/share/gtk-doc/html/cairo/cairo-Paths.html#cairo-line-to"><code class="function">cairo_line_to()</code></a> and <a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-stroke"><code class="function">cairo_stroke()</code></a> instead.
|
729
728
|
Be aware that the default line width in Cairo is 2 pixels and that your
|
@@ -762,45 +761,39 @@ the <a class="link" href="gdk-Graphics-Contexts.html#GdkGC"><span class="type">G
|
|
762
761
|
<tbody>
|
763
762
|
<tr>
|
764
763
|
<td><p><span class="term"><em class="parameter"><code>drawable</code></em> :</span></p></td>
|
765
|
-
<td>a <a class="link" href="gdk-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a> (a <a class="link" href="gdk-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> or a <a class="link" href="gdk-Bitmaps-and-Pixmaps.html#GdkPixmap"><span class="type">GdkPixmap</span></a>)
|
766
|
-
</td>
|
764
|
+
<td>a <a class="link" href="gdk-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a> (a <a class="link" href="gdk-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> or a <a class="link" href="gdk-Bitmaps-and-Pixmaps.html#GdkPixmap"><span class="type">GdkPixmap</span></a>).</td>
|
767
765
|
</tr>
|
768
766
|
<tr>
|
769
767
|
<td><p><span class="term"><em class="parameter"><code>gc</code></em> :</span></p></td>
|
770
|
-
<td>a <a class="link" href="gdk-Graphics-Contexts.html#GdkGC"><span class="type">GdkGC</span></a
|
771
|
-
</td>
|
768
|
+
<td>a <a class="link" href="gdk-Graphics-Contexts.html#GdkGC"><span class="type">GdkGC</span></a>.</td>
|
772
769
|
</tr>
|
773
770
|
<tr>
|
774
771
|
<td><p><span class="term"><em class="parameter"><code>x1_</code></em> :</span></p></td>
|
775
|
-
<td>the x coordinate of the start point
|
776
|
-
</td>
|
772
|
+
<td>the x coordinate of the start point.</td>
|
777
773
|
</tr>
|
778
774
|
<tr>
|
779
775
|
<td><p><span class="term"><em class="parameter"><code>y1_</code></em> :</span></p></td>
|
780
|
-
<td>the y coordinate of the start point
|
781
|
-
</td>
|
776
|
+
<td>the y coordinate of the start point.</td>
|
782
777
|
</tr>
|
783
778
|
<tr>
|
784
779
|
<td><p><span class="term"><em class="parameter"><code>x2_</code></em> :</span></p></td>
|
785
|
-
<td>the x coordinate of the end point
|
786
|
-
</td>
|
780
|
+
<td>the x coordinate of the end point.</td>
|
787
781
|
</tr>
|
788
782
|
<tr>
|
789
783
|
<td><p><span class="term"><em class="parameter"><code>y2_</code></em> :</span></p></td>
|
790
|
-
<td>the y coordinate of the end point
|
791
|
-
</td>
|
784
|
+
<td>the y coordinate of the end point.</td>
|
792
785
|
</tr>
|
793
786
|
</tbody>
|
794
787
|
</table></div>
|
795
788
|
</div>
|
796
789
|
<hr>
|
797
|
-
<div class="refsect2"
|
790
|
+
<div class="refsect2">
|
798
791
|
<a name="gdk-draw-lines"></a><h3>gdk_draw_lines ()</h3>
|
799
792
|
<pre class="programlisting"><span class="returnvalue">void</span> gdk_draw_lines (<em class="parameter"><code><a class="link" href="gdk-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a> *drawable</code></em>,
|
800
793
|
<em class="parameter"><code><a class="link" href="gdk-Graphics-Contexts.html#GdkGC"><span class="type">GdkGC</span></a> *gc</code></em>,
|
801
|
-
<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>,
|
794
|
+
<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>,
|
802
795
|
<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>);</pre>
|
803
|
-
<div class="warning"
|
796
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
804
797
|
<h3 class="title">Warning</h3>
|
805
798
|
<p><code class="literal">gdk_draw_lines</code> has been deprecated since version 2.22 and should not be used in newly-written code. Use <a href="/usr/share/gtk-doc/html/cairo/cairo-Paths.html#cairo-line-to"><code class="function">cairo_line_to()</code></a> and <a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-stroke"><code class="function">cairo_stroke()</code></a> instead. See the
|
806
799
|
documentation of <a class="link" href="gdk-Drawing-Primitives.html#gdk-draw-line" title="gdk_draw_line ()"><code class="function">gdk_draw_line()</code></a> for notes on line drawing with Cairo.</p>
|
@@ -816,29 +809,25 @@ The way in which joins between lines are draw is determined by the
|
|
816
809
|
<tbody>
|
817
810
|
<tr>
|
818
811
|
<td><p><span class="term"><em class="parameter"><code>drawable</code></em> :</span></p></td>
|
819
|
-
<td>a <a class="link" href="gdk-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a> (a <a class="link" href="gdk-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> or a <a class="link" href="gdk-Bitmaps-and-Pixmaps.html#GdkPixmap"><span class="type">GdkPixmap</span></a>)
|
820
|
-
</td>
|
812
|
+
<td>a <a class="link" href="gdk-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a> (a <a class="link" href="gdk-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> or a <a class="link" href="gdk-Bitmaps-and-Pixmaps.html#GdkPixmap"><span class="type">GdkPixmap</span></a>).</td>
|
821
813
|
</tr>
|
822
814
|
<tr>
|
823
815
|
<td><p><span class="term"><em class="parameter"><code>gc</code></em> :</span></p></td>
|
824
|
-
<td>a <a class="link" href="gdk-Graphics-Contexts.html#GdkGC"><span class="type">GdkGC</span></a
|
825
|
-
</td>
|
816
|
+
<td>a <a class="link" href="gdk-Graphics-Contexts.html#GdkGC"><span class="type">GdkGC</span></a>.</td>
|
826
817
|
</tr>
|
827
818
|
<tr>
|
828
819
|
<td><p><span class="term"><em class="parameter"><code>points</code></em> :</span></p></td>
|
829
|
-
<td>an array of <a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkPoint" title="GdkPoint"><span class="type">GdkPoint</span></a> structures specifying the endpoints of the
|
830
|
-
</td>
|
820
|
+
<td>an array of <a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkPoint" title="struct GdkPoint"><span class="type">GdkPoint</span></a> structures specifying the endpoints of the</td>
|
831
821
|
</tr>
|
832
822
|
<tr>
|
833
823
|
<td><p><span class="term"><em class="parameter"><code>n_points</code></em> :</span></p></td>
|
834
|
-
<td>the size of the <em class="parameter"><code>points</code></em> array
|
835
|
-
</td>
|
824
|
+
<td>the size of the <em class="parameter"><code>points</code></em> array.</td>
|
836
825
|
</tr>
|
837
826
|
</tbody>
|
838
827
|
</table></div>
|
839
828
|
</div>
|
840
829
|
<hr>
|
841
|
-
<div class="refsect2"
|
830
|
+
<div class="refsect2">
|
842
831
|
<a name="gdk-draw-pixbuf"></a><h3>gdk_draw_pixbuf ()</h3>
|
843
832
|
<pre class="programlisting"><span class="returnvalue">void</span> gdk_draw_pixbuf (<em class="parameter"><code><a class="link" href="gdk-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a> *drawable</code></em>,
|
844
833
|
<em class="parameter"><code><a class="link" href="gdk-Graphics-Contexts.html#GdkGC"><span class="type">GdkGC</span></a> *gc</code></em>,
|
@@ -852,7 +841,7 @@ The way in which joins between lines are draw is determined by the
|
|
852
841
|
<em class="parameter"><code><a class="link" href="gdk-GdkRGB.html#GdkRgbDither" title="enum GdkRgbDither"><span class="type">GdkRgbDither</span></a> dither</code></em>,
|
853
842
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x_dither</code></em>,
|
854
843
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y_dither</code></em>);</pre>
|
855
|
-
<div class="warning"
|
844
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
856
845
|
<h3 class="title">Warning</h3>
|
857
846
|
<p><code class="literal">gdk_draw_pixbuf</code> has been deprecated since version 2.22 and should not be used in newly-written code. Use <a class="link" href="gdk-Cairo-Interaction.html#gdk-cairo-set-source-pixbuf" title="gdk_cairo_set_source_pixbuf ()"><code class="function">gdk_cairo_set_source_pixbuf()</code></a> and <a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-paint"><code class="function">cairo_paint()</code></a> or
|
858
847
|
<a href="/usr/share/gtk-doc/html/cairo/cairo-Paths.html#cairo-rectangle"><code class="function">cairo_rectangle()</code></a> and <a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-fill"><code class="function">cairo_fill()</code></a> instead.</p>
|
@@ -880,12 +869,11 @@ variable.
|
|
880
869
|
<tbody>
|
881
870
|
<tr>
|
882
871
|
<td><p><span class="term"><em class="parameter"><code>drawable</code></em> :</span></p></td>
|
883
|
-
<td>Destination drawable
|
884
|
-
</td>
|
872
|
+
<td>Destination drawable.</td>
|
885
873
|
</tr>
|
886
874
|
<tr>
|
887
875
|
<td><p><span class="term"><em class="parameter"><code>gc</code></em> :</span></p></td>
|
888
|
-
<td>
|
876
|
+
<td>a <a class="link" href="gdk-Graphics-Contexts.html#GdkGC"><span class="type">GdkGC</span></a>, used for clipping, 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="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
889
877
|
</td>
|
890
878
|
</tr>
|
891
879
|
<tr>
|
@@ -895,61 +883,52 @@ variable.
|
|
895
883
|
</tr>
|
896
884
|
<tr>
|
897
885
|
<td><p><span class="term"><em class="parameter"><code>src_x</code></em> :</span></p></td>
|
898
|
-
<td>Source X coordinate within pixbuf
|
899
|
-
</td>
|
886
|
+
<td>Source X coordinate within pixbuf.</td>
|
900
887
|
</tr>
|
901
888
|
<tr>
|
902
889
|
<td><p><span class="term"><em class="parameter"><code>src_y</code></em> :</span></p></td>
|
903
|
-
<td>Source Y coordinates within pixbuf
|
904
|
-
</td>
|
890
|
+
<td>Source Y coordinates within pixbuf.</td>
|
905
891
|
</tr>
|
906
892
|
<tr>
|
907
893
|
<td><p><span class="term"><em class="parameter"><code>dest_x</code></em> :</span></p></td>
|
908
|
-
<td>Destination X coordinate within drawable
|
909
|
-
</td>
|
894
|
+
<td>Destination X coordinate within drawable.</td>
|
910
895
|
</tr>
|
911
896
|
<tr>
|
912
897
|
<td><p><span class="term"><em class="parameter"><code>dest_y</code></em> :</span></p></td>
|
913
|
-
<td>Destination Y coordinate within drawable
|
914
|
-
</td>
|
898
|
+
<td>Destination Y coordinate within drawable.</td>
|
915
899
|
</tr>
|
916
900
|
<tr>
|
917
901
|
<td><p><span class="term"><em class="parameter"><code>width</code></em> :</span></p></td>
|
918
|
-
<td>Width of region to render, in pixels, or -1 to use pixbuf width
|
919
|
-
</td>
|
902
|
+
<td>Width of region to render, in pixels, or -1 to use pixbuf width.</td>
|
920
903
|
</tr>
|
921
904
|
<tr>
|
922
905
|
<td><p><span class="term"><em class="parameter"><code>height</code></em> :</span></p></td>
|
923
|
-
<td>Height of region to render, in pixels, or -1 to use pixbuf height
|
924
|
-
</td>
|
906
|
+
<td>Height of region to render, in pixels, or -1 to use pixbuf height.</td>
|
925
907
|
</tr>
|
926
908
|
<tr>
|
927
909
|
<td><p><span class="term"><em class="parameter"><code>dither</code></em> :</span></p></td>
|
928
|
-
<td>Dithering mode for <span class="type">GdkRGB</span
|
929
|
-
</td>
|
910
|
+
<td>Dithering mode for <span class="type">GdkRGB</span>.</td>
|
930
911
|
</tr>
|
931
912
|
<tr>
|
932
913
|
<td><p><span class="term"><em class="parameter"><code>x_dither</code></em> :</span></p></td>
|
933
|
-
<td>X offset for dither
|
934
|
-
</td>
|
914
|
+
<td>X offset for dither.</td>
|
935
915
|
</tr>
|
936
916
|
<tr>
|
937
917
|
<td><p><span class="term"><em class="parameter"><code>y_dither</code></em> :</span></p></td>
|
938
|
-
<td>Y offset for dither
|
939
|
-
</td>
|
918
|
+
<td>Y offset for dither.</td>
|
940
919
|
</tr>
|
941
920
|
</tbody>
|
942
921
|
</table></div>
|
943
922
|
<p class="since">Since 2.2</p>
|
944
923
|
</div>
|
945
924
|
<hr>
|
946
|
-
<div class="refsect2"
|
925
|
+
<div class="refsect2">
|
947
926
|
<a name="gdk-draw-segments"></a><h3>gdk_draw_segments ()</h3>
|
948
927
|
<pre class="programlisting"><span class="returnvalue">void</span> gdk_draw_segments (<em class="parameter"><code><a class="link" href="gdk-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a> *drawable</code></em>,
|
949
928
|
<em class="parameter"><code><a class="link" href="gdk-Graphics-Contexts.html#GdkGC"><span class="type">GdkGC</span></a> *gc</code></em>,
|
950
|
-
<em class="parameter"><code>const <a class="link" href="gdk-Drawing-Primitives.html#GdkSegment" title="GdkSegment"><span class="type">GdkSegment</span></a> *segs</code></em>,
|
929
|
+
<em class="parameter"><code>const <a class="link" href="gdk-Drawing-Primitives.html#GdkSegment" title="struct GdkSegment"><span class="type">GdkSegment</span></a> *segs</code></em>,
|
951
930
|
<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_segs</code></em>);</pre>
|
952
|
-
<div class="warning"
|
931
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
953
932
|
<h3 class="title">Warning</h3>
|
954
933
|
<p><code class="literal">gdk_draw_segments</code> has been deprecated since version 2.22 and should not be used in newly-written code. Use <a href="/usr/share/gtk-doc/html/cairo/cairo-Paths.html#cairo-move-to"><code class="function">cairo_move_to()</code></a>, <a href="/usr/share/gtk-doc/html/cairo/cairo-Paths.html#cairo-line-to"><code class="function">cairo_line_to()</code></a> and <a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-stroke"><code class="function">cairo_stroke()</code></a>
|
955
934
|
instead. See the documentation of <a class="link" href="gdk-Drawing-Primitives.html#gdk-draw-line" title="gdk_draw_line ()"><code class="function">gdk_draw_line()</code></a> for notes on line drawing
|
@@ -963,38 +942,34 @@ Draws a number of unconnected lines.
|
|
963
942
|
<tbody>
|
964
943
|
<tr>
|
965
944
|
<td><p><span class="term"><em class="parameter"><code>drawable</code></em> :</span></p></td>
|
966
|
-
<td>a <a class="link" href="gdk-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a> (a <a class="link" href="gdk-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> or a <a class="link" href="gdk-Bitmaps-and-Pixmaps.html#GdkPixmap"><span class="type">GdkPixmap</span></a>)
|
967
|
-
</td>
|
945
|
+
<td>a <a class="link" href="gdk-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a> (a <a class="link" href="gdk-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> or a <a class="link" href="gdk-Bitmaps-and-Pixmaps.html#GdkPixmap"><span class="type">GdkPixmap</span></a>).</td>
|
968
946
|
</tr>
|
969
947
|
<tr>
|
970
948
|
<td><p><span class="term"><em class="parameter"><code>gc</code></em> :</span></p></td>
|
971
|
-
<td>a <a class="link" href="gdk-Graphics-Contexts.html#GdkGC"><span class="type">GdkGC</span></a
|
972
|
-
</td>
|
949
|
+
<td>a <a class="link" href="gdk-Graphics-Contexts.html#GdkGC"><span class="type">GdkGC</span></a>.</td>
|
973
950
|
</tr>
|
974
951
|
<tr>
|
975
952
|
<td><p><span class="term"><em class="parameter"><code>segs</code></em> :</span></p></td>
|
976
|
-
<td>an array of <a class="link" href="gdk-Drawing-Primitives.html#GdkSegment" title="GdkSegment"><span class="type">GdkSegment</span></a> structures specifying the start and
|
977
|
-
|
978
|
-
</td>
|
953
|
+
<td>an array of <a class="link" href="gdk-Drawing-Primitives.html#GdkSegment" title="struct GdkSegment"><span class="type">GdkSegment</span></a> structures specifying the start and
|
954
|
+
end points of the lines to be drawn.</td>
|
979
955
|
</tr>
|
980
956
|
<tr>
|
981
957
|
<td><p><span class="term"><em class="parameter"><code>n_segs</code></em> :</span></p></td>
|
982
|
-
<td>the number of line segments to draw, i.e. the size of the
|
983
|
-
|
984
|
-
</td>
|
958
|
+
<td>the number of line segments to draw, i.e. the size of the
|
959
|
+
<em class="parameter"><code>segs</code></em> array.</td>
|
985
960
|
</tr>
|
986
961
|
</tbody>
|
987
962
|
</table></div>
|
988
963
|
</div>
|
989
964
|
<hr>
|
990
|
-
<div class="refsect2"
|
991
|
-
<a name="GdkSegment"></a><h3>GdkSegment</h3>
|
992
|
-
<pre class="programlisting">
|
965
|
+
<div class="refsect2">
|
966
|
+
<a name="GdkSegment"></a><h3>struct GdkSegment</h3>
|
967
|
+
<pre class="programlisting">struct GdkSegment {
|
993
968
|
gint x1;
|
994
969
|
gint y1;
|
995
970
|
gint x2;
|
996
971
|
gint y2;
|
997
|
-
}
|
972
|
+
};
|
998
973
|
</pre>
|
999
974
|
<p>
|
1000
975
|
Specifies the start and end point of a line for use by the <a class="link" href="gdk-Drawing-Primitives.html#gdk-draw-segments" title="gdk_draw_segments ()"><code class="function">gdk_draw_segments()</code></a>
|
@@ -1005,29 +980,25 @@ function.
|
|
1005
980
|
<tbody>
|
1006
981
|
<tr>
|
1007
982
|
<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="GdkSegment.x1"></a>x1</code></em>;</span></p></td>
|
1008
|
-
<td>the x coordinate of the start point
|
1009
|
-
</td>
|
983
|
+
<td>the x coordinate of the start point.</td>
|
1010
984
|
</tr>
|
1011
985
|
<tr>
|
1012
986
|
<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="GdkSegment.y1"></a>y1</code></em>;</span></p></td>
|
1013
|
-
<td>the y coordinate of the start point
|
1014
|
-
</td>
|
987
|
+
<td>the y coordinate of the start point.</td>
|
1015
988
|
</tr>
|
1016
989
|
<tr>
|
1017
990
|
<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="GdkSegment.x2"></a>x2</code></em>;</span></p></td>
|
1018
|
-
<td>the x coordinate of the end point
|
1019
|
-
</td>
|
991
|
+
<td>the x coordinate of the end point.</td>
|
1020
992
|
</tr>
|
1021
993
|
<tr>
|
1022
994
|
<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="GdkSegment.y2"></a>y2</code></em>;</span></p></td>
|
1023
|
-
<td>the y coordinate of the end point
|
1024
|
-
</td>
|
995
|
+
<td>the y coordinate of the end point.</td>
|
1025
996
|
</tr>
|
1026
997
|
</tbody>
|
1027
998
|
</table></div>
|
1028
999
|
</div>
|
1029
1000
|
<hr>
|
1030
|
-
<div class="refsect2"
|
1001
|
+
<div class="refsect2">
|
1031
1002
|
<a name="gdk-draw-rectangle"></a><h3>gdk_draw_rectangle ()</h3>
|
1032
1003
|
<pre class="programlisting"><span class="returnvalue">void</span> gdk_draw_rectangle (<em class="parameter"><code><a class="link" href="gdk-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a> *drawable</code></em>,
|
1033
1004
|
<em class="parameter"><code><a class="link" href="gdk-Graphics-Contexts.html#GdkGC"><span class="type">GdkGC</span></a> *gc</code></em>,
|
@@ -1036,7 +1007,7 @@ function.
|
|
1036
1007
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y</code></em>,
|
1037
1008
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> width</code></em>,
|
1038
1009
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> height</code></em>);</pre>
|
1039
|
-
<div class="warning"
|
1010
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1040
1011
|
<h3 class="title">Warning</h3>
|
1041
1012
|
<p><code class="literal">gdk_draw_rectangle</code> has been deprecated since version 2.22 and should not be used in newly-written code. Use <a href="/usr/share/gtk-doc/html/cairo/cairo-Paths.html#cairo-rectangle"><code class="function">cairo_rectangle()</code></a> and <a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-fill"><code class="function">cairo_fill()</code></a> or <a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-stroke"><code class="function">cairo_stroke()</code></a>
|
1042
1013
|
instead. For stroking, the same caveats for converting code apply as for
|
@@ -1055,50 +1026,50 @@ results in a filled rectangle 20 pixels wide and 20 pixels high. Calling
|
|
1055
1026
|
results in an outlined rectangle with corners at (0, 0), (0, 20), (20, 20),
|
1056
1027
|
and (20, 0), which makes it 21 pixels wide and 21 pixels high.
|
1057
1028
|
</p>
|
1029
|
+
<p>
|
1030
|
+
</p>
|
1031
|
+
<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1032
|
+
<h3 class="title">Note</h3>
|
1033
|
+
<p>
|
1034
|
+
</p>
|
1035
|
+
</div>
|
1058
1036
|
<div class="variablelist"><table border="0">
|
1059
1037
|
<col align="left" valign="top">
|
1060
1038
|
<tbody>
|
1061
1039
|
<tr>
|
1062
1040
|
<td><p><span class="term"><em class="parameter"><code>drawable</code></em> :</span></p></td>
|
1063
|
-
<td>a <a class="link" href="gdk-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a> (a <a class="link" href="gdk-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> or a <a class="link" href="gdk-Bitmaps-and-Pixmaps.html#GdkPixmap"><span class="type">GdkPixmap</span></a>)
|
1064
|
-
</td>
|
1041
|
+
<td>a <a class="link" href="gdk-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a> (a <a class="link" href="gdk-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> or a <a class="link" href="gdk-Bitmaps-and-Pixmaps.html#GdkPixmap"><span class="type">GdkPixmap</span></a>).</td>
|
1065
1042
|
</tr>
|
1066
1043
|
<tr>
|
1067
1044
|
<td><p><span class="term"><em class="parameter"><code>gc</code></em> :</span></p></td>
|
1068
|
-
<td>a <a class="link" href="gdk-Graphics-Contexts.html#GdkGC"><span class="type">GdkGC</span></a
|
1069
|
-
</td>
|
1045
|
+
<td>a <a class="link" href="gdk-Graphics-Contexts.html#GdkGC"><span class="type">GdkGC</span></a>.</td>
|
1070
1046
|
</tr>
|
1071
1047
|
<tr>
|
1072
1048
|
<td><p><span class="term"><em class="parameter"><code>filled</code></em> :</span></p></td>
|
1073
1049
|
<td>
|
1074
|
-
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the rectangle should be filled
|
1075
|
-
</td>
|
1050
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the rectangle should be filled.</td>
|
1076
1051
|
</tr>
|
1077
1052
|
<tr>
|
1078
1053
|
<td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
|
1079
|
-
<td>the x coordinate of the left edge of the rectangle
|
1080
|
-
</td>
|
1054
|
+
<td>the x coordinate of the left edge of the rectangle.</td>
|
1081
1055
|
</tr>
|
1082
1056
|
<tr>
|
1083
1057
|
<td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
|
1084
|
-
<td>the y coordinate of the top edge of the rectangle
|
1085
|
-
</td>
|
1058
|
+
<td>the y coordinate of the top edge of the rectangle.</td>
|
1086
1059
|
</tr>
|
1087
1060
|
<tr>
|
1088
1061
|
<td><p><span class="term"><em class="parameter"><code>width</code></em> :</span></p></td>
|
1089
|
-
<td>the width of the rectangle
|
1090
|
-
</td>
|
1062
|
+
<td>the width of the rectangle.</td>
|
1091
1063
|
</tr>
|
1092
1064
|
<tr>
|
1093
1065
|
<td><p><span class="term"><em class="parameter"><code>height</code></em> :</span></p></td>
|
1094
|
-
<td>the height of the rectangle
|
1095
|
-
</td>
|
1066
|
+
<td>the height of the rectangle.</td>
|
1096
1067
|
</tr>
|
1097
1068
|
</tbody>
|
1098
1069
|
</table></div>
|
1099
1070
|
</div>
|
1100
1071
|
<hr>
|
1101
|
-
<div class="refsect2"
|
1072
|
+
<div class="refsect2">
|
1102
1073
|
<a name="gdk-draw-arc"></a><h3>gdk_draw_arc ()</h3>
|
1103
1074
|
<pre class="programlisting"><span class="returnvalue">void</span> gdk_draw_arc (<em class="parameter"><code><a class="link" href="gdk-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a> *drawable</code></em>,
|
1104
1075
|
<em class="parameter"><code><a class="link" href="gdk-Graphics-Contexts.html#GdkGC"><span class="type">GdkGC</span></a> *gc</code></em>,
|
@@ -1109,7 +1080,7 @@ and (20, 0), which makes it 21 pixels wide and 21 pixels high.
|
|
1109
1080
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> height</code></em>,
|
1110
1081
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> angle1</code></em>,
|
1111
1082
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> angle2</code></em>);</pre>
|
1112
|
-
<div class="warning"
|
1083
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1113
1084
|
<h3 class="title">Warning</h3>
|
1114
1085
|
<p><code class="literal">gdk_draw_arc</code> has been deprecated since version 2.22 and should not be used in newly-written code. Use <a href="/usr/share/gtk-doc/html/cairo/cairo-Paths.html#cairo-arc"><code class="function">cairo_arc()</code></a> and <a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-fill"><code class="function">cairo_fill()</code></a> or <a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-stroke"><code class="function">cairo_stroke()</code></a>
|
1115
1086
|
instead. Note that arcs just like any drawing operation in Cairo are
|
@@ -1125,64 +1096,55 @@ of the ellipse to be drawn.
|
|
1125
1096
|
<tbody>
|
1126
1097
|
<tr>
|
1127
1098
|
<td><p><span class="term"><em class="parameter"><code>drawable</code></em> :</span></p></td>
|
1128
|
-
<td>a <a class="link" href="gdk-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a> (a <a class="link" href="gdk-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> or a <a class="link" href="gdk-Bitmaps-and-Pixmaps.html#GdkPixmap"><span class="type">GdkPixmap</span></a>)
|
1129
|
-
</td>
|
1099
|
+
<td>a <a class="link" href="gdk-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a> (a <a class="link" href="gdk-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> or a <a class="link" href="gdk-Bitmaps-and-Pixmaps.html#GdkPixmap"><span class="type">GdkPixmap</span></a>).</td>
|
1130
1100
|
</tr>
|
1131
1101
|
<tr>
|
1132
1102
|
<td><p><span class="term"><em class="parameter"><code>gc</code></em> :</span></p></td>
|
1133
|
-
<td>a <a class="link" href="gdk-Graphics-Contexts.html#GdkGC"><span class="type">GdkGC</span></a
|
1134
|
-
</td>
|
1103
|
+
<td>a <a class="link" href="gdk-Graphics-Contexts.html#GdkGC"><span class="type">GdkGC</span></a>.</td>
|
1135
1104
|
</tr>
|
1136
1105
|
<tr>
|
1137
1106
|
<td><p><span class="term"><em class="parameter"><code>filled</code></em> :</span></p></td>
|
1138
1107
|
<td>
|
1139
|
-
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the arc should be filled, producing a 'pie slice'
|
1140
|
-
</td>
|
1108
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the arc should be filled, producing a 'pie slice'.</td>
|
1141
1109
|
</tr>
|
1142
1110
|
<tr>
|
1143
1111
|
<td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
|
1144
|
-
<td>the x coordinate of the left edge of the bounding rectangle
|
1145
|
-
</td>
|
1112
|
+
<td>the x coordinate of the left edge of the bounding rectangle.</td>
|
1146
1113
|
</tr>
|
1147
1114
|
<tr>
|
1148
1115
|
<td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
|
1149
|
-
<td>the y coordinate of the top edge of the bounding rectangle
|
1150
|
-
</td>
|
1116
|
+
<td>the y coordinate of the top edge of the bounding rectangle.</td>
|
1151
1117
|
</tr>
|
1152
1118
|
<tr>
|
1153
1119
|
<td><p><span class="term"><em class="parameter"><code>width</code></em> :</span></p></td>
|
1154
|
-
<td>the width of the bounding rectangle
|
1155
|
-
</td>
|
1120
|
+
<td>the width of the bounding rectangle.</td>
|
1156
1121
|
</tr>
|
1157
1122
|
<tr>
|
1158
1123
|
<td><p><span class="term"><em class="parameter"><code>height</code></em> :</span></p></td>
|
1159
|
-
<td>the height of the bounding rectangle
|
1160
|
-
</td>
|
1124
|
+
<td>the height of the bounding rectangle.</td>
|
1161
1125
|
</tr>
|
1162
1126
|
<tr>
|
1163
1127
|
<td><p><span class="term"><em class="parameter"><code>angle1</code></em> :</span></p></td>
|
1164
1128
|
<td>the start angle of the arc, relative to the 3 o'clock position,
|
1165
|
-
|
1166
|
-
</td>
|
1129
|
+
counter-clockwise, in 1/64ths of a degree.</td>
|
1167
1130
|
</tr>
|
1168
1131
|
<tr>
|
1169
1132
|
<td><p><span class="term"><em class="parameter"><code>angle2</code></em> :</span></p></td>
|
1170
|
-
<td>the end angle of the arc, relative to <em class="parameter"><code>angle1</code></em>, in 1/64ths
|
1171
|
-
|
1172
|
-
</td>
|
1133
|
+
<td>the end angle of the arc, relative to <em class="parameter"><code>angle1</code></em>, in 1/64ths
|
1134
|
+
of a degree.</td>
|
1173
1135
|
</tr>
|
1174
1136
|
</tbody>
|
1175
1137
|
</table></div>
|
1176
1138
|
</div>
|
1177
1139
|
<hr>
|
1178
|
-
<div class="refsect2"
|
1140
|
+
<div class="refsect2">
|
1179
1141
|
<a name="gdk-draw-polygon"></a><h3>gdk_draw_polygon ()</h3>
|
1180
1142
|
<pre class="programlisting"><span class="returnvalue">void</span> gdk_draw_polygon (<em class="parameter"><code><a class="link" href="gdk-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a> *drawable</code></em>,
|
1181
1143
|
<em class="parameter"><code><a class="link" href="gdk-Graphics-Contexts.html#GdkGC"><span class="type">GdkGC</span></a> *gc</code></em>,
|
1182
1144
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> filled</code></em>,
|
1183
|
-
<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>,
|
1145
|
+
<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>,
|
1184
1146
|
<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>);</pre>
|
1185
|
-
<div class="warning"
|
1147
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1186
1148
|
<h3 class="title">Warning</h3>
|
1187
1149
|
<p><code class="literal">gdk_draw_polygon</code> has been deprecated since version 2.22 and should not be used in newly-written code. Use <a href="/usr/share/gtk-doc/html/cairo/cairo-Paths.html#cairo-line-to"><code class="function">cairo_line_to()</code></a> or <a href="/usr/share/gtk-doc/html/cairo/cairo-Paths.html#cairo-append-path"><code class="function">cairo_append_path()</code></a> and
|
1188
1150
|
<a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-fill"><code class="function">cairo_fill()</code></a> or <a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-stroke"><code class="function">cairo_stroke()</code></a> instead.</p>
|
@@ -1195,44 +1157,39 @@ Draws an outlined or filled polygon.
|
|
1195
1157
|
<tbody>
|
1196
1158
|
<tr>
|
1197
1159
|
<td><p><span class="term"><em class="parameter"><code>drawable</code></em> :</span></p></td>
|
1198
|
-
<td>a <a class="link" href="gdk-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a> (a <a class="link" href="gdk-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> or a <a class="link" href="gdk-Bitmaps-and-Pixmaps.html#GdkPixmap"><span class="type">GdkPixmap</span></a>)
|
1199
|
-
</td>
|
1160
|
+
<td>a <a class="link" href="gdk-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a> (a <a class="link" href="gdk-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> or a <a class="link" href="gdk-Bitmaps-and-Pixmaps.html#GdkPixmap"><span class="type">GdkPixmap</span></a>).</td>
|
1200
1161
|
</tr>
|
1201
1162
|
<tr>
|
1202
1163
|
<td><p><span class="term"><em class="parameter"><code>gc</code></em> :</span></p></td>
|
1203
|
-
<td>a <a class="link" href="gdk-Graphics-Contexts.html#GdkGC"><span class="type">GdkGC</span></a
|
1204
|
-
</td>
|
1164
|
+
<td>a <a class="link" href="gdk-Graphics-Contexts.html#GdkGC"><span class="type">GdkGC</span></a>.</td>
|
1205
1165
|
</tr>
|
1206
1166
|
<tr>
|
1207
1167
|
<td><p><span class="term"><em class="parameter"><code>filled</code></em> :</span></p></td>
|
1208
1168
|
<td>
|
1209
1169
|
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the polygon should be filled. The polygon is closed
|
1210
|
-
|
1211
|
-
|
1212
|
-
</td>
|
1170
|
+
automatically, connecting the last point to the first point if
|
1171
|
+
necessary.</td>
|
1213
1172
|
</tr>
|
1214
1173
|
<tr>
|
1215
1174
|
<td><p><span class="term"><em class="parameter"><code>points</code></em> :</span></p></td>
|
1216
|
-
<td>an array of <a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkPoint" title="GdkPoint"><span class="type">GdkPoint</span></a> structures specifying the points making
|
1217
|
-
|
1218
|
-
</td>
|
1175
|
+
<td>an array of <a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkPoint" title="struct GdkPoint"><span class="type">GdkPoint</span></a> structures specifying the points making
|
1176
|
+
up the polygon.</td>
|
1219
1177
|
</tr>
|
1220
1178
|
<tr>
|
1221
1179
|
<td><p><span class="term"><em class="parameter"><code>n_points</code></em> :</span></p></td>
|
1222
|
-
<td>the number of points
|
1223
|
-
</td>
|
1180
|
+
<td>the number of points.</td>
|
1224
1181
|
</tr>
|
1225
1182
|
</tbody>
|
1226
1183
|
</table></div>
|
1227
1184
|
</div>
|
1228
1185
|
<hr>
|
1229
|
-
<div class="refsect2"
|
1186
|
+
<div class="refsect2">
|
1230
1187
|
<a name="gdk-draw-trapezoids"></a><h3>gdk_draw_trapezoids ()</h3>
|
1231
1188
|
<pre class="programlisting"><span class="returnvalue">void</span> gdk_draw_trapezoids (<em class="parameter"><code><a class="link" href="gdk-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a> *drawable</code></em>,
|
1232
1189
|
<em class="parameter"><code><a class="link" href="gdk-Graphics-Contexts.html#GdkGC"><span class="type">GdkGC</span></a> *gc</code></em>,
|
1233
|
-
<em class="parameter"><code>const <a class="link" href="gdk-Drawing-Primitives.html#GdkTrapezoid" title="GdkTrapezoid"><span class="type">GdkTrapezoid</span></a> *trapezoids</code></em>,
|
1190
|
+
<em class="parameter"><code>const <a class="link" href="gdk-Drawing-Primitives.html#GdkTrapezoid" title="struct GdkTrapezoid"><span class="type">GdkTrapezoid</span></a> *trapezoids</code></em>,
|
1234
1191
|
<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_trapezoids</code></em>);</pre>
|
1235
|
-
<div class="warning"
|
1192
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1236
1193
|
<h3 class="title">Warning</h3>
|
1237
1194
|
<p><code class="literal">gdk_draw_trapezoids</code> has been deprecated since version 2.22 and should not be used in newly-written code. Use Cairo path contruction functions and <a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-fill"><code class="function">cairo_fill()</code></a>
|
1238
1195
|
instead.</p>
|
@@ -1259,24 +1216,22 @@ likely not useful for applications.
|
|
1259
1216
|
</tr>
|
1260
1217
|
<tr>
|
1261
1218
|
<td><p><span class="term"><em class="parameter"><code>trapezoids</code></em> :</span></p></td>
|
1262
|
-
<td>an array of <a class="link" href="gdk-Drawing-Primitives.html#GdkTrapezoid" title="GdkTrapezoid"><span class="type">GdkTrapezoid</span></a> structures
|
1263
|
-
</td>
|
1219
|
+
<td>an array of <a class="link" href="gdk-Drawing-Primitives.html#GdkTrapezoid" title="struct GdkTrapezoid"><span class="type">GdkTrapezoid</span></a> structures</td>
|
1264
1220
|
</tr>
|
1265
1221
|
<tr>
|
1266
1222
|
<td><p><span class="term"><em class="parameter"><code>n_trapezoids</code></em> :</span></p></td>
|
1267
|
-
<td>the number of trapezoids to draw
|
1268
|
-
</td>
|
1223
|
+
<td>the number of trapezoids to draw</td>
|
1269
1224
|
</tr>
|
1270
1225
|
</tbody>
|
1271
1226
|
</table></div>
|
1272
1227
|
<p class="since">Since 2.6</p>
|
1273
1228
|
</div>
|
1274
1229
|
<hr>
|
1275
|
-
<div class="refsect2"
|
1276
|
-
<a name="GdkTrapezoid"></a><h3>GdkTrapezoid</h3>
|
1277
|
-
<pre class="programlisting">
|
1230
|
+
<div class="refsect2">
|
1231
|
+
<a name="GdkTrapezoid"></a><h3>struct GdkTrapezoid</h3>
|
1232
|
+
<pre class="programlisting">struct GdkTrapezoid {
|
1278
1233
|
double y1, x11, x21, y2, x12, x22;
|
1279
|
-
}
|
1234
|
+
};
|
1280
1235
|
</pre>
|
1281
1236
|
<p>
|
1282
1237
|
Specifies a trapezpoid for use by the <a class="link" href="gdk-Drawing-Primitives.html#gdk-draw-trapezoids" title="gdk_draw_trapezoids ()"><code class="function">gdk_draw_trapezoids()</code></a>.
|
@@ -1288,39 +1243,33 @@ bottom edges.
|
|
1288
1243
|
<tbody>
|
1289
1244
|
<tr>
|
1290
1245
|
<td><p><span class="term"><span class="type">double</span> <em class="structfield"><code><a name="GdkTrapezoid.y1"></a>y1</code></em>;</span></p></td>
|
1291
|
-
<td>the y coordinate of the start point
|
1292
|
-
</td>
|
1246
|
+
<td>the y coordinate of the start point.</td>
|
1293
1247
|
</tr>
|
1294
1248
|
<tr>
|
1295
1249
|
<td><p><span class="term"><span class="type">double</span> <em class="structfield"><code><a name="GdkTrapezoid.x11"></a>x11</code></em>;</span></p></td>
|
1296
|
-
<td>the x coordinate of the top left corner
|
1297
|
-
</td>
|
1250
|
+
<td>the x coordinate of the top left corner</td>
|
1298
1251
|
</tr>
|
1299
1252
|
<tr>
|
1300
1253
|
<td><p><span class="term"><span class="type">double</span> <em class="structfield"><code><a name="GdkTrapezoid.x21"></a>x21</code></em>;</span></p></td>
|
1301
|
-
<td>the x coordinate of the top right corner
|
1302
|
-
</td>
|
1254
|
+
<td>the x coordinate of the top right corner</td>
|
1303
1255
|
</tr>
|
1304
1256
|
<tr>
|
1305
1257
|
<td><p><span class="term"><span class="type">double</span> <em class="structfield"><code><a name="GdkTrapezoid.y2"></a>y2</code></em>;</span></p></td>
|
1306
|
-
<td>the y coordinate of the end point
|
1307
|
-
</td>
|
1258
|
+
<td>the y coordinate of the end point.</td>
|
1308
1259
|
</tr>
|
1309
1260
|
<tr>
|
1310
1261
|
<td><p><span class="term"><span class="type">double</span> <em class="structfield"><code><a name="GdkTrapezoid.x12"></a>x12</code></em>;</span></p></td>
|
1311
|
-
<td>the x coordinate of the bottom left corner
|
1312
|
-
</td>
|
1262
|
+
<td>the x coordinate of the bottom left corner</td>
|
1313
1263
|
</tr>
|
1314
1264
|
<tr>
|
1315
1265
|
<td><p><span class="term"><span class="type">double</span> <em class="structfield"><code><a name="GdkTrapezoid.x22"></a>x22</code></em>;</span></p></td>
|
1316
|
-
<td>the x coordinate of the bottom right corner
|
1317
|
-
</td>
|
1266
|
+
<td>the x coordinate of the bottom right corner</td>
|
1318
1267
|
</tr>
|
1319
1268
|
</tbody>
|
1320
1269
|
</table></div>
|
1321
1270
|
</div>
|
1322
1271
|
<hr>
|
1323
|
-
<div class="refsect2"
|
1272
|
+
<div class="refsect2">
|
1324
1273
|
<a name="gdk-draw-glyphs"></a><h3>gdk_draw_glyphs ()</h3>
|
1325
1274
|
<pre class="programlisting"><span class="returnvalue">void</span> gdk_draw_glyphs (<em class="parameter"><code><a class="link" href="gdk-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a> *drawable</code></em>,
|
1326
1275
|
<em class="parameter"><code><a class="link" href="gdk-Graphics-Contexts.html#GdkGC"><span class="type">GdkGC</span></a> *gc</code></em>,
|
@@ -1328,7 +1277,7 @@ bottom edges.
|
|
1328
1277
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x</code></em>,
|
1329
1278
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y</code></em>,
|
1330
1279
|
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/pango/pango-Glyph-Storage.html#PangoGlyphString"><span class="type">PangoGlyphString</span></a> *glyphs</code></em>);</pre>
|
1331
|
-
<div class="warning"
|
1280
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1332
1281
|
<h3 class="title">Warning</h3>
|
1333
1282
|
<p><code class="literal">gdk_draw_glyphs</code> has been deprecated since version 2.22 and should not be used in newly-written code. Use <code class="function">pango_cairo_show_glyphs()</code> instead.</p>
|
1334
1283
|
</div>
|
@@ -1358,29 +1307,25 @@ understand; thus, use <a class="link" href="gdk-Drawing-Primitives.html#gdk-draw
|
|
1358
1307
|
</tr>
|
1359
1308
|
<tr>
|
1360
1309
|
<td><p><span class="term"><em class="parameter"><code>font</code></em> :</span></p></td>
|
1361
|
-
<td>font to be used
|
1362
|
-
</td>
|
1310
|
+
<td>font to be used</td>
|
1363
1311
|
</tr>
|
1364
1312
|
<tr>
|
1365
1313
|
<td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
|
1366
|
-
<td>X coordinate of baseline origin
|
1367
|
-
</td>
|
1314
|
+
<td>X coordinate of baseline origin</td>
|
1368
1315
|
</tr>
|
1369
1316
|
<tr>
|
1370
1317
|
<td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
|
1371
|
-
<td>Y coordinate of baseline origin
|
1372
|
-
</td>
|
1318
|
+
<td>Y coordinate of baseline origin</td>
|
1373
1319
|
</tr>
|
1374
1320
|
<tr>
|
1375
1321
|
<td><p><span class="term"><em class="parameter"><code>glyphs</code></em> :</span></p></td>
|
1376
|
-
<td>the glyph string to draw
|
1377
|
-
</td>
|
1322
|
+
<td>the glyph string to draw</td>
|
1378
1323
|
</tr>
|
1379
1324
|
</tbody>
|
1380
1325
|
</table></div>
|
1381
1326
|
</div>
|
1382
1327
|
<hr>
|
1383
|
-
<div class="refsect2"
|
1328
|
+
<div class="refsect2">
|
1384
1329
|
<a name="gdk-draw-glyphs-transformed"></a><h3>gdk_draw_glyphs_transformed ()</h3>
|
1385
1330
|
<pre class="programlisting"><span class="returnvalue">void</span> gdk_draw_glyphs_transformed (<em class="parameter"><code><a class="link" href="gdk-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a> *drawable</code></em>,
|
1386
1331
|
<em class="parameter"><code><a class="link" href="gdk-Graphics-Contexts.html#GdkGC"><span class="type">GdkGC</span></a> *gc</code></em>,
|
@@ -1389,7 +1334,7 @@ understand; thus, use <a class="link" href="gdk-Drawing-Primitives.html#gdk-draw
|
|
1389
1334
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x</code></em>,
|
1390
1335
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y</code></em>,
|
1391
1336
|
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/pango/pango-Glyph-Storage.html#PangoGlyphString"><span class="type">PangoGlyphString</span></a> *glyphs</code></em>);</pre>
|
1392
|
-
<div class="warning"
|
1337
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1393
1338
|
<h3 class="title">Warning</h3>
|
1394
1339
|
<p><code class="literal">gdk_draw_glyphs_transformed</code> has been deprecated since version 2.22 and should not be used in newly-written code. Use <code class="function">pango_cairo_show_glyphs()</code> instead.</p>
|
1395
1340
|
</div>
|
@@ -1419,44 +1364,40 @@ See also <a class="link" href="gdk-Drawing-Primitives.html#gdk-draw-glyphs" titl
|
|
1419
1364
|
</tr>
|
1420
1365
|
<tr>
|
1421
1366
|
<td><p><span class="term"><em class="parameter"><code>matrix</code></em> :</span></p></td>
|
1422
|
-
<td>
|
1367
|
+
<td>a <a href="/usr/share/gtk-doc/html/pango/pango-Glyph-Storage.html#PangoMatrix"><span class="type">PangoMatrix</span></a>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to use an identity transformation. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
1423
1368
|
</td>
|
1424
1369
|
</tr>
|
1425
1370
|
<tr>
|
1426
1371
|
<td><p><span class="term"><em class="parameter"><code>font</code></em> :</span></p></td>
|
1427
|
-
<td>the font in which to draw the string
|
1428
|
-
</td>
|
1372
|
+
<td>the font in which to draw the string</td>
|
1429
1373
|
</tr>
|
1430
1374
|
<tr>
|
1431
1375
|
<td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
|
1432
1376
|
<td>the x position of the start of the string (in Pango
|
1433
|
-
|
1434
|
-
</td>
|
1377
|
+
units in user space coordinates)</td>
|
1435
1378
|
</tr>
|
1436
1379
|
<tr>
|
1437
1380
|
<td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
|
1438
1381
|
<td>the y position of the baseline (in Pango units
|
1439
|
-
|
1440
|
-
</td>
|
1382
|
+
in user space coordinates)</td>
|
1441
1383
|
</tr>
|
1442
1384
|
<tr>
|
1443
1385
|
<td><p><span class="term"><em class="parameter"><code>glyphs</code></em> :</span></p></td>
|
1444
|
-
<td>the glyph string to draw
|
1445
|
-
</td>
|
1386
|
+
<td>the glyph string to draw</td>
|
1446
1387
|
</tr>
|
1447
1388
|
</tbody>
|
1448
1389
|
</table></div>
|
1449
1390
|
<p class="since">Since 2.6</p>
|
1450
1391
|
</div>
|
1451
1392
|
<hr>
|
1452
|
-
<div class="refsect2"
|
1393
|
+
<div class="refsect2">
|
1453
1394
|
<a name="gdk-draw-layout-line"></a><h3>gdk_draw_layout_line ()</h3>
|
1454
1395
|
<pre class="programlisting"><span class="returnvalue">void</span> gdk_draw_layout_line (<em class="parameter"><code><a class="link" href="gdk-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a> *drawable</code></em>,
|
1455
1396
|
<em class="parameter"><code><a class="link" href="gdk-Graphics-Contexts.html#GdkGC"><span class="type">GdkGC</span></a> *gc</code></em>,
|
1456
1397
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x</code></em>,
|
1457
1398
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y</code></em>,
|
1458
1399
|
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/pango/pango-Layout-Objects.html#PangoLayoutLine"><span class="type">PangoLayoutLine</span></a> *line</code></em>);</pre>
|
1459
|
-
<div class="warning"
|
1400
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1460
1401
|
<h3 class="title">Warning</h3>
|
1461
1402
|
<p><code class="literal">gdk_draw_layout_line</code> is deprecated and should not be used in newly-written code.</p>
|
1462
1403
|
</div>
|
@@ -1474,23 +1415,19 @@ device coordinates.
|
|
1474
1415
|
<tbody>
|
1475
1416
|
<tr>
|
1476
1417
|
<td><p><span class="term"><em class="parameter"><code>drawable</code></em> :</span></p></td>
|
1477
|
-
<td>the drawable on which to draw the line
|
1478
|
-
</td>
|
1418
|
+
<td>the drawable on which to draw the line</td>
|
1479
1419
|
</tr>
|
1480
1420
|
<tr>
|
1481
1421
|
<td><p><span class="term"><em class="parameter"><code>gc</code></em> :</span></p></td>
|
1482
|
-
<td>base graphics to use
|
1483
|
-
</td>
|
1422
|
+
<td>base graphics to use</td>
|
1484
1423
|
</tr>
|
1485
1424
|
<tr>
|
1486
1425
|
<td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
|
1487
|
-
<td>the x position of start of string (in pixels)
|
1488
|
-
</td>
|
1426
|
+
<td>the x position of start of string (in pixels)</td>
|
1489
1427
|
</tr>
|
1490
1428
|
<tr>
|
1491
1429
|
<td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
|
1492
|
-
<td>the y position of baseline (in pixels)
|
1493
|
-
</td>
|
1430
|
+
<td>the y position of baseline (in pixels)</td>
|
1494
1431
|
</tr>
|
1495
1432
|
<tr>
|
1496
1433
|
<td><p><span class="term"><em class="parameter"><code>line</code></em> :</span></p></td>
|
@@ -1501,7 +1438,7 @@ device coordinates.
|
|
1501
1438
|
</table></div>
|
1502
1439
|
</div>
|
1503
1440
|
<hr>
|
1504
|
-
<div class="refsect2"
|
1441
|
+
<div class="refsect2">
|
1505
1442
|
<a name="gdk-draw-layout-line-with-colors"></a><h3>gdk_draw_layout_line_with_colors ()</h3>
|
1506
1443
|
<pre class="programlisting"><span class="returnvalue">void</span> gdk_draw_layout_line_with_colors (<em class="parameter"><code><a class="link" href="gdk-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a> *drawable</code></em>,
|
1507
1444
|
<em class="parameter"><code><a class="link" href="gdk-Graphics-Contexts.html#GdkGC"><span class="type">GdkGC</span></a> *gc</code></em>,
|
@@ -1510,7 +1447,7 @@ device coordinates.
|
|
1510
1447
|
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/pango/pango-Layout-Objects.html#PangoLayoutLine"><span class="type">PangoLayoutLine</span></a> *line</code></em>,
|
1511
1448
|
<em class="parameter"><code>const <a class="link" href="gdk-Colormaps-and-Colors.html#GdkColor" title="GdkColor"><span class="type">GdkColor</span></a> *foreground</code></em>,
|
1512
1449
|
<em class="parameter"><code>const <a class="link" href="gdk-Colormaps-and-Colors.html#GdkColor" title="GdkColor"><span class="type">GdkColor</span></a> *background</code></em>);</pre>
|
1513
|
-
<div class="warning"
|
1450
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1514
1451
|
<h3 class="title">Warning</h3>
|
1515
1452
|
<p><code class="literal">gdk_draw_layout_line_with_colors</code> is deprecated and should not be used in newly-written code.</p>
|
1516
1453
|
</div>
|
@@ -1530,23 +1467,19 @@ device coordinates.
|
|
1530
1467
|
<tbody>
|
1531
1468
|
<tr>
|
1532
1469
|
<td><p><span class="term"><em class="parameter"><code>drawable</code></em> :</span></p></td>
|
1533
|
-
<td>the drawable on which to draw the line
|
1534
|
-
</td>
|
1470
|
+
<td>the drawable on which to draw the line</td>
|
1535
1471
|
</tr>
|
1536
1472
|
<tr>
|
1537
1473
|
<td><p><span class="term"><em class="parameter"><code>gc</code></em> :</span></p></td>
|
1538
|
-
<td>base graphics to use
|
1539
|
-
</td>
|
1474
|
+
<td>base graphics to use</td>
|
1540
1475
|
</tr>
|
1541
1476
|
<tr>
|
1542
1477
|
<td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
|
1543
|
-
<td>the x position of start of string (in pixels)
|
1544
|
-
</td>
|
1478
|
+
<td>the x position of start of string (in pixels)</td>
|
1545
1479
|
</tr>
|
1546
1480
|
<tr>
|
1547
1481
|
<td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
|
1548
|
-
<td>the y position of baseline (in pixels)
|
1549
|
-
</td>
|
1482
|
+
<td>the y position of baseline (in pixels)</td>
|
1550
1483
|
</tr>
|
1551
1484
|
<tr>
|
1552
1485
|
<td><p><span class="term"><em class="parameter"><code>line</code></em> :</span></p></td>
|
@@ -1555,26 +1488,26 @@ device coordinates.
|
|
1555
1488
|
</tr>
|
1556
1489
|
<tr>
|
1557
1490
|
<td><p><span class="term"><em class="parameter"><code>foreground</code></em> :</span></p></td>
|
1558
|
-
<td>
|
1491
|
+
<td>foreground override color, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> for none. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
1559
1492
|
</td>
|
1560
1493
|
</tr>
|
1561
1494
|
<tr>
|
1562
1495
|
<td><p><span class="term"><em class="parameter"><code>background</code></em> :</span></p></td>
|
1563
|
-
<td>
|
1496
|
+
<td>background override color, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> for none. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
1564
1497
|
</td>
|
1565
1498
|
</tr>
|
1566
1499
|
</tbody>
|
1567
1500
|
</table></div>
|
1568
1501
|
</div>
|
1569
1502
|
<hr>
|
1570
|
-
<div class="refsect2"
|
1503
|
+
<div class="refsect2">
|
1571
1504
|
<a name="gdk-draw-layout"></a><h3>gdk_draw_layout ()</h3>
|
1572
1505
|
<pre class="programlisting"><span class="returnvalue">void</span> gdk_draw_layout (<em class="parameter"><code><a class="link" href="gdk-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a> *drawable</code></em>,
|
1573
1506
|
<em class="parameter"><code><a class="link" href="gdk-Graphics-Contexts.html#GdkGC"><span class="type">GdkGC</span></a> *gc</code></em>,
|
1574
1507
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x</code></em>,
|
1575
1508
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y</code></em>,
|
1576
1509
|
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/pango/pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>);</pre>
|
1577
|
-
<div class="warning"
|
1510
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1578
1511
|
<h3 class="title">Warning</h3>
|
1579
1512
|
<p><code class="literal">gdk_draw_layout</code> is deprecated and should not be used in newly-written code.</p>
|
1580
1513
|
</div>
|
@@ -1595,23 +1528,19 @@ is <a href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html#gtk-widge
|
|
1595
1528
|
<tbody>
|
1596
1529
|
<tr>
|
1597
1530
|
<td><p><span class="term"><em class="parameter"><code>drawable</code></em> :</span></p></td>
|
1598
|
-
<td>the drawable on which to draw string
|
1599
|
-
</td>
|
1531
|
+
<td>the drawable on which to draw string</td>
|
1600
1532
|
</tr>
|
1601
1533
|
<tr>
|
1602
1534
|
<td><p><span class="term"><em class="parameter"><code>gc</code></em> :</span></p></td>
|
1603
|
-
<td>base graphics context to use
|
1604
|
-
</td>
|
1535
|
+
<td>base graphics context to use</td>
|
1605
1536
|
</tr>
|
1606
1537
|
<tr>
|
1607
1538
|
<td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
|
1608
|
-
<td>the X position of the left of the layout (in pixels)
|
1609
|
-
</td>
|
1539
|
+
<td>the X position of the left of the layout (in pixels)</td>
|
1610
1540
|
</tr>
|
1611
1541
|
<tr>
|
1612
1542
|
<td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
|
1613
|
-
<td>the Y position of the top of the layout (in pixels)
|
1614
|
-
</td>
|
1543
|
+
<td>the Y position of the top of the layout (in pixels)</td>
|
1615
1544
|
</tr>
|
1616
1545
|
<tr>
|
1617
1546
|
<td><p><span class="term"><em class="parameter"><code>layout</code></em> :</span></p></td>
|
@@ -1622,7 +1551,7 @@ is <a href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html#gtk-widge
|
|
1622
1551
|
</table></div>
|
1623
1552
|
</div>
|
1624
1553
|
<hr>
|
1625
|
-
<div class="refsect2"
|
1554
|
+
<div class="refsect2">
|
1626
1555
|
<a name="gdk-draw-layout-with-colors"></a><h3>gdk_draw_layout_with_colors ()</h3>
|
1627
1556
|
<pre class="programlisting"><span class="returnvalue">void</span> gdk_draw_layout_with_colors (<em class="parameter"><code><a class="link" href="gdk-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a> *drawable</code></em>,
|
1628
1557
|
<em class="parameter"><code><a class="link" href="gdk-Graphics-Contexts.html#GdkGC"><span class="type">GdkGC</span></a> *gc</code></em>,
|
@@ -1631,7 +1560,7 @@ is <a href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html#gtk-widge
|
|
1631
1560
|
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/pango/pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>,
|
1632
1561
|
<em class="parameter"><code>const <a class="link" href="gdk-Colormaps-and-Colors.html#GdkColor" title="GdkColor"><span class="type">GdkColor</span></a> *foreground</code></em>,
|
1633
1562
|
<em class="parameter"><code>const <a class="link" href="gdk-Colormaps-and-Colors.html#GdkColor" title="GdkColor"><span class="type">GdkColor</span></a> *background</code></em>);</pre>
|
1634
|
-
<div class="warning"
|
1563
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1635
1564
|
<h3 class="title">Warning</h3>
|
1636
1565
|
<p><code class="literal">gdk_draw_layout_with_colors</code> is deprecated and should not be used in newly-written code.</p>
|
1637
1566
|
</div>
|
@@ -1654,23 +1583,19 @@ is <a href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html#gtk-widge
|
|
1654
1583
|
<tbody>
|
1655
1584
|
<tr>
|
1656
1585
|
<td><p><span class="term"><em class="parameter"><code>drawable</code></em> :</span></p></td>
|
1657
|
-
<td>the drawable on which to draw string
|
1658
|
-
</td>
|
1586
|
+
<td>the drawable on which to draw string</td>
|
1659
1587
|
</tr>
|
1660
1588
|
<tr>
|
1661
1589
|
<td><p><span class="term"><em class="parameter"><code>gc</code></em> :</span></p></td>
|
1662
|
-
<td>base graphics context to use
|
1663
|
-
</td>
|
1590
|
+
<td>base graphics context to use</td>
|
1664
1591
|
</tr>
|
1665
1592
|
<tr>
|
1666
1593
|
<td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
|
1667
|
-
<td>the X position of the left of the layout (in pixels)
|
1668
|
-
</td>
|
1594
|
+
<td>the X position of the left of the layout (in pixels)</td>
|
1669
1595
|
</tr>
|
1670
1596
|
<tr>
|
1671
1597
|
<td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
|
1672
|
-
<td>the Y position of the top of the layout (in pixels)
|
1673
|
-
</td>
|
1598
|
+
<td>the Y position of the top of the layout (in pixels)</td>
|
1674
1599
|
</tr>
|
1675
1600
|
<tr>
|
1676
1601
|
<td><p><span class="term"><em class="parameter"><code>layout</code></em> :</span></p></td>
|
@@ -1679,19 +1604,19 @@ is <a href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html#gtk-widge
|
|
1679
1604
|
</tr>
|
1680
1605
|
<tr>
|
1681
1606
|
<td><p><span class="term"><em class="parameter"><code>foreground</code></em> :</span></p></td>
|
1682
|
-
<td>
|
1607
|
+
<td>foreground override color, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> for none. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
1683
1608
|
</td>
|
1684
1609
|
</tr>
|
1685
1610
|
<tr>
|
1686
1611
|
<td><p><span class="term"><em class="parameter"><code>background</code></em> :</span></p></td>
|
1687
|
-
<td>
|
1612
|
+
<td>background override color, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> for none. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
1688
1613
|
</td>
|
1689
1614
|
</tr>
|
1690
1615
|
</tbody>
|
1691
1616
|
</table></div>
|
1692
1617
|
</div>
|
1693
1618
|
<hr>
|
1694
|
-
<div class="refsect2"
|
1619
|
+
<div class="refsect2">
|
1695
1620
|
<a name="gdk-draw-string"></a><h3>gdk_draw_string ()</h3>
|
1696
1621
|
<pre class="programlisting"><span class="returnvalue">void</span> gdk_draw_string (<em class="parameter"><code><a class="link" href="gdk-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a> *drawable</code></em>,
|
1697
1622
|
<em class="parameter"><code><a class="link" href="gdk-Fonts.html#GdkFont" title="GdkFont"><span class="type">GdkFont</span></a> *font</code></em>,
|
@@ -1699,7 +1624,7 @@ is <a href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html#gtk-widge
|
|
1699
1624
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x</code></em>,
|
1700
1625
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y</code></em>,
|
1701
1626
|
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *string</code></em>);</pre>
|
1702
|
-
<div class="warning"
|
1627
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1703
1628
|
<h3 class="title">Warning</h3>
|
1704
1629
|
<p><code class="literal">gdk_draw_string</code> has been deprecated since version 2.4 and should not be used in newly-written code. Use <a class="link" href="gdk-Drawing-Primitives.html#gdk-draw-layout" title="gdk_draw_layout ()"><code class="function">gdk_draw_layout()</code></a> instead.</p>
|
1705
1630
|
</div>
|
@@ -1711,39 +1636,33 @@ Draws a string of characters in the given font or fontset.
|
|
1711
1636
|
<tbody>
|
1712
1637
|
<tr>
|
1713
1638
|
<td><p><span class="term"><em class="parameter"><code>drawable</code></em> :</span></p></td>
|
1714
|
-
<td>a <a class="link" href="gdk-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a> (a <a class="link" href="gdk-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> or a <a class="link" href="gdk-Bitmaps-and-Pixmaps.html#GdkPixmap"><span class="type">GdkPixmap</span></a>)
|
1715
|
-
</td>
|
1639
|
+
<td>a <a class="link" href="gdk-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a> (a <a class="link" href="gdk-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> or a <a class="link" href="gdk-Bitmaps-and-Pixmaps.html#GdkPixmap"><span class="type">GdkPixmap</span></a>).</td>
|
1716
1640
|
</tr>
|
1717
1641
|
<tr>
|
1718
1642
|
<td><p><span class="term"><em class="parameter"><code>font</code></em> :</span></p></td>
|
1719
|
-
<td>a <a class="link" href="gdk-Fonts.html#GdkFont" title="GdkFont"><span class="type">GdkFont</span></a
|
1720
|
-
</td>
|
1643
|
+
<td>a <a class="link" href="gdk-Fonts.html#GdkFont" title="GdkFont"><span class="type">GdkFont</span></a>.</td>
|
1721
1644
|
</tr>
|
1722
1645
|
<tr>
|
1723
1646
|
<td><p><span class="term"><em class="parameter"><code>gc</code></em> :</span></p></td>
|
1724
|
-
<td>a <a class="link" href="gdk-Graphics-Contexts.html#GdkGC"><span class="type">GdkGC</span></a
|
1725
|
-
</td>
|
1647
|
+
<td>a <a class="link" href="gdk-Graphics-Contexts.html#GdkGC"><span class="type">GdkGC</span></a>.</td>
|
1726
1648
|
</tr>
|
1727
1649
|
<tr>
|
1728
1650
|
<td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
|
1729
|
-
<td>the x coordinate of the left edge of the text
|
1730
|
-
</td>
|
1651
|
+
<td>the x coordinate of the left edge of the text.</td>
|
1731
1652
|
</tr>
|
1732
1653
|
<tr>
|
1733
1654
|
<td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
|
1734
|
-
<td>the y coordinate of the baseline of the text
|
1735
|
-
</td>
|
1655
|
+
<td>the y coordinate of the baseline of the text.</td>
|
1736
1656
|
</tr>
|
1737
1657
|
<tr>
|
1738
1658
|
<td><p><span class="term"><em class="parameter"><code>string</code></em> :</span></p></td>
|
1739
|
-
<td>the string of characters to draw
|
1740
|
-
</td>
|
1659
|
+
<td>the string of characters to draw.</td>
|
1741
1660
|
</tr>
|
1742
1661
|
</tbody>
|
1743
1662
|
</table></div>
|
1744
1663
|
</div>
|
1745
1664
|
<hr>
|
1746
|
-
<div class="refsect2"
|
1665
|
+
<div class="refsect2">
|
1747
1666
|
<a name="gdk-draw-text"></a><h3>gdk_draw_text ()</h3>
|
1748
1667
|
<pre class="programlisting"><span class="returnvalue">void</span> gdk_draw_text (<em class="parameter"><code><a class="link" href="gdk-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a> *drawable</code></em>,
|
1749
1668
|
<em class="parameter"><code><a class="link" href="gdk-Fonts.html#GdkFont" title="GdkFont"><span class="type">GdkFont</span></a> *font</code></em>,
|
@@ -1752,7 +1671,7 @@ Draws a string of characters in the given font or fontset.
|
|
1752
1671
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y</code></em>,
|
1753
1672
|
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *text</code></em>,
|
1754
1673
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> text_length</code></em>);</pre>
|
1755
|
-
<div class="warning"
|
1674
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1756
1675
|
<h3 class="title">Warning</h3>
|
1757
1676
|
<p><code class="literal">gdk_draw_text</code> has been deprecated since version 2.4 and should not be used in newly-written code. Use <a class="link" href="gdk-Drawing-Primitives.html#gdk-draw-layout" title="gdk_draw_layout ()"><code class="function">gdk_draw_layout()</code></a> instead.</p>
|
1758
1677
|
</div>
|
@@ -1764,44 +1683,37 @@ Draws a number of characters in the given font or fontset.
|
|
1764
1683
|
<tbody>
|
1765
1684
|
<tr>
|
1766
1685
|
<td><p><span class="term"><em class="parameter"><code>drawable</code></em> :</span></p></td>
|
1767
|
-
<td>a <a class="link" href="gdk-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a> (a <a class="link" href="gdk-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> or a <a class="link" href="gdk-Bitmaps-and-Pixmaps.html#GdkPixmap"><span class="type">GdkPixmap</span></a>)
|
1768
|
-
</td>
|
1686
|
+
<td>a <a class="link" href="gdk-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a> (a <a class="link" href="gdk-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> or a <a class="link" href="gdk-Bitmaps-and-Pixmaps.html#GdkPixmap"><span class="type">GdkPixmap</span></a>).</td>
|
1769
1687
|
</tr>
|
1770
1688
|
<tr>
|
1771
1689
|
<td><p><span class="term"><em class="parameter"><code>font</code></em> :</span></p></td>
|
1772
|
-
<td>a <a class="link" href="gdk-Fonts.html#GdkFont" title="GdkFont"><span class="type">GdkFont</span></a
|
1773
|
-
</td>
|
1690
|
+
<td>a <a class="link" href="gdk-Fonts.html#GdkFont" title="GdkFont"><span class="type">GdkFont</span></a>.</td>
|
1774
1691
|
</tr>
|
1775
1692
|
<tr>
|
1776
1693
|
<td><p><span class="term"><em class="parameter"><code>gc</code></em> :</span></p></td>
|
1777
|
-
<td>a <a class="link" href="gdk-Graphics-Contexts.html#GdkGC"><span class="type">GdkGC</span></a
|
1778
|
-
</td>
|
1694
|
+
<td>a <a class="link" href="gdk-Graphics-Contexts.html#GdkGC"><span class="type">GdkGC</span></a>.</td>
|
1779
1695
|
</tr>
|
1780
1696
|
<tr>
|
1781
1697
|
<td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
|
1782
|
-
<td>the x coordinate of the left edge of the text
|
1783
|
-
</td>
|
1698
|
+
<td>the x coordinate of the left edge of the text.</td>
|
1784
1699
|
</tr>
|
1785
1700
|
<tr>
|
1786
1701
|
<td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
|
1787
|
-
<td>the y coordinate of the baseline of the text
|
1788
|
-
</td>
|
1702
|
+
<td>the y coordinate of the baseline of the text.</td>
|
1789
1703
|
</tr>
|
1790
1704
|
<tr>
|
1791
1705
|
<td><p><span class="term"><em class="parameter"><code>text</code></em> :</span></p></td>
|
1792
|
-
<td>the characters to draw
|
1793
|
-
</td>
|
1706
|
+
<td>the characters to draw.</td>
|
1794
1707
|
</tr>
|
1795
1708
|
<tr>
|
1796
1709
|
<td><p><span class="term"><em class="parameter"><code>text_length</code></em> :</span></p></td>
|
1797
|
-
<td>the number of characters of <em class="parameter"><code>text</code></em> to draw
|
1798
|
-
</td>
|
1710
|
+
<td>the number of characters of <em class="parameter"><code>text</code></em> to draw.</td>
|
1799
1711
|
</tr>
|
1800
1712
|
</tbody>
|
1801
1713
|
</table></div>
|
1802
1714
|
</div>
|
1803
1715
|
<hr>
|
1804
|
-
<div class="refsect2"
|
1716
|
+
<div class="refsect2">
|
1805
1717
|
<a name="gdk-draw-text-wc"></a><h3>gdk_draw_text_wc ()</h3>
|
1806
1718
|
<pre class="programlisting"><span class="returnvalue">void</span> gdk_draw_text_wc (<em class="parameter"><code><a class="link" href="gdk-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a> *drawable</code></em>,
|
1807
1719
|
<em class="parameter"><code><a class="link" href="gdk-Fonts.html#GdkFont" title="GdkFont"><span class="type">GdkFont</span></a> *font</code></em>,
|
@@ -1810,7 +1722,7 @@ Draws a number of characters in the given font or fontset.
|
|
1810
1722
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y</code></em>,
|
1811
1723
|
<em class="parameter"><code>const <a class="link" href="gdk-Fonts.html#GdkWChar" title="GdkWChar"><span class="type">GdkWChar</span></a> *text</code></em>,
|
1812
1724
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> text_length</code></em>);</pre>
|
1813
|
-
<div class="warning"
|
1725
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1814
1726
|
<h3 class="title">Warning</h3>
|
1815
1727
|
<p><code class="literal">gdk_draw_text_wc</code> has been deprecated since version 2.4 and should not be used in newly-written code. Use <a class="link" href="gdk-Drawing-Primitives.html#gdk-draw-layout" title="gdk_draw_layout ()"><code class="function">gdk_draw_layout()</code></a> instead.</p>
|
1816
1728
|
</div>
|
@@ -1824,48 +1736,41 @@ characters (discarding the high bytes) before output.
|
|
1824
1736
|
<tbody>
|
1825
1737
|
<tr>
|
1826
1738
|
<td><p><span class="term"><em class="parameter"><code>drawable</code></em> :</span></p></td>
|
1827
|
-
<td>a <a class="link" href="gdk-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a> (a <a class="link" href="gdk-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> or a <a class="link" href="gdk-Bitmaps-and-Pixmaps.html#GdkPixmap"><span class="type">GdkPixmap</span></a>)
|
1828
|
-
</td>
|
1739
|
+
<td>a <a class="link" href="gdk-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a> (a <a class="link" href="gdk-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> or a <a class="link" href="gdk-Bitmaps-and-Pixmaps.html#GdkPixmap"><span class="type">GdkPixmap</span></a>).</td>
|
1829
1740
|
</tr>
|
1830
1741
|
<tr>
|
1831
1742
|
<td><p><span class="term"><em class="parameter"><code>font</code></em> :</span></p></td>
|
1832
|
-
<td>a <a class="link" href="gdk-Fonts.html#GdkFont" title="GdkFont"><span class="type">GdkFont</span></a
|
1833
|
-
</td>
|
1743
|
+
<td>a <a class="link" href="gdk-Fonts.html#GdkFont" title="GdkFont"><span class="type">GdkFont</span></a>.</td>
|
1834
1744
|
</tr>
|
1835
1745
|
<tr>
|
1836
1746
|
<td><p><span class="term"><em class="parameter"><code>gc</code></em> :</span></p></td>
|
1837
|
-
<td>a <a class="link" href="gdk-Graphics-Contexts.html#GdkGC"><span class="type">GdkGC</span></a
|
1838
|
-
</td>
|
1747
|
+
<td>a <a class="link" href="gdk-Graphics-Contexts.html#GdkGC"><span class="type">GdkGC</span></a>.</td>
|
1839
1748
|
</tr>
|
1840
1749
|
<tr>
|
1841
1750
|
<td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
|
1842
|
-
<td>the x coordinate of the left edge of the text
|
1843
|
-
</td>
|
1751
|
+
<td>the x coordinate of the left edge of the text.</td>
|
1844
1752
|
</tr>
|
1845
1753
|
<tr>
|
1846
1754
|
<td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
|
1847
|
-
<td>the y coordinate of the baseline of the text
|
1848
|
-
</td>
|
1755
|
+
<td>the y coordinate of the baseline of the text.</td>
|
1849
1756
|
</tr>
|
1850
1757
|
<tr>
|
1851
1758
|
<td><p><span class="term"><em class="parameter"><code>text</code></em> :</span></p></td>
|
1852
|
-
<td>the wide characters to draw
|
1853
|
-
</td>
|
1759
|
+
<td>the wide characters to draw.</td>
|
1854
1760
|
</tr>
|
1855
1761
|
<tr>
|
1856
1762
|
<td><p><span class="term"><em class="parameter"><code>text_length</code></em> :</span></p></td>
|
1857
|
-
<td>the number of characters to draw
|
1858
|
-
</td>
|
1763
|
+
<td>the number of characters to draw.</td>
|
1859
1764
|
</tr>
|
1860
1765
|
</tbody>
|
1861
1766
|
</table></div>
|
1862
1767
|
</div>
|
1863
1768
|
<hr>
|
1864
|
-
<div class="refsect2"
|
1769
|
+
<div class="refsect2">
|
1865
1770
|
<a name="gdk-draw-pixmap"></a><h3>gdk_draw_pixmap</h3>
|
1866
1771
|
<pre class="programlisting">#define gdk_draw_pixmap gdk_draw_drawable
|
1867
1772
|
</pre>
|
1868
|
-
<div class="warning"
|
1773
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1869
1774
|
<h3 class="title">Warning</h3>
|
1870
1775
|
<p><code class="literal">gdk_draw_pixmap</code> is deprecated and should not be used in newly-written code. Use <a class="link" href="gdk-Drawing-Primitives.html#gdk-draw-drawable" title="gdk_draw_drawable ()"><code class="function">gdk_draw_drawable()</code></a> instead.</p>
|
1871
1776
|
</div>
|
@@ -1874,7 +1779,7 @@ Draws a pixmap, or a part of a pixmap, onto another drawable.
|
|
1874
1779
|
</p>
|
1875
1780
|
</div>
|
1876
1781
|
<hr>
|
1877
|
-
<div class="refsect2"
|
1782
|
+
<div class="refsect2">
|
1878
1783
|
<a name="gdk-draw-drawable"></a><h3>gdk_draw_drawable ()</h3>
|
1879
1784
|
<pre class="programlisting"><span class="returnvalue">void</span> gdk_draw_drawable (<em class="parameter"><code><a class="link" href="gdk-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a> *drawable</code></em>,
|
1880
1785
|
<em class="parameter"><code><a class="link" href="gdk-Graphics-Contexts.html#GdkGC"><span class="type">GdkGC</span></a> *gc</code></em>,
|
@@ -1885,7 +1790,7 @@ Draws a pixmap, or a part of a pixmap, onto another drawable.
|
|
1885
1790
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> ydest</code></em>,
|
1886
1791
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> width</code></em>,
|
1887
1792
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> height</code></em>);</pre>
|
1888
|
-
<div class="warning"
|
1793
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1889
1794
|
<h3 class="title">Warning</h3>
|
1890
1795
|
<p><code class="literal">gdk_draw_drawable</code> has been deprecated since version 2.22 and should not be used in newly-written code. Use <a class="link" href="gdk-Cairo-Interaction.html#gdk-cairo-set-source-pixmap" title="gdk_cairo_set_source_pixmap ()"><code class="function">gdk_cairo_set_source_pixmap()</code></a>, <a href="/usr/share/gtk-doc/html/cairo/cairo-Paths.html#cairo-rectangle"><code class="function">cairo_rectangle()</code></a>
|
1891
1796
|
and <a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-fill"><code class="function">cairo_fill()</code></a> to draw pixmap on top of other drawables. Also keep
|
@@ -1920,8 +1825,7 @@ then draw the rectangle.
|
|
1920
1825
|
</tr>
|
1921
1826
|
<tr>
|
1922
1827
|
<td><p><span class="term"><em class="parameter"><code>gc</code></em> :</span></p></td>
|
1923
|
-
<td>a <a class="link" href="gdk-Graphics-Contexts.html#GdkGC"><span class="type">GdkGC</span></a> sharing the drawable's visual and colormap
|
1924
|
-
</td>
|
1828
|
+
<td>a <a class="link" href="gdk-Graphics-Contexts.html#GdkGC"><span class="type">GdkGC</span></a> sharing the drawable's visual and colormap</td>
|
1925
1829
|
</tr>
|
1926
1830
|
<tr>
|
1927
1831
|
<td><p><span class="term"><em class="parameter"><code>src</code></em> :</span></p></td>
|
@@ -1930,39 +1834,33 @@ then draw the rectangle.
|
|
1930
1834
|
</tr>
|
1931
1835
|
<tr>
|
1932
1836
|
<td><p><span class="term"><em class="parameter"><code>xsrc</code></em> :</span></p></td>
|
1933
|
-
<td>X position in <em class="parameter"><code>src</code></em> of rectangle to draw
|
1934
|
-
</td>
|
1837
|
+
<td>X position in <em class="parameter"><code>src</code></em> of rectangle to draw</td>
|
1935
1838
|
</tr>
|
1936
1839
|
<tr>
|
1937
1840
|
<td><p><span class="term"><em class="parameter"><code>ysrc</code></em> :</span></p></td>
|
1938
|
-
<td>Y position in <em class="parameter"><code>src</code></em> of rectangle to draw
|
1939
|
-
</td>
|
1841
|
+
<td>Y position in <em class="parameter"><code>src</code></em> of rectangle to draw</td>
|
1940
1842
|
</tr>
|
1941
1843
|
<tr>
|
1942
1844
|
<td><p><span class="term"><em class="parameter"><code>xdest</code></em> :</span></p></td>
|
1943
|
-
<td>X position in <em class="parameter"><code>drawable</code></em> where the rectangle should be drawn
|
1944
|
-
</td>
|
1845
|
+
<td>X position in <em class="parameter"><code>drawable</code></em> where the rectangle should be drawn</td>
|
1945
1846
|
</tr>
|
1946
1847
|
<tr>
|
1947
1848
|
<td><p><span class="term"><em class="parameter"><code>ydest</code></em> :</span></p></td>
|
1948
|
-
<td>Y position in <em class="parameter"><code>drawable</code></em> where the rectangle should be drawn
|
1949
|
-
</td>
|
1849
|
+
<td>Y position in <em class="parameter"><code>drawable</code></em> where the rectangle should be drawn</td>
|
1950
1850
|
</tr>
|
1951
1851
|
<tr>
|
1952
1852
|
<td><p><span class="term"><em class="parameter"><code>width</code></em> :</span></p></td>
|
1953
|
-
<td>width of rectangle to draw, or -1 for entire <em class="parameter"><code>src</code></em> width
|
1954
|
-
</td>
|
1853
|
+
<td>width of rectangle to draw, or -1 for entire <em class="parameter"><code>src</code></em> width</td>
|
1955
1854
|
</tr>
|
1956
1855
|
<tr>
|
1957
1856
|
<td><p><span class="term"><em class="parameter"><code>height</code></em> :</span></p></td>
|
1958
|
-
<td>height of rectangle to draw, or -1 for entire <em class="parameter"><code>src</code></em> height
|
1959
|
-
</td>
|
1857
|
+
<td>height of rectangle to draw, or -1 for entire <em class="parameter"><code>src</code></em> height</td>
|
1960
1858
|
</tr>
|
1961
1859
|
</tbody>
|
1962
1860
|
</table></div>
|
1963
1861
|
</div>
|
1964
1862
|
<hr>
|
1965
|
-
<div class="refsect2"
|
1863
|
+
<div class="refsect2">
|
1966
1864
|
<a name="gdk-draw-image"></a><h3>gdk_draw_image ()</h3>
|
1967
1865
|
<pre class="programlisting"><span class="returnvalue">void</span> gdk_draw_image (<em class="parameter"><code><a class="link" href="gdk-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a> *drawable</code></em>,
|
1968
1866
|
<em class="parameter"><code><a class="link" href="gdk-Graphics-Contexts.html#GdkGC"><span class="type">GdkGC</span></a> *gc</code></em>,
|
@@ -1973,7 +1871,7 @@ then draw the rectangle.
|
|
1973
1871
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> ydest</code></em>,
|
1974
1872
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> width</code></em>,
|
1975
1873
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> height</code></em>);</pre>
|
1976
|
-
<div class="warning"
|
1874
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1977
1875
|
<h3 class="title">Warning</h3>
|
1978
1876
|
<p><code class="literal">gdk_draw_image</code> has been deprecated since version 2.22 and should not be used in newly-written code. Do not use <a class="link" href="gdk-Images.html#GdkImage" title="GdkImage"><span class="type">GdkImage</span></a> anymore, instead use Cairo image
|
1979
1877
|
surfaces.</p>
|
@@ -1987,63 +1885,54 @@ The depth of the <a class="link" href="gdk-Images.html#GdkImage" title="GdkImage
|
|
1987
1885
|
<tbody>
|
1988
1886
|
<tr>
|
1989
1887
|
<td><p><span class="term"><em class="parameter"><code>drawable</code></em> :</span></p></td>
|
1990
|
-
<td>a <a class="link" href="gdk-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a> (a <a class="link" href="gdk-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> or a <a class="link" href="gdk-Bitmaps-and-Pixmaps.html#GdkPixmap"><span class="type">GdkPixmap</span></a>)
|
1991
|
-
</td>
|
1888
|
+
<td>a <a class="link" href="gdk-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a> (a <a class="link" href="gdk-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> or a <a class="link" href="gdk-Bitmaps-and-Pixmaps.html#GdkPixmap"><span class="type">GdkPixmap</span></a>).</td>
|
1992
1889
|
</tr>
|
1993
1890
|
<tr>
|
1994
1891
|
<td><p><span class="term"><em class="parameter"><code>gc</code></em> :</span></p></td>
|
1995
|
-
<td>a <a class="link" href="gdk-Graphics-Contexts.html#GdkGC"><span class="type">GdkGC</span></a
|
1996
|
-
</td>
|
1892
|
+
<td>a <a class="link" href="gdk-Graphics-Contexts.html#GdkGC"><span class="type">GdkGC</span></a>.</td>
|
1997
1893
|
</tr>
|
1998
1894
|
<tr>
|
1999
1895
|
<td><p><span class="term"><em class="parameter"><code>image</code></em> :</span></p></td>
|
2000
|
-
<td>the <a class="link" href="gdk-Images.html#GdkImage" title="GdkImage"><span class="type">GdkImage</span></a> to draw
|
2001
|
-
</td>
|
1896
|
+
<td>the <a class="link" href="gdk-Images.html#GdkImage" title="GdkImage"><span class="type">GdkImage</span></a> to draw.</td>
|
2002
1897
|
</tr>
|
2003
1898
|
<tr>
|
2004
1899
|
<td><p><span class="term"><em class="parameter"><code>xsrc</code></em> :</span></p></td>
|
2005
|
-
<td>the left edge of the source rectangle within <em class="parameter"><code>image</code></em
|
2006
|
-
</td>
|
1900
|
+
<td>the left edge of the source rectangle within <em class="parameter"><code>image</code></em>.</td>
|
2007
1901
|
</tr>
|
2008
1902
|
<tr>
|
2009
1903
|
<td><p><span class="term"><em class="parameter"><code>ysrc</code></em> :</span></p></td>
|
2010
|
-
<td>the top of the source rectangle within <em class="parameter"><code>image</code></em
|
2011
|
-
</td>
|
1904
|
+
<td>the top of the source rectangle within <em class="parameter"><code>image</code></em>.</td>
|
2012
1905
|
</tr>
|
2013
1906
|
<tr>
|
2014
1907
|
<td><p><span class="term"><em class="parameter"><code>xdest</code></em> :</span></p></td>
|
2015
|
-
<td>the x coordinate of the destination within <em class="parameter"><code>drawable</code></em
|
2016
|
-
</td>
|
1908
|
+
<td>the x coordinate of the destination within <em class="parameter"><code>drawable</code></em>.</td>
|
2017
1909
|
</tr>
|
2018
1910
|
<tr>
|
2019
1911
|
<td><p><span class="term"><em class="parameter"><code>ydest</code></em> :</span></p></td>
|
2020
|
-
<td>the y coordinate of the destination within <em class="parameter"><code>drawable</code></em
|
2021
|
-
</td>
|
1912
|
+
<td>the y coordinate of the destination within <em class="parameter"><code>drawable</code></em>.</td>
|
2022
1913
|
</tr>
|
2023
1914
|
<tr>
|
2024
1915
|
<td><p><span class="term"><em class="parameter"><code>width</code></em> :</span></p></td>
|
2025
|
-
<td>the width of the area to be copied, or -1 to make the area
|
2026
|
-
|
2027
|
-
</td>
|
1916
|
+
<td>the width of the area to be copied, or -1 to make the area
|
1917
|
+
extend to the right edge of <em class="parameter"><code>image</code></em>.</td>
|
2028
1918
|
</tr>
|
2029
1919
|
<tr>
|
2030
1920
|
<td><p><span class="term"><em class="parameter"><code>height</code></em> :</span></p></td>
|
2031
|
-
<td>the height of the area to be copied, or -1 to make the area
|
2032
|
-
|
2033
|
-
</td>
|
1921
|
+
<td>the height of the area to be copied, or -1 to make the area
|
1922
|
+
extend to the bottom edge of <em class="parameter"><code>image</code></em>.</td>
|
2034
1923
|
</tr>
|
2035
1924
|
</tbody>
|
2036
1925
|
</table></div>
|
2037
1926
|
</div>
|
2038
1927
|
<hr>
|
2039
|
-
<div class="refsect2"
|
1928
|
+
<div class="refsect2">
|
2040
1929
|
<a name="gdk-drawable-get-image"></a><h3>gdk_drawable_get_image ()</h3>
|
2041
|
-
<pre class="programlisting"><a class="link" href="gdk-Images.html#GdkImage" title="GdkImage"><span class="returnvalue">GdkImage</span></a
|
1930
|
+
<pre class="programlisting"><a class="link" href="gdk-Images.html#GdkImage" title="GdkImage"><span class="returnvalue">GdkImage</span></a> * gdk_drawable_get_image (<em class="parameter"><code><a class="link" href="gdk-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a> *drawable</code></em>,
|
2042
1931
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x</code></em>,
|
2043
1932
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y</code></em>,
|
2044
1933
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> width</code></em>,
|
2045
1934
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> height</code></em>);</pre>
|
2046
|
-
<div class="warning"
|
1935
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
2047
1936
|
<h3 class="title">Warning</h3>
|
2048
1937
|
<p><code class="literal">gdk_drawable_get_image</code> has been deprecated since version 2.22 and should not be used in newly-written code. Use <em class="parameter"><code>drawable</code></em> as the source and draw to a Cairo image
|
2049
1938
|
surface if you want to download contents to the client.</p>
|
@@ -2103,25 +1992,22 @@ will contain undefined data.
|
|
2103
1992
|
</tr>
|
2104
1993
|
<tr>
|
2105
1994
|
<td><p><span class="term"><em class="parameter"><code>width</code></em> :</span></p></td>
|
2106
|
-
<td>width of region to get
|
2107
|
-
</td>
|
1995
|
+
<td>width of region to get</td>
|
2108
1996
|
</tr>
|
2109
1997
|
<tr>
|
2110
1998
|
<td><p><span class="term"><em class="parameter"><code>height</code></em> :</span></p></td>
|
2111
|
-
<td>height or region to get
|
2112
|
-
</td>
|
1999
|
+
<td>height or region to get</td>
|
2113
2000
|
</tr>
|
2114
2001
|
<tr>
|
2115
2002
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2116
|
-
<td>
|
2117
|
-
|
2003
|
+
<td>a <a class="link" href="gdk-Images.html#GdkImage" title="GdkImage"><span class="type">GdkImage</span></a> containing the contents of <em class="parameter"><code>drawable</code></em>
|
2118
2004
|
</td>
|
2119
2005
|
</tr>
|
2120
2006
|
</tbody>
|
2121
2007
|
</table></div>
|
2122
2008
|
</div>
|
2123
2009
|
<hr>
|
2124
|
-
<div class="refsect2"
|
2010
|
+
<div class="refsect2">
|
2125
2011
|
<a name="gdk-drawable-copy-to-image"></a><h3>gdk_drawable_copy_to_image ()</h3>
|
2126
2012
|
<pre class="programlisting"><a class="link" href="gdk-Images.html#GdkImage" title="GdkImage"><span class="returnvalue">GdkImage</span></a> * gdk_drawable_copy_to_image (<em class="parameter"><code><a class="link" href="gdk-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a> *drawable</code></em>,
|
2127
2013
|
<em class="parameter"><code><a class="link" href="gdk-Images.html#GdkImage" title="GdkImage"><span class="type">GdkImage</span></a> *image</code></em>,
|
@@ -2131,7 +2017,7 @@ will contain undefined data.
|
|
2131
2017
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> dest_y</code></em>,
|
2132
2018
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> width</code></em>,
|
2133
2019
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> height</code></em>);</pre>
|
2134
|
-
<div class="warning"
|
2020
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
2135
2021
|
<h3 class="title">Warning</h3>
|
2136
2022
|
<p><code class="literal">gdk_drawable_copy_to_image</code> has been deprecated since version 2.22 and should not be used in newly-written code. Use <em class="parameter"><code>drawable</code></em> as the source and draw to a Cairo image
|
2137
2023
|
surface if you want to download contents to the client.</p>
|
@@ -2151,7 +2037,7 @@ and copies into that. See <a class="link" href="gdk-Drawing-Primitives.html#gdk-
|
|
2151
2037
|
</tr>
|
2152
2038
|
<tr>
|
2153
2039
|
<td><p><span class="term"><em class="parameter"><code>image</code></em> :</span></p></td>
|
2154
|
-
<td>
|
2040
|
+
<td>a <a class="link" href="gdk-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if a new <em class="parameter"><code>image</code></em> should be created. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
2155
2041
|
</td>
|
2156
2042
|
</tr>
|
2157
2043
|
<tr>
|
@@ -2176,19 +2062,17 @@ and copies into that. See <a class="link" href="gdk-Drawing-Primitives.html#gdk-
|
|
2176
2062
|
</tr>
|
2177
2063
|
<tr>
|
2178
2064
|
<td><p><span class="term"><em class="parameter"><code>width</code></em> :</span></p></td>
|
2179
|
-
<td>width of region to get
|
2180
|
-
</td>
|
2065
|
+
<td>width of region to get</td>
|
2181
2066
|
</tr>
|
2182
2067
|
<tr>
|
2183
2068
|
<td><p><span class="term"><em class="parameter"><code>height</code></em> :</span></p></td>
|
2184
|
-
<td>height or region to get
|
2185
|
-
</td>
|
2069
|
+
<td>height or region to get</td>
|
2186
2070
|
</tr>
|
2187
2071
|
<tr>
|
2188
2072
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2189
|
-
<td>
|
2190
|
-
|
2191
|
-
|
2073
|
+
<td>
|
2074
|
+
<em class="parameter"><code>image</code></em>, or a new a <a class="link" href="gdk-Images.html#GdkImage" title="GdkImage"><span class="type">GdkImage</span></a> containing the contents
|
2075
|
+
of <em class="parameter"><code>drawable</code></em>
|
2192
2076
|
</td>
|
2193
2077
|
</tr>
|
2194
2078
|
</tbody>
|
@@ -2199,6 +2083,6 @@ and copies into that. See <a class="link" href="gdk-Drawing-Primitives.html#gdk-
|
|
2199
2083
|
</div>
|
2200
2084
|
<div class="footer">
|
2201
2085
|
<hr>
|
2202
|
-
Generated by GTK-Doc V1.
|
2086
|
+
Generated by GTK-Doc V1.16.1</div>
|
2203
2087
|
</body>
|
2204
2088
|
</html>
|