From: Włodzimierz Skiba Date: Mon, 15 Nov 2004 17:58:32 +0000 (+0000) Subject: wxDC::DrawLabel documented. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/547e2b0c43e72d18b9a9c2f63ce6cc0dfef53a4e wxDC::DrawLabel documented. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30548 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/docs/latex/wx/dc.tex b/docs/latex/wx/dc.tex index 2dbc2f1846..8c5662accb 100644 --- a/docs/latex/wx/dc.tex +++ b/docs/latex/wx/dc.tex @@ -336,6 +336,24 @@ 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{wxDC::DrawLabel}\label{wxdcdrawlabel} + +\func{virtual void}{DrawLabel}{\param{const wxString\&}{ text}, + \param{const wxBitmap\&}{ image}, + \param{const wxRect\&}{ rect}, + \param{int}{ alignment = wxALIGN_LEFT | wxALIGN_TOP}, + \param{int}{ indexAccel = -1}, + \param{wxRect *}{rectBounding = NULL}} + +\func{void}{DrawLabel}{\param{const wxString\&}{ text}, \param{const wxRect\&}{ rect}, + \param{int}{ alignment = wxALIGN_LEFT | wxALIGN_TOP}, + \param{int}{ indexAccel = -1}} + +Draw optional bitmap and the text into the given rectangle and aligns it as specified +by alignment parameter; it also will emphasize the character with the given index if +it is != -1 and return the bounding rectangle if required. + + \membersection{wxDC::DrawLine}\label{wxdcdrawline} \func{void}{DrawLine}{\param{wxCoord}{ x1}, \param{wxCoord}{ y1}, \param{wxCoord}{ x2}, \param{wxCoord}{ y2}}