class ffw::GuiWindowFineGraphics

Class List > ffw :: GuiWindowFineGraphics

Inherits the following classes: ffw::GuiWindow

Public Functions

Type Name
GuiWindowFineGraphics (GLCanvas & canvas)
virtual ~GuiWindowFineGraphics ()
void destroy ()
virtual void resize (const int width, const int height) override
virtual void startRender () override
virtual void endRender () override
virtual void setScissors (const ffw::Pointf & pos, const ffw::Pointf & size) override const
virtual void clearWithColor (const ffw::Color & color, const ffw::Pointf & pos, const ffw::Pointf & size) override const
virtual void drawRectangle (const ffw::Pointf & pos, const ffw::Pointf & size, const ffw::Color & color) override const
virtual void drawRectangleRounded (const ffw::Pointf & pos, const ffw::Pointf & size, const ffw::Color & color, const float tl, const float tr, const float br, const float bl) override const
virtual void drawLine (const ffw::Pointf & start, const ffw::Pointf & end, const ffw::Color & color, float width) override const
virtual void drawCircle (const ffw::Pointf & pos, const float radius, const ffw::Color & color) override const
virtual void drawArc (const ffw::Pointf & pos, const float inner, const float outer, const float start, const float end, const ffw::Color & color) override const
virtual void drawQuad (const ffw::Pointf & p0, const ffw::Pointf & p1, const ffw::Pointf & p2, const ffw::Pointf & p3, const ffw::Color & color) override const
virtual void drawString (const ffw::Pointf & pos, const ffw::GuiFont * font, const std::string::value_type * str, const size_t length, const ffw::Color & color, const float lineHeight) override const
virtual void drawTriangle (const ffw::Pointf & p0, const ffw::Pointf & p1, const ffw::Pointf & p2, const ffw::Color & color) override const
virtual void drawImage (const ffw::Pointf & pos, const ffw::Pointf & size, const GuiImage * image, const ffw::Recti & sub, bool mirrorX, bool mirrorY, const ffw::Color & color) override const
virtual void drawBackground (const ffw::Pointf & pos, const ffw::Pointf & size, const ffw::GuiStyle::Background & background, bool ignore) override const
virtual void drawBorder (const ffw::Pointf & pos, const ffw::Pointf & size, const ffw::GuiStyle::Border & border) override const
const GLFramebuffer & getFbo () const
const GLTexture2D & getFboTexture () const
const GLCanvas::Image & getFboTextureImage () const

Public Functions Documentation

function GuiWindowFineGraphics

ffw::GuiWindowFineGraphics::GuiWindowFineGraphics (
    GLCanvas & canvas
)

function ~GuiWindowFineGraphics

virtual ffw::GuiWindowFineGraphics::~GuiWindowFineGraphics ()

function destroy

void ffw::GuiWindowFineGraphics::destroy ()

function resize

virtual void ffw::GuiWindowFineGraphics::resize (
    const int width,
    const int height
)

Implements GuiBackend::resize

function startRender

virtual void ffw::GuiWindowFineGraphics::startRender ()

Implements GuiBackend::startRender

function endRender

virtual void ffw::GuiWindowFineGraphics::endRender ()

Implements GuiBackend::endRender

function setScissors

virtual void ffw::GuiWindowFineGraphics::setScissors (
    const ffw::Pointf & pos,
    const ffw::Pointf & size
) const

Implements GuiBackend::setScissors

function clearWithColor

virtual void ffw::GuiWindowFineGraphics::clearWithColor (
    const ffw::Color & color,
    const ffw::Pointf & pos,
    const ffw::Pointf & size
) const

Implements GuiBackend::clearWithColor

function drawRectangle

virtual void ffw::GuiWindowFineGraphics::drawRectangle (
    const ffw::Pointf & pos,
    const ffw::Pointf & size,
    const ffw::Color & color
) const

Implements GuiBackend::drawRectangle

function drawRectangleRounded

virtual void ffw::GuiWindowFineGraphics::drawRectangleRounded (
    const ffw::Pointf & pos,
    const ffw::Pointf & size,
    const ffw::Color & color,
    const float tl,
    const float tr,
    const float br,
    const float bl
) const

Implements GuiBackend::drawRectangleRounded

function drawLine

virtual void ffw::GuiWindowFineGraphics::drawLine (
    const ffw::Pointf & start,
    const ffw::Pointf & end,
    const ffw::Color & color,
    float width
) const

Implements GuiBackend::drawLine

function drawCircle

virtual void ffw::GuiWindowFineGraphics::drawCircle (
    const ffw::Pointf & pos,
    const float radius,
    const ffw::Color & color
) const

Implements GuiBackend::drawCircle

function drawArc

virtual void ffw::GuiWindowFineGraphics::drawArc (
    const ffw::Pointf & pos,
    const float inner,
    const float outer,
    const float start,
    const float end,
    const ffw::Color & color
) const

Implements GuiBackend::drawArc

function drawQuad

virtual void ffw::GuiWindowFineGraphics::drawQuad (
    const ffw::Pointf & p0,
    const ffw::Pointf & p1,
    const ffw::Pointf & p2,
    const ffw::Pointf & p3,
    const ffw::Color & color
) const

Implements GuiBackend::drawQuad

function drawString

virtual void ffw::GuiWindowFineGraphics::drawString (
    const ffw::Pointf & pos,
    const ffw::GuiFont * font,
    const std::string::value_type * str,
    const size_t length,
    const ffw::Color & color,
    const float lineHeight
) const

Implements GuiBackend::drawString

function drawTriangle

virtual void ffw::GuiWindowFineGraphics::drawTriangle (
    const ffw::Pointf & p0,
    const ffw::Pointf & p1,
    const ffw::Pointf & p2,
    const ffw::Color & color
) const

Implements GuiBackend::drawTriangle

function drawImage

virtual void ffw::GuiWindowFineGraphics::drawImage (
    const ffw::Pointf & pos,
    const ffw::Pointf & size,
    const GuiImage * image,
    const ffw::Recti & sub,
    bool mirrorX,
    bool mirrorY,
    const ffw::Color & color
) const

Implements GuiBackend::drawImage

function drawBackground

virtual void ffw::GuiWindowFineGraphics::drawBackground (
    const ffw::Pointf & pos,
    const ffw::Pointf & size,
    const ffw::GuiStyle::Background & background,
    bool ignore
) const

Implements GuiBackend::drawBackground

function drawBorder

virtual void ffw::GuiWindowFineGraphics::drawBorder (
    const ffw::Pointf & pos,
    const ffw::Pointf & size,
    const ffw::GuiStyle::Border & border
) const

Implements GuiBackend::drawBorder

function getFbo

const GLFramebuffer & ffw::GuiWindowFineGraphics::getFbo () const

function getFboTexture

const GLTexture2D & ffw::GuiWindowFineGraphics::getFboTexture () const

function getFboTextureImage

const GLCanvas::Image & ffw::GuiWindowFineGraphics::getFboTextureImage () const

The documentation for this class was generated from the following file: include/ffw/gui/backend/guibackendfinegraphics.h