注册 登录
EDA365电子论坛网 返回首页

lyh289114980的个人空间 https://bbs.eda365.com/?21706 [收藏] [复制] [RSS]

日志

CENTER

已有 391 次阅读2014-11-21 13:17 |个人分类:skill code

            if( dText->isMirrored then
               ; if do not care some special degrees, like 90.287
               ; it will be easy
               caseq( round( dSym->rotation / 45.0 )
                (  ( 1 2 4 7 )
                  fText_rot = round( dSym->rotation / 45.0 ) * 45.0+180.0
                )
                (  ( 0 3 5 6 )
                  fText_rot = round( dSym->rotation / 45.0 ) * 45.0
                )     
               );end case 
             else
               caseq( round( dSym->rotation / 45.0 )
                (  ( 0 1 2 7 )
                  fText_rot = round( dSym->rotation / 45.0 ) * 45.0
                ) 
                (  ( 3 4 5 6 )
                  fText_rot = round( dSym->rotation / 45.0 ) * 45.0+180.0
                )      
               );end case      
             );end if
路过
路过
鸡蛋
鸡蛋
鲜花
鲜花
握手
握手
雷人
雷人

评论 (0 个评论)

facelist

您需要登录后才可以评论 登录 | 注册

关闭

推荐内容上一条 /1 下一条

EDA365公众号

关于我们|手机版|EDA365电子论坛网 ( 粤ICP备18020198号-1 )

GMT+8, 2025-5-30 20:14 , Processed in 0.046875 second(s), 21 queries , Gzip On.

深圳市墨知创新科技有限公司

地址:深圳市南山区科技生态园2栋A座805 电话:19926409050

返回顶部