wxImageHistogram needs WXDLLEXPORT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -102,7 +102,7 @@ WX_DECLARE_EXPORTED_HASH_MAP(unsigned long, wxImageHistogramEntry,
|
|||||||
wxIntegerHash, wxIntegerEqual,
|
wxIntegerHash, wxIntegerEqual,
|
||||||
wxImageHistogramBase);
|
wxImageHistogramBase);
|
||||||
|
|
||||||
class wxImageHistogram : public wxImageHistogramBase
|
class WXDLLEXPORT wxImageHistogram : public wxImageHistogramBase
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
wxImageHistogram() : wxImageHistogramBase(256) { }
|
wxImageHistogram() : wxImageHistogramBase(256) { }
|
||||||
@@ -175,7 +175,7 @@ public:
|
|||||||
|
|
||||||
// return the new image with size width*height
|
// return the new image with size width*height
|
||||||
wxImage Scale( int width, int height ) const;
|
wxImage Scale( int width, int height ) const;
|
||||||
|
|
||||||
wxImage ShrinkBy( int xFactor , int yFactor ) const ;
|
wxImage ShrinkBy( int xFactor , int yFactor ) const ;
|
||||||
|
|
||||||
// rescales the image in place
|
// rescales the image in place
|
||||||
@@ -275,8 +275,8 @@ public:
|
|||||||
|
|
||||||
// Computes the histogram of the image and fills a hash table, indexed
|
// Computes the histogram of the image and fills a hash table, indexed
|
||||||
// with integer keys built as 0xRRGGBB, containing wxImageHistogramEntry
|
// with integer keys built as 0xRRGGBB, containing wxImageHistogramEntry
|
||||||
// objects. Each of them contains an 'index' (useful to build a palette
|
// objects. Each of them contains an 'index' (useful to build a palette
|
||||||
// with the image colours) and a 'value', which is the number of pixels
|
// with the image colours) and a 'value', which is the number of pixels
|
||||||
// in the image with that colour.
|
// in the image with that colour.
|
||||||
// Returned value: # of entries in the histogram
|
// Returned value: # of entries in the histogram
|
||||||
unsigned long ComputeHistogram( wxImageHistogram &h ) const;
|
unsigned long ComputeHistogram( wxImageHistogram &h ) const;
|
||||||
|
Reference in New Issue
Block a user