import "GNOME_Magnifier.idl";
Public Types | |
enum | AlignPolicy { ALIGN_CENTER, ALIGN_MIN, ALIGN_MAX } |
enum | ScrollingPolicy { SCROLL_FASTEST, SCROLL_FAST, SCROLL_NORMAL, SCROLL_SMOOTH, SCROLL_SMOOTHEST } |
Public Member Functions | |
boolean | setMagFactor (in float magX, in float magY) |
void | getMagFactor (out float magX, out float magY) |
Bonobo::PropertyBag | getProperties () |
oneway void | setROI (in RectBounds bounds) |
void | markDirty (in RectBounds dirtyRegion) |
RectBounds | getROI () |
void | moveResize (in RectBounds bounds) |
void | dispose () |
|
|
|
|
|
void dispose: Remove the specified zoom region from the magnifier and destroy it. |
|
void getMagFactor: gets the current x and y magnification ratios. (Convenience method for getting mag-factor-x and mag-factor-y properties). : the magnification factor in the x direction for the specified region. : the magnification factor in the x direction for the specified region. |
|
PropertyBag getProperties: gets the current property settings for this ZoomRegion. Properties managed by the ZoomRegion include "smoothing-type", "contrast", "inverse-video", "border-size", "border-color", "x-alignment", "y-alignment", "is-managed", "viewport", "mag-factor-x", "mag-factor-y". returns: a Bonobo::PropertyBag containing the ZoomRegion's properties. |
|
RectBounds getROI: Queries a specific zoom region for its ROI. returns: the RectBounds bounding box of the zoom ROI. |
|
void markDirty: Marks the zoom region or a sub-region 'dirty' and in need of updating. Note that this region will be clipped to the area currently visible in the target region. : the bounding box of the dirty region. |
|
void moveResize: Moves and resizes the specified zoom region on the target display. (Convenience method for setting "viewport" property). : the bounding box, in target display coordinates, of the ZoomRegion's display viewport. |
|
boolean setMagFactor: sets the current x and y magnification ratio. (Convenience method for setting mag-factor-x and mag-factor-y properties). Note that if the zoom region's target hasn't yet been realized or mapped to the display, we will not be able to detect failure, so a return of TRUE must be taken on advisement if the operation is performed on a newly-created zoom region. : the magnification factor in the x direction for the specified region. : the magnification factor in the x direction for the specified region. Returns: TRUE if operation succeeded, FALSE if the requested mag factor cannot be set. |
|
oneway void setROI: Sets the region of interest for the magnifier. : the ROI bounding box |