locked
How to pass ID2D1Geometry **geometries to CreateGeometryGroup

    Question

  • I create geometries in this way;
    	Microsoft::WRL::ComPtr<ID2D1EllipseGeometry> m_pEllipseGeometry1;
        Microsoft::WRL::ComPtr<ID2D1EllipseGeometry> m_pEllipseGeometry2;
        Microsoft::WRL::ComPtr<ID2D1EllipseGeometry> m_pEllipseGeometry3;
        Microsoft::WRL::ComPtr<ID2D1EllipseGeometry> m_pEllipseGeometry4;
    
            Microsoft::WRL::ComPtr<ID2D1Geometry> ppGeometries[] =
            {
                m_pEllipseGeometry1,
                m_pEllipseGeometry2,
                m_pEllipseGeometry3,
                m_pEllipseGeometry4
            };

    How to pass ppGeometries to CreateGeometryGroup function.

    NEU_ShieldEdge

    Wednesday, April 25, 2012 4:53 PM

Answers