libkovan
1
The kovan standard library
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
draw.hpp
Go to the documentation of this file.
1
/**************************************************************************
2
* Copyright 2012 KISS Institute for Practical Robotics *
3
* *
4
* This file is part of libkovan. *
5
* *
6
* libkovan is free software: you can redistribute it and/or modify *
7
* it under the terms of the GNU General Public License as published by *
8
* the Free Software Foundation, either version 2 of the License, or *
9
* (at your option) any later version. *
10
* *
11
* libkovan is distributed in the hope that it will be useful, *
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
14
* GNU General Public License for more details. *
15
* *
16
* You should have received a copy of the GNU General Public License *
17
* along with libkovan. Check the LICENSE file in the project root. *
18
* If not, see <http://www.gnu.org/licenses/>. *
19
**************************************************************************/
20
29
#ifndef _DRAW_HPP_
30
#define _DRAW_HPP_
31
32
#include "
export.h
"
33
34
namespace
Private
35
{
36
class
Draw
;
37
}
38
39
class
EXPORT_SYM
Draw
40
{
41
public
:
42
Draw
();
43
~
Draw
();
44
45
bool
open();
46
void
point(
int
x,
int
y);
47
void
line(
int
sx,
int
sy,
int
ex,
int
ey);
48
void
clear();
49
void
raise
();
50
void
setSize(
const
unsigned
int
& width,
const
unsigned
int
& height);
51
void
close();
52
53
private
:
54
Private::Draw *p_draw;
55
};
56
57
#endif
include
kovan
draw.hpp
Generated on Fri May 24 2013 14:41:58 for libkovan by
1.8.3.1