| 编程中国 | 业界新闻 | 技术文章 | 视频教程 | 下载频道 | 程序源码 | 个人空间 | 编程论坛
全能ASP/PHP/ASP.NET主机,支持月付专业 MSSQL 数据库空间,支持月付专业 MySQL 数据库空间,支持月付买域名,送MP3、MP4
高端软件开发 = 年薪十万不是梦赛孚耐:软件保护加密专家身份认证令牌USB KEY买空间,免费送域名(厦门中资源)
共有 708 人关注过本帖
标题:在手机中怎来实现svg图片中的字符查找
收藏  订阅  推荐  打印 
zhoushuyan
Rank: 1
等级:新手上路
帖子:5
积分:156
注册:2007-12-6
在手机中怎来实现svg图片中的字符查找

我的svg文件如下
<?xml version="1.0" encoding="utf-8"?>
<svg xmlns="http://www.w3.org/2000/svg"
     xmlns:xlink="http://www.w3.org/1999/xlink"
     xmlns:demo="http://www.sun.com/svg/demo"
     id="root"
     width="100%" height="100%" viewBox="0 0 240 320"
     xml:space="preserve"
     preserveAspectRatio="none">
<rect fill="green" width="240" height="320"/>
<text x="90" y="20"  font-family="Monotype Corsiva"  fill="red" stroke="white">This is title
</text>
<text x="2" y="50" font-size="20"  font-family="Monotype Corsiva"  fill="red" stroke="white">sdddsyyyyds444112745554
</text>
<text x="2" y="80"  font-size="20" font-family="SimSun"  fill="red" stroke="white">dsssssssssssssssss
</text>
</svg>

要是用户自己来输入查找“sss”
我就在sss下画一个背景,这个功能怎么实现呀,怎么完成坐标定位,我只能定位到x=2,y=80,这里就不能再精确的定位了
搜索更多相关主题的帖子: svg  手机  字符  xmlns  
2007-12-29 09:12
zhoushuyan
Rank: 1
等级:新手上路
帖子:5
积分:156
注册:2007-12-6

高手们,知道的帮忙解答啊
2007-12-29 09:14
关于我们 | 广告合作 | 编程中国 | 清除Cookies | Archiver | WAP | TOP

编程中国 版权所有,并保留所有权利。鲁ICP备08000592号
Powered by Discuz, Processed in 0.044880 second(s), 9 queries.
Copyright©2004-2008, BCCN.NET, All Rights Reserved