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

Method setSmooth

src/SFML/Graphics/Font.cpp:418–429  ·  view source on GitHub ↗

///////////////////////////////////////////////////////

Source from the content-addressed store, hash-verified

416
417////////////////////////////////////////////////////////////
418void Font::setSmooth(bool smooth)
419{
420 if (smooth != m_isSmooth)
421 {
422 m_isSmooth = smooth;
423
424 for (auto& [key, page] : m_pages)
425 {
426 page.texture.setSmooth(m_isSmooth);
427 }
428 }
429}
430
431////////////////////////////////////////////////////////////
432bool Font::isSmooth() const

Callers 7

Font.test.cppFile · 0.45
Texture.test.cppFile · 0.45
findGlyphRectMethod · 0.45
PageMethod · 0.45
tryLoadEdgeFunction · 0.45
tryLoadGeometryFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected