Lines Matching refs:lineShape
235 wxLineShape *lineShape = (wxLineShape *)theShape;
239 lineShape->MakeLineControlPoints(2);
242 lineShape->AddArrow(ARROW_ARROW, ARROW_POSITION_MIDDLE, 10.0, 0.0, _T("Normal arrowhead"));
244 lineShape->SetFrom(GetShape());
245 lineShape->SetTo(otherShape);
246 lineShape->SetAttachments(attachment, new_attachment);
250 new csCommandState(ID_CS_ADD_LINE, lineShape, NULL)));
419 wxLineShape* lineShape = (wxLineShape*) shape;
421 if (lineShape->GetLineControlPoints()->GetCount() > 2)
423 wxLineShape* newLineShape = (wxLineShape*) lineShape->CreateNewCopy();
433 cmd->AddState(new csCommandState(ID_CS_MOVE_LINE_POINT, newLineShape, lineShape));
434 lineShape->Erase(dc);
468 wxLineShape* lineShape = (wxLineShape*) shape;
491 lineShape->Erase(dc);
495 if (lineShape->GetFrom())
497 lineShape->GetFrom()->MoveLineToNewAttachment(dc, lineShape, x, y);
507 if (lineShape->GetTo())
509 lineShape->GetTo()->MoveLineToNewAttachment(dc, lineShape, x, y);