TrecApps / AnaGame

0 stars 1 forks source link

Wrap DirectWrite in the VideoGraphics library #8

Open TrecApps opened 4 years ago

TrecApps commented 4 years ago

The VideoGraphics library currently wraps Direct2D and Direct3D (with 3D support needing vast improvement) but currently has the dependent Anaface library handle DirectWrite directly.

This should be corrected as one goal is to minimize the number of occasions where TrecComPointer appears in source code above the VideoGraphics library.

Ideally, there should be three Classes wrapping DirectWrite:

  1. Basic Text Object: base level text support (possibly manipulating the IDWriteTextFormat interface)
  2. Semi-Advanced Layout Text Object: Provides basic support for layout of the text
  3. Advanced Text Layout: Basically allows for word documents to be presented.

As of right now, there is no specific branch created for this issue, but the TImage branch should work.

TrecApps commented 3 years ago

New Text Rendering Classes were added to the VideoGraphics library, with the intention of adding background highlighter support. This was done in the _highlightwrite branch which can be used for this issue.