-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
What is the use of referencePoint? #216
Comments
I don't really know what |
My coordinates shown in PSD are not same as the values while reading the same PSD from ag-psd. I felt it might be adjusted as per reference point |
Do you know what can be the reasons? |
Can you show me the numbers you see in Photoshop and ones you see decoded from library? Which fields are different? |
The top left values are not matching |
While calculating layer positions do i need to adjust it as per artboard left top also? |
layer.top/left is definitely not related to referencePoint. But it does interact with artboards. I think the way layer position interacts with artboards is that it positions the layers on a single surface and then defines which regions of that surface belong to which artboard. So layer position will not be relative to artboard corner, but this combined surface corner. |
Actually now that I look at the data I don't fully understand how these relate to each other. But it's probably some between |
Does it affect my layer coordinates while reading the psd? For me in some cases the coordinates shown in psd and after reading were different
cc: @Agamnentzar
The text was updated successfully, but these errors were encountered: