Blame c++/perspective/src/perspectivesandboxview.h
|
|
0662a2 |
#ifndef PERSPECTIVESANDBOXVIEW_H
|
|
|
0662a2 |
#define PERSPECTIVESANDBOXVIEW_H
|
|
|
0662a2 |
|
|
|
0662a2 |
#include "view.h"
|
|
|
0662a2 |
|
|
|
0662a2 |
|
|
|
0662a2 |
class PerspectiveSandBoxView: public View {
|
|
|
0662a2 |
public:
|
|
|
0662a2 |
View::PointPtr
|
|
|
0662a2 |
persp_p0,
|
|
|
0662a2 |
persp_px,
|
|
|
0662a2 |
persp_py,
|
|
|
0662a2 |
persp_p1,
|
|
|
0662a2 |
bounds_p0,
|
|
|
0662a2 |
bounds_p1;
|
|
|
0662a2 |
|
|
|
0662a2 |
PerspectiveSandBoxView();
|
|
|
0662a2 |
|
|
|
0662a2 |
void draw_grid(
|
|
|
0662a2 |
const Cairo::RefPtr<cairo::context> &context,</cairo::context>
|
|
|
0662a2 |
const Matrix &matrix,
|
|
|
0662a2 |
const Color &color );
|
|
|
0662a2 |
|
|
|
0662a2 |
void draw_line(
|
|
|
0662a2 |
const Cairo::RefPtr<cairo::context> &context,</cairo::context>
|
|
|
0662a2 |
const Pair2 &bounds,
|
|
|
0662a2 |
Real a,
|
|
|
0662a2 |
Real b,
|
|
|
0662a2 |
Real c,
|
|
|
0662a2 |
const Color &color );
|
|
|
0662a2 |
|
|
|
0662a2 |
void on_draw_view(const Cairo::RefPtr<cairo::context> &context);</cairo::context>
|
|
|
0662a2 |
};
|
|
|
0662a2 |
|
|
|
0662a2 |
|
|
|
0662a2 |
#endif
|