rectangle iterator
More...
#include <pdblock.h>
List of all members.
Detailed Description
rectangle iterator
Definition at line 166 of file pdblock.h.
Constructor & Destructor Documentation
BLOCK_LINE_IT::BLOCK_LINE_IT |
( |
PDBLK * |
blkptr | ) |
|
|
inline |
constructor
- Parameters:
-
Definition at line 171 of file pdblock.h.
:rect_it (blkptr) {
block = blkptr;
}
Member Function Documentation
get a line
- Parameters:
-
y | line to get |
xext | output extent |
Definition at line 375 of file pdblock.cpp.
{
if (y < bleft.
y () || y >= tright.
y ()) {
}
if (y >= bleft.
y () && y < tright.
y ()) {
xext = tright.
x () - bleft.
x ();
}
if (y >= bleft.
y () && y < tright.
y ()) {
xext = tright.
x () - bleft.
x ();
}
}
return 0;
}
void BLOCK_LINE_IT::set_to_block |
( |
PDBLK * |
blkptr | ) |
|
|
inline |
start (new) block
- Parameters:
-
Definition at line 178 of file pdblock.h.
The documentation for this class was generated from the following files: