X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cc81d32f2bf8c159f3b1bf6ddaf62e6d77720209..97ad053bffe0fe5d8862578bae4e7492592b5702:/docs/latex/wx/htdcrend.tex diff --git a/docs/latex/wx/htdcrend.tex b/docs/latex/wx/htdcrend.tex index f36de1860d..f7623eb322 100644 --- a/docs/latex/wx/htdcrend.tex +++ b/docs/latex/wx/htdcrend.tex @@ -35,14 +35,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}.