From af13376e6df25098cd8f4fbd44a4e4dec9dddde5 Mon Sep 17 00:00:00 2001
From: Michael R Sweet
Date: Mon, 18 Oct 2021 23:08:13 -0400
Subject: [PATCH] Update docos.
---
doc/pdfio.3 | 12 ++++++------
doc/pdfio.html | 6 +++---
2 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/doc/pdfio.3 b/doc/pdfio.3
index af77926..25e7fc0 100644
--- a/doc/pdfio.3
+++ b/doc/pdfio.3
@@ -1,4 +1,4 @@
-.TH pdfio 3 "pdf read/write library" "2021-09-27" "pdf read/write library"
+.TH pdfio 3 "pdf read/write library" "2021-10-18" "pdf read/write library"
.SH NAME
pdfio \- pdf read/write library
.SH Introduction
@@ -152,7 +152,7 @@ There is also an Xcode project ("pdfio.xcodeproj") you can use on macOS which ge
You can reproduce this with the makefile using:
.nf
- sudo make 'COMMONFLAGS="\-Os \-mmacosx\-version\-min=10.14 \-arch x86_64 \-arch arm64"' install
+ sudo make COMMONFLAGS="\-Os \-mmacosx\-version\-min=10.14 \-arch x86_64 \-arch arm64" install
.fi
.SS Detecting PDFio
.PP
@@ -160,7 +160,7 @@ PDFio can be detected using the pkg\-config command, for example:
.nf
if pkg\-config \-\-exists pdfio; then
- ...
+ ...
fi
.fi
.PP
@@ -1406,9 +1406,9 @@ Set the stroke pattern.
.nf
bool pdfioContentSetDashPattern (
pdfio_stream_t *st,
- int phase,
- int on,
- int off
+ double phase,
+ double on,
+ double off
);
.fi
.SS pdfioContentSetFillColorDeviceCMYK
diff --git a/doc/pdfio.html b/doc/pdfio.html
index 84a484a..b32cfd7 100644
--- a/doc/pdfio.html
+++ b/doc/pdfio.html
@@ -548,12 +548,12 @@ make install-shared
sudo xcodebuild install
You can reproduce this with the makefile using:
-sudo make 'COMMONFLAGS="-Os -mmacosx-version-min=10.14 -arch x86_64 -arch arm64"' install
+sudo make COMMONFLAGS="-Os -mmacosx-version-min=10.14 -arch x86_64 -arch arm64" install
Detecting PDFio
PDFio can be detected using the pkg-config
command, for example:
if pkg-config --exists pdfio; then
- ...
+ ...
fi
In a makefile you can add the necessary compiler and linker options with:
@@ -1563,7 +1563,7 @@ bool pdfioContentSave(pdfio_stream_t *st);
Set the stroke pattern.
-bool pdfioContentSetDashPattern(pdfio_stream_t *st, int phase, int on, int off);
+bool pdfioContentSetDashPattern(pdfio_stream_t *st, double phase, double on, double off);
Parameters