GeometricShapes.js 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. /*************************************************************
  2. *
  3. * MathJax/fonts/HTML-CSS/TeX/png/Main/Regular/GeometricShapes.js
  4. *
  5. * Defines the image size data needed for the HTML-CSS OutputJax
  6. * to display mathematics using fallback images when the fonts
  7. * are not available to the client browser.
  8. *
  9. * ---------------------------------------------------------------------
  10. *
  11. * Copyright (c) 2009-2013 The MathJax Consortium
  12. *
  13. * Licensed under the Apache License, Version 2.0 (the "License");
  14. * you may not use this file except in compliance with the License.
  15. * You may obtain a copy of the
  16. *
  17. * http://www.apache.org/licenses/LICENSE-2.0
  18. *
  19. * Unless required by applicable law or agreed to in writing, software
  20. * distributed under the License is distributed on an "AS IS" BASIS,
  21. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  22. * See the License for the specific language governing permissions and
  23. * limitations under the License.
  24. *
  25. */
  26. MathJax.OutputJax["HTML-CSS"].defineImageData({
  27. "MathJax_Main": {
  28. 0x25B3: [ // WHITE UP-POINTING TRIANGLE
  29. [6,5,0],[7,6,0],[9,8,0],[10,9,0],[12,10,0],[14,12,0],[17,14,0],[20,17,0],
  30. [23,20,0],[28,24,0],[33,29,0],[39,34,0],[46,40,0],[55,48,0]
  31. ],
  32. 0x25B9: [ // WHITE RIGHT-POINTING SMALL TRIANGLE
  33. [4,5,1],[5,6,1],[5,6,1],[6,7,1],[7,8,1],[9,10,1],[10,11,1],[12,13,1],
  34. [14,15,1],[17,18,1],[20,21,1],[23,25,1],[28,29,1],[33,35,1]
  35. ],
  36. 0x25BD: [ // WHITE DOWN-POINTING TRIANGLE
  37. [6,6,2],[7,6,2],[9,8,3],[10,9,3],[12,10,3],[14,13,4],[17,15,5],[20,17,5],
  38. [23,20,6],[28,25,8],[33,29,9],[39,35,11],[46,40,12],[55,48,15]
  39. ],
  40. 0x25C3: [ // WHITE LEFT-POINTING SMALL TRIANGLE
  41. [4,5,1],[4,6,1],[5,6,1],[6,7,1],[7,8,1],[8,10,1],[9,11,1],[11,13,1],
  42. [14,15,1],[16,18,1],[19,21,1],[22,25,1],[27,29,1],[32,35,1]
  43. ],
  44. 0x25EF: [ // LARGE CIRCLE
  45. [7,7,2],[8,8,2],[10,10,2],[11,12,3],[14,13,3],[16,16,4],[19,18,4],[22,22,5],
  46. [27,26,6],[32,32,8],[37,37,9],[45,44,10],[53,52,12],[63,63,15]
  47. ]
  48. }
  49. });
  50. MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].imgDir+"/Main/Regular"+
  51. MathJax.OutputJax["HTML-CSS"].imgPacked+"/GeometricShapes.js");