using System;
class Point
{
public double x, y;
public Point()
{
this.x = 0;
this.y = 0;
}
public Point(double x, double y)
{
this.x = x;
this.y = y;
}
}
class Test
{
using System;
class Point
{
public double x, y;
public Point()
{
this.x = 0;
this.y = 0;
}
public Point(double x, double y)
{
this.x = x;
this.y = y;
}
}
class Test
{
px是整个图片的像素数目,比如1000x1000
ppi是每英寸的像素数,你怎么设ppi当然不会改变px,
px不变,改变了ppi就只能变英寸数了(简单算数乘除法则)