This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Issue |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* Copyright (c) 2015, 2019, Oracle and/or its affiliates. All rights reserved. */ | |
| /****************************************************************************** | |
| * | |
| * You may not use the identified files except in compliance with the Apache | |
| * License, Version 2.0 (the "License.") | |
| * | |
| * You may obtain a copy of the License at | |
| * http://www.apache.org/licenses/LICENSE-2.0. | |
| * |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| let fs = require('fs'); | |
| let pureImage = require('pureimage'); | |
| let scale = 4; | |
| let width = (32 * scale) + 64; | |
| let height = (17 * scale) + 64; | |
| let image = pureImage.make(width, height); | |
| let context = image.getContext('2d'); |