void LineView::Update () { Graphic* line = GetGraphic(); IncurDamage(line); *line = *GetLineComp()->GetGraphic(); IncurDamage(line); EraseHandles(); }
void StencilView::Update () { Graphic* stencil = GetGraphic(); IncurDamage(stencil); *stencil = *GetStencilComp()->GetGraphic(); IncurDamage(stencil); EraseHandles(); }
void RectView::Update () { Graphic* rect = GetGraphic(); IncurDamage(rect); *rect = *GetRectComp()->GetGraphic(); IncurDamage(rect); EraseHandles(); }
void EllipseView::Update () { Graphic* ellipse = GetGraphic(); IncurDamage(ellipse); *ellipse = *GetEllipseComp()->GetGraphic(); IncurDamage(ellipse); EraseHandles(); }
void PadView::Update () { PadGraphic* pad = GetPad(); Graphic* padgr = pad; IncurDamage(pad); *padgr = *GetPadComp()->GetGraphic(); IncurDamage(pad); EraseHandles(); }
void BitmapView::Update () { Graphic* bcomp = GetBitmapComp()->GetBitmapGraphic(); Graphic* bview = (BitmapGraphic*) GetGraphic(); IncurDamage(bview); *bview = *bcomp; IncurDamage(bview); EraseHandles(); }
void ArrowSplineView::Update () { ArrowOpenBSpline* amline = (ArrowOpenBSpline*) GetGraphic(); ArrowOpenBSpline* subj = GetArrowSplineComp()->GetArrowOpenBSpline(); IncurDamage(amline); *amline = *subj; IncurDamage(amline); EraseHandles(); }
void ArrowLineView::Update () { ArrowLine* line = (ArrowLine*) GetGraphic(); ArrowLine* subj = GetArrowLineComp()->GetArrowLine(); IncurDamage(line); *line = *subj; IncurDamage(line); EraseHandles(); }
void PinView::Update () { PinGraphic* pin = GetPin(); Graphic* pingr = pin; IncurDamage(pin); *pingr = *GetPinComp()->GetGraphic(); IncurDamage(pin); EraseHandles(); }
void TextView::Update () { TextGraphic* gview = (TextGraphic*) GetGraphic(); TextGraphic* gsubj = (TextGraphic*) GetTextComp()->GetGraphic(); IncurDamage(gview); * (Graphic*) gview = * (Graphic*) gsubj; gview->SetLineHeight(gsubj->GetLineHeight()); IncurDamage(gview); EraseHandles(); }
void LinkView::Update () { LinkComp* linkComp = GetLinkComp(); Graphic* link = GetGraphic(); Graphic* line = GetLine(); Graphic* subjLine = linkComp->GetLine(); IncurDamage(line); *line = *subjLine; *link = *linkComp->GetGraphic(); IncurDamage(line); EraseHandles(); }