|
Lynkeos
|
Protocol implemented by the window image view for processing views. More...
#import <LynkeosProcessingView.h>

Instance Methods | |
| (void) | - displayItem: |
| Set the item to display in the view. More... | |
| (void) | - updateImage |
| Update the item's image. More... | |
| (LynkeosIntegerRect) | - getSelection |
| Retrieve the current selection. More... | |
| (LynkeosIntegerRect) | - getSelectionAtIndex: |
| Retrieve a selection at a given index. More... | |
| (unsigned int) | - getModifiers |
| Get the modifiers associated with the selection. More... | |
| (void) | - setSelection:resizable:movable: |
| Set the selection rectangle. More... | |
| (void) | - setSelection:atIndex:resizable:movable: |
| Set a given selection rectangle. More... | |
| (double) | - getZoom |
| Get the image zoom factor. More... | |
| (void) | - setZoom: |
| Set the image view zoom factor. More... | |
| (void) | - setSelectionDelegate: |
| Set the delegate. More... | |
Protocol implemented by the window image view for processing views.
The image view provides the folowing notifications : LynkeosImageViewSelectionRectDidChangeNotification, LynkeosImageViewZoomDidChangeNotification, LynkeosImageViewRedrawNotification.
| - (void) displayItem: | (id< LynkeosProcessableItem >) | item |
Set the item to display in the view.
The align result is taken into account if present
| item | The item to display |
| - (unsigned int) getModifiers |
Get the modifiers associated with the selection.
| - (LynkeosIntegerRect) getSelection |
Retrieve the current selection.
| - (LynkeosIntegerRect) getSelectionAtIndex: | (u_short) | index |
Retrieve a selection at a given index.
| index | The index of the selection to retrieve |
| - (double) getZoom |
Get the image zoom factor.
| - (void) setSelection: | (LynkeosIntegerRect) | selection | |
| atIndex: | (u_short) | index | |
| resizable: | (BOOL) | resize | |
| movable: | (BOOL) | move | |
Set a given selection rectangle.
The first unused index shall be used to create a new selection.
| selection | The new selection rectangle. |
| index | The index of the selection |
| resize | Is this new selection resizable. |
| move | Whether the selection can be moved |
| - (void) setSelection: | (LynkeosIntegerRect) | selection | |
| resizable: | (BOOL) | resize | |
| movable: | (BOOL) | move | |
Set the selection rectangle.
For compatibility reasons, all indexed selections are removed
| selection | The new current selection rectangle. |
| resize | Is this new selection resizable. |
| move | Whether the selection can be moved |
| - (void) setSelectionDelegate: | (id< LynkeosImageViewDelegate >) | delegate |
Set the delegate.
| delegate | The delegate to set (may be nil) |
| - (void) setZoom: | (double) | zoom |
Set the image view zoom factor.
| zoom | The new zoom factor |
| - (void) updateImage |
Update the item's image.
This method is used for redisplaying the image after a change of settings.
This method redisplays inconditionally the image, use it on purpose.
Referenced by MyImageView::blackWhiteChange:, and MyImageView::gammaChange:.
1.8.4