X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Fdevel-api%2Fanimation%2Fpath-constrainer.cpp;h=47ae9d7c93c9ae41d2b790fe90220bd7fd60955c;hb=f24c14c80919972c2f41235f0ed5989d776b14a1;hp=cb3201037d82986d894eacdecf4d88bd9e52405c;hpb=b0e4c216b3c3e52f18427314fe69b2ec2b2d5135;p=platform%2Fcore%2Fuifw%2Fdali-core.git diff --git a/dali/devel-api/animation/path-constrainer.cpp b/dali/devel-api/animation/path-constrainer.cpp index cb32010..47ae9d7 100644 --- a/dali/devel-api/animation/path-constrainer.cpp +++ b/dali/devel-api/animation/path-constrainer.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2015 Samsung Electronics Co., Ltd. + * Copyright (c) 2020 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -24,16 +24,15 @@ namespace Dali { - PathConstrainer PathConstrainer::New() { Internal::PathConstrainer* internal = Internal::PathConstrainer::New(); return PathConstrainer(internal); } -PathConstrainer PathConstrainer::DownCast( BaseHandle handle ) +PathConstrainer PathConstrainer::DownCast(BaseHandle handle) { - return PathConstrainer( dynamic_cast(handle.GetObjectPtr()) ); + return PathConstrainer(dynamic_cast(handle.GetObjectPtr())); } PathConstrainer::PathConstrainer() @@ -45,7 +44,7 @@ PathConstrainer::~PathConstrainer() } PathConstrainer::PathConstrainer(const PathConstrainer& handle) -:Handle(handle) +: Handle(handle) { } @@ -60,15 +59,14 @@ PathConstrainer& PathConstrainer::operator=(const PathConstrainer& rhs) return *this; } -void PathConstrainer::Apply( Dali::Property target, Dali::Property source, const Vector2& range, const Vector2& wrap ) +void PathConstrainer::Apply(Dali::Property target, Dali::Property source, const Vector2& range, const Vector2& wrap) { - GetImplementation(*this).Apply( target, source, range, wrap ); + GetImplementation(*this).Apply(target, source, range, wrap); } -void PathConstrainer::Remove( Dali::Handle& target ) +void PathConstrainer::Remove(Dali::Handle& target) { - GetImplementation(*this).Remove( target ); + GetImplementation(*this).Remove(target); } - -} // Dali +} // namespace Dali