X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8bdd5efa8637a0d71d60a596763f6c41ecda3ff2..576adedbc01b335f921aaa3254ff805a07ef12f3:/docs/latex/wx/dcsvg.tex diff --git a/docs/latex/wx/dcsvg.tex b/docs/latex/wx/dcsvg.tex index fbaf2a6710..011f93c0fe 100644 --- a/docs/latex/wx/dcsvg.tex +++ b/docs/latex/wx/dcsvg.tex @@ -1,38 +1,4 @@ -\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} +\section{\class{wxSVGFileDC}}\label{wxsvgfiledc} A wxSVGFileDC is a {\it device context} onto which graphics and text can be drawn, and the output produced as a vector file, in the SVG format (see http://www.w3.org/TR/2001/REC-SVG-20010904/ ). @@ -49,16 +15,20 @@ However, the SVG specification allows for PNG format raster files to be embedded bitmaps, icons and blit operations into the wxSVGFileDC are supported. A more substantial SVG library (for reading and writing) is available at -http://www.xs4all.nl/~kholwerd/wxstuff/canvas/htmldocbook/aap.html +http://wxart2d.sourceforge.net/ \wxheading{Derived from} -\helpref{wxDCBase}{wxDCBase} +\helpref{wxDC}{wxdc} \wxheading{Include files} +\wxheading{Library} + +\helpref{wxCore}{librarieslist} + \wxheading{See also} %\helpref{Overview}{dcoverview} @@ -66,28 +36,30 @@ http://www.xs4all.nl/~kholwerd/wxstuff/canvas/htmldocbook/aap.html \latexignore{\rtfignore{\wxheading{Members}}} -\membersection{wxSVGFileDC::wxSVGFileDC} +\membersection{wxSVGFileDC::wxSVGFileDC}\label{wxsvgfiledcctor} + +\func{}{wxSVGFileDC}{\param{wxString}{ f}} -\func{}{wxSVGFileDC}{\param{wxString}{ f}} \rtfsp -\func{}{wxSVGFileDC}{\param{wxString}{ f}, \param{int}{ Width},\param{int}{ Height}} \rtfsp -\func{}{wxSVGFileDC}{\param{wxString}{ f}, \param{int}{ Width},\param{int}{ Height},\param{float}{ dpi}} \rtfsp +\func{}{wxSVGFileDC}{\param{wxString}{ f}, \param{int}{ Width},\param{int}{ Height}} + +\func{}{wxSVGFileDC}{\param{wxString}{ f}, \param{int}{ Width},\param{int}{ Height},\param{float}{ dpi}} Constructors: a filename {\it f} with default size 340x240 at 72.0 dots per inch (a frequent screen resolution). a filename {\it f} with size {\it Width} by {\it Height} at 72.0 dots per inch a filename {\it f} with size {\it Width} by {\it Height} at {\it dpi} resolution. -\membersection{wxSVGFileDC::\destruct{wxSVGFileDC}} +\membersection{wxSVGFileDC::\destruct{wxSVGFileDC}}\label{wxsvgfiledcdtor} \func{}{\destruct{wxSVGFileDC}}{\void} Destructor. -\membersection{wxSVGFileDC::BeginDrawing}\label{wxdcbegindrawing} +\membersection{wxSVGFileDC::BeginDrawing}\label{wxsvgfiledcbegindrawing} Does nothing -\membersection{wxSVGFileDC::Blit}\label{wxdcblit} +\membersection{wxSVGFileDC::Blit}\label{wxsvgfiledcblit} \func{bool}{Blit}{\param{wxCoord}{ xdest}, \param{wxCoord}{ ydest}, \param{wxCoord}{ width}, \param{wxCoord}{ height}, \param{wxSVGFileDC* }{source}, \param{wxCoord}{ xsrc}, \param{wxCoord}{ ysrc}, \param{int}{ logicalFunc = wxCOPY}, @@ -97,7 +69,7 @@ As wxDC: Copy from a source DC to this DC, specifying the destination coordinates, size of area to copy, source DC, source coordinates, logical function, whether to use a bitmap mask, and mask source position. -\membersection{wxSVGFileDC::CalcBoundingBox}\label{wxdccalcboundingbox} +\membersection{wxSVGFileDC::CalcBoundingBox}\label{wxsvgfiledccalcboundingbox} \func{void}{CalcBoundingBox}{\param{wxCoord }{x}, \param{wxCoord }{y}} @@ -106,33 +78,33 @@ Adds the specified point to the bounding box which can be retrieved with \helpref{MinY}{wxdcminy}, \helpref{MaxY}{wxdcmaxy} functions. -\membersection{wxSVGFileDC::Clear}\label{wxdcclear} +\membersection{wxSVGFileDC::Clear}\label{wxsvgfiledcclear} \func{void}{Clear}{\void} This makes no sense in wxSVGFileDC and does nothing -\membersection{wxSVGFileDC::CrossHair}\label{wxdccrosshair} +\membersection{wxSVGFileDC::CrossHair}\label{wxsvgfiledccrosshair} \func{void}{CrossHair}{\param{wxCoord}{ x}, \param{wxCoord}{ y}} Not Implemented -\membersection{wxSVGFileDC::DestroyClippingRegion}\label{wxdcdestroyclippingregion} +\membersection{wxSVGFileDC::DestroyClippingRegion}\label{wxsvgfiledcdestroyclippingregion} \func{void}{DestroyClippingRegion}{\void} Not Implemented -\membersection{wxSVGFileDC::DeviceToLogicalX}\label{wxdcdevicetologicalx} +\membersection{wxSVGFileDC::DeviceToLogicalX}\label{wxsvgfiledcdevicetologicalx} \func{wxCoord}{DeviceToLogicalX}{\param{wxCoord}{ x}} Convert device X coordinate to logical coordinate, using the current mapping mode. -\membersection{wxSVGFileDC::DeviceToLogicalXRel}\label{wxdcdevicetologicalxrel} +\membersection{wxSVGFileDC::DeviceToLogicalXRel}\label{wxsvgfiledcdevicetologicalxrel} \func{wxCoord}{DeviceToLogicalXRel}{\param{wxCoord}{ x}} @@ -140,14 +112,14 @@ Convert device X coordinate to relative logical coordinate, using the current mapping mode but ignoring the x axis orientation. Use this function for converting a width, for example. -\membersection{wxSVGFileDC::DeviceToLogicalY}\label{wxdcdevicetologicaly} +\membersection{wxSVGFileDC::DeviceToLogicalY}\label{wxsvgfiledcdevicetologicaly} \func{wxCoord}{DeviceToLogicalY}{\param{wxCoord}{ y}} Converts device Y coordinate to logical coordinate, using the current mapping mode. -\membersection{wxSVGFileDC::DeviceToLogicalYRel}\label{wxdcdevicetologicalyrel} +\membersection{wxSVGFileDC::DeviceToLogicalYRel}\label{wxsvgfiledcdevicetologicalyrel} \func{wxCoord}{DeviceToLogicalYRel}{\param{wxCoord}{ y}} @@ -155,7 +127,7 @@ Convert device Y coordinate to relative logical coordinate, using the current mapping mode but ignoring the y axis orientation. Use this function for converting a height, for example. -\membersection{wxSVGFileDC::DrawArc}\label{wxdcdrawarc} +\membersection{wxSVGFileDC::DrawArc}\label{wxsvgfiledcdrawarc} \func{void}{DrawArc}{\param{wxCoord}{ x1}, \param{wxCoord}{ y1}, \param{wxCoord}{ x2}, \param{wxCoord}{ y2}, \param{wxCoord}{ xc}, \param{wxCoord}{ yc}} @@ -165,11 +137,11 @@ and the current brush for filling the shape. The arc is drawn in an anticlockwise direction from the start point to the end point. -\membersection{wxSVGFileDC::DrawBitmap}\label{wxdcdrawbitmap} +\membersection{wxSVGFileDC::DrawBitmap}\label{wxsvgfiledcdrawbitmap} \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 @@ -177,7 +149,7 @@ of the bitmap (all bits set to 1), and the current text background colour to dra (all bits set to 0). See also \helpref{SetTextForeground}{wxdcsettextforeground}, \helpref{SetTextBackground}{wxdcsettextbackground} and \helpref{wxMemoryDC}{wxmemorydc}. -\membersection{wxSVGFileDC::DrawCheckMark}\label{wxdcdrawcheckmark} +\membersection{wxSVGFileDC::DrawCheckMark}\label{wxsvgfiledcdrawcheckmark} \func{void}{DrawCheckMark}{\param{wxCoord}{ x}, \param{wxCoord}{ y}, \param{wxCoord}{ width}, \param{wxCoord}{ height}} @@ -185,7 +157,7 @@ of the bitmap (all bits set to 1), and the current text background colour to dra Draws a check mark inside the given rectangle. -\membersection{wxSVGFileDC::DrawCircle}\label{wxdcdrawcircle} +\membersection{wxSVGFileDC::DrawCircle}\label{wxsvgfiledcdrawcircle} \func{void}{DrawCircle}{\param{wxCoord}{ x}, \param{wxCoord}{ y}, \param{wxCoord}{ radius}} @@ -197,7 +169,7 @@ Draws a circle with the given centre and radius. \helpref{DrawEllipse}{wxdcdrawellipse} -\membersection{wxSVGFileDC::DrawEllipse}\label{wxdcdrawellipse} +\membersection{wxSVGFileDC::DrawEllipse}\label{wxsvgfiledcdrawellipse} \func{void}{DrawEllipse}{\param{wxCoord}{ x}, \param{wxCoord}{ y}, \param{wxCoord}{ width}, \param{wxCoord}{ height}} @@ -213,7 +185,7 @@ outline and the current brush for filling the shape. \helpref{DrawCircle}{wxdcdrawcircle} -\membersection{wxSVGFileDC::DrawEllipticArc}\label{wxdcdrawellipticarc} +\membersection{wxSVGFileDC::DrawEllipticArc}\label{wxsvgfiledcdrawellipticarc} \func{void}{DrawEllipticArc}{\param{wxCoord}{ x}, \param{wxCoord}{ y}, \param{wxCoord}{ width}, \param{wxCoord}{ height}, \param{double}{ start}, \param{double}{ end}} @@ -233,21 +205,21 @@ in degrees (360 is a complete circle). Positive values mean counter-clockwise motion. If {\it start} is equal to {\it end}, a complete ellipse will be drawn. -\membersection{wxSVGFileDC::DrawIcon}\label{wxdcdrawicon} +\membersection{wxSVGFileDC::DrawIcon}\label{wxsvgfiledcdrawicon} \func{void}{DrawIcon}{\param{const wxIcon\&}{ icon}, \param{wxCoord}{ x}, \param{wxCoord}{ y}} Draw an icon on the display (does nothing if the device context is PostScript). This can be the simplest way of drawing bitmaps on a window. -\membersection{wxSVGFileDC::DrawLine}\label{wxdcdrawline} +\membersection{wxSVGFileDC::DrawLine}\label{wxsvgfiledcdrawline} \func{void}{DrawLine}{\param{wxCoord}{ x1}, \param{wxCoord}{ y1}, \param{wxCoord}{ x2}, \param{wxCoord}{ y2}} Draws a line from the first point to the second. The current pen is used for drawing the line. -\membersection{wxSVGFileDC::DrawLines}\label{wxdcdrawlines} +\membersection{wxSVGFileDC::DrawLines}\label{wxsvgfiledcdrawlines} \func{void}{DrawLines}{\param{int}{ n}, \param{wxPoint}{ points[]}, \param{wxCoord}{ xoffset = 0}, \param{wxCoord}{ yoffset = 0}} @@ -258,7 +230,7 @@ pointers to points, adding the optional offset coordinate. The current pen is used for drawing the lines. The programmer is responsible for deleting the list of points. -\membersection{wxSVGFileDC::DrawPolygon}\label{wxdcdrawpolygon} +\membersection{wxSVGFileDC::DrawPolygon}\label{wxsvgfiledcdrawpolygon} \func{void}{DrawPolygon}{\param{int}{ n}, \param{wxPoint}{ points[]}, \param{wxCoord}{ xoffset = 0}, \param{wxCoord}{ yoffset = 0},\\ \param{int }{fill\_style = wxODDEVEN\_RULE}} @@ -279,13 +251,13 @@ The programmer is responsible for deleting the list of points. Note that wxWindows automatically closes the first and last points. -\membersection{wxSVGFileDC::DrawPoint}\label{wxdcdrawpoint} +\membersection{wxSVGFileDC::DrawPoint}\label{wxsvgfiledcdrawpoint} \func{void}{DrawPoint}{\param{wxCoord}{ x}, \param{wxCoord}{ y}} Draws a point using the current pen. -\membersection{wxSVGFileDC::DrawRectangle}\label{wxdcdrawrectangle} +\membersection{wxSVGFileDC::DrawRectangle}\label{wxsvgfiledcdrawrectangle} \func{void}{DrawRectangle}{\param{wxCoord}{ x}, \param{wxCoord}{ y}, \param{wxCoord}{ width}, \param{wxCoord}{ height}} @@ -293,7 +265,7 @@ Draws a rectangle with the given top left corner, and with the given size. The current pen is used for the outline and the current brush for filling the shape. -\membersection{wxSVGFileDC::DrawRotatedText}\label{wxdcdrawrotatedtext} +\membersection{wxSVGFileDC::DrawRotatedText}\label{wxsvgfiledcdrawrotatedtext} \func{void}{DrawRotatedText}{\param{const wxString\& }{text}, \param{wxCoord}{ x}, \param{wxCoord}{ y}, \param{double}{ angle}} @@ -301,7 +273,7 @@ Draws the text rotated by {\it angle} degrees. The wxMSW wxDC and wxSVGFileDC rotate the text around slightly different points, depending on the size of the font -\membersection{wxSVGFileDC::DrawRoundedRectangle}\label{wxdcdrawroundedrectangle} +\membersection{wxSVGFileDC::DrawRoundedRectangle}\label{wxsvgfiledcdrawroundedrectangle} \func{void}{DrawRoundedRectangle}{\param{wxCoord}{ x}, \param{wxCoord}{ y}, \param{wxCoord}{ width}, \param{wxCoord}{ height}, \param{double}{ radius = 20}} @@ -318,7 +290,7 @@ a sensible size relative to the size of the rectangle, and also avoids the strange effects X produces when the corners are too big for the rectangle. -\membersection{wxSVGFileDC::DrawSpline}\label{wxdcdrawspline} +\membersection{wxSVGFileDC::DrawSpline}\label{wxsvgfiledcdrawspline} \func{void}{DrawSpline}{\param{wxList *}{points}} @@ -331,7 +303,7 @@ program `XFIG'. Draws a three-point spline using the current pen. -\membersection{wxSVGFileDC::DrawText}\label{wxdcdrawtext} +\membersection{wxSVGFileDC::DrawText}\label{wxsvgfiledcdrawtext} \func{void}{DrawText}{\param{const wxString\& }{text}, \param{wxCoord}{ x}, \param{wxCoord}{ y}} @@ -345,31 +317,31 @@ text more precisely. -\membersection{wxSVGFileDC::EndDoc}\label{wxdcenddoc} +\membersection{wxSVGFileDC::EndDoc}\label{wxsvgfiledcenddoc} \func{void}{EndDoc}{\void} Does nothing -\membersection{wxSVGFileDC::EndDrawing}\label{wxdcenddrawing} +\membersection{wxSVGFileDC::EndDrawing}\label{wxsvgfiledcenddrawing} \func{void}{EndDrawing}{\void} Does nothing -\membersection{wxSVGFileDC::EndPage}\label{wxdcendpage} +\membersection{wxSVGFileDC::EndPage}\label{wxsvgfiledcendpage} \func{void}{EndPage}{\void} Does nothing -\membersection{wxSVGFileDC::FloodFill}\label{wxdcfloodfill} +\membersection{wxSVGFileDC::FloodFill}\label{wxsvgfiledcfloodfill} \func{void}{FloodFill}{\param{wxCoord}{ x}, \param{wxCoord}{ y}, \param{const wxColour\&}{ colour}, \param{int}{ style=wxFLOOD\_SURFACE}} Not implemented -\membersection{wxSVGFileDC::GetBackground}\label{wxdcgetbackground} +\membersection{wxSVGFileDC::GetBackground}\label{wxsvgfiledcgetbackground} \func{wxBrush\&}{GetBackground}{\void} @@ -377,7 +349,7 @@ Not implemented Gets the brush used for painting the background (see \helpref{wxSVGFileDC::SetBackground}{wxdcsetbackground}). -\membersection{wxSVGFileDC::GetBackgroundMode}\label{wxdcgetbackgroundmode} +\membersection{wxSVGFileDC::GetBackgroundMode}\label{wxsvgfiledcgetbackgroundmode} \constfunc{int}{GetBackgroundMode}{\void} @@ -387,7 +359,7 @@ Returns the current background mode: {\tt wxSOLID} or {\tt wxTRANSPARENT}. \helpref{SetBackgroundMode}{wxdcsetbackgroundmode} -\membersection{wxSVGFileDC::GetBrush}\label{wxdcgetbrush} +\membersection{wxSVGFileDC::GetBrush}\label{wxsvgfiledcgetbrush} \func{wxBrush\&}{GetBrush}{\void} @@ -395,25 +367,25 @@ Returns the current background mode: {\tt wxSOLID} or {\tt wxTRANSPARENT}. Gets the current brush (see \helpref{wxSVGFileDC::SetBrush}{wxdcsetbrush}). -\membersection{wxSVGFileDC::GetCharHeight}\label{wxdcgetcharheight} +\membersection{wxSVGFileDC::GetCharHeight}\label{wxsvgfiledcgetcharheight} \func{wxCoord}{GetCharHeight}{\void} Gets the character height of the currently set font. -\membersection{wxSVGFileDC::GetCharWidth}\label{wxdcgetcharwidth} +\membersection{wxSVGFileDC::GetCharWidth}\label{wxsvgfiledcgetcharwidth} \func{wxCoord}{GetCharWidth}{\void} Gets the average character width of the currently set font. -\membersection{wxSVGFileDC::GetClippingBox}\label{wxdcgetclippingbox} +\membersection{wxSVGFileDC::GetClippingBox}\label{wxsvgfiledcgetclippingbox} \func{void}{GetClippingBox}{\param{wxCoord}{ *x}, \param{wxCoord}{ *y}, \param{wxCoord}{ *width}, \param{wxCoord}{ *height}} Not implemented -\membersection{wxSVGFileDC::GetFont}\label{wxdcgetfont} +\membersection{wxSVGFileDC::GetFont}\label{wxsvgfiledcgetfont} \func{wxFont\&}{GetFont}{\void} @@ -421,25 +393,19 @@ Not implemented Gets the current font (see \helpref{wxSVGFileDC::SetFont}{wxdcsetfont}). -\membersection{wxSVGFileDC::GetLogicalFunction}\label{wxdcgetlogicalfunction} +\membersection{wxSVGFileDC::GetLogicalFunction}\label{wxsvgfiledcgetlogicalfunction} \func{int}{GetLogicalFunction}{\void} Gets the current logical function (see \helpref{wxSVGFileDC::SetLogicalFunction}{wxdcsetlogicalfunction}). -\membersection{wxSVGFileDC::GetMapMode}\label{wxdcgetmapmode} +\membersection{wxSVGFileDC::GetMapMode}\label{wxsvgfiledcgetmapmode} \func{int}{GetMapMode}{\void} 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} +\membersection{wxSVGFileDC::GetPen}\label{wxsvgfiledcgetpen} \func{wxPen\&}{GetPen}{\void} @@ -447,13 +413,13 @@ Always returns TRUE, with an assertion in debug mode that optimisation is not im Gets the current pen (see \helpref{wxSVGFileDC::SetPen}{wxdcsetpen}). -\membersection{wxSVGFileDC::GetPixel}\label{wxdcgetpixel} +\membersection{wxSVGFileDC::GetPixel}\label{wxsvgfiledcgetpixel} \func{bool}{GetPixel}{\param{wxCoord}{ x}, \param{wxCoord}{ y}, \param{wxColour *}{colour}} Not implemented -\membersection{wxSVGFileDC::GetSize}\label{wxdcgetsize} +\membersection{wxSVGFileDC::GetSize}\label{wxsvgfiledcgetsize} \func{void}{GetSize}{\param{wxCoord *}{width}, \param{wxCoord *}{height}} @@ -461,7 +427,7 @@ Not implemented For a Windows printer device context, this gets the horizontal and vertical resolution. -\membersection{wxSVGFileDC::GetTextBackground}\label{wxdcgettextbackground} +\membersection{wxSVGFileDC::GetTextBackground}\label{wxsvgfiledcgettextbackground} \func{wxColour\&}{GetTextBackground}{\void} @@ -469,7 +435,7 @@ resolution. Gets the current text background colour (see \helpref{wxSVGFileDC::SetTextBackground}{wxdcsettextbackground}). -\membersection{wxSVGFileDC::GetTextExtent}\label{wxdcgettextextent} +\membersection{wxSVGFileDC::GetTextExtent}\label{wxsvgfiledcgettextextent} \func{void}{GetTextExtent}{\param{const wxString\& }{string}, \param{wxCoord *}{w}, \param{wxCoord *}{h},\\ \param{wxCoord *}{descent = NULL}, \param{wxCoord *}{externalLeading = NULL}, \param{wxFont *}{font = NULL}} @@ -488,7 +454,7 @@ the device context first. See also \helpref{wxFont}{wxfont}, \helpref{wxSVGFileDC::SetFont}{wxdcsetfont}. -\membersection{wxSVGFileDC::GetTextForeground}\label{wxdcgettextforeground} +\membersection{wxSVGFileDC::GetTextForeground}\label{wxsvgfiledcgettextforeground} \func{wxColour\&}{GetTextForeground}{\void} @@ -497,20 +463,20 @@ See also \helpref{wxFont}{wxfont}, \helpref{wxSVGFileDC::SetFont}{wxdcsetfont}. Gets the current text foreground colour (see \helpref{wxSVGFileDC::SetTextForeground}{wxdcsettextforeground}). -\membersection{wxSVGFileDC::GetUserScale}\label{wxdcgetuserscale} +\membersection{wxSVGFileDC::GetUserScale}\label{wxsvgfiledcgetuserscale} \func{void}{GetUserScale}{\param{double}{ *x}, \param{double}{ *y}} Gets the current user scale factor (set by \helpref{SetUserScale}{wxdcsetuserscale}). -\membersection{wxSVGFileDC::LogicalToDeviceX}\label{wxdclogicaltodevicex} +\membersection{wxSVGFileDC::LogicalToDeviceX}\label{wxsvgfiledclogicaltodevicex} \func{wxCoord}{LogicalToDeviceX}{\param{wxCoord}{ x}} Converts logical X coordinate to device coordinate, using the current mapping mode. -\membersection{wxSVGFileDC::LogicalToDeviceXRel}\label{wxdclogicaltodevicexrel} +\membersection{wxSVGFileDC::LogicalToDeviceXRel}\label{wxsvgfiledclogicaltodevicexrel} \func{wxCoord}{LogicalToDeviceXRel}{\param{wxCoord}{ x}} @@ -518,14 +484,14 @@ Converts logical X coordinate to relative device coordinate, using the current mapping mode but ignoring the x axis orientation. Use this for converting a width, for example. -\membersection{wxSVGFileDC::LogicalToDeviceY}\label{wxdclogicaltodevicey} +\membersection{wxSVGFileDC::LogicalToDeviceY}\label{wxsvgfiledclogicaltodevicey} \func{wxCoord}{LogicalToDeviceY}{\param{wxCoord}{ y}} Converts logical Y coordinate to device coordinate, using the current mapping mode. -\membersection{wxSVGFileDC::LogicalToDeviceYRel}\label{wxdclogicaltodeviceyrel} +\membersection{wxSVGFileDC::LogicalToDeviceYRel}\label{wxsvgfiledclogicaltodeviceyrel} \func{wxCoord}{LogicalToDeviceYRel}{\param{wxCoord}{ y}} @@ -533,38 +499,38 @@ Converts logical Y coordinate to relative device coordinate, using the current mapping mode but ignoring the y axis orientation. Use this for converting a height, for example. -\membersection{wxSVGFileDC::MaxX}\label{wxdcmaxx} +\membersection{wxSVGFileDC::MaxX}\label{wxsvgfiledcmaxx} \func{wxCoord}{MaxX}{\void} Gets the maximum horizontal extent used in drawing commands so far. -\membersection{wxSVGFileDC::MaxY}\label{wxdcmaxy} +\membersection{wxSVGFileDC::MaxY}\label{wxsvgfiledcmaxy} \func{wxCoord}{MaxY}{\void} Gets the maximum vertical extent used in drawing commands so far. -\membersection{wxSVGFileDC::MinX}\label{wxdcminx} +\membersection{wxSVGFileDC::MinX}\label{wxsvgfiledcminx} \func{wxCoord}{MinX}{\void} Gets the minimum horizontal extent used in drawing commands so far. -\membersection{wxSVGFileDC::MinY}\label{wxdcminy} +\membersection{wxSVGFileDC::MinY}\label{wxsvgfiledcminy} \func{wxCoord}{MinY}{\void} Gets the minimum vertical extent used in drawing commands so far. -\membersection{wxSVGFileDC::Ok}\label{wxdcok} +\membersection{wxSVGFileDC::Ok}\label{wxsvgfiledcok} \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} +\membersection{wxSVGFileDC::ResetBoundingBox}\label{wxsvgfiledcresetboundingbox} \func{void}{ResetBoundingBox}{\void} @@ -575,7 +541,7 @@ doesn't contain anything. \helpref{CalcBoundingBox}{wxdccalcboundingbox} -\membersection{wxSVGFileDC::SetAxisOrientation}\label{wxdcsetaxisorientation} +\membersection{wxSVGFileDC::SetAxisOrientation}\label{wxsvgfiledcsetaxisorientation} \func{void}{SetAxisOrientation}{\param{bool}{ xLeftRight}, \param{bool}{ yBottomUp}} @@ -592,7 +558,7 @@ left to right orientation, false to invert it.} \docparam{yBottomUp}{True to set the y axis orientation to the natural bottom up orientation, false to invert it.} -\membersection{wxSVGFileDC::SetDeviceOrigin}\label{wxdcsetdeviceorigin} +\membersection{wxSVGFileDC::SetDeviceOrigin}\label{wxsvgfiledcsetdeviceorigin} \func{void}{SetDeviceOrigin}{\param{wxCoord}{ x}, \param{wxCoord}{ y}} @@ -602,20 +568,20 @@ applied). This function may be useful in Windows printing operations for placing a graphic on a page. -\membersection{wxSVGFileDC::SetBackground}\label{wxdcsetbackground} +\membersection{wxSVGFileDC::SetBackground}\label{wxsvgfiledcsetbackground} \func{void}{SetBackground}{\param{const wxBrush\& }{brush}} Sets the current background brush for the DC. -\membersection{wxSVGFileDC::SetBackgroundMode}\label{wxdcsetbackgroundmode} +\membersection{wxSVGFileDC::SetBackgroundMode}\label{wxsvgfiledcsetbackgroundmode} \func{void}{SetBackgroundMode}{\param{int}{ mode}} {\it mode} may be one of wxSOLID and wxTRANSPARENT. This setting determines whether text will be drawn with a background colour or not. -\membersection{wxSVGFileDC::SetClippingRegion}\label{wxdcsetclippingregion} +\membersection{wxSVGFileDC::SetClippingRegion}\label{wxsvgfiledcsetclippingregion} \func{void}{SetClippingRegion}{\param{wxCoord}{ x}, \param{wxCoord}{ y}, \param{wxCoord}{ width}, \param{wxCoord}{ height}} @@ -628,13 +594,13 @@ whether text will be drawn with a background colour or not. Not implemented -\membersection{wxSVGFileDC::SetPalette}\label{wxdcsetpalette} +\membersection{wxSVGFileDC::SetPalette}\label{wxsvgfiledcsetpalette} \func{void}{SetPalette}{\param{const wxPalette\& }{palette}} Not implemented -\membersection{wxSVGFileDC::SetBrush}\label{wxdcsetbrush} +\membersection{wxSVGFileDC::SetBrush}\label{wxsvgfiledcsetbrush} \func{void}{SetBrush}{\param{const wxBrush\& }{brush}} @@ -649,7 +615,7 @@ See also \helpref{wxBrush}{wxbrush}. See also \helpref{wxMemoryDC}{wxmemorydc} for the interpretation of colours when drawing into a monochrome bitmap. -\membersection{wxSVGFileDC::SetFont}\label{wxdcsetfont} +\membersection{wxSVGFileDC::SetFont}\label{wxsvgfiledcsetfont} \func{void}{SetFont}{\param{const wxFont\& }{font}} @@ -658,14 +624,14 @@ should not pass {\tt wxNullFont} to this method. See also \helpref{wxFont}{wxfont}. -\membersection{wxSVGFileDC::SetLogicalFunction}\label{wxdcsetlogicalfunction} +\membersection{wxSVGFileDC::SetLogicalFunction}\label{wxsvgfiledcsetlogicalfunction} \func{void}{SetLogicalFunction}{\param{int}{ function}} Only wxCOPY is avalaible; trying to set one of the othe values will fail -\membersection{wxSVGFileDC::SetMapMode}\label{wxdcsetmapmode} +\membersection{wxSVGFileDC::SetMapMode}\label{wxsvgfiledcsetmapmode} \func{void}{SetMapMode}{\param{int}{ int}} @@ -695,13 +661,7 @@ 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} +\membersection{wxSVGFileDC::SetPen}\label{wxsvgfiledcsetpen} \func{void}{SetPen}{\param{const wxPen\& }{pen}} @@ -713,13 +673,13 @@ context, and the original pen restored. See also \helpref{wxMemoryDC}{wxmemorydc} for the interpretation of colours when drawing into a monochrome bitmap. -\membersection{wxSVGFileDC::SetTextBackground}\label{wxdcsettextbackground} +\membersection{wxSVGFileDC::SetTextBackground}\label{wxsvgfiledcsettextbackground} \func{void}{SetTextBackground}{\param{const wxColour\& }{colour}} Sets the current text background colour for the DC. -\membersection{wxSVGFileDC::SetTextForeground}\label{wxdcsettextforeground} +\membersection{wxSVGFileDC::SetTextForeground}\label{wxsvgfiledcsettextforeground} \func{void}{SetTextForeground}{\param{const wxColour\& }{colour}} @@ -728,20 +688,20 @@ Sets the current text foreground colour for the DC. See also \helpref{wxMemoryDC}{wxmemorydc} for the interpretation of colours when drawing into a monochrome bitmap. -\membersection{wxSVGFileDC::SetUserScale}\label{wxdcsetuserscale} +\membersection{wxSVGFileDC::SetUserScale}\label{wxsvgfiledcsetuserscale} \func{void}{SetUserScale}{\param{double}{ xScale}, \param{double}{ yScale}} Sets the user scaling factor, useful for applications which require `zooming'. -\membersection{wxSVGFileDC::StartDoc}\label{wxdcstartdoc} +\membersection{wxSVGFileDC::StartDoc}\label{wxsvgfiledcstartdoc} \func{bool}{StartDoc}{\param{const wxString\& }{message}} Does nothing -\membersection{wxSVGFileDC::StartPage}\label{wxdcstartpage} +\membersection{wxSVGFileDC::StartPage}\label{wxsvgfiledcstartpage} \func{bool}{StartPage}{\void}