Book Image

Inkscape 0.48 Illustrator's Cookbook

Book Image

Inkscape 0.48 Illustrator's Cookbook

Overview of this book

Inkscape is an open source vector graphics editor with an intuitive user interface that has enough depth to make quality graphic designs with an attractive layout comparable to what you would make using Illustrator or CorelDraw. But choosing the right tool and the best approach to creating the desired effect can be challenging. Inkscape 0.48 Illustrator's Cookbook makes it super-easy for you to make your own vector-based graphics with the powerful Inkscape editor. Inkscape 0.48 Illustrator's Cookbook provides you with the latest recipes to quickly create scalable vector graphics. Recipes in this book teach you about some of the most useful time-saving features in Inkscape accompanied by a list of keyboard shortcuts that you can easily memorize. In addition to covering use of Inkscape tools and their advanced features, examples from the recipes uncover solutions to common graphics problems. The book starts off with familiarizing you with the tools and techniques in Inkscape that you can use to draw 2D shapes, calligraphic shapes, and 3D boxes easily. It then guides you through the most common color-changing steps performed in Inkscape along with some convenient procedures that can save your time when dealing with colors. It explains drawing using linear and radial gradients, which are irreplaceable, usage of clones to create interesting effects in illustrations, and live-path effects that can help you speed up constructing a shape and make the process more natural. You will learn how to make those tweaks on some of the ready-made filters, and in the final recipe we will create a filter from scratch. This practical book also contains recipes showing how to use Inkscape as a raster editor and how to achieve photo-realistic effects in Inkscape. For each important technique and skill, you'll see some simple recipes, then some more advanced recipes followed by an explanation of how Inkscape works to produce the desired effects in your illustrations. By the end of this book you will be confident enough to create your own vector-based graphics with Inkscape.
Table of Contents (18 chapters)
Inkscape 0.48 Illustrator's Cookbook
Credits
About the Authors
About the Reviewer
www.PacktPub.com
Preface

Filtering all objects in a layer


A blending filter primitive can be applied to a layer by using the Layers dialog and selecting a Blend mode. There's a catch however: you can only choose one from a predefined list.

There is a way though to apply a complex filter to a whole layer manually. This method was first invented by the Inkscape forum user kelan (http://www.inkscapeforum.com) and expanded by Ivan Loulette. It involves playing some dirty tricks with the XML editor, but the results are quite effective.

This recipe will guide us through that method of adding a filter to all objects in a layer.

How to do it...

The following steps will demonstrate how to use a filter on all the objects in a layer:

  1. 1. In a new document open the Layers dialog (Shift + Ctrl + L) and create a new layer. Name it "Filtered".

  2. 2. Select the Rectangle tool (F4 or R) and create a rectangle. Set its fill to #0044AA and remove the stroke.

  3. 3. Apply the 3D mother of pearl filter by going to Filters | Materials | 3D mother...