Exemplo n.º 1
0
 public LDMargins(LDMargins margins)
 {
     this.m_left   = margins.m_left;
     this.m_top    = margins.m_top;
     this.m_right  = margins.m_right;
     this.m_bottom = margins.m_bottom;
 }
Exemplo n.º 2
0
 public LDMargins(LDMargins margins)
 {
     this.m_left = margins.m_left;
     this.m_top = margins.m_top;
     this.m_right = margins.m_right;
     this.m_bottom = margins.m_bottom;
 }
Exemplo n.º 3
0
 public LDRect marginsRemoved(LDMargins margins)
 {
     return(new LDRect(new LDPoint(xp + margins.left(), yp + margins.top()),
                       new LDSize(w - margins.left() - margins.right(), h - margins.top() - margins.bottom())));
 }
Exemplo n.º 4
0
 public LDRect marginsAdded(LDMargins margins)
 {
     return(new LDRect(new LDPoint(xp - margins.left(), yp - margins.top()),
                       new LDSize(w + margins.left() + margins.right(), h + margins.top() + margins.bottom())));
 }
Exemplo n.º 5
0
 public LDRect marginsRemoved(LDMargins margins)
 {
     return new LDRect(new LDPoint(xp + margins.left(), yp + margins.top()),
           new LDSize(w - margins.left() - margins.right(), h - margins.top() - margins.bottom()));
 }
Exemplo n.º 6
0
 public LDRect marginsAdded(LDMargins margins)
 {
     return new LDRect(new LDPoint(xp - margins.left(), yp - margins.top()),
           new LDSize(w + margins.left() + margins.right(), h + margins.top() + margins.bottom()));
 }