Chapter 8. Working with Vector Graphics

In this chapter, we will cover:

  • Converting vector graphics to bitmap images
  • Rendering parts of a vector drawing
  • Embedding scalable vector graphics
  • Improving vector graphics rendering with anti-aliasing
  • Including vector graphics in Open Office documents
  • Including vector graphics in PDF files
  • Linking to scalable vector graphics
  • Enhancing scalable vector graphics with hyperlinks

Introduction

This chapter explains how to work with different types of vector graphics formats. The recipes use diverse, free, and open source tools to edit, enhance, and convert the different vector graphics files, covering the most common scenarios for multimedia Moodle activities. Vector graphics are one of the most difficult formats to handle in Moodle courses.

The general knowledge topic to be used in the recipes for this chapter is General facts about 2D and 3D Geometry. Different types of activities are to be created using geometrical shapes. You can also create puzzles in order to develop another activity using these types of graphics. We are always eager to insert these graphics in our Moodle activity due to the fact that they strengthen the activities to be performed by our students.

The recipes are organized in such a way that they are linked among themselves. So, it would be a good idea to read the whole chapter in its order without skipping recipes because they add more information as you advance through the recipes. You will also use what you have created in the initial recipes to design the final ones.

It is also very important to read the previous chapter that deals with bitmap images and photographs. There are some aspects considered in that chapter that we are going to cover in this one.

Different types of vector graphics are involved in this chapter due to the fact that they can enhance and create interactive activities. We can not only use them, but also modify them. It is like when you read something and like to share a part of it with your students. Similarly, you can also change the vector graphics in order to use a part of them.

We will cover not just inserting the SVG graphics in Moodle, but also using them in other types of software that can be uploaded to our Moodle courses. You will be working with mainly Inkscape, Open Office, and Adobe Reader. Therefore, it would be a good idea for you to have them installed.

Inkscape is a free and open source vector drawing software to be used in order to perform many recipes. It will allow us to work with many vector assets in several file formats and export them to a format recognized by Moodle. Another possibility is to export the said file format to Hot Potatoes and Quandary 2 used in Chapter 1, Creating Interactive User eXperiences.

We can either design the SVG or look for one on the Internet and learn how to do it. Then, we can change it, save as another file extension, and so on. We can also modify it; we may not need to use it per se, but just a part of it. We may insert the SVG in Moodle, or in other types of software such as OpenOffice or PDF, using Adobe Reader.

We are focusing on 2D and 3D Geometry, though the information can be applied to any subject to be taught due to the fact that SVG are needed to enhance our Moodle courses no matter what we are teaching. Images are a great asset to take into account when teaching because students do not read a plain and dull text. They look more appealing when an image is on it.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.118.32.222