byte_distance
[Byte-level operations]


Detailed Description

Returns the distance in bytes from the first pixel iterator to the second.


Classes

struct  byte_step_fn
 function object that returns the byte distance between two iterators and advances a given iterator a given number of bytes More...

Functions

template<typename P>
std::ptrdiff_t byte_distance (const P *p1, const P *p2)
template<typename IC, typename C>
std::ptrdiff_t byte_distance (const planar_ptr< IC, C > &p1, const planar_ptr< IC, C > &p2)
template<typename Iterator>
std::ptrdiff_t byte_distance (const pixel_step_iterator< Iterator > &p1, const pixel_step_iterator< Iterator > &p2)
template<typename Iterator, typename DFn>
std::iterator_traits< Iterator
>::difference_type 
byte_distance (const dereference_iterator_adaptor< Iterator, DFn > &p1, const dereference_iterator_adaptor< Iterator, DFn > &p2)

Copyright © 2006 Adobe Systems Incorporated.

Use of this website signifies your agreement to the Terms of Use and Online Privacy Policy.

Search powered by Google