1
0
mirror of synced 2026-04-29 05:15:26 +00:00

implemented ImageMask fill color arguments to pdf_write_g4_fax_image().

This commit is contained in:
Eric Smith
2003-02-21 09:25:47 +00:00
parent c52d3b4df2
commit c23fe6facd
8 changed files with 81 additions and 54 deletions

View File

@@ -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;