Property API clean to smooth the task of generating wrappers.
This commit is contained in:
@@ -51,14 +51,11 @@ class SG_EXPORT DrawPixels : public Drawable
|
||||
osg::Image* getImage() { return _image.get(); }
|
||||
const osg::Image* getImage() const { return _image.get(); }
|
||||
|
||||
void setUseCompleteImage() { _useSubImage = false; }
|
||||
|
||||
void setSubImageDimensions(unsigned int offsetX,unsigned int offsetY,unsigned int width,unsigned int height);
|
||||
|
||||
void getSubImageDimensions(unsigned int& offsetX,unsigned int& offsetY,unsigned int& width,unsigned int& height) const;
|
||||
|
||||
void setUseSubImage(bool useSubImage) { _useSubImage=useSubImage; }
|
||||
bool getUseSubImage() const { return _useSubImage; }
|
||||
|
||||
void setSubImageDimensions(unsigned int offsetX,unsigned int offsetY,unsigned int width,unsigned int height);
|
||||
void getSubImageDimensions(unsigned int& offsetX,unsigned int& offsetY,unsigned int& width,unsigned int& height) const;
|
||||
|
||||
virtual void drawImplementation(State& state) const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user