摘要: 一,ps和pt转换px:相对长度单位。像素(Pixel)。(PS字体)pt:绝对长度单位。点(Point)。(iOS字体)公式如下:pt=(px/96)*72。二,字体间转换1in = 2.54cm = 25.4 mm = 72pt = 6pc具体换算是: Points Pixels ... 阅读全文
posted @ 2015-12-14 18:48 鸿鹄当高远 阅读(916) 评论(0) 推荐(0) 编辑
摘要: UIColor+Hex.h里面中#import @interface UIColor (Hex)+ (UIColor *) colorWithHexString: (NSString *)color;@endUIColor+Hex.m里面中#import "UIColor+Hex.h"@implem... 阅读全文
posted @ 2015-12-14 16:29 鸿鹄当高远 阅读(2961) 评论(0) 推荐(0) 编辑