Go to the documentation of this file.
83 virtual void scale(
float x,
float y) = 0;
85 virtual void translate(
float x,
float y) = 0;
87 virtual void rotate(
float angle) = 0;
88 virtual void rotate(
float x,
float y,
float angle) = 0;
virtual void setAlphaWriting(bool enable)=0
virtual void setColor(const Color &color)
virtual void restoreSavedState()=0
virtual void setTexture(Texture *texture)=0
virtual void rotate(float angle)=0
virtual void saveAndResetState()=0
virtual void setCompositionMode(CompositionMode compositionMode)=0
virtual void clear(const Color &color)=0
CompositionMode getCompositionMode()
void setShaderProgram(const PainterShaderProgramPtr &shaderProgram)
@ CompositionMode_DestBlending
virtual void popTransformMatrix()=0
void rotate(const Point &p, float angle)
virtual void setShaderProgram(PainterShaderProgram *shaderProgram)
virtual bool hasShaders()=0
@ CompositionMode_Replace
void translate(const Point &p)
virtual void drawBoundingRect(const Rect &dest, int innerLineWidth=1)=0
virtual void drawRepeatedTexturedRect(const Rect &dest, const TexturePtr &texture, const Rect &src)=0
virtual void translate(float x, float y)=0
void resetShaderProgram()
virtual void pushTransformMatrix()=0
virtual void setClipRect(const Rect &clipRect)=0
virtual void scale(float x, float y)=0
virtual void drawFillCoords(CoordsBuffer &coordsBuffer)=0
@ CompositionMode_Multiply
virtual void drawFilledTriangle(const Point &a, const Point &b, const Point &c)=0
virtual void setBlendEquation(BlendEquation blendEquation)=0
virtual void saveState()=0
virtual void drawUpsideDownTexturedRect(const Rect &dest, const TexturePtr &texture, const Rect &src)=0
virtual void setResolution(const Size &resolution)
virtual void drawFilledRect(const Rect &dest)=0
virtual void drawCoords(CoordsBuffer &coordsBuffer, DrawMode drawMode=Triangles)=0
virtual void drawTextureCoords(CoordsBuffer &coordsBuffer, const TexturePtr &texture)=0
CompositionMode m_compositionMode
void drawTexturedRect(const Rect &dest, const TexturePtr &texture)
PainterShaderProgram * m_shaderProgram
virtual void setOpacity(float opacity)
virtual void drawTexturedRect(const Rect &dest, const TexturePtr &texture, const Rect &src)=0
void resetCompositionMode()