Points vs Pixels in AGSPictureMarkerSymbol Offset property

572
2
Jump to solution
03-13-2013 09:15 AM
AaronConnolly
Occasional Contributor
Let's say you have an AGSPictureMarkerSymbol with an image of size 10 x 10 pixels. On a retina device we have an image of size 20 x 20 pixels.

When the AGSPictureMarkerSymbol is created and an offset is assigned for the non-retina sized image, will the offset be calculated as 1 point = 2 pixels on retina devices? The docs don't say this explicitly in the offset property's comments. The size property's comment do say this, however. I'm assuming they're treated the same way, but I can't be certain.

Can anyone confirm for me that the offset property treats it's x,y as points (1 point = 2 pixels on retina) the same way the size property treats its points?

Thanks,
- Aaron
0 Kudos
1 Solution

Accepted Solutions
NimeshJarecha
Esri Regular Contributor
Yes, Size and Offset properties are in points (on retina 1 point = 2 pixel and on non-retina 1 point = 1 pixel).

Regards,
Nimesh

View solution in original post

0 Kudos
2 Replies
NimeshJarecha
Esri Regular Contributor
Yes, Size and Offset properties are in points (on retina 1 point = 2 pixel and on non-retina 1 point = 1 pixel).

Regards,
Nimesh
0 Kudos
AaronConnolly
Occasional Contributor
Thanks Nimesh!
0 Kudos