OberonPlace.com Forums  

Go Back   OberonPlace.com Forums > Developer Forums > VBA > CorelDRAW/Corel DESIGNER VBA

Thread Tools Search this Thread Display Modes
Old 09-04-2017, 22:02
nic nic is offline
Join Date: May 2009
Posts: 90
Default Distortion

Im trying to find a method of transforming a square which has a number of shapes within it, into a curved shape, so the shapes within the original shape are relationally transformed.

I have a number of shapes with slightly different proportions which I want to stretch the square and its contents into. The new shapes all have 2 straight lines (but angled edges) and two almost parallel curves and only 4 nodes. The new shapes are also rotated differently to each other and the original square.

Link to example: https://1drv.ms/i/s!AuIJtBoQdK8DjZ4uU0mT66NcF3iJhg

Im thinking that the general approach would be something like;

1. Rotate the square and its contents so that it is parallel with the shape it is to fit,
2. stretch the square so that each corner is over the corners of the shape it will fit into,
3. copy the curve information from each one of the shapes nodes to the nodes of the square - as a transformation of some kind,

I would like to ask;
Is this approach suitable?
How do you go about copying the nodes curve information? and
How to apply this to the square?

Best wishes,
Reply With Quote
Old 10-04-2017, 04:56
shark shark is offline
Senior Member
Join Date: Aug 2010
Location: Russia, Belgorod
Posts: 146

You could use an existing CorelDraw tool - Interactive Envelope. Draw distorted shape, then select group with shapes, activate Interactive Envelope, click eyedropper on the panel and select distorted shape. All shapes in group will be distorted as you want
Reply With Quote
Old 10-04-2017, 08:08
nic nic is offline
Join Date: May 2009
Posts: 90
Default need to use a macro

Thanks Shark I shall look into that - I didnt make it clear but I need to do it using vba - the number of shapes I want to run it on makes doing it manually impractical.

Trying to make a spiral, a sort of 2d version of -


Last edited by nic; 10-04-2017 at 08:19.
Reply With Quote

curve transformation

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
distortion tarkay General 1 12-10-2008 06:12
Distortion tool lacking in Designer 12 Shabbadang Feature requests/wishlist 1 13-05-2006 02:59

All times are GMT -5. The time now is 06:24.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2023, Jelsoft Enterprises Ltd.
Copyright © 2011, Oberonplace.com