Numworks Epsilon
1.4.1
Graphing Calculator Operating System
context.cpp
Go to the documentation of this file.
1
#include <
kandinsky/context.h
>
2
#include <
assert.h
>
3
4
KDContext::KDContext
(
KDPoint
origin,
KDRect
clippingRect) :
5
m_origin(origin),
6
m_clippingRect(clippingRect)
7
{
8
}
9
10
void
KDContext::setOrigin
(
KDPoint
origin) {
11
m_origin = origin;
12
}
13
14
void
KDContext::setClippingRect
(
KDRect
clippingRect) {
15
m_clippingRect = clippingRect;
16
}
context.h
KDContext::KDContext
KDContext(KDPoint origin, KDRect clippingRect)
Definition:
context.cpp:4
KDContext::setOrigin
void setOrigin(KDPoint origin)
Definition:
context.cpp:10
KDPoint
Definition:
point.h:6
assert.h
KDContext::setClippingRect
void setClippingRect(KDRect clippingRect)
Definition:
context.cpp:14
KDRect
Definition:
rect.h:26
epsilon
kandinsky
src
context.cpp
Generated by
1.8.14