Trees | Indices | Help |
---|
|
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|
Creates a new data-displaying widget for A newly created The top layer is special. It must be a vector layer and can receive mouse and keyboard events. The base layer it also special. It must be always present, and must not be transparent or vector.
|
Returns the base layer this data view currently uses. A base layer should be always present.
|
Plugs If another base layer is present, it's unplugged. The layer must not be a vector layer. Theoretically, it can be
|
Returns the alpha layer this data view currently uses, or
|
Plugs If another alpha layer is present, it's unplugged. The layer must not be a vector layer. It can be
|
Returns the top layer this data view currently uses, or
|
Plugs If another top layer is present, it's unplugged. The layer must be a vector layer. It can be
|
Gets the prefix for the container data channel that the data view is currently set to display.
|
Sets the prefix for the container data channel to display in a data view. This function only affects where the data view itself takes parameters from, it does not affect layer keys.
|
Return the horizontal excess of widget size to data size. Do not use. Only useful for
|
Return the vertical excess of widget size to data size. Do not use. Only useful for
|
Sets zoom of Zoom greater than 1 means larger image on screen and vice versa. Note window manager can prevent the window from resize and thus the zoom from change.
|
Returns current ideal zoom of a data view. More precisely the zoom value requested by DataView.set_zoom(), if it's in use (real zoom may differ a bit due to pixel rounding). If zoom was set by explicite widget size change, real and requested zoom are considered to be the same. When a resize is queued, the new zoom value is returned. In other words, this is the zoom
|
Returns current real zoom of a data view. This is the zoom value a data view may not wish to have, but was imposed by window manager or other constraints. Unlike ideal zoom set by DataView.set_zoom(), this value cannot be set. When a resize is queued, the current (old) value is returned.
|
Returns the data container used by
|
Fixes screen coordinates
|
Fixes screen coordinates of line endpoints to be inside the data-displaying area (which can be smaller than widget size).
Since: 2.11 |
Recomputes screen coordinates relative to widget origin to physical coordinates in the sample. Note that data fields offsets are not taken into account.
Coordinates
|
Recomputes physical coordinate in the sample to screen coordinate relative to widget origin. Note that data fields offsets are not taken into account.
Coordinates
|
Recomputes physical coordinate in the sample to screen coordinate relative to widget origin, keeping them as floating point values. Note that data fields offsets are not taken into account.
Coordinates
Since: 2.45 |
Returns the ratio between horizontal physical lengths and horizontal screen lengths in pixels.
|
Returns the ratio between vertical physical lengths and horizontal screen lengths in pixels.
|
Obtains pixel dimensions of data displayed by a data view. This is a convenience method, the same values could be obtained by DataField.get_xres() and DataField.get_yres() of the data field displayed by the base layer.
|
Obtains physical dimensions of data displayed by a data view. Physical coordinates are always taken from data field displayed by the base layer. This is a convenience method, the same values could be obtained by DataField.get_xreal() and DataField.get_yreal() of the data field displayed by the base layer.
|
Obtains physical offsets of data displayed by a data view. Physical coordinates are always taken from data field displayed by the base layer. This is a convenience method, the same values could be obtained by DataField.get_xoffset() and DataField.get_yoffset() of the data field displayed by the base layer.
Since: 2.16 |
Creates and returns a pixbuf from the data view. If the data is not square, the resulting pixbuf is also nonsquare. The returned pixbuf also never has an alpha channel.
|
Exports data view to a pixbuf.
|
Fills metric matrix for a data view. The metric matrix essentially transforms distances in physical coordinates to screen distances. It is to be used with functions like gwy_math_find_nearest_point() and gwy_math_find_nearest_line() when the distance should be screen-Euclidean.
|
Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 | http://epydoc.sourceforge.net |