Contents

QuickTime Vector Graphics

Explains the legacy technology for making mathematical descriptions of images.

About QuickTime Vectors

Inside Macintosh: QuickTime Reference describes the basic characteristics of QuickTime vectors, how they are constructed using QuickTime atoms, and how they are related to QuickDraw GX.

QuickDraw GX Concepts and Structures

Inside Macintosh: QuickTime Reference describes the QuickDraw GX concepts and data structures that you need to understand in order to work with QuickTime vectors.

A QuickTime vector corresponds to a QuickDraw GX path object, which is one of the geometric shapes supported by QuickDraw GX. Path objects are closely related to, and are in some cases defined by, other QuickDraw GX geometric shapes, such as points and curves.

Shape Objects

Supporting Objects

QuickDraw GX Coordinates

Geometry Space

Summary Table and Diagram of QuickDraw GX Objects

Shape Properties

Path Shapes

Creating and Drawing Paths

Geometric Properties of Style Objects

Color in QuickDraw GX

Transfer Modes

QuickTime Vector Data Streams

Inside Macintosh: QuickTime Reference describes QuickTime vector data streams. In QuickTime, paths and their characteristics are represented by a series of atoms in a QT atom container. This ordered series of atoms is called a vector data stream. A vector data stream contains atoms for paths, atoms that specify attributes of paths, and a final atom that marks the end of the data stream. This section gives detailed instructions for creating and manipulating these atoms.

Contents of a Vector Data Stream

Required Atoms

Atoms that Specify Path Attributes

QuickTime Vector Features Not Included in QuickDraw GX

Inside Macintosh: QuickTime Reference describes two features of QuickTime vectors that are not based on QuickDraw GX: gradient fills and minimum bit depth.

Gradients for Path Fills

Specifying the Bit Depth for Paths

Using QuickTime Vectors

Inside Macintosh: QuickTime Reference explains how to create and manipulate QuickTime vectors. The examples use utility functions provided by the vector codec, described in "Vector Codec Component Functions", that eliminate the need to work directly with the QuickTime atoms in a vector data stream. If your software edits or parses a great deal of vector data, it may be more efficient to work directly with the atoms. For descriptions of the atoms in a vector data stream, see "Vector QT Atom Container".

Opening the Vector Codec Component

Creating a Vector Data Stream

Creating a Path Using Only Off-Curve Points

Creating Paths With Multiple Contours and Fills

Specifying Joins

Adding Gradients

Specifying a Color for a Path

Specifying a Transfer Mode

Hit-Testing a Path

Drawing Vectors

Converting QuickDraw GX Data to QuickTime Vectors

Inside Macintosh: QuickTime Reference describes how to use the GX-to-vector transcoder included with QuickTime, which lets you convert QuickDraw GX data into equivalent QuickTime vectors. If your application already has QuickDraw GX data, or if you use a drawing program that can create QuickDraw GX data, the transcoder makes it easy to create vector graphics for your application

Constants

Inside Macintosh: QuickTime Reference describes the constants that are specific to QuickTime vectors.

Vector Atom Types

Gradient Types

Fill Types

Join Constants

Selectors for Vector Codec Component Functions

Data Types

Inside Macintosh: QuickTime Reference defines the data structures used by QuickTime vectors.

Vector QT Atom Container

ARGB Color

Gradient Color Record

The Point Structure

The Path Structure

The Paths Structure

Color Structure

The Transfer Mode Structure

Transfer Component Structure

Transfer Component Flag Type

Transfer Component Mode Type

Color Value Type

Transfer Mode Flag Type

Color Space Type

Color Space Structures

Vector Codec Component Functions

Inside Macintosh: QuickTime Reference defines the functions provided by vector codec components.

Vector Codec Macros

Inside Macintosh: QuickTime Reference describes a macro provided by vector components, which you can use to convert an integer to a Fixed value.

ff

Copyright © 2000 Apple Computer, Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2000-11-04