• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/contrib/src/ogl/

Lines Matching refs:lineShape

1742     wxLineShape *lineShape = (wxLineShape *)this;
1744 const wxPen *old_pen = lineShape->GetPen();
1745 const wxBrush *old_brush = lineShape->GetBrush();
1748 lineShape->SetPen(& dottedPen);
1749 lineShape->SetBrush(wxTRANSPARENT_BRUSH);
1751 lineShape->GetEventHandler()->OnMoveLink(dc, false);
1753 lineShape->SetPen(old_pen);
1754 lineShape->SetBrush(old_brush);
1771 wxLineShape *lineShape = (wxLineShape *)this;
1781 lineShape->GetFrom()->OnDraw(dc);
1782 lineShape->GetFrom()->OnDrawContents(dc);
1783 lineShape->GetTo()->OnDraw(dc);
1784 lineShape->GetTo()->OnDrawContents(dc);
1792 const wxPen *old_pen = lineShape->GetPen();
1793 const wxBrush *old_brush = lineShape->GetBrush();
1796 lineShape->SetPen(& dottedPen);
1797 lineShape->SetBrush(wxTRANSPARENT_BRUSH);
1799 lineShape->GetEventHandler()->OnMoveLink(dc, false);
1801 lineShape->SetPen(old_pen);
1802 lineShape->SetBrush(old_brush);
1820 wxLineShape *lineShape = (wxLineShape *)this;
1847 if (lineShape->GetFrom())
1849 lineShape->GetFrom()->MoveLineToNewAttachment(dc, lineShape, x, y);
1859 if (lineShape->GetTo())
1861 lineShape->GetTo()->MoveLineToNewAttachment(dc, lineShape, x, y);
1868 for (i = 0; i < lineShape->GetLineControlPoints()->GetCount(); i++)
1869 if (((wxRealPoint *)(lineShape->GetLineControlPoints()->Item(i)->GetData())) == lpt->m_point)
1876 lineShape->OnMoveControlPoint(i+1, x, y);
1908 wxLineShape *lineShape = (wxLineShape *)m_shape;
1912 lineShape->GetEventHandler()->OnDraw(dc);
1915 lineShape->GetFrom()->GetEventHandler()->OnDraw(dc);
1916 lineShape->GetFrom()->GetEventHandler()->OnDrawContents(dc);
1920 lineShape->GetTo()->GetEventHandler()->OnDraw(dc);
1921 lineShape->GetTo()->GetEventHandler()->OnDrawContents(dc);
1933 wxLineShape *lineShape = (wxLineShape *)m_shape;
1941 if (lineShape->GetFrom())
1943 lineShape->GetFrom()->EraseLinks(dc);
1948 if (lineShape->GetFrom()->HitTest(x, y, &new_attachment, &distance))
1949 lineShape->SetAttachments(new_attachment, lineShape->GetAttachmentTo());
1951 lineShape->GetFrom()->MoveLinks(dc);
1962 if (lineShape->GetTo())
1964 lineShape->GetTo()->EraseLinks(dc);
1968 if (lineShape->GetTo()->HitTest(x, y, &new_attachment, &distance))
1969 lineShape->SetAttachments(lineShape->GetAttachmentFrom(), new_attachment);
1971 lineShape->GetTo()->MoveLinks(dc);
1975 for (i = 0; i < lineShape->GetLineControlPoints()->GetCount(); i++)
1976 if (((wxRealPoint *)(lineShape->GetLineControlPoints()->Item(i)->GetData())) == m_point)
1978 lineShape->OnMoveControlPoint(i+1, x, y);