Warning
This page refers to an old version of SFML. Click here to switch to the latest version.
Warning
This page refers to an old version of SFML. Click here to switch to the latest version.
2D graphics module: sprites, text, shapes, ... More...
Classes | |
| class | sf::CircleShape |
| Specialized shape representing a circle. More... | |
| class | sf::Color |
| Utility class for manpulating RGBA colors. More... | |
| class | sf::ConvexShape |
| Specialized shape representing a convex polygon. More... | |
| class | sf::Drawable |
| Abstract base class for objects that can be drawn to a render target. More... | |
| class | sf::Font |
| Class for loading and manipulating character fonts. More... | |
| class | sf::Glyph |
| Structure describing a glyph. More... | |
| class | sf::Image |
| Class for loading, manipulating and saving images. More... | |
| class | sf::Rect< T > |
| Utility class for manipulating 2D axis aligned rectangles. More... | |
| class | sf::RectangleShape |
| Specialized shape representing a rectangle. More... | |
| class | sf::RenderStates |
| Define the states used for drawing to a RenderTarget. More... | |
| class | sf::RenderTarget |
| Base class for all render targets (window, texture, ...). More... | |
| class | sf::RenderTexture |
| Target for off-screen 2D rendering into a texture. More... | |
| class | sf::RenderWindow |
| Window that can serve as a target for 2D drawing. More... | |
| class | sf::Shader |
| Shader class (vertex and fragment). More... | |
| class | sf::Shape |
| Base class for textured shapes with outline. More... | |
| class | sf::Sprite |
| Drawable representation of a texture, with its own transformations, color, etc. More... | |
| class | sf::Text |
| Graphical text that can be drawn to a render target. More... | |
| class | sf::Texture |
| Image living on the graphics card that can be used for drawing. More... | |
| class | sf::Transform |
| Define a 3x3 transform matrix. More... | |
| class | sf::Transformable |
| Decomposed transform defined by a position, a rotation and a scale. More... | |
| class | sf::Vertex |
| Define a point with color and texture coordinates. More... | |
| class | sf::VertexArray |
| Define a set of one or more 2D primitives. More... | |
| class | sf::View |
| 2D camera that defines what region is shown on screen More... | |
Enumerations | |
| enum | sf::BlendMode { sf::BlendAlpha , sf::BlendAdd , sf::BlendMultiply , sf::BlendNone } |
| Available blending modes for drawing. More... | |
| enum | sf::PrimitiveType { sf::Points , sf::Lines , sf::LinesStrip , sf::Triangles , sf::TrianglesStrip , sf::TrianglesFan , sf::Quads } |
| Types of primitives that a sf::VertexArray can render. More... | |
2D graphics module: sprites, text, shapes, ...
| enum sf::BlendMode |
Available blending modes for drawing.
| Enumerator | |
|---|---|
| BlendAlpha | Pixel = Source * Source.a + Dest * (1 - Source.a). |
| BlendAdd | Pixel = Source + Dest. |
| BlendMultiply | Pixel = Source * Dest. |
| BlendNone | Pixel = Source. |
Definition at line 35 of file BlendMode.hpp.
| enum sf::PrimitiveType |
Types of primitives that a sf::VertexArray can render.
Points and lines have no area, therefore their thickness will always be 1 pixel, regarldess the current transform and view.
Definition at line 39 of file PrimitiveType.hpp.