Update docos.

This commit is contained in:
Michael R Sweet 2021-10-18 23:08:13 -04:00
parent 22c245ffd1
commit af13376e6d
No known key found for this signature in database
GPG Key ID: BE67C75EC81F3244
2 changed files with 9 additions and 9 deletions

View File

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

View File

@ -548,12 +548,12 @@ make install-shared
<pre><code>sudo xcodebuild install
</code></pre>
<p>You can reproduce this with the makefile using:</p>
<pre><code>sudo make 'COMMONFLAGS=&quot;-Os -mmacosx-version-min=10.14 -arch x86_64 -arch arm64&quot;' install
<pre><code>sudo make COMMONFLAGS=&quot;-Os -mmacosx-version-min=10.14 -arch x86_64 -arch arm64&quot; install
</code></pre>
<h3 class="title" id="detecting-pdfio">Detecting PDFio</h3>
<p>PDFio can be detected using the <code>pkg-config</code> command, for example:</p>
<pre><code>if pkg-config --exists pdfio; then
...
...
fi
</code></pre>
<p>In a makefile you can add the necessary compiler and linker options with:</p>
@ -1563,7 +1563,7 @@ bool pdfioContentSave(<a href="#pdfio_stream_t">pdfio_stream_t</a> *st);</p>
<h3 class="function"><a id="pdfioContentSetDashPattern">pdfioContentSetDashPattern</a></h3>
<p class="description">Set the stroke pattern.</p>
<p class="code">
bool pdfioContentSetDashPattern(<a href="#pdfio_stream_t">pdfio_stream_t</a> *st, int phase, int on, int off);</p>
bool pdfioContentSetDashPattern(<a href="#pdfio_stream_t">pdfio_stream_t</a> *st, double phase, double on, double off);</p>
<h4 class="parameters">Parameters</h4>
<table class="list"><tbody>
<tr><th>st</th>