23 |
from gzz.view import BoxCellView, LinebrokenCellContentView |
from gzz.view import BoxCellView, LinebrokenCellContentView |
24 |
from gzz.client import GraphicsAPI |
from gzz.client import GraphicsAPI |
25 |
|
|
26 |
from viewtest import TestViewContext |
from gfx.demo.viewtest import TestViewContext |
27 |
|
|
28 |
context = TestViewContext() |
context = TestViewContext() |
29 |
context.style = GraphicsAPI.getInstance().getTextStyle("serif", 0, 14) |
context.style = GraphicsAPI.getInstance().getTextStyle("serif", 0, 14) |
30 |
context.ccv = gzz.view.LinebrokenCellContentView(context.style) |
context.ccv = gzz.view.LinebrokenCellContentView(context.style) |
31 |
context.cv = gzz.view.BoxCellView() |
context.cv = gzz.view.BoxCellView(context.ccv) |
32 |
|
|
33 |
c = context.space.N() |
c = context.space.N() |
34 |
|
|