Ejemplo n.º 1
0
        /// <summary>
        /// Create a new heart geometry.
        /// </summary>
        /// <param name="resourceCreator"> The resource - creator. </param>
        /// <param name="spread"> The spread. </param>
        /// <returns> The product geometry. </returns>
        public static CanvasGeometry CreateHeart(ICanvasResourceCreator resourceCreator, ITransformerLTRB transformer, float spread)
        {
            Matrix3x2 oneMatrix = Transformer.FindHomography(Transformer.One, transformer);

            return(TransformerGeometry.CreateHeartCore(resourceCreator, spread, oneMatrix));
        }