src/pdfmake_render_image.c

filter: Statementstmt 0.0% 0 / 8 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub n/a Podpod n/a totaltotal 0.0% 0 / 8 CC 0 SCAR 0
CC
0
Cov
0%
CRAP 0
« src/pdfmake_render_fill.c ↑ Summary src/pdfmake_render_page.c »
1 /* pdfmake_render_image.c
2 *
3 * Stubs for the image-blitting / image-rendering API declared in
4 * include/pdfmake_image_render.h. Exists so the bundle links cleanly
5 * under PERL_DL_NONLAZY=1; real implementations will replace these
6 * once the rasterizer lands.
7 */
8  
9 #include <stddef.h>
10 #include "pdfmake_image_render.h"
11  
12 0 pdfmake_imgr_err_t pdfmake_render_decoded_image(
13 pdfmake_render_ctx_t *ctx,
14 pdfmake_decoded_image_t *img)
15 {
16 (void)ctx; (void)img;
17 0 return PDFMAKE_IMGR_ERR_UNSUPPORTED;
18 }
19  
20 0 pdfmake_imgr_err_t pdfmake_render_decoded_image_at(
21 pdfmake_render_ctx_t *ctx,
22 pdfmake_decoded_image_t *img,
23 double x, double y,
24 double width, double height)
25 {
26 (void)ctx; (void)img;
27 (void)x; (void)y; (void)width; (void)height;
28 0 return PDFMAKE_IMGR_ERR_UNSUPPORTED;
29 }
30  
31 0 void pdfmake_render_blit_rgba(
32 pdfmake_render_ctx_t *ctx,
33 const uint32_t *rgba,
34 int img_w, int img_h,
35 int dst_x, int dst_y)
36 {
37 (void)ctx; (void)rgba;
38 (void)img_w; (void)img_h;
39 (void)dst_x; (void)dst_y;
40 0 }
41  
42 0 void pdfmake_render_blit_scaled(
43 pdfmake_render_ctx_t *ctx,
44 const uint32_t *rgba,
45 int img_w, int img_h,
46 int dst_x, int dst_y,
47 int dst_w, int dst_h,
48 pdfmake_interp_mode_t mode)
49 {
50 (void)ctx; (void)rgba;
51 (void)img_w; (void)img_h;
52 (void)dst_x; (void)dst_y;
53 (void)dst_w; (void)dst_h;
54 (void)mode;
55 0 }
« src/pdfmake_render_fill.c ↑ Summary src/pdfmake_render_page.c »