D-Type PowerDoc Engine

An extensible and robust cross-platform rendering engine and API for high-quality, resolution-independent portable documents, user interfaces and more.
D-Type PowerDoc Engine

Download Purchase

D-Type PowerDoc Engine is a high-performance, extensible and robust cross-platform C/C++ rendering library and API for creating high-quality, resolution-independent scalable documents, user interfaces and all kinds of portable visual presentations that seamlessly integrate text, bitmap and vector graphics. This unique library is suitable for all types of applications that create, manipulate, display and store visual information.

The following points highlight the key design decisions behind D-Type PowerDoc Engine:

It should be noted that D-Type PowerDoc Engine extends the standard suite of D-Type libraries and exposes their APIs in addition to its own. Therefore, by licensing D-Type PowerDoc Engine, developers gain access not only to its API but also to the D-Type Font Engine, D-Type Grayscale Rasterizer, D-Type Direct Color Rasterizer and D-Type Shading Rasterizer APIs.

What is D-Type PowerDoc?

Document Rendering Technology

D-Type PowerDoc is a portable, high-quality and high-performance resolution-independent rendering technology. Its primary purpose is to create and render entire pages and documents in a device, resolution and platform-independent manner. This includes e-books, large volumes of text, forms, charts, maps, multimedia presentations, splash pages, user interfaces and similar electronic documents.

High-Level Scalable Graphics Library

D-Type PowerDoc Engine is a high-level scalable graphics library that features a rich set of drawing primitives. The term “scalable” means that all visual elements (text, shapes, bitmap images) are interpreted as vectors rather than bitmaps. This allows applications to scale the output to virtually any desired size without compromising quality. Additionally, this approach makes it possible to apply various mathematical transformations on drawing primitives, including compression, expansion, rotation, skew, perspective or any combination thereof. The term “high-level” indicates that D-Type PowerDoc Engine is not merely a collection of routines for drawing graphics; it is a technology for creating and rendering entire pages and documents in an object-oriented manner.

Portable Document and Rendering Technology

Documents created by D-Type PowerDoc Engine can be stored on disk for later use or appended to other documents to create more complex compositions. Documents stored on disk in D-Type PowerDoc format are device-, resolution- and platform-independent, making them fully portable across applications and various platforms (Windows, Mac, Linux). Additionally, the D-Type PowerDoc API is fully cross-platform, enabling applications that utilize it to be developed in the same cross-platform spirit. This embodies the principle of writing once and compiling on many different platforms without modifications.

What is Not D-Type PowerDoc?

D-Type PowerDoc is not a vector-based drawing application or a desktop publishing application. However, it is highly suitable as the rendering engine for these types of applications. This is because D-Type PowerDoc provides all the necessary infrastructure to build complex text and graphics often used in vector-based drawing programs and desktop publishing applications.

Additionally, D-Type PowerDoc is not a language or technology for describing the logical structure of documents. In other words, D-Type PowerDoc Engine is not designed to directly process structural content in documents, such as chapters, headings, subheadings, paragraphs, lists, data tables, or tables of contents. The representation and handling of structural content, when needed, is the responsibility of your application. Nevertheless, D-Type PowerDoc Engine provides all the infrastructure required to render complex structured documents quickly and efficiently, making it an excellent choice as the primary rendering engine in applications that process and manipulate this kind of content.

Key Features

D-Type PowerDoc Engine excels at rendering high-quality electronic documents and performs exceptionally well on all types of output devices, including monitors, LCD screens, and TV screens. The engine generates identical results, down to the pixel, on any platform your application runs on — whether it be Windows, macOS, Linux, iOS, Android or your own custom embedded system.

Consistent Object Oriented Rendering Model

D-Type PowerDoc unifies text, vector and bitmap graphics in its clean, intuitive and advanced object-oriented rendering model. With D-Type PowerDoc Engine, documents are constructed using PowerDoc objects. These objects serve as the building blocks of any document, regardless of its complexity.

Advanced Graphics Capabilities

D-Type PowerDoc Engine provides applications with advanced graphics capabilities, including high-quality, true color 24-bits per pixel (bpp) anti-aliased rendering with 8-bpp alpha channels, alpha-masking, blending and high-quality bitmap resampling filters. D-Type PowerDoc renders both vector and bitmap objects with equal efficiency.

Pause animationFIG 1 Alpha-masking and custom pattern fills
Pause animationFIG 2 A red bowling ball rendered by D-Type PowerDoc Engine. The ball’s surface is constructed using several radial gradients, while its outer glow and shadow are created with a single radial gradient each. The radiating rays in the background are generated using a single sweep gradient, masked by another radial gradient.

Advanced Text Layout and Rendering Capabilities

D-Type PowerDoc Engine offers text layout and text rendering capabilities that few other products can match. It supports bidirectional text with arbitrary nesting depths, complex scripts such as Arabic, Indic, or Thai, horizontal and vertical writing directions, inline objects that can be anchored anywhere in the text, advanced typographical properties, and remarkable text processing and rendering speed.

Live Text Editing

D-Type PowerDoc Engine provides built-in infrastructure for “live” text editing. This functionality enables D-Type PowerDoc applications to easily obtain precise information about the position and extent of each glyph rendered on the screen. Applications can also retrieve an index that maps each glyph back to the input text, along with other useful information regarding text layout operations. This capability allows for seamless support of highlighting selected text, implementing cursor movement, and conducting hit testing.

All of this functionality is facilitated through the use of Frames, which are special PowerDoc objects representing arbitrary quadrilaterals (4-point polygons) that enclose every glyph rendered on the screen. Frames are described in greater detail in the technical documentation provided with the evaluation libraries. The advantage of Frames is their reliability and flexibility, regardless of the complexity of the text — whether it is unidirectional or bidirectional, rendered horizontally or vertically, transformed, or displayed in perspective.

Affine and 2D Perspective Transformations

Affine and 2D perspective transformations (i.e. a full 3×3 transform matrix) can be applied to any PowerDoc object, whether it is text, bitmap or vector-based. This capability enables D-Type PowerDoc applications to easily transform objects (e.g. stretch, rotate, skew) and even render them in perspective. Best of all, the text stays fully editable, even when it’s transformed — giving applications the freedom to create dynamic and interactive layouts.

Pause animationFIG 3 2D perspective transformations

Basic Concepts

Key Specifications

Supported Objects

  • Lines, Polylines and Curves
  • Arcs
  • Rectangles
  • Circles and Ellipses
  • Slices
  • Custom Shapes and Polygons
  • Predefined Shapes and Polygons
  • Characters
  • Simple Text Lines
  • Simple Text Arcs
  • Simple Text Paths
  • Simple Text Areas
  • Simple Text Designs
  • Rich Text Lines
  • Rich Text Arcs
  • Rich Text Paths
  • Rich Text Areas
  • Rich Text Designs
  • Grids
  • Patterns
  • Gradients
  • Bitmap Images (with or without an alpha channel)
  • 3D Models
  • Form Controls
  • Groups
  • And more...

Advanced Features

  • Custom objects
  • Visual editor — see D-Type PowerDoc Editor for details
  • High quality rendering, anti-aliasing, sub-pixel precision, alpha channels
  • A full 3×3 transformation matrix can be applied to any PowerDoc object. This includes 2D perspective transformations and affine transformations such as scaling, skewing, rotation etc.
  • Masking and alpha-blending
  • Custom pattern fills
  • Support for G, GA, RGB and RGBA bitmap images
  • Extensive support for many different types of gradients NEW
  • High quality bitmap resampling filters. These filters can be applied even to bitmap images that are skewed, rotated or rendered in perspective.
  • Built-in infrastructure for live text editing. Text remains editable even when a 3×3 transformation matrix is applied to it.
  • Support for left-to-right scripts and right-to-left scripts such as Arabic or Hebrew
  • Support for both horizontal and vertical writing direction with either horizontal or vertical glyph orientation
  • Sixteen different types of text progression (Left-to-Right & Top-to-Bottom, Top-to-Bottom & Left-to-Right, Top-to-Bottom & Right-to-Left)
  • Advanced typography and shaping engine for complex scripts (ligatures, Arabic script)
  • Renders OpenType color fonts with COLR Version 0, COLR Version 1 and sbix tables with embedded PNG and/or JPEG images NEW
  • An advanced 32-bpp RGBA glyph caching system for both COLR Version 0 and COLR Version 1 OpenType Fonts NEW
  • Any object can be converted to a PowerGlyph and anchored in text. This makes it possible to embed pictures, tables, math formulas and other complex structures in text.
  • Font Embedding
  • Advanced text rendering algorithms for enhanced glyph positioning and text legibility
  • Built-in protection from infinite recursion and looping caused by incorrectly linked objects (cycles) and an API to test if a chain of linked objects is cyclic NEW
  • Full access to D-Type Font Engine and Rasterizer API
  • A supplementary C/C++ API for fully scalable forms, dialogs and user interfaces

Dependencies

Availability

Static or shared (dynamically linked) library for:

  • Microsoft Windows (all versions, both Intel and ARM based)
  • macOS (all versions, both Intel and ARM based)
  • Linux (all modern distributions, both Intel and ARM based)
  • BSD (FreeBSD, NetBSD, OpenBSD)
  • Raspberry Pi
  • Android
  • iOS
  • Xbox
  • Custom builds (32-bit and 64-bit architectures)

See Platforms and Portability for details.


Screenshots

Here are a few screenshots that show D-Type PowerDoc Engine in action.

FIG 4 True color RGB anti-aliased rendering with 8-bpp alpha-masking
FIG 5 Another alpha-masking example
FIG 6 Excellent quality thanks to D-Type Font Engine and Rasterizer
FIG 7 Text edges don’t have to be straight
FIG 8 International text and Unicode support
FIG 9 Complex scripts (Arabic, Thai, Hindi) in perspective. This text is selectable and editable.
FIG 10 Text with embedded objects in perspective. This text is selectable and editable.
FIG 11 Sixteen different types of text progression
FIG 12 Layered text...
FIG 13 ...and special text effects.
FIG 14 Mix complex bidirectional scripts in horizontal writing mode...
FIG 15 ...or vertical.
FIG 16 Text on a straight line and a path, positioned in three different ways.
FIG 17 Unicode scripts with ligatures
FIG 18 Examples of gradients
FIG 19 A library of high-quality bitmap icons
FIG 20 Special text effects using transformations and alpha-masking
FIG 21 A library of common vector shapes
FIG 22 A library of patterns
FIG 23 A library of text area types
FIG 24 A library of form controls
FIG 25 A scalable dialog box rendered by D-Type PowerDoc Engine
FIG 26 Draw text on a straight line or path, with or without transformations
FIG 27 Draw rich text on a custom defined path
FIG 28 Vertical text alignment
FIG 29 A simple 2D diagram
FIG 30 Render simple 2D illustrations...
FIG 31 ...or complex 3D objects.

Need More Information?

If you have a question about D-Type technology that you can’t find the answer to, please use our Obtain Additional Information form. We will publish your question along with our response within a few days and notify you once the answer is available on our website.

Additionally, you may find it helpful to explore the history of D-Type releases and review the D-Type News page.

Get Started Now Using D-Type

Available in binary, object, and/or source code format for any hardware or operating system environment, D-Type technology is an excellent choice for software developers seeking a rendering solution that is affordable, mature, reliable, secure, well-maintained, well-supported, super-fast and packed with features.

About D-Type Contact Us

Copyright © 1996-2025 D-Type Solutions. Last updated on August 22, 2025.