mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2025-01-23 15:11:07 +00:00
Little fixes, good night.
svn path=/trunk/gtk-sharp/; revision=16878
This commit is contained in:
parent
e728c4d773
commit
8de5848e61
|
@ -67,7 +67,7 @@
|
|||
Along with different coordinate systems comes functions
|
||||
to convert between them. <see cref="M:Gnome.Canvas.W2c" /> converts world to
|
||||
canvas pixel coordinates and <see cref="M:Gnome.Canvas.C2w" /> from
|
||||
canvas to world. <see cref="M:Gnome.Canvas.W2cD() " /> is like
|
||||
canvas to world. <see cref="M:Gnome.Canvas.W2cD" /> is like
|
||||
<see cref="M:Gnome.Canvas.W2c" /> but returns the pixel coordinates as
|
||||
doubles which is useful to avoid precision loss from integer
|
||||
rounding. To get the affine transform matrix for converting
|
||||
|
@ -75,7 +75,7 @@
|
|||
<see cref="M:Gnome.Canvas.W2cAffine" />.
|
||||
<see cref="M:Gnome.Canvas.WindowToWorld" />
|
||||
converts from window to world coordinates and
|
||||
<see cref="M:Gnome.Canvas.World.ToWindow" /> converts in the other
|
||||
<see cref="M:Gnome.Canvas.WorldToWindow" /> converts in the other
|
||||
direction. There are no functions for converting between
|
||||
canvas and window coordinates, since this is just a matter of
|
||||
subtracting the canvas scrolling offset. To convert to/from
|
||||
|
@ -91,7 +91,7 @@
|
|||
</para>
|
||||
<para>
|
||||
Defining the scrollable area of a canvas widget is done by
|
||||
calling <see cref="M:Gnomecanvas.SetScrollRegion" /> and to get the
|
||||
calling <see cref="M:Gnome.Canvas.SetScrollRegion" /> and to get the
|
||||
current region <see cref="M:Gnome.Canvas.GetScrollRegion" /> can be
|
||||
used. If the window is larger than the canvas scrolling region
|
||||
it can optionally be centered in the window. Use the
|
||||
|
|
|
@ -61,12 +61,12 @@
|
|||
<see cref="M:Gnome.CanvasItem.W2i" />, and to convert in the other direction
|
||||
call <see cref="M:Gnome.CanvasItem.I2w" />. To get the transform for
|
||||
converting from item to world coordinates use
|
||||
<see cref="M:M:Gnome.CanvasItem.I2wAffine" /> or for converting item to
|
||||
<see cref="M:Gnome.CanvasItem.I2wAffine" /> or for converting item to
|
||||
canvas coordinates, <see cref="M:Gnome.CanvasItem.I2cAffine" />.
|
||||
</para>
|
||||
<para>
|
||||
Handling user input for interactive items is accomplished
|
||||
through a few functions and the "event" signals. To grab the
|
||||
through a few functions and the <see cref="E:Gnome.CanvasItem.CanvasEvent" /> signals. To grab the
|
||||
mouse cursor call <see cref="M:Gnome.CanvasItem.Grab" />, it can be
|
||||
ungrabbed with <see cref="M:Gnome.CanvasItem.Ungrab" /> (see
|
||||
<see cref="M:Gdk.Pointer.Grab" /> of the GTK+ library for details). To grab
|
||||
|
@ -77,7 +77,7 @@
|
|||
Some other useful functions include a reparenting routine,
|
||||
<see cref="M:Gnome.CanvasItem.Reparent" />, and a function to query the
|
||||
bounding box of an item (a minumum rectangular area containing
|
||||
all parts of the item), <see cref="M:Gnome.CanvasItem.Getbounds" /></para>
|
||||
all parts of the item), <see cref="M:Gnome.CanvasItem.Getbounds" />.</para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
<Base>
|
||||
|
|
Loading…
Reference in a new issue