First pass on STC wrappers

Lots of little fixes, tweaks, additions, etc.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@6946 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2000-03-26 02:39:21 +00:00
parent ad7e243fbd
commit 48ed8556ac
43 changed files with 15527 additions and 211 deletions

View File

@@ -99,7 +99,7 @@ public:
void Create( int width, int height );
void Destroy();
wxImage Scale( int width, int height );
void Rescale(int width, int height);
wxImage& Rescale(int width, int height);
void SetRGB( int x, int y, unsigned char r, unsigned char g, unsigned char b );
unsigned char GetRed( int x, int y );
@@ -150,6 +150,14 @@ public:
void SetMask( bool mask = TRUE );
bool HasMask();
wxImage Rotate(double angle, const wxPoint & centre_of_rotation,
bool interpolating = TRUE, wxPoint * offset_after_rotation = NULL) const ;
void Replace( unsigned char r1, unsigned char g1, unsigned char b1,
unsigned char r2, unsigned char g2, unsigned char b2 );
unsigned long CountColours( unsigned long stopafter = (unsigned long) -1 );
// TODO: unsigned long ComputeHistogram( wxHashTable &h );
};
// Alternate constructors