More naming cleanups

PathData::PathElements has one redundant "Path" in the name, so eliminate
for Events and Elements.
This commit is contained in:
Simon Hausmann 2020-07-10 13:06:28 +02:00
parent 7c4b12a0ce
commit 535da41ae0
5 changed files with 19 additions and 20 deletions

View file

@ -18,7 +18,7 @@ public:
PathData() : data(Data::None()) { }
PathData(const PathElement *firstElement, size_t count)
: data(Data::SharedElements(elements_from_array(firstElement, count)))
: data(Data::Elements(elements_from_array(firstElement, count)))
{
}
@ -46,7 +46,7 @@ private:
SharedArray<Point> coordinates;
sixtyfps_new_path_events(&events, &coordinates, firstEvent, event_count, firstCoordinate,
coordinate_count);
return Data::PathEvents(events, coordinates);
return Data::Events(events, coordinates);
}
using Data = internal::types::PathData;