public ReCalculateTransformationsCoeficients ( double obsX, double obsY, double obsZ, int xs0, int ys0, int screenWidth, int screenHeight, double screenDistance, double screenWidthPhys, double screenHeightPhys ) : void | ||
obsX | double | |
obsY | double | |
obsZ | double | |
xs0 | int | |
ys0 | int | |
screenWidth | int | |
screenHeight | int | |
screenDistance | double | |
screenWidthPhys | double | |
screenHeightPhys | double | |
Результат | void |
private void Form1_Resize(object sender, EventArgs e) { if (null == sr) { return; } sr.ReCalculateTransformationsCoeficients(70, 35, 40, 0, 0, ClientRectangle.Width, ClientRectangle.Height, 0.5, 0, 0); }
protected override void OnResize(EventArgs e) { base.OnResize(e); sr.ReCalculateTransformationsCoeficients(obsX, obsY, obsZ, xs0, ys0, ClientRectangle.Width, ClientRectangle.Height, screenDistance, screenWidthPhys, screenHeightPhys); }