rwlogo

Rogue Wave Views
Foundation Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
List of all members | Public Member Functions
IlvBitmapDataQuickResampler Class Reference

Quick bitmap data resampler class. More...

#include <ilviews/bitmaps/resample.h>

Inheritance diagram for IlvBitmapDataQuickResampler:
IlvBitmapDataAlgorithm

Public Member Functions

 IlvBitmapDataQuickResampler ()
 Constructor.
 
IlvBitmapDataresample (IlvBitmapData *data, IlvRect &srcrect, IlvRect &dstrect)
 Returns bitmap data from a rectangular region. More...
 

Detailed Description

Quick bitmap data resampler class.

Library: xviews or winviews or mviews (mutually exclusive)

This class provides a method for returning a rectangular region of an IlvBitmapData as an IlvBitmapData. The dimensions of the destination bitmap data are given by another rectangle. This class uses the nearest neighbor method to fill the destination bitmap data.

Member Function Documentation

IlvBitmapData* IlvBitmapDataQuickResampler::resample ( IlvBitmapData data,
IlvRect srcrect,
IlvRect dstrect 
)

Returns bitmap data from a rectangular region.

Parameters
dataThe source bitmap data.
srcrectThe rectangular region in the source bitmap data.
dstrectThe dimensions of the returned bitmap data.
Returns
The created bitmap data.

© Copyright 2015, Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.