A bit of confusion over what is RGB stands for blue...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
4d1bc39c96
commit
39a77f4cd9
@ -896,7 +896,7 @@ void wxGnomePrintDC::DoDrawRotatedText(const wxString& text, wxCoord x, wxCoord
|
||||
double bluePS = (double)(blue) / 255.0;
|
||||
double greenPS = (double)(green) / 255.0;
|
||||
|
||||
gnome_print_setrgbcolor( m_gpc, redPS, bluePS, greenPS );
|
||||
gnome_print_setrgbcolor( m_gpc, redPS, greenPS, bluePS );
|
||||
|
||||
m_currentRed = red;
|
||||
m_currentBlue = blue;
|
||||
@ -1041,7 +1041,7 @@ void wxGnomePrintDC::SetPen( const wxPen& pen )
|
||||
double bluePS = (double)(blue) / 255.0;
|
||||
double greenPS = (double)(green) / 255.0;
|
||||
|
||||
gnome_print_setrgbcolor( m_gpc, redPS, bluePS, greenPS );
|
||||
gnome_print_setrgbcolor( m_gpc, redPS, greenPS, bluePS );
|
||||
|
||||
m_currentRed = red;
|
||||
m_currentBlue = blue;
|
||||
@ -1080,7 +1080,7 @@ void wxGnomePrintDC::SetBrush( const wxBrush& brush )
|
||||
double bluePS = (double)(blue) / 255.0;
|
||||
double greenPS = (double)(green) / 255.0;
|
||||
|
||||
gnome_print_setrgbcolor( m_gpc, redPS, bluePS, greenPS );
|
||||
gnome_print_setrgbcolor( m_gpc, redPS, greenPS, bluePS );
|
||||
|
||||
m_currentRed = red;
|
||||
m_currentBlue = blue;
|
||||
|
@ -896,7 +896,7 @@ void wxGnomePrintDC::DoDrawRotatedText(const wxString& text, wxCoord x, wxCoord
|
||||
double bluePS = (double)(blue) / 255.0;
|
||||
double greenPS = (double)(green) / 255.0;
|
||||
|
||||
gnome_print_setrgbcolor( m_gpc, redPS, bluePS, greenPS );
|
||||
gnome_print_setrgbcolor( m_gpc, redPS, greenPS, bluePS );
|
||||
|
||||
m_currentRed = red;
|
||||
m_currentBlue = blue;
|
||||
@ -1041,7 +1041,7 @@ void wxGnomePrintDC::SetPen( const wxPen& pen )
|
||||
double bluePS = (double)(blue) / 255.0;
|
||||
double greenPS = (double)(green) / 255.0;
|
||||
|
||||
gnome_print_setrgbcolor( m_gpc, redPS, bluePS, greenPS );
|
||||
gnome_print_setrgbcolor( m_gpc, redPS, greenPS, bluePS );
|
||||
|
||||
m_currentRed = red;
|
||||
m_currentBlue = blue;
|
||||
@ -1080,7 +1080,7 @@ void wxGnomePrintDC::SetBrush( const wxBrush& brush )
|
||||
double bluePS = (double)(blue) / 255.0;
|
||||
double greenPS = (double)(green) / 255.0;
|
||||
|
||||
gnome_print_setrgbcolor( m_gpc, redPS, bluePS, greenPS );
|
||||
gnome_print_setrgbcolor( m_gpc, redPS, greenPS, bluePS );
|
||||
|
||||
m_currentRed = red;
|
||||
m_currentBlue = blue;
|
||||
|
Loading…
Reference in New Issue
Block a user