পৃষ্ঠাসমূহ

শুক্রবার, ২৫ মার্চ, ২০১১

Quartz 2D


Overview

Quartz 2D is available to all Mac OS X application environments, and provides resolution-independent and device-independent rendering of bitmap graphics, text, and vectors both on-screen and in preparation for printing. Its responsibilities within the graphics layer include:
  • Rendering text using Apple Type Services (ATS)
  • Displaying, manipulating, and rendering PDF documents
  • Converting PostScript data to PDF data, and vice-versa
  • Displaying, manipulating, and rendering bitmap images via ImageIO
  • Providing color management via ColorSync
  • Displaying the elements of the Aqua user interface  “Overview of Quartz 2D”: describes the page, drawing destinations, Quartz opaque data types,graphics states, coordinates, and memory management, and it takes a look at how Quartz works, “underthe hood.”
      “Graphics Contexts”: describes the kinds of drawing destinations and provides step-by-step instructions for creating all flavors of graphics contexts.
     “Paths”: discusses the basic elements thatmake up paths, shows how to create and paint them,shows how to set up a clipping area, and explains how blend modes affect painting.
      “Color and Color Spaces”: discusses color values and using alpha values for transparency, and it describes how to create a color space, set colors, create color objects, and set rendering intent.

     “Transforms”: describes the current transformationmatrix and explains howtomodify it, show how to set up affine transforms, shows how to convert between user and device space, and provides, background information on the mathematical operations that Quartz performs.
     “Patterns”:  defines what a pattern and its parts are, tells how Quartz renders them, and show how to create colored and stenciled patterns.
      “Shadows”: describes what shadows are, explains how they work, and shows how to paint with them.
      “Gradients”:  discusses axial and radial gradients and shows how to create and use CGShading and CGGradient objects.
     “Transparency Layers”:  gives examples of what transparency layers look like, discusses how they work, and provides step-by-step instructions for implementing them.
     “Data Management in Quartz 2D”: discusses how to move data into and out of Quartz.
      “Bitmap Images and Image Masks”:  describes what makes up a bitmap image definition an shows how to use a bitmap image as a Quartz drawing primitive. It also describes masking technique you can use on images and shows the various effects you can achieve by using blend modes when drawing images.
     “Core Graphics Layer Drawing”: describes how to create and use drawing layers to achieve high-performance patterned drawing or to draw offscreen.
      “PDF Document Creation, Viewing, and Transforming”: shows how to open and view PDF documents, apply transforms to them, create a PDF file, access PDFmetadata, add links, and add secure features (such as password protection).
      “PDF Document Parsing”:  describes how to use CGPDFScanner and CGPDFContentStream objects to parse and inspect PDF documents.
     “PostScript Conversion” gives an overviewof the functions you can use inMac OS X to conva PostScript file to a PDF document. These functions are not available in iOS.
     “Text”: describes Quartz 2D low-level support for text and glyphs, and alternatives that provide higher-level and Unicode text support. It also discusses how to copy font variations.

কোন মন্তব্য নেই:

একটি মন্তব্য পোস্ট করুন