Transformation matrix - AnchorPoint does not work with horizontal/verticalTranslation
Dear forum,
When I try to use an AnchorPoint with horizontal/verticalTranslation property, it is ignored. It seems that AnchorPoint.TOP_LEFT_ANCHOR is always used when I use a different option: for example AnchorPoint.BOTTOM_RIGHT_ANCHOR.
In the example below, I tried to use all available anchor points, tried to play with other spaces of contact information, but the result is always the same: the m crept in the user interface, I put X 50pt with anchor top left selected.
main(); function main() { var doc = app.activeDocument; var obj = doc.rectangles[0]; var transMatrix = app.transformationMatrices.add({horizontalTranslation: 50}); obj.transform(CoordinateSpaces.PASTEBOARD_COORDINATES, AnchorPoint.TOP_LEFT_ANCHOR, transMatrix); }
However, with all of the other properties:
clockwiseShearAngle
counterclockwiseRotationAngle
horizontalScaleFactor
verticalScaleFactor
It works as expected
I'm doing something wrong? Am I missing something? Or, is this just a bug?
Kind regards
Kasyan
P.S. Forgot to mention: I'm on InDesign CC 2014 (2nd exit) for Windows.
Hi Kasyan,
There would be much to say here, but I don't have the time to explain in depth, so just keep in mind that the setting of the transform method is nothing more than a temporary location that provides the origin of the transform to apply. This original plays an important role in implementing SCALING and ROTATION effects, but it has no effect on the TRANSLATION component.
MyObj.transform (inSpace, fromOrigin, withMatrix, replacingCurrent) aims to change the State of transformation of myObj. As the initial state, he considers that the mapping of the matrix of myObj from inSpace, M, then it calculates something like M×T, where T represents essentially the desired transformation (withMatrix), but the real components are dealt with internally in order to take into account fromOrigin and replacingCurrent. ReplacingCurrent indicators specify if certain components must be treated as new values or operands. Finally, the refined plan of myObj is updated accordingly.
It would be wrong to think that the TRANSLATION components reflect the location of the object in the space of the sovereign. When you need reach a certain place through a translation, always calculate the parameters [tx, ty] as compensation. This is what is done here move object by "Point of reference" (as mentioned by tpk1982).
@
Marc
Tags: InDesign
Similar Questions
-
Okidata ml 184turbo 9 in printer by points, man. pilot States included with the windows software Web site 7. The computer does not have a lpt card installed or a serial port. The printer will be seen with this card, if I can find a lpt PCI?
Okidata ml 184turbo 9 in printer by points, man. pilot States included with the windows software Web site 7. The computer does not have a lpt card installed or a serial port. The printer will be seen with this card, if I can find a lpt PCI?
According to Okidata it should do, but you also tried the procedure described here Manual printer driver installation? http://my.okidata.com/pp-ML184Turbo.nsf?OpenDatabase
Also check that your USB adapter is installed (Device Manager) and the computer can set the optimal settings for the port LPT adapter (properties).
-
I just noticed that my code (in my blog site), which is a regular code that allows the image to transform into its form in grayscale and cast its original color, does not work with the Mozilla Firefox browser. But with other browsers, it works. I hope you can help me with this little problem. Thank you!
Should I use a CSS rule that is similar to:
filter: grayscale(100%)
This property is not yet implemented in Firefox. It is supposed to be implemented in Firefox 34, according to https://developer.mozilla.org/en-US/docs/Web/CSS/filter
-
I have an ASUS EEE tablet. I was told firefox does not work with it. Is this true?
Firefox will work on the Asus Eee Pad Transformer tablet, although there are some known issues with the keyboard dock. For more details, see https://wiki.mozilla.org/Mobile/Platforms/Android#Known_Issues
-
It does not work with macbook air 2008! What should I do?
It does not work with the macbook air 2008 os x 10.5.8. What should I do?
What does not work?
More details please!
-
I installed the new iCloud (v5.2.1.69) and found that it does not work with Outlook 2016 (16.0.6965.2053). There is no button "Options"... "to"Mail, Contacts, calendars and tasks"(see photo). In addition, the iCloud Outlook add-in does not display in Outlook. I tried to reinstall the Office 365 and iCloud, but nothing has changed.
I have exactly the same problem with the latest version of iCloud. I have Outlook 2016 and 10 Windows and when I try to install iCloud there saying "set up" next "Mail, Contacts, calendars and tasks. I left it for hours and it does not go beyond this point. Outlook displays the listed add-in but it is not doing anything. I tried to remove all of the Apple software, and then reinstall iCloud without result. I've deleted and reinstalled MS Office and then tried to reinstall iCloud - once again no luck.
-
keyconfig does not work with FF 24.0. Is there a way?
I just finished rebuilding my PC from a hard drive format. In doing so, I loaded the last 24.0 FF.
Part of my essential app is a script used keyconfig causes a single copy to send the source page to the Clipboard, where the script analysis. Unfortunately, keyconfig does not work with FF 24.0.Writing for easy copy begins to explain how acting on a combination of keys, rather than the action of the mouse, without the use of keycopy - but then told how he has no need, because it's too much effort, and besides - keyconfig exists and does the job - which, I agree, he used, very well - but it is no more.
What should do? If there is no other way, can I get a downgrade of FF that works with keyconfig?
There is a new add-on, key config (note the space), but it does not what keyconfig did.
The end of the thread main support doesn't mention a major problem in Firefox 24: keyconfig 20110522 - mozillaZine Forums.
Did you install from source: http://mozilla.dorando.at/keyconfig.xpi
Is the problem that Firefox won't let you activate keyconfig, but the dialog box opens, or you can activate or extension allows you to create shortcuts but they do not work?
-
I have a mac 10.5.8 software. I downloaded moxilla firefox 24 and has replaced the old version to download. Then I got a message that firefox 24 does not work with my software. How to bring back the old version?
Hello patcouse, if you want to stay with you older version of the OS, then firefox 16 is the last version available that will run in this environment. for a download link, please refer to the Firefox no longer works with Mac OS X 10.5 (at the end of the article).
-
The CD/DVD does not work with El Capitan 10.11.5 on Macbook Pro
Hello everyone, I spent the time to research on the here and the other site on why the CD/DVD does not work with El Capitan 10.11.5 on MacBook Pro mid 2009. This discussion forum has said that he will not work with the El Capitan software. Any idea or suggestion? Back to Marverick or Yosemite? I tried to use SMC reset, restart, recovery and still the same issue.
I thank in advance.
~ Mike
I have my doubts that the (10.11.5) software is the problem. Are you sure that the DVD player is simply not defective? Have you tried to clean the lens? What is the State of the disc?
Your best option may be a date at a bar in engineering of the Apple store for a FREE evaluation.
Ciao.
-
SQLite Manager does not work with the v11. Until that make it easier to return to older versions or newer versions stop, breaking most of the modules I use FirefoxHow to come back at 10 Firefox?
Update Firefox 23.0 which published yesterday afternoon.
-
I have Norton Security Suite provided by Comcast. Norton Toolbar does not work with Firefox 17.0.1 on my Win 7 machine. I lived all the questions on this topic and did all the steps and when I click on "Add-ons", he always says that the toolbar is not compatible. It works with IE, but I prefer to use Firefox.
I had the same problem in the past. If you call customer Norton service toll-free they have always helped me start (without charges) when I have updated to a new version of Firefox - seems to happen every time even if I run the updates regularly. Hope that this phone help-Norton support is always very friendly and helpful-just Google their 800 number.
-
How can I get a previous version of Firefox. 17 Firefox does not work with online banking
How can I get a previous version of Firefox. 17 Firefox does not work with banking online edit
Similarly I cannot now (with v 17) start a download from a Web site to Quicken. At least it seems with four different financial institutions, I've tried. Each of them worked before version 17. I am now on 17.0.1 so that does not solve the problem.
-
I have Firefox 12.0. It does not work with Mac OS 10.4.11. I don't want to have to buy a new computer right now. I would go back to a previous version of Firefox that will work with my operating system. How can I download an older version of Firefox?
You can find the latest version of Firefox 3.6.x in all languages and for all systems operating here:
-
New iPhone IS does not work with MAC Mini 10.6.8. Apple support says upgrade your iTunes. Its the wrong color icon. WHAT? iTunes is the last 11.4 for my mac. All my music is on my Mac. Help!
That is right. The requires iTunes 12.3.3 and in order to get it, you will need to update OS X to El Capitan. That's how Apple has created for better or worse, I'm sorry.
-
Question
better privacy does not work with windows vista home Premium that another program removes LSO and HOW to prevent the trackers? Edit
DetailsIn current versions of Flash you can also do this via the control panel.
- Control Panel > Flash Player, click on remove and erase data
Maybe you are looking for
-
reprogramming UltraMax more on MacbookPro
I have a UltaMax Plus (1 TB, desktop hard drive) which shows that on my MacBook Pro. I am unable to initialize it. How can I do that. Help, please.
-
Satellite P300-1 has 8 - part number for the AC adapter / CC
Hello. Can anyone tell me the part number of the AC adapter I need to buy for my Satellite P300-1 c 8?Model No.: PSPCOE-01H008EN 15550 / 1024/1024/160 G 54/17W + BT/D52/L/M/L The toshiba site list or recognize the model, CarPhone Warehouse does not p
-
Registration - serial number problem
Hello! Today I bought the PC Toshiba laptop (Satellite A350D).When I wanted to record everything was fine, but I accidentally entered the wrong date. When I try to change an error appears on her already registered the serial number. Now, I can't comp
-
Problem of time synchronization in the HP b2600 workstation.
We have three Hp b2600 named rop11, rop12, rop13. rop11 is active and rop12 is passive and rop13 is autonomous. ROP's time synchronized with the GPS clock. But we face a problem of time synchronization. As we sychnisied a day after we saw a drift of
-
continues to fall sharply the internet connection for the computer but the xbox is not yet
If the computer is on and I walk for an hour or two, when I come back, the internet connection went only to the computer. Xbox live still works fine. So, I have to unplug the router, then plug back in and then try again to connect. Usually it works