Products Downloads Order Support

C / C++ Programming: C++ Class Libraries

C Language Defined

C++ is a general-purpose object-oriented programming language and is intended to be an improved version of C with object capabilities. C++ objects or classes encapsulate lower level functionality into a higher level interface that facilitates in shortening development time and creating maintainable code. A C++ class is a user-defined type or abstract data type that encapsulates data and functions that use or process that data.

LEAD Technologies offers imaging C++ Classes for Microsoft Visual C++ and Borland Builder that offer various image control as briefly described below. The LEADTOOLS Imaging Class Libraries are included with the following LEAD products. The individual classes included may vary from product to product. If you have any questions, please contact Sales@LEADTOOLS.com or Support@LEADTOOLS.com:

Imaging C++ Class LBase
The LBase class is the base class for the LEADTOOLS Class Library. All other classes in the LEADTOOLS Class Library derive from LBase.

Imaging C++ Class LBitmapBase
The LBitmapBase class is the highest level bitmap class. This class contains the core functionality for processing images in memory. The LBitmapBase class includes functions for basic image transforms such as resizing, flipping, cropping, and rotating, and for changing the image’s color-depth. This class also includes functions for loading images from files and saving images to files.

Lower level classes that derive from LBitmapBase to extend the functionality in LBitmapBase include LBitmap, LBitmapWindow, LAnimationWindow and LAnnotationWindow.

Imaging C++ Class LBitmap
The LBitmap class is derived from LBitmapBase and extends LBitmapBase by adding functionality for more advanced image processing. This functionality includes: Halftone, Sharpen, Picturize, GammaCorrect, Deskew, Despeckle, WindowLevel, Color Separation and Color Merge, Image Filters (such as Average, Median, Mosaic), and color processing (such as Invert, Hue, Contrast, Intensity, and Saturation).

Imaging C++ Class LBitmapWindow
The LBitmapWindow class is derived from LBitmap and extends LBitmap by adding full user interface (UI) functionality. This class can be considered as a full windowed control that is capable of displaying images. The LBitmapWindow class provides the following functionality:

  • Bitmap (image) Displaying
  • Scrolling (which can be enabled or disabled)
  • Palette handling
  • Region drawing and floater bitmap
  • Zooming
  • Pan Window
  • Keyboard handling
  • Various UI tools including pan image, zoom in/out on mouse click, drawing zoom rectangles, and drawing regions of interest
  • Painting while loading of a bitmap from file
  • Paint effects, transitions, gradients, and patterns
  • Windows Drag/Drop operations for loading files
Imaging C++ Class LDraw
The LDraw class is the highest level drawing class and provides base functionality for the LEADTOOLS Class Library painting and drawing classes. This class contains member functions used to display images.

Lower level classes that derive from LDraw to extend the functionality in LDraw include LPaint and LPaintEffect.

Imaging C++ Class LPaint
The LPaint class is derived from LDraw and extends LDraw to contain functions to display or paint images. These functions handle painting images as well as displaying image region of interests.

Imaging C++ Class LPaintEffect
The LPaintEffect class derives from LDraw and extends LDraw to contain functions to display bitmaps and bitmap regions with thousands of LEADTOOLS paint effects. LPaintEffect also includes functionality to draw gradients, patterns, 3D shapes and 3D text.

Imaging C++ Class LAnnotation
The LAnnotation class is the highest level annotation class and contains base functionality for creating and managing LEAD annotation objects. This class provides the main functionality like creation, drawing, scaling, realizing, copying, and setting/getting properties for other derived annotation classes. The LAnnotation class also has functions for copying annotations to and from the clipboard.

Imaging C++ Class LAnnToolBar
The LAnnToolBar class is derived from the LBase class. The LAnnToolBar class contains support for creating and managing the LEAD annotation toolbar, and provides functions for checking/unchecking, showing/hiding, and creating annotation toolbar buttons.

Imaging C++ Class LInet
The LInet class provides Internet functions that allow you to create client server applications that transfer data over the Internet or local intranets and includes functions for handling connections via network, and reading and sending data. The LInet class also includes functions to control a list of computers connected to the local computer.

Imaging C++ Class LMultimedia
The LMultimedia class contains functionality for playing multimedia objects. The LMultimedia class includes basic functions for playing, editing and viewing. This class also includes functions for controlling audio hardware settings, video hardware settings, video data and sound data.

Imaging C++ Class LMMCapture
The LMMCapture class contains the main functionality for video and audio capture. LMMCapture includes basic functions for capturing such as connection to the capture driver, creation of the capture window and numerous capture operations. This class also includes functions for setting capture viewing options, setting hardware audio and video settings, and handling video and sound data.

Imaging C++ Class LScanner
The LScanner class is highest level scanning class and is the base class for the LEADTOOLS Class Library scanning interface classes. This class contains some basic scanning interface functions that are reused in the derived classes LTwain and LIsis. You can use this class as a basis from which you can derive your own scanning class for scanner interfaces not supported by LEADTOOLS.

Lower level classes that derive from LScanner to extend the functionality in LScanner include LTwain and LIsis.

Imaging C++ Class LBaseFile
The LBaseFile class is the highest level class for file input and output and contains basic operations for file I/O. This class provides a means to override the default functions that LEADTOOLS uses for opening, closing, reading, writing, and seeking in files.

Lower level classes that derive from LBaseFile to extend the functionality in LBaseFile include LFile, LMemoryFile. LVectorFile and LVectorMemoryFile classes.

Imaging C++ Class LSettings
The LSettings class is the highest level settings class in LEADTOOLS and provides functions for unlocking optional LEADTOOLS features such LZW compression support in GIF and TIFF.

Lower level classes that derive from LSettings to extend the functionality in LSettings include LBitmapSettings and LFileSettings classes.

Imaging C++ Class LBitmapSettings
The LBitmapSettings class is derived from LSettings, and extends LSettings to include functionality for getting and setting display options such as PaintIntensity, PaintContrast, PaintGamma and DisplayMode. Additionally, LBitmapSettings includes functions for setting the default image dithering method.

Imaging C++ Class LFileSettings
The LFileSettings class is derived from LSettings, and extends LSettings to include functionality to control which LEAD file import/export DLLs are loaded, getting/setting extended import/export options, getting/setting file comments and tags (for file formats such as TIFF and EXIF), and getting/setting resolution import options (for file formats such as WMF, PCD and FPX).

Imaging C++ Class LPrint
The LPrint class is derived from LBase and provides functions for printing images. The LPrint class includes functions to specify the location and size of the printed image. Additionally this class provides optional functionality to the print functions center and/or size the image to fit the printed page. The LPrint class can print multiple images per page and can use the same device context for other drawing such as printing text and images at the same time.

Imaging C++ Class LDialog
The LDialog class provides reusable dialogs for the most common LEADTOOLS imaging functions. The common dialog features include:

  • FileOpen and FileSave dialogs have been extended to contain imaging specific options image subtypes and compression options.
  • A Thumbnail Preview option for FileOpen dialog allows the end user to preview images before loading them.
  • A Thumbnail Preview option for the image processing dialogs allows the end user to preview the proposed change to the image, before actually affecting the original image.
  • An optional Help Button callback function lets you provide custom help information for each dialog.
  • A user interface control for the dialogs is provided through flags passed to each dialog function.
  • An option to have the Imaging Common Dialog process the image automatically is provided.

Imaging C++ Class LBitmapRgn
The LBitmapRgn class is derived from the LBase class and contains support for bitmap regions. A bitmap region is an area of interest within an image. A image can have only one region at a time, but the region can be complex, including, for example, multiple noncontiguous shapes.

Imaging C++ Class LPlayBack
The LPlayBack class is derived from LBase. This class contains the support for creating, and managing animation playbacks using bitmap lists. The LPlayback class includes functionality to create, start, and stop playback of bitmap lists in order to create an animation. Additionally, this class provides functions for adding images to the playback, removing images from the playback, and processing frames of the playback.

Imaging C++ Class LChange
The LChange class is derived from LBase. The LChange class provides support for changing between LEAD bitmap objects and device dependent bitmaps (DDB) and device independent bitmaps (DIB). The functions in this class do not result in 2 copies of the image being in memory after the function is complete.

Imaging C++ Class LBuffer
The LBuffer class is derived from the LBase class. This class contains support for image data that is stored in memory. LBuffer provides functionality for compressing and decompressing image data, resizing image data, converting image data to and from various color orders, and converting buffers of image data to and from various color spaces. LBuffer also encapsulates functions for allocating and freeing memory buffers to be used by the various image data processing functions in LEADTOOLS.

Imaging C++ Class LScreenCapture
The LScreenCapture class is derived from LBase. This class provides the functionality for capturing images from the screen and resources from files. The LScreenCapture class provides functions to capture a specific window, active window, active client area, mouse cursor, Windows object, user-defined area, menus and resources from executable and DLL files. Imaging C++ Class LBitmapList
The LBitmapList class is derived from the LBase class. This class contains functions for creating, manipulating, and managing bitmap lists (arrays of images in memory). Additionally, the LBitmapList class also provides functionality for loading and saving bitmap lists from/to multipage image file formats, such as TIFF and GIF.

Imaging C++ Class LImageListControl
The LImageListControl class provides functionality to create a Windows control that implements an ImageList for manipulating and displaying a list of images. The LImageListControl will display a list of images in a windowed control with various options and event notifications.

The LImageListControl class provides the following functionality:

ImageList Display with control over:

    background color
    item background color
    item selection style
    item size
    item text display
    item spacing

  • Items can be inserted, deleted, modified, and sorted (based on text property)
  • Scrolling (vertical or horizontal)
  • Palette handling
  • Automatic or manual item selection (single or multi)
  • Load from multi-page files
  • Save to multi-page files
  • Keyboard support (can be disabled)
  • Notification messages for item selection, mouse messages, keyboard messages, etc.
Imaging C++ Class LVectorBase
The LVectorBase class is the highest level vector class and contains the main functionality processing vector images in memory. LVectorBase includes functions for basic vector transforms such as scaling, translating and rotating. This class also includes functions for loading vectors from files and saving vectors to files. This class also contains functions for the following:
  • Modifying vector object characteristics
  • Copying whole or partial vectors from one object to another
  • Vector display settings
  • Converting vectors to or from EMFs and WMFs
  • Modifying the viewing characteristics such as view mode and view port.
Imaging C++ Class LVectorWindow
The LVectorWindow class is derived from LVectorBase and extends LVectorBase by adding full user interface (UI) functionality. LVectorWindow can be considered as a full windowed control that is capable of displaying vector images. The LVectorWindow class provides the following functionality:
  • Vector Displaying
  • Scrolling (which can be enabled or disabled)
  • Palette handling
  • Zooming
  • Panning
  • Keyboard handling
  • UI tools including pan image and select objects
  • Windows Drag/Drop operations for loading files

Imaging C++ Class LBarCode
The LBarCode class is derived from LBase and provides support for reading and writing barcode symbols in images and for finding duplicate barcodes in images. The LBarCode class functions support the reading and writing of supported barcode types for all image formats currently supported by LEADTOOLS.

Imaging C++ Class LInetHttp
The LInetHttp class provides HTTP Internet functions that allow you to create a connection with an HTTP server and send data to or get data from an HTTP server. The LInetHttp class is the basis of a web server or web client or browser type applications.

Imaging C++ Class LInetFtp
The LInetFtp class provides FTP Internet functions that allow you to create a connection with an FTP server, transfer files and bitmaps, perform remote file operations, perform remote directory operations, and browse remote directories for files. Imaging

C++ Class LRasterPaint
The LRasterPaint class provides low-level Digital Painting functions for implementing painting applications such as JASC PaintShop Pro or Adobe PhotoShop, giving the developer the control needed to add very specific functionality to an application.

Imaging C++ Class LRasterPaintWindow
The LRasterPaintWindow class provides high-level Digital Paint functions for creating painting applications.

LEADTOOLS Sales: 704-332-5532 | sales@leadtools.com
LEADTOOLS Support: 704-372-9681 |
support@leadtools.com

Products | Downloads | Order | Support | Corporate | News

 
Are you a CEO, Manager or other decision maker who would prefer to view less programming-specific technical pages?
Imaging-Components.com is an informational website created to promote the use of LEADTOOLS "third-party" imaging software components.