From: Robert Roebling Date: Sat, 22 Sep 2007 09:55:23 +0000 (+0000) Subject: Removed last bits of DrawScaledBitmap (was removed part of GTK+ printing patch) X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/65dd9ae23c1532fbbd43c19dccd7cc8a25a8a6f4 Removed last bits of DrawScaledBitmap (was removed part of GTK+ printing patch) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48903 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/docs/latex/wx/dc.tex b/docs/latex/wx/dc.tex index ac4ea3ffe7..fbb5a427d4 100644 --- a/docs/latex/wx/dc.tex +++ b/docs/latex/wx/dc.tex @@ -493,22 +493,6 @@ the strange effects X produces when the corners are too big for the rectangle. -\membersection{wxDC::DrawScaledBitmap}\label{wxdcdrawscaledbitmap} - -\func{void}{DrawScaledBitmap}{\param{const wxBitmap\&}{ bitmap}, \param{wxCoord}{ x}, \param{wxCoord}{ y}, \param{wxCoord}{ w}, \param{wxCoord}{ h}, \param{bool}{ transparent}, \param{int}{ quality = wxIMAGE\_QUALITY\_NORMAL}} - -Draw a bitmap on the device context at the specified point and resize it to the specified size. If {\it transparent} is true and the bitmap has a transparency mask, the bitmap will be drawn transparently. - -Under wxGTK with Gtk Printing support, you should use this method with a wxPrinterDC if you want to print an image with a resolution higher than 72 dpi. On every other DC and platform, resizing is done using \helpref{wxImage::Rescale}{wximagerescale}. - -For a description of the {\it quality} parameter, see the \helpref{Scale}{wximagescale} function. - -When drawing a mono-bitmap, the current text foreground colour will be used to draw the foreground -of the bitmap (all bits set to 1), and the current text background colour to draw the background -(all bits set to 0). See also \helpref{SetTextForeground}{wxdcsettextforeground}, -\helpref{SetTextBackground}{wxdcsettextbackground} and \helpref{wxMemoryDC}{wxmemorydc}. - - \membersection{wxDC::DrawSpline}\label{wxdcdrawspline} \func{void}{DrawSpline}{\param{int }{n}, \param{wxPoint }{points[]}} diff --git a/include/wx/gtk/print.h b/include/wx/gtk/print.h index adc2818fe3..a4175c2f1b 100644 --- a/include/wx/gtk/print.h +++ b/include/wx/gtk/print.h @@ -273,7 +273,6 @@ protected: wxCoord xsrcMask = wxDefaultCoord, wxCoord ysrcMask = wxDefaultCoord); void DoDrawIcon( const wxIcon& icon, wxCoord x, wxCoord y ); void DoDrawBitmap( const wxBitmap& bitmap, wxCoord x, wxCoord y, bool useMask = false ); - void DoDrawScaledBitmap( const wxBitmap& bitmap, wxCoord x, wxCoord y, wxCoord w, wxCoord h, bool useMask = false, int quality = wxIMAGE_QUALITY_NORMAL ); void DoDrawText(const wxString& text, wxCoord x, wxCoord y ); void DoDrawRotatedText(const wxString& text, wxCoord x, wxCoord y, double angle); void DoSetClippingRegion(wxCoord x, wxCoord y, wxCoord width, wxCoord height);