|
@@ -787,10 +787,10 @@ namespace OTSIncAReportApp.DataOperation.DataAccess
|
|
|
public Bitmap GetBitmapByParticle(Bitmap ls_bt, Rectangle offset_rect)
|
|
|
{
|
|
|
//为了能把整个颗粒显示完整
|
|
|
- offset_rect.X = offset_rect.X - 5;
|
|
|
- offset_rect.Y = offset_rect.Y - 5;
|
|
|
- offset_rect.Width = offset_rect.Width + 10;
|
|
|
- offset_rect.Height = offset_rect.Height + 10;
|
|
|
+ offset_rect.X = offset_rect.X - 10;
|
|
|
+ offset_rect.Y = offset_rect.Y - 10;
|
|
|
+ offset_rect.Width = offset_rect.Width + 20;
|
|
|
+ offset_rect.Height = offset_rect.Height + 20;
|
|
|
|
|
|
//防止计算偏差后,有坐标溢出现象
|
|
|
if (offset_rect.X < 0)
|