- if(this.GetDpi == null)\r
- throw new NotImplementedException();\r
-\r
- double dpi = this.GetDpi();\r
-\r
- o_rect.left = (int)(pointTopLeft.x * dpi / 96.0);\r
- o_rect.top = (int)(pointTopLeft.y * dpi / 96.0);\r
- o_rect.bottom = (int)(pointBotttomRight.y * dpi / 96.0);\r
- o_rect.right = (int)(pointBotttomRight.x * dpi / 96.0);\r
+ o_rect.left = (int)(pointTopLeft.x);\r
+ o_rect.top = (int)(pointTopLeft.y);\r
+ o_rect.bottom = (int)(pointBotttomRight.y);\r
+ o_rect.right = (int)(pointBotttomRight.x);\r