传输优化

This commit is contained in:
liu.wenjie
2021-03-17 16:08:13 +08:00
parent 1451352125
commit 0af0e8b01a
348 changed files with 12192 additions and 863190 deletions

View File

@@ -89,7 +89,7 @@ namespace ViewWindow.Model
updateArrowHandle();
}
/// <summary>Paints the ROI into the supplied window.</summary>
public override void draw(HalconDotNet.HWindow window)
public override void draw(HalconDotNet.HWindow window, int imageWidth, int imageHeight)
{
window.DispLine(row1, col1, row2, col2);
@@ -128,7 +128,7 @@ namespace ViewWindow.Model
/// <summary>
/// Paints the active handle of the ROI object into the supplied window.
/// </summary>
public override void displayActive(HalconDotNet.HWindow window)
public override void displayActive(HalconDotNet.HWindow window, int imageWidth, int imageHeight)
{
switch (activeHandleIdx)
@@ -172,7 +172,7 @@ namespace ViewWindow.Model
/// performed at the active handle of the ROI object
/// for the image coordinate (x,y).
/// </summary>
public override void moveByHandle(double newX, double newY)
public override void moveByHandle(double newX, double newY, HWindowControl window)
{
double lenR, lenC;