Difference between revisions of "fpvectorial"

From Free Pascal wiki
Jump to navigationJump to search
Line 20: Line 20:
  
 
* '''fpvtocanvas''' - Converts a vectorial document to a TFPCustomCanvas descendent (like TCanvas). Essentially converts the vectorial image to a raster image
 
* '''fpvtocanvas''' - Converts a vectorial document to a TFPCustomCanvas descendent (like TCanvas). Essentially converts the vectorial image to a raster image
 +
* '''pdfvrlexico''', '''pdfvrsemantico''', '''pdfvrsintatico''', '''avisozlib''' - Other units from the PDF reader, don't use directly
  
Examples:
+
==Usage==
  
 
* example1
 
* example1
  
 
Go to back [[Package_List|Packages List]]
 
Go to back [[Package_List|Packages List]]

Revision as of 15:06, 8 August 2009

Introduction

FPVectorial offers support to read, modify and write vectorial images.

It's counterpart library is fp-image, which works with raster images. FPVectorial comes with a unit which allows to draw a vectorial image to a TFPCustomCanvas, but no routines are provided to convert raster images to vectorial images.

Current file list

FPVectorial is located in Free Pascal 2.3.1+ in the directory fpc/packages/fpvectorial/src

The central unit is fpvectorial.

Readers and writers for various image formats

  • pdfvectorialreader - Read support for PDF files, supports compression, only reads the first page
  • avisocncgcodereader - Read support for the G-Code from the Aviso CNC machine
  • avisocncgcodewriter - Write support for the G-Code from the Aviso CNC machine

Other units

  • fpvtocanvas - Converts a vectorial document to a TFPCustomCanvas descendent (like TCanvas). Essentially converts the vectorial image to a raster image
  • pdfvrlexico, pdfvrsemantico, pdfvrsintatico, avisozlib - Other units from the PDF reader, don't use directly

Usage

  • example1

Go to back Packages List