Method | Description | |
---|---|---|
ApplyFilter ( FastBitmap source, System.Windows.Media.DrawingContext dc, int destinationWidth, int destinationHeight ) : void |
Applies the ResizeFilter to the specified source.
|
|
GetDestinationDimensions ( FastBitmap source, int &width, int &height ) : bool |
Returns the dimensions of the output image.
|
Method | Description | |
---|---|---|
CalculateOutputDimensions ( int nInputWidth, int nInputHeight, int nRequestedWidth, int nRequestedHeight, int &nOutputWidth, int &nOutputHeight ) : void |
protected ApplyFilter ( FastBitmap source, System.Windows.Media.DrawingContext dc, int destinationWidth, int destinationHeight ) : void | ||
source | FastBitmap | The source image. |
dc | System.Windows.Media.DrawingContext | |
destinationWidth | int | |
destinationHeight | int | |
return | void |
protected GetDestinationDimensions ( FastBitmap source, int &width, int &height ) : bool | ||
source | FastBitmap | The source image. |
width | int | The desired width of the output image. |
height | int | The desired height of the output image. |
return | bool |