Esempio 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);
        }
Esempio n. 2
0
 void Add(Layout layout)
 {
   _set.Add(layout);
 }