implemented ImageMask fill color arguments to pdf_write_g4_fax_image().
This commit is contained in:
15
pdf_prim.c
15
pdf_prim.c
@@ -4,7 +4,7 @@
|
||||
* will be compressed using ITU-T T.6 (G4) fax encoding.
|
||||
*
|
||||
* PDF routines
|
||||
* $Id: pdf_prim.c,v 1.3 2003/02/20 04:44:17 eric Exp $
|
||||
* $Id: pdf_prim.c,v 1.4 2003/02/21 01:25:47 eric Exp $
|
||||
* Copyright 2001, 2002, 2003 Eric Smith <eric@brouhaha.com>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
@@ -24,6 +24,7 @@
|
||||
*/
|
||||
|
||||
|
||||
#include <stdarg.h>
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdio.h>
|
||||
@@ -452,6 +453,18 @@ void pdf_stream_write_data (pdf_file_handle pdf_file,
|
||||
}
|
||||
|
||||
|
||||
void pdf_stream_printf (pdf_file_handle pdf_file,
|
||||
struct pdf_obj *stream,
|
||||
char *fmt, ...)
|
||||
{
|
||||
va_list ap;
|
||||
|
||||
va_start (ap, fmt);
|
||||
vfprintf (pdf_file->f, fmt, ap);
|
||||
va_end (ap);
|
||||
}
|
||||
|
||||
|
||||
void pdf_write_stream (pdf_file_handle pdf_file, struct pdf_obj *stream)
|
||||
{
|
||||
unsigned long begin_pos, end_pos;
|
||||
|
||||
Reference in New Issue
Block a user