nuget server logo nuget api documents
↑

API Docs / Microsoft.VisualBasic.Drawing.DirectX / D2D1

D2D1

Full name Microsoft.VisualBasic.Drawing.DirectX.D2D1 Assembly Microsoft.VisualBasic.Drawing.DirectX Members 1

The Direct2D (d2d1.dll) interop declarations.

00 Remarks

Direct2D is the real 2d drawing engine in this project: the polygon, rectangle, ellipse, arc, bezier, text and image drawing are all rasterized on the gpu through the ID2D1RenderTarget interface.

NOTE: every com interface here is declared as a flat interface, the methods of the native base interface are repeated in the derived interface declaration. the clr resolves the interface pointer of a derived interface through QueryInterface, and a com interface that inherits another com interface can not be resolved correctly in the interop stub, so the vtable of each interface is written out in full here to keep the slot layout explicit and safe.

01 Syntax

Microsoft.VisualBasic.Drawing.DirectX.D2D1

02 Methods

NameOverloadsSummary
D2D1CreateFactory 1 create the direct2d factory object

03 Members

method D2D1CreateFactory #
D2D1CreateFactory(UInt32, Guid, D2D1_FACTORY_OPTIONS, ID2D1Factory)

create the direct2d factory object