Exemplo n.º 1
0
        public PreviewRenderer(Preview preview, Layout layout, Pixmap pixmap, 
            GC gc)
        {
            _pixmap = pixmap;
              _gc = gc;

              _pw = preview.WidthRequest;
              _ph = preview.HeightRequest;

              _zoom = layout.Boundaries(_pw, _ph, out _offx, out _offy);
        }
Exemplo n.º 2
0
 void Add(Layout layout)
 {
   _set.Add(layout);
 }