Blame view

build2/epsilon-master/kandinsky/src/context.cpp 326 Bytes
6663b6c9   adorian   projet complet av...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
  #include <kandinsky/context.h>
  #include <assert.h>
  
  KDContext::KDContext(KDPoint origin, KDRect clippingRect) :
    m_origin(origin),
    m_clippingRect(clippingRect)
  {
  }
  
  void KDContext::setOrigin(KDPoint origin) {
    m_origin = origin;
  }
  
  void KDContext::setClippingRect(KDRect clippingRect) {
    m_clippingRect = clippingRect;
  }