Float scale=0.0 f;//MAX (scaleX, scaleY);
If (scaleX & gt; ScaleY) {
//if the X direction is larger, the scaleX need divided by an amplification factor, amplification coefficient can be obtained by the fir direction,
//because FrameSize and LsSize on here are overlapping
Scale=scaleX/(frameSize. Height/lsSize (float). Height);
} else {
Scale=scaleY/(frameSize. Width/(float) lsSize. Width);
}
In many places to see this passage, can you tell me the scale=scaleX/(frameSize. Height/lsSize (float). Height); What do you mean? Why do you do that?
If this idea with showall implementation, then use pictures will be on the black side don't also can. Thank you
CodePudding user response:
You see a scaleX or sacleY is how to seek out,Will go sacleX value generation into the formula inside the can
CodePudding user response:
Thank you very much! Has about the same, xi xi