#include "..\..\GraphicsComposition\IncludeForward.h"
#include <d2d1_1.h>
#include <dwrite_1.h>
DEFINE_GUI_GRAPHICS_ELEMENT(GuiDirect2DElement, L"Direct2DElement")
friend
class
<
>;
public
:
static
() {
static
= -
1
;
if
(
elementType
== -
1
) {
auto
=
GetGuiGraphicsResourceManager
();
do
{
if
(!(
manager
!=
nullptr
))
throw
(
L"SetGuiGraphicsResourceManager must be called before registering element types."
);}
while
(
0
);
elementType
=
manager
->
(
(
L"Direct2DElement"
,
false
)); }
return
elementType
; }
CreateDirect2DCharMeasurer