24 #define UNLV_EXT ".uzn" // unlv zone file
44 BLOCK_IT block_it = blocks;
47 if ((pdfp = fopen (name.
c_str (),
"rb")) ==
nullptr) {
50 while (
tfscanf(pdfp,
"%d %d %d %d %*s", &x, &y, &width, &height) >= 4) {
53 static_cast<int16_t>(x), static_cast<int16_t>(ysize - y - height),
54 static_cast<int16_t>(x + width), static_cast<int16_t>(ysize - y));
56 block_it.add_to_end (block);
64 void FullPageBlock(
int width,
int height, BLOCK_LIST *blocks) {
65 BLOCK_IT block_it(blocks);
66 auto* block =
new BLOCK(
"",
true, 0, 0, 0, 0, width, height);
67 block_it.add_to_end(block);