File: main_window.cpp

package info (click to toggle)
gr-framework 0.73.14%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 11,600 kB
  • sloc: ansic: 87,413; cpp: 45,348; objc: 3,057; javascript: 2,647; makefile: 1,129; python: 1,000; sh: 991; yacc: 855; pascal: 554; fortran: 228
file content (12 lines) | stat: -rw-r--r-- 221 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
#include "main_window.h"
#include "gr.h"

MainWindow::MainWindow() : GRWidget() {}

void MainWindow::draw()
{
  double x[] = {0.1, 0.9, 0.9, 0.1, 0.1};
  double y[] = {0.1, 0.1, 0.9, 0.9, 0.1};

  gr_polyline(5, x, y);
}