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 
11  m_origin = origin;
12 }
13 
14 void KDContext::setClippingRect(KDRect clippingRect) {
15  m_clippingRect = clippingRect;
16 }
KDContext(KDPoint origin, KDRect clippingRect)
Definition: context.cpp:4
void setOrigin(KDPoint origin)
Definition: context.cpp:10
Definition: point.h:6
void setClippingRect(KDRect clippingRect)
Definition: context.cpp:14
Definition: rect.h:26