当前位置: 首页 > news >正文

网站 流程优化WordPress用来营销

网站 流程优化,WordPress用来营销,可以放友情链接的网站,安卓市场应用下载**在设计版图时往往需要加上公司或者学校的LOGO,只需要LOGO的图片#xff0c;通过代码就可以将LOGO加到版图上#xff0c;比如#xff1a; ** 通过代码可以得到版图上的LOGO: ! 代码如下#xff1a; from si_fab import all as pdk from ipkiss3 import all as i3i3.TECH…**在设计版图时往往需要加上公司或者学校的LOGO,只需要LOGO的图片通过代码就可以将LOGO加到版图上比如 ** 通过代码可以得到版图上的LOGO: ! 代码如下 from si_fab import all as pdk from ipkiss3 import all as i3i3.TECH.PURPOSE.DF.POLYGON i3.TECH.PURPOSE.DRAWING i3.TECH.PROCESS.HFW i3.TECH.PURPOSE.UNUSEDPIL_loaded False try:from PIL import ImagePIL_loaded True except:passtry:import ImagePIL_loaded True except:passif not PIL_loaded:raise AssertionError( PIL should be installed)class BitmapGrating(i3.PCell):image i3.DefinitionProperty()pixel i3.ChildCellProperty()class Layout(i3.LayoutView):pixel_pitch i3.Size2Property(default(2.0, 2.0))def _generate_instances(self, insts):im self.imagew im.size[0]h im.size[1]pixels im.getdata()period_x self.pixel_pitch[0]period_y self.pixel_pitch[1]for y in range(h):pen_down Falsefor x in range(w):p pixels[x y * w]if not pen_down:if p 0:pen_down Truestart_x xelif not p 0:pen_down Falsen_x x - start_xif n_x 1:insts i3.ARef(referenceself.pixel,origin(start_x * period_x, -y * period_y),period(period_x, period_y),n_o_periods(n_x, 1),)else:insts i3.SRef(referenceself.pixel, position(start_x * period_x, -y * period_y))if pen_down:n_x x - start_x 1if n_x 1:insts i3.ARef(referenceself.pixel,origin(start_x * period_x, -y * period_y),period(period_x, period_y),n_o_periods(n_x, 1),)else:insts i3.SRef(referenceself.pixel, position(start_x * period_x, -y * period_y))return instsclass BitmapGratingFromFile(BitmapGrating):image i3.LockedProperty()filename i3.StringProperty()def _default_image(self):return Image.open(self.filename).convert(1)class SquareBitmapGrating(BitmapGrating):pixel i3.ChildCellProperty(lockedTrue)def _default_pixel(self):from picazzo3.phc.generic.holes import RectHolereturn RectHole(name{}_pixel.format(self.name))class Layout(BitmapGrating.Layout):pixel_size i3.Size2Property(default(1.0, 1.0))layer i3.LayerProperty(defaulti3.TECH.PPLAYER.WG.TEXT)def _default_pixel(self):lv self.cell.pixel.get_default_view(i3.LayoutView)lv.set(radii(0.5 * self.pixel_size[0], 0.5 * self.pixel_size[1]),processself.layer.process,purposeself.layer.purpose,)return lvclass SquareBitmapGratingFromFile(BitmapGratingFromFile, SquareBitmapGrating):Load a bitmap from file and convert it to a grating:SquareBitmapGratingFromFile(filename xxx, pixel_size (x,y), pixel_pitch (x,y))pass if __name__ __main__:logo SquareBitmapGratingFromFile(namelogo_fudan, filenamefudan.png)logo_layout logo.Layout(pixel_size(1.5, 1.5), pixel_pitch(3.0, 3.0))logo_layout.visualize()
http://www.zqtcl.cn/news/117249/

相关文章:

  • 普宁建设局网站免费的网站开发平台
  • 网站域名主机空间区别网站上传系统
  • 建设高端网站公司的目的淮南房产网
  • 网站建设 中山网站建设新得体会
  • 快速搭建网站视频教程看想看的做想做的电影网站好
  • 网站聊天怎么做2345网址导航智能主版
  • 如何优化网站加载速度做推广公司
  • 网站下载不了视频php网站 数据库链接
  • 制作网页网站教程wordpress建立扁平化
  • 网站建设小知识郑州网站建设找伟置
  • 苏中建设官方网站旅游做攻略用什么网站好
  • 信息门户网站制作wordpress改商城
  • 企业类网站有哪些甘肃省和住房建设厅网站
  • 嘉兴市住房和城乡建设局网站wordpress nodejs版本
  • 做网站 百度推广深圳外贸招聘
  • 网站留言板功能网站建设 核对流程
  • WordPress输出当前网址郑州官网seo厂家
  • c 网站开发框架wordpress建站的教程
  • 营销 推广 网站王烨演的电视剧
  • 阳泉营销型网站建设网站360做的标记如何取消
  • win7 iis asp网站配置文件注册建设网站的公司网站
  • 品牌网站建设预算网站制作过程内容
  • 石河子建设网站网站开发参考资料
  • 网站开发招标参数wordpress个性化友情链接页面
  • 建设企业网站有哪些wordpress进入中国市场
  • 大学社团网站建设虚拟主机如何做网站
  • 销售的产品是帮别人做网站电脑搭建网站
  • h5商城网站是什么莆田网站建设技术托管
  • 优惠券怎么做自己的网站英文网站怎么设计
  • 做网站怎么样才能排在首页做微网站的公司哪家好呢