X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cc81d32f2bf8c159f3b1bf6ddaf62e6d77720209..56601ff2db94ccc874107eb60c4564ceb47f6d02:/docs/latex/wx/htdcrend.tex diff --git a/docs/latex/wx/htdcrend.tex b/docs/latex/wx/htdcrend.tex index f36de1860d..631b4c22e5 100644 --- a/docs/latex/wx/htdcrend.tex +++ b/docs/latex/wx/htdcrend.tex @@ -17,6 +17,10 @@ or \helpref{wxHtmlPrintout}{wxhtmlprintout} is strongly recommended. +\wxheading{Library} + +\helpref{wxHtml}{librarieslist} + \latexignore{\rtfignore{\wxheading{Members}}} \membersection{wxHtmlDCRenderer::wxHtmlDCRenderer}\label{wxhtmldcrendererwxhtmldcrenderer} @@ -35,14 +39,12 @@ Assign DC instance to the renderer. (Many dimensions in HTML are given in pixels -- e.g. image sizes. 300x300 image would be only one inch wide on typical printer. With pixel\_scale = 3.0 it would be 3 inches.) -\wxheading{Parameters} +\membersection{wxHtmlDCRenderer::SetFonts}\label{wxhtmldcrenderersetfonts} -\docparam{maxwidth}{width of the area (on this DC) that is equivalent to the screen's width, -in pixels (you should set it to page width minus margins). +\func{void}{SetFonts}{\param{const wxString\& }{normal\_face}, \param{const wxString\& }{fixed\_face}, \param{const int }{*sizes = NULL}} -{\bf Note:} In the current implementation -the screen width is always 800 pixels: it gives best results and ensures (almost) same printed outputs -across platforms and differently configured desktops.} +Sets fonts. See \helpref{wxHtmlWindow::SetFonts}{wxhtmlwindowsetfonts} for +detailed description. See also \helpref{SetSize}{wxhtmldcrenderersetsize}.