D-Type Grayscale Rasterizer

A portable and lightning-fast rasterizer for smooth anti-aliased vector graphics of stunning output quality.
D-Type Grayscale Rasterizer

Download Purchase

D-Type Grayscale Rasterizer represents the foundation of D-Type scalable rendering technology. This powerful and portable C/C++ library can quickly, easily and reliably convert arbitrary vector shapes (outlines) to high-quality anti-aliased bitmaps, while supporting any output size, resolution, device and CPU architecture. D-Type Grayscale Rasterizer has been extensively optimized for speed and, by default, makes no use of floating-point math. For the highest level of performance, D-Type Grayscale Rasterizer can utilize multiple worker threads to render concurrently. All these unique features, combined with many other state-of-the-art algorithms and advanced code, make D-Type Grayscale Rasterizer the world’s fastest software rasterizer.

D-Type Grayscale Rasterizer allows developers to easily construct and render shapes of any type, size or complexity. Two complementary methods are available:

Regardless of the shape construction method, D-Type Grayscale Rasterizer produces identical output, down to the pixel, on any platform your application targets — Windows, macOS, Linux, iOS, Android or perhaps your own custom embedded system. As with all other D-Type rendering engines, developers can draw to their own device independent memory surfaces, which include a variety of formats such as 8-bpp grayscale, 16-bpp, 24-bpp RGB and various 32-bpp RGBA formats. Additionally, applications can optionally apply various styles (color, transparency, shadows, blurring, embossing effects, patterns etc.) as the final step of the rasterization process.

D-Type Grayscale Rasterizer is known for its small footprint, unmatched speed, advanced architecture, and crisp, smooth, high-quality output. It is no surprise that both D-Type Font Engine and D-Type PowerDoc Engine internally rely on D-Type Grayscale Rasterizer to render fonts and complex scalable 2D shapes.

Features

Key Specifications

Grayscale Levels

  • Up to 256, fully customizable

Coordinates

  • Integer
  • Fractional
  • Float

Filling Method

  • Odd-Even rule
  • Nonzero Winding Number rule

Advanced Features

  • Dropout Prevention
  • Transparency
  • A plethora of style effects including blur, shadow, pattern fill, emboss, shading effects etc.

Dependencies

None

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.


Examples

Goodbye Pixels!

Although both illustrations represent two identical groups of objects rendered at the same resolution, the difference in quality is obvious. Compared to ordinary black-and-white rasterizers, D-Type Grayscale Rasterizer significantly increases the number of addressable points on the screen. The result is absolutely superior quality and consistently smooth edges.

FIG-1A D-Type Grayscale Rasterizer
FIG-1B Ordinary Rasterizer

Dropout Prevention

Thin lines and skinny polygons can be very difficult to render properly at low resolutions. However, with D-Type’s dropout prevention, you always get the best possible results (FIG-2A). In contrast, see the same object rendered by an ordinary rasterizer that lacks support for dropout prevention (FIG-2B).

FIG-2A D-Type Grayscale Rasterizer
FIG-2B Ordinary Rasterizer

Grayscale

Certain rasterizers can only render using a limited number of gray levels. For example, Adobe Photoshop uses only 16 levels. Compare that with D-Type’s 256 gray levels. The difference in quality is quite obvious, especially when rendering small text and other objects with fine detail.

FIG-3A D-Type Grayscale Rasterizer: 256 gray levels
FIG-3B Adobe Photoshop 7.0: Only 16 gray levels

Screenshots

Here are a few examples that show D-Type Grayscale Rasterizer in action.

FIG 4 Odd-Even and Nonzero Winding Number filling rules
FIG 5 Smooth anti-aliased output
FIG 6 Library of common 2D primitives
FIG 7 Render polygons filled or stroked with custom thickness
FIG 8 Ideal for simple 2D vector based graphics...
FIG 9 ...or complex scalable images
FIG 10 Render complex 2D graphics very quickly...
FIG 11 ...and use affine transformations to stretch, skew and/or rotate

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.