FIFE  6e1afdbeda11afe9ac53e6023a4be96ef88f1dc6
FIFE::OpenGLGuiGraphics Class Reference

Overrides Fifechan Graphics to enable usage of normal fife images & related facilities. More...

#include <opengl_gui_graphics.h>

Inherits OpenGLGraphics.

+ Collaboration diagram for FIFE::OpenGLGuiGraphics:

Public Member Functions

 OpenGLGuiGraphics ()
 Constructor. More...
 
void updateTarget ()
 
virtual void drawImage (const fcn::Image *image, int32_t srcX, int32_t srcY, int32_t dstX, int32_t dstY, int32_t width, int32_t height)
 
virtual void drawText (const std::string &text, int32_t x, int32_t y, uint32_t alignment)
 
virtual void drawPoint (int32_t x, int32_t y)
 
virtual void drawLine (int32_t x1, int32_t y1, int32_t x2, int32_t y2)
 
virtual void drawLine (int32_t x1, int32_t y1, int32_t x2, int32_t y2, uint32_t width)
 
virtual void drawPolyLine (const fcn::PointVector &points, uint32_t width)
 
virtual void drawBezier (const fcn::PointVector &points, int32_t steps, uint32_t width)
 
virtual void drawRectangle (const fcn::Rectangle &rectangle)
 
virtual void fillRectangle (const fcn::Rectangle &rectangle)
 
virtual void drawCircle (const fcn::Point &p, uint32_t radius)
 
virtual void drawFillCircle (const fcn::Point &p, uint32_t radius)
 
virtual void drawCircleSegment (const fcn::Point &p, uint32_t radius, int32_t sangle, int32_t eangle)
 
virtual void drawFillCircleSegment (const fcn::Point &p, uint32_t radius, int32_t sangle, int32_t eangle)
 
virtual void _beginDraw ()
 
virtual void _endDraw ()
 
virtual bool pushClipArea (fcn::Rectangle area)
 
virtual void popClipArea ()
 
virtual void setColor (const fcn::Color &color)
 

Private Attributes

RenderBackendOpenGLm_renderbackend
 

Detailed Description

Overrides Fifechan Graphics to enable usage of normal fife images & related facilities.

Definition at line 39 of file opengl_gui_graphics.h.

Constructor & Destructor Documentation

FIFE::OpenGLGuiGraphics::OpenGLGuiGraphics ( )

Member Function Documentation

void FIFE::OpenGLGuiGraphics::_beginDraw ( )
virtual
void FIFE::OpenGLGuiGraphics::_endDraw ( )
virtual
void FIFE::OpenGLGuiGraphics::drawBezier ( const fcn::PointVector &  points,
int32_t  steps,
uint32_t  width 
)
virtual
void FIFE::OpenGLGuiGraphics::drawCircle ( const fcn::Point &  p,
uint32_t  radius 
)
virtual
void FIFE::OpenGLGuiGraphics::drawCircleSegment ( const fcn::Point &  p,
uint32_t  radius,
int32_t  sangle,
int32_t  eangle 
)
virtual
void FIFE::OpenGLGuiGraphics::drawFillCircle ( const fcn::Point &  p,
uint32_t  radius 
)
virtual
void FIFE::OpenGLGuiGraphics::drawFillCircleSegment ( const fcn::Point &  p,
uint32_t  radius,
int32_t  sangle,
int32_t  eangle 
)
virtual
void FIFE::OpenGLGuiGraphics::drawImage ( const fcn::Image *  image,
int32_t  srcX,
int32_t  srcY,
int32_t  dstX,
int32_t  dstY,
int32_t  width,
int32_t  height 
)
virtual
void FIFE::OpenGLGuiGraphics::drawLine ( int32_t  x1,
int32_t  y1,
int32_t  x2,
int32_t  y2 
)
virtual
void FIFE::OpenGLGuiGraphics::drawLine ( int32_t  x1,
int32_t  y1,
int32_t  x2,
int32_t  y2,
uint32_t  width 
)
virtual
void FIFE::OpenGLGuiGraphics::drawPoint ( int32_t  x,
int32_t  y 
)
virtual
void FIFE::OpenGLGuiGraphics::drawPolyLine ( const fcn::PointVector &  points,
uint32_t  width 
)
virtual
void FIFE::OpenGLGuiGraphics::drawRectangle ( const fcn::Rectangle &  rectangle)
virtual
void FIFE::OpenGLGuiGraphics::drawText ( const std::string &  text,
int32_t  x,
int32_t  y,
uint32_t  alignment 
)
virtual

Definition at line 68 of file opengl_gui_graphics.cpp.

References FIFE::_log, and FL_WARN.

void FIFE::OpenGLGuiGraphics::fillRectangle ( const fcn::Rectangle &  rectangle)
virtual
void FIFE::OpenGLGuiGraphics::popClipArea ( )
virtual
bool FIFE::OpenGLGuiGraphics::pushClipArea ( fcn::Rectangle  area)
virtual
void FIFE::OpenGLGuiGraphics::setColor ( const fcn::Color &  color)
virtual

Definition at line 221 of file opengl_gui_graphics.cpp.

void FIFE::OpenGLGuiGraphics::updateTarget ( )

Member Data Documentation


The documentation for this class was generated from the following files: