www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

GeometricShapes.js (2247B)


      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 availble 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 
     27 MathJax.OutputJax["HTML-CSS"].defineImageData({
     28   "MathJax_Main": {
     29     0x25B3: [  // WHITE UP-POINTING TRIANGLE
     30       [6,5,0],[7,6,0],[9,8,0],[10,9,0],[12,10,0],[14,12,0],[17,14,0],[20,17,0],
     31       [23,20,0],[28,24,0],[33,29,0],[39,34,0],[46,40,0],[55,48,0]
     32     ],
     33     0x25B9: [  // WHITE RIGHT-POINTING SMALL TRIANGLE
     34       [4,5,1],[5,6,1],[5,6,1],[6,7,1],[7,8,1],[9,10,1],[10,11,1],[12,13,1],
     35       [14,15,1],[17,18,1],[20,21,1],[23,25,1],[28,29,1],[33,35,1]
     36     ],
     37     0x25BD: [  // WHITE DOWN-POINTING TRIANGLE
     38       [6,6,2],[7,6,2],[9,8,3],[10,9,3],[12,10,3],[14,13,4],[17,15,5],[20,17,5],
     39       [23,20,6],[28,25,8],[33,29,9],[39,35,11],[46,40,12],[55,48,15]
     40     ],
     41     0x25C3: [  // WHITE LEFT-POINTING SMALL TRIANGLE
     42       [4,5,1],[4,6,1],[5,6,1],[6,7,1],[7,8,1],[8,10,1],[9,11,1],[11,13,1],
     43       [14,15,1],[16,18,1],[19,21,1],[22,25,1],[27,29,1],[32,35,1]
     44     ],
     45     0x25EF: [  // LARGE CIRCLE
     46       [7,7,2],[8,8,2],[10,10,2],[11,12,3],[14,13,3],[16,16,4],[19,18,4],[22,22,5],
     47       [27,26,6],[32,32,8],[37,37,9],[45,44,10],[53,52,12],[63,63,15]
     48     ]
     49   }
     50 });
     51 
     52 MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].imgDir+"/Main/Regular"+
     53                           MathJax.OutputJax["HTML-CSS"].imgPacked+"/GeometricShapes.js");