locked
How to ID2D1Factory1::RegisterEffectFromString

    Question

  • ID2D1Factory1::RegisterEffectFromString, where can I find the instruction of  parameter propertyXml ?

    How to declare a integer Property ?

                <Property name='Distance' type='int'>
                    <Property name='DisplayName' type='string' value='Distance'/>
                    <Property name='Min' type='int' value='0' />
                    <Property name='Max' type='int' value='100' />
                    <Property name='Default' type='int' value='3' />
                </Property>

    I got E_INVALIDARG One or more arguments are invalid. I tried  "int" , 'integer' .

    Thanks!

     

    • Edited by Raptor K Sunday, July 22, 2012 3:40 PM
    Sunday, July 22, 2012 3:39 PM

Answers