Exemplo n.º 1
0
 GiContext* context() {
     if (randomProp) {
         RandomParam().setShapeProp(view->m_shapes->context());
     }
     return view->m_shapes->context();
 }
Exemplo n.º 2
0
int GiCoreView::addShapesForTest()
{
    int n = RandomParam().addShapes(impl->shapes());
    impl->regenAll();
    return n;
}