MCPcopy Create free account
hub / github.com/antvis/F2Native / Start

Method Start

core/graphics/interaction/InteractionContext.cpp:48–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46}
47
48void interaction::InteractionContext::Start() {
49 // this->startRange_ = this->range_;
50 const std::string &xField = this->chart_->GetXScaleField();
51 auto &scale = this->chart_->GetScale(xField);
52 lastTickCount_ = scale.tickCount;
53 this->chart_->GetLogTracer()->trace("InteractionContext#Start range:{%lf, %lf} ", range_[0], range_[1]);
54}
55
56bool interaction::InteractionContext::DoMove(double deltaX, double deltaY) {
57// chart_->GetLogTracer()->trace("DoMove deltaX %lf ", deltaX);

Callers 2

OnPinchStartMethod · 0.80
OnPanStartMethod · 0.80

Calls 3

GetXScaleFieldMethod · 0.80
traceMethod · 0.80
GetLogTracerMethod · 0.80

Tested by

no test coverage detected