🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.indesign.sdk
Article #4360

Re-creation of splines

#4360
From: Hemal
Date: Thu, 17 Jun 2004 05:47
8 lines
1300 bytes
Hello all,

I have text and image splines that I must recreate exactly as the original. For example it should have the rotations. scaling applied to it when the spline is re-created. I understand that you need to record the StrokeBoundingBox in relation-to the pasteboard and the 6 float values from a Matrix structure. Do you need to convert the matrix values relative to the pasteboard?

I pass the bounding box in INewPageItemCmdData for text splines and Utils<IPathUtils>->CreateRectangleSpline() when I create a graphic frame. Now how do I apply the matrix to this spline? According to the standard you are not supposed to ITransform->SetMatrix() directly but send a command. What command do I use and how?

Thanks in advance
- Hemal
Technical Details
Message-ID: <3bb4a41e.-1@webx.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsrout1.ntli.net!news-in.ntli.net!newsfeed01.sul.t-online.de!t-online.de!webx

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f63e9,3dbe158880e722ee,start
X-Google-Attributes: gidf63e9,public
From: Hemal@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsrout1.ntli.net!news-in.ntli.net!newsfeed01.sul.t-online.de!t-online.de!webx
Newsgroups: adobe.indesign.sdk
Subject: Re-creation of splines
Message-ID: <3bb4a41e.-1@webx.la2eafNXanI>
Date: Wed, 16 Jun 2004 22:47:26 -0700
Lines: 17
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit