MuseScore  3.4
Music composition and notation
Public Member Functions | Private Attributes | List of all members
Ms::Skyline Class Reference

#include <skyline.h>

Collaboration diagram for Ms::Skyline:
Collaboration graph
[legend]

Public Member Functions

 Skyline ()
 
void clear ()
 
void add (const Shape &s)
 
void add (const QRectF &r)
 
qreal minDistance (const Skyline &) const
 
SkylineLinenorth ()
 
SkylineLinesouth ()
 
const SkylineLinenorth () const
 
const SkylineLinesouth () const
 
void paint (QPainter &) const
 
void dump (const char *, bool north=false) const
 

Private Attributes

SkylineLine _north
 
SkylineLine _south
 

Constructor & Destructor Documentation

◆ Skyline()

Ms::Skyline::Skyline ( )
inline

Member Function Documentation

◆ add() [1/2]

void Ms::Skyline::add ( const Shape s)

◆ add() [2/2]

void Ms::Skyline::add ( const QRectF &  r)

◆ clear()

void Ms::Skyline::clear ( )

◆ dump()

void Ms::Skyline::dump ( const char *  p,
bool  north = false 
) const

◆ minDistance()

qreal Ms::Skyline::minDistance ( const Skyline s) const

◆ north() [1/2]

SkylineLine& Ms::Skyline::north ( )
inline

◆ north() [2/2]

const SkylineLine& Ms::Skyline::north ( ) const
inline

◆ paint()

void Ms::Skyline::paint ( QPainter &  p) const

◆ south() [1/2]

SkylineLine& Ms::Skyline::south ( )
inline

◆ south() [2/2]

const SkylineLine& Ms::Skyline::south ( ) const
inline

Member Data Documentation

◆ _north

SkylineLine Ms::Skyline::_north
private

◆ _south

SkylineLine Ms::Skyline::_south
private

The documentation for this class was generated from the following files: