OberonPlace.com Forums  

Go Back   OberonPlace.com Forums > Corel User Forums > CorelDRAW > FAQ

Thread Tools Search this Thread Display Modes
Old 27-04-2005, 12:22
Alex's Avatar
Alex Alex is offline
Join Date: Nov 2002
Posts: 1,941
Blog Entries: 4
Default Fountain Fill changes when object is rotated

I create a rectangle and apply a horizontal fountain fill from black to white. Then I rotate the rectangle by 45° and notice that the fill changes. It no longer has a transition between pure black and pure white but instead something like dark gray to light gray. What's happening?
Reply With Quote
Old 03-05-2005, 22:35
Alex's Avatar
Alex Alex is offline
Join Date: Nov 2002
Posts: 1,941
Blog Entries: 4

CorelDRAW has two different ways of applying fountain fills - through the Fountain Fill dialoga as well as using the Interactive Fill tool. Interactive Fill tool was introduced in CorelDRAW 8 and Fountain Fill dialog was the only way to apply the fill in versions prior to that. Fills applied to object with the tool and dialog also behave a bit differently.

When a fountain fill is applied using the Fountain Fill dialog (without using the Interactive Fill Tool), the fill is drawn based on the bounding box of the selected object. When the fill goes from, say, black to white, then the black color will be at one end of the bounding box, and the white will be on the opposite. This is easy understand when the fill angle is 0° (horizontal). However when the fill is at an angle, then the color transition is built so that the begin/end of the fill are at the utmost points of bounding box when viewed at the given angle. For example, if the bounding box of the object is a square and fill goes diagonally at 45°, then it will start at lower left corner of the bounding box and end at the upper right corner.

When you apply a horizontal fill to a rectangle and then rotate the rectangle, the fill rotates with it too (fill angle is changed accordingly). However the bounding box of the rotated object changes too and the fill begins to appear differently. See the attached illustration.

Interactive Fill tool works differently in a sense that it actually attaches a fill vector to the object and the fill goes from the beginning of the vector to its end and is no longer relevant to the object's bounding box. So, when a fill has been applied to a rectangle with the Interactive Fill tool and the rectangle is rotated, the vector rotates along with the object and the rotated fill looks exactly the same way on the rotated rectangle as on the original one.

Hence, to fix the problem, before rotating an obect with fountain fill, select the object with the Interactive Fill tool to attach a fill vector to the object. Once it's done, you can rotate the object all you want and its fill will rotate with it without change of appearance.
Attached Images
Reply With Quote

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
Fountain Fill to follow the shape of an object Alex FAQ 3 10-05-2007 00:33
object lost it's linear fountain fill property after metalickaah CorelDRAW/Corel DESIGNER VBA 5 02-01-2005 22:36
Bounding lines around an object toy4mud CorelDRAW CS 2 04-11-2004 11:56
Retrieve Color Values from Selected Object Jon Lorber CorelDRAW/Corel DESIGNER VBA 2 19-08-2004 07:24
How can I change middle colors in a custom Fountain Fill Steve CorelDRAW/Corel DESIGNER VBA 3 13-12-2002 19:11

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

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