技术的乐趣在于分享,欢迎多多交流,多多沟通。
全部博文(877)
发布时间:2015-11-20 14:57:21
CGContextRef context = UIGraphicsGetCurrentContext(); // CGContextAddRect(context, CGRectMake(200, 246, 121, 30)); //// Text Drawing CGRect textRect =.........【阅读全文】
发布时间:2015-11-20 14:53:29
http://blog.csdn.net/jymn_chen/article/details/10949279之前用Text Kit写Reader的时候,在分页时要计算一段文本的尺寸大小,之前使用了NSString类的sizeWithFont:constrainedToSize:lineBreakMode:方法,但是该方法已经被iOS7 Deprecated了,而iOS7新出了一个boudingRectWithSize:options:attributes:context方法来.........【阅读全文】
发布时间:2015-11-20 14:51:43
iOS boundingRectWithSize NSStringDrawingUsesLineFragmentOrigin 参数详解enum { NSStringDrawingTruncatesLastVisibleLine = 1 << 5, NSStringDrawingUsesLineFragmentOrigin = 1 << 0, NSStringDrawingUsesFontLeading = 1 << 1, NSStringDrawingUsesDeviceMetrics = 1 << 3, }; typedef NSInteger NSStringDrawingOpt.........【阅读全文】
发布时间:2015-11-18 10:32:22
The MagickWand API is the recommended interface between the C programming language and the ImageMagick image processing libraries. Unlike the MagickCore C API, MagickWand uses only a few opaque types. Accessors are available to set or get important wand properties. A descripti.........【阅读全文】
发布时间:2015-11-18 10:30:54
http://www.imagemagick.org/script/api.phpImageMagick includes a number of ready-made interfaces. This makes it possible to modify or create images automagically and dynamically utilizing your favorite development platform.AdaG2F implements an Ada 95 binding to a subset of the low-.........【阅读全文】