예제 #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;
 }
예제 #2
0
파일: LDMargins.cs 프로젝트: KajitaLD/math
 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;
 }
예제 #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())));
 }
예제 #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())));
 }
예제 #5
0
파일: LDRect.cs 프로젝트: KajitaLD/math
 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()));
 }
예제 #6
0
파일: LDRect.cs 프로젝트: KajitaLD/math
 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()));
 }