rwlogo
Rogue Wave Views 5.5.1

Rogue Wave Views
Foundation Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

IlvOffsetFilter Class Reference

Offset filter. More...

#include <ilviews/bitmaps/filters/offset.h>

Inheritance diagram for IlvOffsetFilter:
IlvBitmapFilter

List of all members.

Public Member Functions

 IlvOffsetFilter (IlInt dx=0, IlInt dy=0)
 Constructor.
IlvBitmapDataapply (IlUInt count=0, const IlvBitmapData **inputs=0)
 Applies the offset to the given image.
IlInt getdX () const
 Returns the x direction offset.
void getdXY (IlInt &dx, IlInt &dy) const
 Returns the offsets.
IlInt getdY () const
 Returns the y direction offset.
void setdX (IlInt dx)
 Sets the x direction offset.
void setdXY (IlInt dx, IlInt dy)
 Sets the offsets.
void setdY (IlInt dy)
 Sets the y direction offset.

Detailed Description

Offset filter.

Library: ilvbmpflt

This bitmap filter lets you offset an image position.

See also:
IlvRGBBitmapData, IlvBitmapFilter

Constructor & Destructor Documentation

IlvOffsetFilter::IlvOffsetFilter ( IlInt  dx = 0,
IlInt  dy = 0 
)

Constructor.

Initializes a new instance of the class IlvOffsetFilter. The default offset in both directions is 0.


Member Function Documentation

IlInt IlvOffsetFilter::getdX (  )  const

Returns the x direction offset.

Returns:
The x direction offset.
void IlvOffsetFilter::getdXY ( IlInt dx,
IlInt dy 
) const

Returns the offsets.

Parameters:
dx The x direction offset.
dy The y direction offset.
IlInt IlvOffsetFilter::getdY (  )  const

Returns the y direction offset.

Returns:
The y direction offset.
void IlvOffsetFilter::setdX ( IlInt  dx  ) 

Sets the x direction offset.

Parameters:
dx The new x direction offset.
void IlvOffsetFilter::setdXY ( IlInt  dx,
IlInt  dy 
)

Sets the offsets.

Parameters:
dx The new x direction offset.
dy The new y direction offset.
void IlvOffsetFilter::setdY ( IlInt  dy  ) 

Sets the y direction offset.

Parameters:
dy The new y direction offset.

© Copyright 2012, 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.