MCPcopy Create free account
hub / github.com/SFML/SFML / draw

Method draw

examples/keyboard/Keyboard.cpp:416–422  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

414
415private:
416 void draw(sf::RenderTarget& target, sf::RenderStates states) const override
417 {
418 states.transform *= getTransform();
419 target.draw(m_triangles, states);
420 for (const sf::Text& label : m_labels)
421 target.draw(label, states);
422 }
423
424 // Template to iterate on scancodes and the corresponding computed rectangle in local coordinates
425 template <typename F>

Callers 1

mainFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected