From 909200cf13c9f730a9e5ba1a5487b93f984dfa72 Mon Sep 17 00:00:00 2001 From: Miguel de Icaza Date: Wed, 23 Feb 2005 19:01:51 +0000 Subject: [PATCH] Contributions from spigaz@gmail.com svn path=/trunk/gtk-sharp/; revision=41109 --- doc/en/Art/DRect.xml | 72 +++++++++++++++++++++--------------------- doc/en/Art/Global.xml | 32 +++++++++---------- doc/en/Art/IRect.xml | 50 ++++++++++++++--------------- doc/en/Art/SVP.xml | 2 +- doc/en/Gdk/Display.xml | 11 +++++-- doc/en/Gdk/Global.xml | 20 ++++++------ doc/en/Gdk/Screen.xml | 48 ++++++++++++++-------------- doc/en/Gtk/Window.xml | 2 +- 8 files changed, 121 insertions(+), 116 deletions(-) diff --git a/doc/en/Art/DRect.xml b/doc/en/Art/DRect.xml index 12e42268e..cd02f488f 100644 --- a/doc/en/Art/DRect.xml +++ b/doc/en/Art/DRect.xml @@ -10,8 +10,8 @@ Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - To be added - To be added + A Structure that suports rectangle with double coordinates. + System.ValueType @@ -59,10 +59,10 @@ - To be added - a - a - To be added + Converts the src rectangle into a interger one. + The newly created integer rectangle (). + The source rectangle (). + The rouding is done using floor for x0 and y0 and ceil for x1 and y1. @@ -75,9 +75,9 @@ - To be added - a - To be added + Finds the bounding box os a sorted vector path. + The Sorted Vector Path. + The result is used to initialize the current instance. @@ -90,9 +90,9 @@ - To be added + Finds the bounding box to the Sorted Vector Path and then unifies the resulting rectangle with the current instance. a - To be added + The result is used to initialize the current instance. @@ -105,9 +105,9 @@ - To be added - a - To be added + Copies the values of the given rectangle, into this one. + The that is going to init the current one. + The current rectangle will be a clone of the given one. @@ -118,9 +118,9 @@ - To be added - a - To be added + Checks if the rectangle is empty. + True if the rectangle is empty, false otherwise. + For the rectangle to be empty, x1 has to be smaller or equal to x0, or y0 smaller or equal to y1. @@ -134,9 +134,9 @@ - To be added - a - a + Finds the union of two rectangles and initializes the current one with the result. + The first source rectangle used. + The second source rectangle used. To be added @@ -151,10 +151,10 @@ - To be added - a - a - To be added + Applies an affine transformation to the src rectangle and initializes this one with the result. + The source rectangle used to apply the transformation. + A with 6 elements containing the transformation's matrix. + It finds the smallest rectangle enclosing the transformed src. The result is exactly the affine transformation of src when the matrix specifies an rectilinear affine transformation. otherwise its a conservative approximation. @@ -168,10 +168,10 @@ - To be added - a - a - To be added + Finds the intersection of two rectangles and initializes the current one with the result. + The first source rectangle used. + The second source rectangle used. + @@ -183,8 +183,8 @@ - To be added - To be added + The first coordinate of the rectangle on the X axis. + @@ -196,8 +196,8 @@ - To be added - To be added + The first coordinate of the rectangle on the Y axis. + @@ -209,8 +209,8 @@ - To be added - To be added + The second coordinate of the rectangle on the X axis. + @@ -222,8 +222,8 @@ - To be added - To be added + The second coordinate of the rectangle on the Y axis. + diff --git a/doc/en/Art/Global.xml b/doc/en/Art/Global.xml index 4848e2294..12aba604b 100644 --- a/doc/en/Art/Global.xml +++ b/doc/en/Art/Global.xml @@ -95,13 +95,13 @@ - To be added - a - a - a - a - a - To be added + Decomposes a UTA into a list of rectangles. + The given UTA. + The maximum width of the resulting rectangles. + The maximum height of the resulting rectangles. + The number of rectangles generated. Should be an out. Its unnecessary. + It should return a IRect[]. Yup, a bug. + This routine provides a precise implementation, meaning that the rectangles cover exactly the same are as the uta. @@ -119,15 +119,15 @@ - To be added - a - a - a - a - a - a - a - To be added + Renders the Sorted Vector Path into the given byte[]. + The given Sorted Vector Path. + The left coordinate of the viewport. + The top coordinate of the viewport. + The right coordinate of the viewport. + The bottom coordinate of the viewport. + The row stride of the pixel buffer. + The function is void, it should get the byte[] were to render... Its a bug. + Is only renders inside the area of the viewport. diff --git a/doc/en/Art/IRect.xml b/doc/en/Art/IRect.xml index fe90bcc46..0c4f57587 100644 --- a/doc/en/Art/IRect.xml +++ b/doc/en/Art/IRect.xml @@ -10,8 +10,8 @@ Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - To be added - To be added + A Structure that suports rectangle with int coordinates. + System.ValueType @@ -29,7 +29,7 @@ To be added - To be added + @@ -58,9 +58,9 @@ - To be added - a - To be added + Copies the values of the given rectangle, into this one. + The that is going to init the current one. + The current rectangle will be a clone of the given one. @@ -74,10 +74,10 @@ - To be added - a - a - To be added + Finds the union of two rectangles and initializes the current one with the result. + The first source rectangle used. + The first source rectangle used. + @@ -88,9 +88,9 @@ - To be added - a - To be added + Checks if the rectangle is empty. + True if the rectangle is empty, false otherwise. + For the rectangle to be empty, x1 has to be smaller or equal to x0, or y0 smaller or equal to y1. @@ -104,10 +104,10 @@ - To be added - a - a - To be added + Finds the intersection of two rectangles and initializes the current one with the result. + The first source rectangle used. + The second source rectangle used. + @@ -119,8 +119,8 @@ - To be added - To be added + The first coordinate of the rectangle on the X axis. + @@ -132,8 +132,8 @@ - To be added - To be added + The first coordinate of the rectangle on the Y axis. + @@ -145,8 +145,8 @@ - To be added - To be added + The second coordinate of the rectangle on the X axis. + @@ -158,8 +158,8 @@ - To be added - To be added + The second coordinate of the rectangle on the Y axis. + diff --git a/doc/en/Art/SVP.xml b/doc/en/Art/SVP.xml index 8f0e5754f..baa69689c 100644 --- a/doc/en/Art/SVP.xml +++ b/doc/en/Art/SVP.xml @@ -10,7 +10,7 @@ Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - To be added + Sorted Vector Path To be added diff --git a/doc/en/Gdk/Display.xml b/doc/en/Gdk/Display.xml index 8664e4ae2..ee0a56a2d 100644 --- a/doc/en/Gdk/Display.xml +++ b/doc/en/Gdk/Display.xml @@ -49,9 +49,14 @@ - To be added - a - To be added + Opens the default display specified by the command line arguments or the environment variables, setting it as the default display, it it was already set, then its just returned. + A that is the default display just opened. + Global.ParseArgs should be called first. + + + This method is internal and shouldn't be used in any application. + + diff --git a/doc/en/Gdk/Global.xml b/doc/en/Gdk/Global.xml index 858ce7725..72bf73782 100644 --- a/doc/en/Gdk/Global.xml +++ b/doc/en/Gdk/Global.xml @@ -11,7 +11,7 @@ Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Global API elements for - + Shouldn't be called explicitly if Gtk.Application.Init() is used. System.Object @@ -199,9 +199,9 @@ System.String - To be added - a - To be added + Gets the display name specified in the command line arguments passed to Global.ParseArgs. + A containing the name specified. + If the name was not specified then null is returned. @@ -358,9 +358,9 @@ - To be added - a - a + Initializes the library for usage. + A containing the args used to initialize the library. + A , that is true if its able to open and set the default display, otherwise its false. To be added @@ -374,9 +374,9 @@ - To be added - a - To be added + Parses command line arguments and stores them for future usage. + A containing the args to parse. + Shouldn't be called explicitly if Global.InitCheck or Gtk.Application.Init or Gtk.Application.InitCheck are being used. diff --git a/doc/en/Gdk/Screen.xml b/doc/en/Gdk/Screen.xml index 6a47d459a..74b883535 100644 --- a/doc/en/Gdk/Screen.xml +++ b/doc/en/Gdk/Screen.xml @@ -46,9 +46,9 @@ Gdk.Screen - To be added - a - To be added + The default screen of the default display. + The default . + Returns null if there iss no default display. @@ -92,9 +92,9 @@ Console.WriteLine("You have {0} monitors.",numMonitors); System.Int32 - To be added - a - To be added + The height of the screen in pixels. + A with the number of pixels of the screen. + @@ -140,9 +140,9 @@ Console.WriteLine("You have {0} monitors.",numMonitors); System.Int32 - To be added - a - To be added + The height of the screen in millimeters. + A with the height of the screen in millimeters. + @@ -152,9 +152,9 @@ Console.WriteLine("You have {0} monitors.",numMonitors); System.Int32 - To be added - a - To be added + The width of the screen in pixels. + A with the number of pixels of the screen. + @@ -164,9 +164,9 @@ Console.WriteLine("You have {0} monitors.",numMonitors); System.Int32 - To be added - a - To be added + The width of the screen in millimeters. + A with the width of the screen in millimeters. + @@ -242,10 +242,10 @@ Console.WriteLine("You have {0} monitors.",numMonitors); - To be added - a - a - To be added + Gets the monitor that contains most of the given window. + A whose main monitor is claimed. + A indicating the required monitor. + If the window does not intersect any of the monitors, then the a close one is returned. @@ -259,11 +259,11 @@ Console.WriteLine("You have {0} monitors.",numMonitors); - To be added - a - a - a - To be added + Gets the monitor number where the point is located. + A representing the x coordinate on the virtual screen. + A representing the y coordinate on the virtual screen. + A indicating the monitor where the point is located. + If the point isn't in any monitor, then the nearest monitor is returned. diff --git a/doc/en/Gtk/Window.xml b/doc/en/Gtk/Window.xml index 13dfcf2f4..9840e07fd 100644 --- a/doc/en/Gtk/Window.xml +++ b/doc/en/Gtk/Window.xml @@ -407,7 +407,7 @@ Console.WriteLine("Width: {0}, Height: {1}" , width , height); - Asks to deiconify (i.e. unminimizw) the specified . + Asks to deiconify (i.e. unminimize) the specified . Note that you shouldn't assume the is definitely deiconified afterward, because other entities (e.g. the user or window manager) could iconify it again before your code which assumes deiconification gets to run.