mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-16 23:42:27 +00:00
docs(psd): document editable TySh envelope fields
This commit is contained in:
1 parent
1e204c51df
commit
2bb5d0344f
1 file changed
+3
@@ -12,8 +12,11 @@ pub const MAX_BYTES: usize = 8 * 1024 * 1024;
|
||||
/// Parsed `TySh` contents.
|
||||
#[derive(Clone, Debug, PartialEq)]
|
||||
pub struct TySh {
|
||||
/// Affine transform in PSD order: xx, xy, yx, yy, tx, ty.
|
||||
pub transform: [f64; 6],
|
||||
/// Text descriptor, including text content and styling data.
|
||||
pub text: Descriptor,
|
||||
/// Optional warp descriptor retained from the Type Tool block.
|
||||
pub warp: Option<Descriptor>,
|
||||
/// The four trailing big-endian f32 values (left, top, right, bottom) after the warp
|
||||
/// descriptor. Photoshop writes zeros for unwarped type and the text-space bounds (the
|
||||
|
||||
Reference in new issue
Block a user