Well if that is the case, the SVG-to-NSImage (UIImage) code comes to use - just 
store always-being-one-pixel lines in SVG as 0-width paths.

On Nov 12, 2013, at 10:22, Seth Willits <sli...@araelium.com> wrote:

> On Nov 11, 2013, at 4:44 PM, Maxthon Chan <xcvi...@me.com> wrote:
> 
>> What I stumbled upon is that you should use vector images in PDF format and 
>> the system will scale it for you.
> 
> Can, may, but not “should.”
> 
> Lines that are supposed to be one point wide cannot remain one point wide 
> when the art is scaled. For a lot of images that’s unacceptable, so the best 
> thing to do is still to create a bunch of bitmap representations at the 
> necessary sizes and use the correct one at draw-time. For example, create an 
> .iconset with your bitmaps which then gets turned into an .icns by Xcode for 
> you.
> 
> 
> --
> Seth Willits
> 
> 
> 
> 
> _______________________________________________
> 
> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
> 
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
> 
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/cocoa-dev/xcvista%40me.com
> 
> This email sent to xcvi...@me.com

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to