Rogue Wave Views
Foundation Package API Reference Guide
Product Documentation:

Rogue Wave Views
Documentation Home
List of all members | Public Member Functions
IlvBitmapDataSmoothResampler Class Reference

Smooth bitmap data resampler class. More...

#include <ilviews/bitmaps/resample.h>

Inheritance diagram for IlvBitmapDataSmoothResampler:
IlvBitmapDataAlgorithm IlvValueInterface

Public Member Functions

 IlvBitmapDataSmoothResampler ()
 Constructor.
 
IlvBitmapDataresample (IlvBitmapData *data, IlvRect &srcrect, IlvRect &dstrect)
 Returns bitmap data from a rectangular region. More...
 
- Public Member Functions inherited from IlvValueInterface
virtual IlBoolean applyValue (const IlvValue &value)
 Apply an accessor. More...
 
virtual IlBoolean changeValue (const IlvValue &val)
 Changes the value of an accessor. More...
 
virtual IlBoolean changeValues (const IlvValue *values, IlUShort count=0)
 Changes several accessor values simultaneously. More...
 
virtual void getAccessors (const IlSymbol *const **names, const IlvValueTypeClass *const **types, IlUInt &count) const
 Retrieves the list of available accessors of an object. More...
 
virtual const char * getName () const
 Returns the name of the instance. The semantic and implementation of this method are defined by concrete subclasses. The default implementation returns 0. More...
 
virtual IlvValuequeryValue (IlvValue &val) const
 Retrieves an accessor value. More...
 
virtual void queryValues (IlvValue *values, IlUShort count) const
 Retrieves multiple accessor values simultaneously. More...
 

Detailed Description

Smooth 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 a filtering method to fill the destination bitmap data.

Member Function Documentation

IlvBitmapData* IlvBitmapDataSmoothResampler::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 2016, 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.