为了处理代码行较长的函数,我们采用开发人员认可的语法识别的断行方式实时分解长代码行。
To handle functions with long lines, we use syntax-aware reflow that runs in real time to wrap these long lines the way a programmer would.
也就是说,如果朝该方向运动,函数值变动得最剧烈,那么相应的斜率就是梯度向量的模长。
OK, so if I go in that direction, which gives me the fastest increase, then the corresponding slope will be the length of the gradient.
注意:在此函数中,长为 chunkSize、宽为 chunkSize 的像素矩形是如何从恰当的帧复制到绘图表面的。
Notice how in this function a rectangle of chunkSize by chunkSize pixels is copied from the appropriate frame to the drawable surface.
It's a little redundant, admittedly, but I include not the same function, but just its prototype, as I say in the comment here.
它确实是有点长的,但是我包含的不是同一个函数,而只是一个原型,就像我这里的注释所说的。
应用推荐