X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/164e084ab4cf0b7fbf6a1149e19860bb48bbfb3c..21d6b09b108dd8f4710cf260ee9f344b6bbad704:/docs/latex/wx/dcsvg.tex?ds=sidebyside diff --git a/docs/latex/wx/dcsvg.tex b/docs/latex/wx/dcsvg.tex index 886845fd7d..fb4ee445e8 100644 --- a/docs/latex/wx/dcsvg.tex +++ b/docs/latex/wx/dcsvg.tex @@ -1,3 +1,37 @@ +\documentstyle[a4,makeidx,verbatim,texhelp,fancyhea,mysober,mytitle]{report}% +%\input{psbox.tex} +\newcommand{\commandref}[2]{\helpref{{\tt $\backslash$#1}}{#2}}% +\newcommand{\commandrefn}[2]{\helprefn{{\tt $\backslash$#1}}{#2}\index{#1}}% +\newcommand{\commandpageref}[2]{\latexignore{\helprefn{{\tt $\backslash$#1}}{#2}}\latexonly{{\tt $\backslash$#1} {\it page \pageref{#2}}}\index{#1}}% +\newcommand{\indexit}[1]{#1\index{#1}}% +\newcommand{\inioption}[1]{{\bf {\tt #1}}\index{#1}}% +\parskip=10pt% +\parindent=0pt% +%\backgroundcolour{255;255;255}\textcolour{0;0;0}% Has an effect in HTML only +\winhelpignore{\title{Manual for wxSVGFileDC}% +\author{Chris Elliott}% +\date{June 2002}% +}% +\winhelponly{\title{Manual for wxSVGFileDC}% +\author{by Chris Elliott}% +}% +\makeindex% +\begin{document}% +\maketitle% +\pagestyle{fancyplain}% +\bibliographystyle{plain}% +\pagenumbering{roman}% +\setheader{{\it CONTENTS}}{}{}{}{}{{\it CONTENTS}}% +\setfooter{\thepage}{}{}{}{}{\thepage}% +\tableofcontents% + +\chapter*{Copyright notice}% +\setheader{{\it COPYRIGHT}}{}{}{}{}{{\it COPYRIGHT}}% +\setfooter{\thepage}{}{}{}{}{\thepage}% + +\chapter*{wxSVGFileDC}% +\setheader{{\it wxSVGFileDC}}{}{}{}{}{{\it wxSVGFileDC}}% +\setfooter{\thepage}{}{}{}{}{\thepage}% \section{\class{wxSVGFileDC}}\label{wxSVGFileDC} A wxSVGFileDC is a {\it device context} onto which graphics and text can be drawn, and the output @@ -123,7 +157,7 @@ Use this function for converting a height, for example. \membersection{wxSVGFileDC::DrawArc}\label{wxdcdrawarc} -\func{void}{DrawArc}{\param{wxCoord}{ x1}, \param{wxCoord}{ y1}, \param{wxCoord}{ x2}, \param{wxCoord}{ y2}, \param{double}{ xc}, \param{double}{ yc}} +\func{void}{DrawArc}{\param{wxCoord}{ x1}, \param{wxCoord}{ y1}, \param{wxCoord}{ x2}, \param{wxCoord}{ y2}, \param{wxCoord}{ xc}, \param{wxCoord}{ yc}} Draws an arc of a circle, centred on ({\it xc, yc}), with starting point ({\it x1, y1}) and ending at ({\it x2, y2}). The current pen is used for the outline @@ -135,7 +169,7 @@ The arc is drawn in an anticlockwise direction from the start point to the end p \func{void}{DrawBitmap}{\param{const wxBitmap\&}{ bitmap}, \param{wxCoord}{ x}, \param{wxCoord}{ y}, \param{bool}{ transparent}} -Draw a bitmap on the device context at the specified point. If {\it transparent} is TRUE and the bitmap has +Draw a bitmap on the device context at the specified point. If {\it transparent} is true and the bitmap has a transparency mask, the bitmap will be drawn transparently. When drawing a mono-bitmap, the current text foreground colour will be used to draw the foreground @@ -399,12 +433,6 @@ Gets the current logical function (see \helpref{wxSVGFileDC::SetLogicalFunction} Gets the {\it mapping mode} for the device context (see \helpref{wxSVGFileDC::SetMapMode}{wxdcsetmapmode}). -\membersection{wxSVGFileDC::GetOptimization}\label{wxdcgetoptimization} - -\func{bool}{GetOptimization}{\void} - -Always returns TRUE, with an assertion in debug mode that optimisation is not implemented - \membersection{wxSVGFileDC::GetPen}\label{wxdcgetpen} \func{wxPen\&}{GetPen}{\void} @@ -527,7 +555,7 @@ Gets the minimum vertical extent used in drawing commands so far. \func{bool}{Ok}{\void} -Returns TRUE if the DC is ok to use; False values arise from being unable to +Returns true if the DC is ok to use; False values arise from being unable to write the file \membersection{wxSVGFileDC::ResetBoundingBox}\label{wxdcresetboundingbox} @@ -661,12 +689,6 @@ The mapping mode can be one of the following: \twocolitem{wxMM\_TEXT}{Each logical unit is 1 pixel.} \end{twocollist} -\membersection{wxSVGFileDC::SetOptimization}\label{wxsetoptimization} - -\func{void}{SetOptimization}{\param{bool }{optimize}} - -Does nothing - \membersection{wxSVGFileDC::SetPen}\label{wxdcsetpen} \func{void}{SetPen}{\param{const wxPen\& }{pen}}