pub struct CtVectorG {
pub id: StId,
pub width: f64,
pub height: f64,
pub thumbnail: Option<StRefId>,
pub substitution: Option<StRefId>,
pub content: Option<PageBlockGroup>,
}Expand description
CT_VectorG:矢量图像(复合对象引用的图形内容,见 13 章、表 49、表 50)。
资源文件中以 CompositeGraphicUnit 的形式出现,被页面中的复合对象
(CompositeObject)通过 ResourceID 引用。其 Content 为一个
CT_PageBlock,承载文字、图形、图像乃至嵌套复合对象等绘制内容;这些内容
在矢量图自身坐标系(原点位于左上角,范围 Width×Height)中描述,绘制时
经复合对象的边界与变换矩阵映射到页面。
Fields§
§id: StId资源标识(必选)。
width: f64矢量图自身坐标系的宽度(必选)。
height: f64矢量图自身坐标系的高度(必选)。
thumbnail: Option<StRefId>缩略图资源标识(可选)。
substitution: Option<StRefId>替换图像资源标识(可选)。
content: Option<PageBlockGroup>矢量内容(CT_PageBlock,必选);缺失时无可绘制内容。
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CtVectorG
impl<'de> Deserialize<'de> for CtVectorG
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CtVectorG
impl RefUnwindSafe for CtVectorG
impl Send for CtVectorG
impl Sync for CtVectorG
impl Unpin for CtVectorG
impl UnsafeUnpin for CtVectorG
impl UnwindSafe for CtVectorG
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more