mirror of
https://github.com/johnwhitington/cpdf-source.git
synced 2025-02-09 00:18:51 +01:00
Image sizes
This commit is contained in:
parent
9adbc2b01f
commit
1ab30bb0ac
BIN
cpdfmanual.pdf
BIN
cpdfmanual.pdf
Binary file not shown.
@ -39,6 +39,9 @@
|
||||
\begin{flushright}
|
||||
|
||||
|
||||
\ifdefined\HCode
|
||||
{\sffamily \bfseries \Huge Coherent PDF Command Line Tools}
|
||||
\else
|
||||
{\sffamily \bfseries \Huge Coherent PDF
|
||||
|
||||
\vspace{2mm}
|
||||
@ -58,6 +61,7 @@ Java API and
|
||||
JavaScript API and
|
||||
\end{jscpdflib}
|
||||
Command Line Tools}
|
||||
\fi
|
||||
|
||||
\vspace{12mm}
|
||||
|
||||
@ -67,7 +71,11 @@ Version 2.7.3 (January 2025)
|
||||
\vspace{25mm}
|
||||
|
||||
\vfill
|
||||
\ifdefined\HCode
|
||||
\includegraphics[natwidth=50,natheight=50]{logo.pdf}
|
||||
\else
|
||||
\includegraphics{logo.pdf}
|
||||
\fi
|
||||
|
||||
\vspace{2mm}
|
||||
{\sffamily \bfseries \LARGE Coherent Graphics Ltd}
|
||||
@ -5047,7 +5055,11 @@ We can draw on an existing PDF (or a new one created with \texttt{-create-pdf} f
|
||||
\noindent We use \texttt{-to} to start the path at a given coordinate, \texttt{-line} to extend the path with each line, and then \texttt{-stroke} to stroke the path. Coordinates in a PDF file have the origin $(0, 0)$ at the bottom-left of the page. All units are in points (1/72 inch). This creates the following PDF:
|
||||
|
||||
\bigskip
|
||||
\ifdefined\HCode
|
||||
\fbox{\includegraphics[natwidth=298,natheight=421]{manualimages/line.pdf}}
|
||||
\else
|
||||
\fbox{\includegraphics[width=0.3\textwidth]{manualimages/line.pdf}}
|
||||
\fi
|
||||
\bigskip
|
||||
|
||||
\noindent Alternatively, we may use \texttt{-close} to draw the final line back to the starting point:
|
||||
|
Loading…
x
Reference in New Issue
Block a user