获得与photoshop坐标相当的坐标

时间:2016-04-17 07:55:43

标签: android android-canvas

I want similar effect in android with same co-ordinates given in photooshop我有来自photoshop的协调如下

   double radius = 317.5;

  // Top-left corner
    double centerX = 741.50 ;
    double centerY = 1175.50;

我想要上述坐标的android设备等效坐标。 我现在尝试的是什么 scalingFactor = get_width_of_device / get_width_of_photoshopcanvas

然后radius = radius* scalingFactor

但我的手机中没有正确的坐标,密度为2.0

请帮助我做错什么。

0 个答案:

没有答案