Requires: Direct2D.lg32
Returns a Single with the version number for the GB Direct2D library.
version! = D2Version()
version! | : Single |
The first Direct2D library supporting this function is version 1.1. If the function is missing you're using an older version of the Direct2D library.
$Library "Direct2D"
MsgBox "Direct2D version:" + Str(D2Version())
{Created by Sjouke Hamstra; Last updated: 12/03/2021 by James Gaite}