• 关于ios下字体描边的一个细节


    转载请注明,来自:http://blog.csdn.net/skyman_2001

       CGContextSetTextDrawingMode(context, kCGTextStroke);
       CGContextSetRGBStrokeColor(context, pInfo->strokeColorR, pInfo->strokeColorG, pInfo->strokeColorB, 1);
       CGContextSetLineWidth(context, pInfo->strokeSize);
       CGContextSetLineJoin(context, kCGLineJoinRound);

    注意这里的stroke是以path为中心的,例如以下图所看到的:

    
  • 相关阅读:
    BOI 2002 双调路径
    BOI'98 DAY 2 TASK 1 CONFERENCE CALL Dijkstra/Dijkstra+priority_queue/SPFA
    USACO 2013 November Contest, Silver Problem 2. Crowded Cows 单调队列
    BOI 2003 Problem. Spaceship
    USACO 2006 November Contest Problem. Road Blocks SPFA
    CEOI 2004 Trial session Problem. Journey DFS
    USACO 2015 January Contest, Silver Problem 2. Cow Routing Dijkstra
    LG P1233 木棍加工 动态规划,Dilworth
    LG P1020 导弹拦截 Dilworth
    USACO 2007 February Contest, Silver Problem 3. Silver Cow Party SPFA
  • 原文地址:https://www.cnblogs.com/ldxsuanfa/p/10765189.html
  • Copyright © 2020-2023  润新知