made Blur() methods const (bug 180914)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49077 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -258,9 +258,9 @@ public:
|
|||||||
wxImage ResampleBicubic(int width, int height) const;
|
wxImage ResampleBicubic(int width, int height) const;
|
||||||
|
|
||||||
// blur the image according to the specified pixel radius
|
// blur the image according to the specified pixel radius
|
||||||
wxImage Blur(int radius);
|
wxImage Blur(int radius) const;
|
||||||
wxImage BlurHorizontal(int radius);
|
wxImage BlurHorizontal(int radius) const;
|
||||||
wxImage BlurVertical(int radius);
|
wxImage BlurVertical(int radius) const;
|
||||||
|
|
||||||
wxImage ShrinkBy( int xFactor , int yFactor ) const ;
|
wxImage ShrinkBy( int xFactor , int yFactor ) const ;
|
||||||
|
|
||||||
|
@@ -743,7 +743,7 @@ wxImage wxImage::ResampleBicubic(int width, int height) const
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Blur in the horizontal direction
|
// Blur in the horizontal direction
|
||||||
wxImage wxImage::BlurHorizontal(int blurRadius)
|
wxImage wxImage::BlurHorizontal(int blurRadius) const
|
||||||
{
|
{
|
||||||
wxImage ret_image;
|
wxImage ret_image;
|
||||||
ret_image.Create(M_IMGDATA->m_width, M_IMGDATA->m_height, false);
|
ret_image.Create(M_IMGDATA->m_width, M_IMGDATA->m_height, false);
|
||||||
@@ -858,7 +858,7 @@ wxImage wxImage::BlurHorizontal(int blurRadius)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Blur in the vertical direction
|
// Blur in the vertical direction
|
||||||
wxImage wxImage::BlurVertical(int blurRadius)
|
wxImage wxImage::BlurVertical(int blurRadius) const
|
||||||
{
|
{
|
||||||
wxImage ret_image;
|
wxImage ret_image;
|
||||||
ret_image.Create(M_IMGDATA->m_width, M_IMGDATA->m_height, false);
|
ret_image.Create(M_IMGDATA->m_width, M_IMGDATA->m_height, false);
|
||||||
@@ -973,7 +973,7 @@ wxImage wxImage::BlurVertical(int blurRadius)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// The new blur function
|
// The new blur function
|
||||||
wxImage wxImage::Blur(int blurRadius)
|
wxImage wxImage::Blur(int blurRadius) const
|
||||||
{
|
{
|
||||||
wxImage ret_image;
|
wxImage ret_image;
|
||||||
ret_image.Create(M_IMGDATA->m_width, M_IMGDATA->m_height, false);
|
ret_image.Create(M_IMGDATA->m_width, M_IMGDATA->m_height, false);
|
||||||
|
Reference in New Issue
Block a user