Loading [MathJax]/extensions/tex2jax.js
Gamedev Framework (gf)
0.19.0
A C++17 framework for 2D games
Main Page
Documentation
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
z
+
Functions
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
+
Variables
a
b
c
e
i
m
n
p
r
s
v
z
+
Typedefs
c
d
e
i
m
p
r
s
v
+
Enumerations
a
b
c
d
e
f
g
k
l
m
o
p
q
r
s
t
w
Enumerator
+
Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Functions
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
~
+
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
c
d
i
l
p
r
s
t
v
Enumerations
+
Enumerator
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
gf on github
#gf-devel on Freenode
/r/GamedevFramework on Reddit
gf
RectangleShape
gf::RectangleShape Member List
This is the complete list of members for
gf::RectangleShape
, including all inherited members.
commitGeometry
() const
gf::Shape
commitOutlineGeometry
() const
gf::Shape
draw
(RenderTarget &target, const RenderStates &states) override
gf::Shape
virtual
getColor
() const
gf::Shape
inline
getInverseTransform
() const
gf::Transformable
getLocalBounds
() const
gf::Shape
getOrigin
() const
gf::Transformable
inline
getOutlineColor
() const
gf::Shape
inline
getOutlineThickness
() const
gf::Shape
inline
getPoint
(std::size_t index) const override
gf::RectangleShape
virtual
getPointCount
() const override
gf::RectangleShape
virtual
getPosition
() const
gf::Transformable
inline
getRotation
() const
gf::Transformable
inline
getScale
() const
gf::Transformable
inline
getSize
() const
gf::RectangleShape
inline
getTexture
() const
gf::Shape
inline
getTextureRect
() const
gf::Shape
inline
getTransform
() const
gf::Transformable
hasTexture
() const
gf::Shape
inline
move
(Vector2f offset)
gf::Transformable
RectangleShape
(Vector2f size=Vector2f{ 0.0f, 0.0f })
gf::RectangleShape
RectangleShape
(const RectF &rect)
gf::RectangleShape
explicit
rotate
(float angle)
gf::Transformable
scale
(Vector2f factors)
gf::Transformable
scale
(float factor)
gf::Transformable
inline
setAnchor
(Anchor anchor)
gf::Shape
setColor
(const Color4f &color)
gf::Shape
setOrigin
(Vector2f origin)
gf::Transformable
setOriginFromAnchorAndBounds
(Anchor anchor, const RectF &bounds)
gf::Transformable
protected
setOutlineColor
(const Color4f &color)
gf::Shape
setOutlineThickness
(float thickness)
gf::Shape
setPosition
(Vector2f position)
gf::Transformable
setRotation
(float angle)
gf::Transformable
setScale
(Vector2f factors)
gf::Transformable
setScale
(float factor)
gf::Transformable
inline
setSize
(Vector2f size)
gf::RectangleShape
setTexture
(const Texture &texture, bool resetRect=false)
gf::Shape
setTextureRect
(const RectF &rect)
gf::Shape
Shape
()
gf::Shape
Transformable
()
gf::Transformable
unsetTexture
()
gf::Shape
updateAutoBounds
()
gf::Shape
protected
updateBounds
(RectF bounds)
gf::Shape
protected
updateGeometry
()
gf::Shape
protected
~Drawable
()
gf::Drawable
virtual
Generated by
1.8.13