/lists.whatwg.org/pipermail/whatwg-whatwg.org/2014-March/042179.html

https://github.com/whatwg/whatwg.org · HTML · 70 lines · 58 code · 5 blank · 7 comment · 0 complexity · 6897d340488ed29fae3c84b461cb3a97 MD5 · raw file

  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  2. <HTML>
  3. <HEAD>
  4. <TITLE> [whatwg] new constructor method for Path2D
  5. </TITLE>
  6. <LINK REL="Index" HREF="index.html" >
  7. <LINK REL="made" HREF="mailto:whatwg%40lists.whatwg.org?Subject=Re%3A%20%5Bwhatwg%5D%20new%20constructor%20method%20for%20Path2D&In-Reply-To=%3Cf8fc18bb7a314f9b899f918ffd6de4f8%40BN1PR05MB325.namprd05.prod.outlook.com%3E">
  8. <META NAME="robots" CONTENT="index,nofollow">
  9. <style type="text/css">
  10. pre {
  11. white-space: pre-wrap; /* css-2.1, curent FF, Opera, Safari */
  12. }
  13. </style>
  14. <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
  15. <LINK REL="Previous" HREF="084451.html">
  16. <LINK REL="Next" HREF="084486.html">
  17. </HEAD>
  18. <BODY BGCOLOR="#ffffff">
  19. <H1>[whatwg] new constructor method for Path2D</H1>
  20. <!--htdig_noindex-->
  21. <B>Domenic Denicola</B>
  22. <A HREF="mailto:whatwg%40lists.whatwg.org?Subject=Re%3A%20%5Bwhatwg%5D%20new%20constructor%20method%20for%20Path2D&In-Reply-To=%3Cf8fc18bb7a314f9b899f918ffd6de4f8%40BN1PR05MB325.namprd05.prod.outlook.com%3E"
  23. TITLE="[whatwg] new constructor method for Path2D">domenic at domenicdenicola.com
  24. </A><BR>
  25. <I>Mon Mar 10 11:32:36 PDT 2014</I>
  26. <P><UL>
  27. <LI>Previous message: <A HREF="084451.html">[whatwg] new constructor method for Path2D
  28. </A></li>
  29. <LI>Next message: <A HREF="084486.html">[whatwg] Canvas and Paths
  30. </A></li>
  31. <LI> <B>Messages sorted by:</B>
  32. <a href="date.html#84452">[ date ]</a>
  33. <a href="thread.html#84452">[ thread ]</a>
  34. <a href="subject.html#84452">[ subject ]</a>
  35. <a href="author.html#84452">[ author ]</a>
  36. </LI>
  37. </UL>
  38. <HR>
  39. <!--/htdig_noindex-->
  40. <!--beginarticle-->
  41. <PRE>What about making the Path2D constructor a property of each context? E.g.
  42. var path = new myContext.Path2D(...);
  43. Each context would have a different constructor tied to it, allowing this kind of optimization.
  44. </PRE>
  45. <!--endarticle-->
  46. <!--htdig_noindex-->
  47. <HR>
  48. <P><UL>
  49. <!--threads-->
  50. <LI>Previous message: <A HREF="084451.html">[whatwg] new constructor method for Path2D
  51. </A></li>
  52. <LI>Next message: <A HREF="084486.html">[whatwg] Canvas and Paths
  53. </A></li>
  54. <LI> <B>Messages sorted by:</B>
  55. <a href="date.html#84452">[ date ]</a>
  56. <a href="thread.html#84452">[ thread ]</a>
  57. <a href="subject.html#84452">[ subject ]</a>
  58. <a href="author.html#84452">[ author ]</a>
  59. </LI>
  60. </UL>
  61. <hr>
  62. <a href="http://lists.whatwg.org/listinfo.cgi/whatwg-whatwg.org">More information about the whatwg
  63. mailing list</a><br>
  64. <!--/htdig_noindex-->
  65. </body></html>