mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
The resolution() method is useful to get a horizontal step equivalent to the width of a pixel. A higher sampling ratio (or resolution) had been introduced in the following commit. [apps] In curve view, avoid white vertical lines in integral curves due to pixel rounding
21 lines
524 B
C++
21 lines
524 B
C++
#ifndef SEQUENCE_GRAPH_VIEW_H
|
|
#define SEQUENCE_GRAPH_VIEW_H
|
|
|
|
#include "../../shared/function_graph_view.h"
|
|
#include "../sequence_store.h"
|
|
|
|
namespace Sequence {
|
|
|
|
class GraphView : public Shared::FunctionGraphView {
|
|
public:
|
|
GraphView(SequenceStore * sequenceStore, Shared::InteractiveCurveViewRange * graphRange,
|
|
Shared::CurveViewCursor * cursor, Shared::BannerView * bannerView, View * cursorView);
|
|
void drawRect(KDContext * ctx, KDRect rect) const override;
|
|
private:
|
|
SequenceStore * m_sequenceStore;
|
|
};
|
|
|
|
}
|
|
|
|
#endif
|