JNGL
Easy to use cross-platform 2D game library
Loading...
Searching...
No Matches
Deprecated List
Member FrameBuffer::clear ()
use jngl::FrameBuffer::Context::clear(Color) instead
Member jngl::drawEllipse (float xmid, float ymid, float width, float height, float startAngle=0)
Use drawEllipse(Mat3, float, float, float) instead
Member jngl::drawLine (double xstart, double ystart, double xend, double yend)
Use drawLine(Vec2, Vec2) instead
Member jngl::drawPoint (double x, double y)
Use drawCircle instead
Member jngl::drawRect (double xposition, double yposition, double width, double height)
Use drawRect(const Mat3&, Vec2, Color) instead
Member jngl::drawTriangle (double A_x, double A_y, double B_x, double B_y, double C_x, double C_y)
Use drawTriangle(Vec2, Vec2, Vec2) instead
Member jngl::getConfigPath ()
Use jngl::writeConfig and jngl::readConfig instead.
Member jngl::getFPS ()
Not really intuitive or robust, use your own calculations instead
Member jngl::getMouseX ()
Use jngl::getMousePos() instead
Member jngl::getMouseY ()
Use jngl::getMousePos() instead
Member jngl::popAlpha ()
Use setAlpha instead
Member jngl::pushAlpha (unsigned char alpha)
Use setAlpha instead
Member jngl::rotate (double degree)
use jngl::modelview().rotate instead
Member jngl::setBackgroundColor (unsigned char red, unsigned char green, unsigned char blue)
Use setBackgroundColor(jngl::Rgb) instead.
Member jngl::setConfigPath (const std::string &path)
Use jngl::writeConfig and jngl::readConfig instead.
Member jngl::setLineWidth (float width)
Use drawRect instead
Member jngl::setWork (Work *)
Use setWork(std::shared_ptr<Work>) instead
Member jngl::sleep (int milliseconds)
Use std::this_thread::sleep_for(std::chrono::milliseconds(...)) instead
Member Sprite::drawClipped (float xstart, float xend, float ystart, float yend) const
Use new drawClipped(Vec2, Vec2) method instead
Member Sprite::drawScaled (float xfactor, float yfactor, const ShaderProgram *shaderProgram=nullptr) const
Scale the modelview matrix instead using jngl::Mat3::scale
Member Sprite::Sprite (const std::string &filename, LoadType loadType=LoadType::NORMAL)
Use Loader instead