Aspose.CSS  for C++

Aspose.CSS for C++

A native C++ build of Aspose.CSS’s CSS layout engine: loads real HTML, exposes a standards-conformant DOM, and performs CSS parsing, cascade and layout with a rendering API that converts to raster images and PDF.

  
 

The C++ build of Aspose.CSS is a standalone, native engine for CSS parsing, cascade and layout, built independently rather than carried over from any other platform's code. It loads real HTML, exposes a standards-conformant DOM, and converts to raster images and PDF via a dedicated rendering API, developed alongside .NET, Java, Python and TypeScript.

Advanced C++ CSS API Features

Encoding detection & tokenizing

Tree construction

Standards-conformant DOM

Serialization

URL handling

CSSOM

286-property CSS cascade

CSS parsing

Layout engine

Rendering API

Raster image conversion

PDF conversion

A Native C++ Layout Engine

The C++ build of Aspose.CSS runs its own layout engine, computing element positions and box dimensions after the cascade resolves styles. It is implemented natively for C++, not assembled on top of another platform's compiled core.

Raster Image Conversion in C++

Aspose.CSS for C++ converts the rendered output to raster images, one of the engine's two supported output formats alongside PDF, through the same native C++ build.

  

Aspose.CSS is also in development for the following platforms: