D-Type Rendering Technology

Zoom Out Tool (-) Zoom In Tool (+)

Standard Suite

Text Suite

Power Suite

Apps & Tools

Web Plugins

Standard Suite

D-Type Grayscale Rasterizer
The rendering powerhouse for perfectly smooth output

Whether you are creating a simple paint program or a complex application for vector graphics animation, this powerful rasterizing library is for you. Using a very simple set of instructions, create output primitives with smooth, anti-aliased edges in no time!

D-Type Engine Release 6.0
Release 6.0
See What's New


D-Type Grayscale Rasterizer represents the foundation of D-Type Engine. Its function is to convert vector shapes that are described using straight or curved segments to high quality anti-aliased bitmaps in a device independent manner. D-Type Grayscale Rasterizer is extremely optimized for speed and by default makes no use of the floating-point math. This, combined with many other state-of-the-art algorithms, makes D-Type Grayscale Rasterizer the world's fastest software rasterizer.

Although D-Type Grayscale Rasterizer allows developers to construct and render shapes of any type or complexity, the engine also ships with a helper library to easily draw most common 2D primitives. This includes lines, Bézier and B-spline curves, arcs, circles, ellipses, rectangles, polygons etc. Lines, curves and arcs can be drawn solid or dashed using a custom thickness, while their ends can be flat, rounded (inside or outside) or marked using special symbols (dots, arrows etc). Also, the library allows developers to apply an affine transformation matrix to any 2D primitive. This makes it possible to draw stretched, skewed and/or rotated objects and build complex images.

To draw a common 2D primitive, it's only necessary to call a function. Alternatively, to draw a user-defined shape, one needs to define its segments and then call D-Type Grayscale Rasterizer's rendering function directly. It's fast and easy. The same code produces exactly the same result, down to the pixel, on any platform your application will run on — whether this is Windows, Mac OS X, Linux, iOS, Android or your own custom embedded system.

As with all other D-Type Engine rendering functions, developers can draw to their own device independent memory surfaces (this includes a plethora of formats including 8-bpp grayscale, 16-bpp, 24-bpp RGB and various 32-bpp RGBA formats) or Windows compatible Device Context surfaces. Also, developers can apply various styles (color, transparency, shadows, blurring, embossing effects, patterns etc.) during the rasterization process.

Small footprint, unmatched speed, advanced architecture and crisp, smooth, high-quality rendering is what D-Type Grayscale Rasterizer is known for. It should come as no surprise that both D-Type Font Engine and D-Type PowerDoc Engine internally rely on D-Type Grayscale Rasterizer to render fonts and other complex scalable 2D objects.



Grayscale Levels
  • Up to 256, fully customizable
  • Float, Integer, Fractional
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.
  • Windows 95, 98, NT, 2000, XP, Vista, 7, 8/8.1, 10
  • Linux
  • Mac OS X
  • iOS
  • Android
  • Windows Phone
  • Windows RT
  • XBox
  • Raspberry Pi
  • Zealz GK802 Mini PC
  • Custom builds for virtually any other platform (32-bit and/or 64-bit)

Example 1

Goodbye Pixels!

To see D-Type Grayscale Rasterizer in action, compare the following two illustrations:

D-Type Rasterizer
D-Type Grayscale Rasterizer

Ordinary Rasterizer
Ordinary Rasterizer

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

Example 2

Dropout Prevention

D-Type Grayscale Rasterizer
D-Type Grayscale Rasterizer

Ordinary Rasterizer
Ordinary Rasterizer

Thin lines and skinny polygons are very difficult to render properly at low resolutions. But with D-Type's dropout prevention you always get the best possible results (left). See the same object rendered by an ordinary rasterizer that lacks support for dropout prevention (right).

Example 3


D-Type Grayscale Rasterizer
D-Type Grayscale Rasterizer: 256 gray levels

Adobe Photoshop 7.0 Rasterizer
Adobe Photoshop 7.0: Only 16 gray levels

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.

Screenshots That Demonstrate Rendering Capabilities

Click the thumbnail to see a larger version of the image.

Library of common shapes
Library of common 2D primitives

Render polygons filled or stroked with custom thickness
Render polygons filled or stroked
with custom thickness

Ideal for simple 2D vector based graphics...
Ideal for simple 2D vector based graphics...

...or complex scalable images
...or complex scalable images

Render complex 2D graphics very quickly...
Render complex 2D graphics very quickly...

...and use affine transforms to stretch, skew and/or rotate
...and use affine transformations to stretch,
skew and/or rotate