FrameFilterImpl.Transform Method |
This method is called when a frame must be transformed or copied from the source to the destination IFrame.
|
Syntax: |
|
[C#] public bool Transform( IFrame src, IFrame dest );
|
|
|
|
src |
|
Source frame. The source frame can not be overwritten or changed.
|
dest |
|
Destination frame. This frame will receive the changes. If the destination frame was changed, the method shoud return True.
|
|
Return Value: |
|
|
|
true |
|
The transformation was successful.
|
false |
|
Discard the frame.
|
|
Remarks: |
|
The image data pointer returned by IFrame.Ptr may be
null for the destination frame dest.
In this case, no target for the copy operation is available, e.g. all
buffers of the ImageBuffers are locked.
The transform filter is called, because
the implementation may need to analyze the input data.
|
See also: |
|
FrameFilterImpl, IFrame |