Lomse library. API documentation  0.30.0
ApplicationMark Class Reference

#include <lomse_fragment_mark.h>

Inheritance diagram for ApplicationMark:
VisualEffect FragmentMark MeasureHighlight

Detailed Description

ApplicationMark is the base class for all application markings objects.

Application markings are just temporary visual markers created by an application to provide feedback to the user about relevant issues, such as start-end points for playback, the set of objects selected, current notes being played, etc.

Lomse does not use these marks and knows nothing about its purpose or meaning. Lomse just displays them.

Attention
Application markings are just visual effects and are not stored in the Document object. They must be deleted when the document is modified and re-created if they are still needed. This is a very simple operation and is required because when the document is modified nothing ensures that existing markers are still valid. Pointed objects could no longer exist in the document or the positions at which the markers were initially placed are no longer the right places in the updated document rendering.