| line |
true |
false |
branch |
|
93
|
0 |
0 |
if (!opts) return; |
|
132
|
0 |
0 |
if (width) *width = 0; |
|
133
|
0 |
0 |
if (height) *height = 0; |
|
134
|
0 |
0 |
if (!reader || page_num < 0) return; |
|
|
0 |
0 |
if (!reader || page_num < 0) return; |
|
135
|
0 |
0 |
if (dpi <= 0.0) dpi = 72.0; |
|
138
|
0 |
0 |
if (!page) return; |
|
141
|
0 |
0 |
if (pdfmake_reader_page_media_box(reader, page, mb) != PDFMAKE_OK) |
|
146
|
0 |
0 |
if (pts_w < 0) pts_w = -pts_w; |
|
147
|
0 |
0 |
if (pts_h < 0) pts_h = -pts_h; |
|
152
|
0 |
0 |
if (rot == 90 || rot == 270) { |
|
|
0 |
0 |
if (rot == 90 || rot == 270) { |
|
164
|
0 |
0 |
if (pts_w > 0.0 && w < 1) w = 1; |
|
|
0 |
0 |
if (pts_w > 0.0 && w < 1) w = 1; |
|
165
|
0 |
0 |
if (pts_h > 0.0 && h < 1) h = 1; |
|
|
0 |
0 |
if (pts_h > 0.0 && h < 1) h = 1; |
|
167
|
0 |
0 |
if (width) *width = w; |
|
168
|
0 |
0 |
if (height) *height = h; |
|
177
|
0 |
0 |
if (!result) return; |
|
178
|
0 |
0 |
if (result->pixels) { |
|
200
|
0 |
0 |
if (!result) return; |
|
203
|
0 |
0 |
if (msg) { |
|
205
|
0 |
0 |
if (n >= sizeof(result->error_msg)) |