当前位置:网站首页>泰山OFFICE技术讲座:段落边框的布局绘制分析
泰山OFFICE技术讲座:段落边框的布局绘制分析
2022-07-23 13:05:00 【柳鲲鹏】
结合这三篇文章:
泰山OFFICE技术讲座:段落边框的高度研究(0.25磅)_柳鲲鹏的博客-CSDN博客
泰山OFFICE技术讲座:段落边框的高度研究(0.75磅)_柳鲲鹏的博客-CSDN博客
泰山OFFICE技术讲座:段落边框的高度研究(1.50磅)_柳鲲鹏的博客-CSDN博客
分析总结如下:
- 边框宽度,磅的尺寸符合普通定义。
0.25,3.333;0.75,4.667;1.5,6.667。注意这些尺寸同时包含上下边框的高度。
即:0.5=1.333/2,0.75=2/2。换算过来,就是1磅=1.333像素。
回头看定义:1英寸=72磅,桌面100%时dpi=96,所以1磅=1.333像素。
经过计算,sz/space单位是不一样的。1sz=0.1667, 1space=1.333
- space的单位也是磅。随着缩放变化
space,确切的指的是与文字(内容)的间隔。
- 跟网格的关系
布局:网格算完之后,再附加边框高度。
绘制:内容区位于网格(多个网格也一样)的中间。于是,上边框隔离一个像素后,进行绘制;下边框就是段落的底部。
- 疑问:比例缩小时的情形?
边栏推荐
- MySQL multi table query_ Cartesian product_ Inner connection_ Implicit connection
- 使用“soup.h1.text”爬虫提取标题会多一个\
- 实时疫情数据可视化分析
- 千万别让富坚义博看到这个
- VMware platform STS certificate expired
- Calendar calendar class
- Chen Wei, head of CPU technology ecology of Alibaba pingtouge: the development road of pingtouge
- Hcip datacom certification examination passed in July
- 阿里平头哥CPU技术生态负责人陈炜:平头哥的发展之路
- 32位单片机GPIO端口电路结构以及输出模式
猜你喜欢

Study note 7 -- traffic environment behavior prediction

Ali Er Mian: when does MySQL use table locks and row locks?

阿里二面:MySQL 啥时候用表锁,啥时候用行锁?

20220722 beaten record

Chen Wei, head of CPU technology ecology of Alibaba pingtouge: the development road of pingtouge

百度编辑器上传图片设置自定义目录

智慧民航新业态崭露头角,图扑数字孪生入局民航飞联网

软件体系结构

卷积神经网络模型之——GoogLeNet网络结构与代码实现

僧多粥少?程序员要怎样接私活才能有效提高收入?
随机推荐
Talk about the memory layout of JVM
pytest接口自动化测试框架 | 控制测试用例执行
leetcode-67.二进制求和
数据库的备份和还原
IIS 部署.NetCore
Surface family purchase reference
华为新版Datacom认证介绍
机器狗背冲锋枪射击视频火了,网友瑟瑟发抖:stooooooooppppp!
The protection circuit of IO port inside the single chip microcomputer and the electrical characteristics of IO port, and why is there a resistor in series between IO ports with different voltages?
Practice code - day one
Niuke-top101-bm35
Squeeze-and-Excitation Networks(挤压和激励网络)
Une solution complète au problème du sac à dos dans la programmation dynamique
Using "soup.h1.text" crawler to extract the title will be one more\
The competition boss is in Huawei: network experts are from Stanford physics department, and some people "work as much as reading a doctoral degree"
pytest接口自动化测试框架 | 多进程运行用例
20220722 beaten record
15001. System design scheme
fastadmin,非超级管理员,已赋予批量更新权限,仍显示无权限
[2022 freshmen learning] key points of the second week