Home
last modified time | relevance | path

Searched refs:convert (Results 1 – 25 of 613) sorted by relevance

12345678910>>...25

/plugin/asciidocjs/node_modules/color-convert/
DREADME.md1 # color-convert
3 … Status](https://travis-ci.org/Qix-/color-convert.svg?branch=master)](https://travis-ci.org/Qix-/c…
5 Color-convert is a color conversion library for JavaScript and node.
9 var convert = require('color-convert');
11 convert.rgb.hsl(140, 200, 100); // [96, 48, 59]
12 convert.keyword.rgb('blue'); // [0, 0, 255]
14 var rgbChannels = convert.rgb.channels; // 3
15 var cmykChannels = convert.cmyk.channels; // 4
16 var ansiChannels = convert.ansi16.channels; // 1
22 $ npm install color-convert
[all …]
Dconversions.js14 const convert = { variable
32 module.exports = convert;
35 for (const model of Object.keys(convert)) {
36 if (!('channels' in convert[model])) {
40 if (!('labels' in convert[model])) {
44 if (convert[model].labels.length !== convert[model].channels) {
48 const {channels, labels} = convert[model];
49 delete convert[model].channels;
50 delete convert[model].labels;
51 Object.defineProperty(convert[model], 'channels', {value: channels});
[all …]
DCHANGELOG.md5 ([#27](https://github.com/Qix-/color-convert/pull/27))
7 ([#27](https://github.com/Qix-/color-convert/pull/27))
8 - Removed: `convert()` class
9 ([#27](https://github.com/Qix-/color-convert/pull/27))
11 ([#27](https://github.com/Qix-/color-convert/pull/27))
13 ([#27](https://github.com/Qix-/color-convert/pull/27))
15 ([#27](https://github.com/Qix-/color-convert/pull/27))
45 ([#18](https://github.com/harthur/color-convert/pull/18))
50 ([#15](https://github.com/harthur/color-convert/issues/15))
Dindex.js4 const convert = {}; constant
65 convert[fromModel] = {};
67 Object.defineProperty(convert[fromModel], 'channels', {value: conversions[fromModel].channels});
68 Object.defineProperty(convert[fromModel], 'labels', {value: conversions[fromModel].labels});
76 convert[fromModel][toModel] = wrapRounded(fn);
77 convert[fromModel][toModel].raw = wrapRaw(fn);
81 module.exports = convert;
/plugin/webdavclient/vendor/sabre/vobject/tests/VObject/
DVCardConverterTest.php41 $vcard = $vcard->convert(Document::VCARD40);
79 $vcard = $vcard->convert(Document::VCARD40);
118 $vcard = $vcard->convert(Document::VCARD40);
158 $vcard = $vcard->convert(Document::VCARD30);
199 $vcard = $vcard->convert(Document::VCARD30);
228 $vcard = $vcard->convert(Document::VCARD40);
245 $vcard = $vcard->convert(Document::VCARD30);
274 $vcard = $vcard->convert(Document::VCARD40);
291 $vcard = $vcard->convert(Document::VCARD30);
323 $vcard->convert(Document::VCARD40);
[all …]
/plugin/icalevents/vendor/sabre/vobject/tests/VObject/
DVCardConverterTest.php43 $vcard = $vcard->convert(Document::VCARD40);
81 $vcard = $vcard->convert(Document::VCARD40);
120 $vcard = $vcard->convert(Document::VCARD40);
160 $vcard = $vcard->convert(Document::VCARD30);
201 $vcard = $vcard->convert(Document::VCARD30);
230 $vcard = $vcard->convert(Document::VCARD40);
247 $vcard = $vcard->convert(Document::VCARD30);
276 $vcard = $vcard->convert(Document::VCARD40);
293 $vcard = $vcard->convert(Document::VCARD30);
325 $vcard->convert(Document::VCARD40);
[all …]
/plugin/davcal/vendor/sabre/vobject/tests/VObject/
H A DVCardConverterTest.php41 $vcard = $vcard->convert(Document::VCARD40);
79 $vcard = $vcard->convert(Document::VCARD40);
118 $vcard = $vcard->convert(Document::VCARD40);
158 $vcard = $vcard->convert(Document::VCARD30);
199 $vcard = $vcard->convert(Document::VCARD30);
228 $vcard = $vcard->convert(Document::VCARD40);
245 $vcard = $vcard->convert(Document::VCARD30);
274 $vcard = $vcard->convert(Document::VCARD40);
291 $vcard = $vcard->convert(Document::VCARD30);
323 $vcard->convert(Document::VCARD40);
[all …]
/plugin/davcard/vendor/sabre/vobject/tests/VObject/
DVCardConverterTest.php41 $vcard = $vcard->convert(Document::VCARD40);
79 $vcard = $vcard->convert(Document::VCARD40);
118 $vcard = $vcard->convert(Document::VCARD40);
158 $vcard = $vcard->convert(Document::VCARD30);
199 $vcard = $vcard->convert(Document::VCARD30);
228 $vcard = $vcard->convert(Document::VCARD40);
245 $vcard = $vcard->convert(Document::VCARD30);
274 $vcard = $vcard->convert(Document::VCARD40);
291 $vcard = $vcard->convert(Document::VCARD30);
323 $vcard->convert(Document::VCARD40);
[all …]
/plugin/dw2pdf/vendor/mpdf/mpdf/src/Tag/
DImg.php53 $objattr['margin_top'] = $this->sizeConverter->convert(
61 $objattr['margin_bottom'] = $this->sizeConverter->convert(
69 $objattr['margin_left'] = $this->sizeConverter->convert(
77 $objattr['margin_right'] = $this->sizeConverter->convert(
86 $objattr['padding_top'] = $this->sizeConverter->convert(
94 $objattr['padding_bottom'] = $this->sizeConverter->convert(
102 $objattr['padding_left'] = $this->sizeConverter->convert(
110 $objattr['padding_right'] = $this->sizeConverter->convert(
137 $w = $this->sizeConverter->convert(
144 $w = $this->sizeConverter->convert(
[all …]
DTextCircle.php41 $objattr['r'] = $this->sizeConverter->convert(
85 …$mmsize = $this->sizeConverter->convert($properties['FONT-SIZE'], $this->mpdf->default_font_size /…
99 …$objattr['color'] = $this->colorConverter->convert($properties['COLOR'], $this->mpdf->PDFAXwarning…
121 $objattr['margin_top'] = $this->sizeConverter->convert(
129 $objattr['margin_bottom'] = $this->sizeConverter->convert(
137 $objattr['margin_left'] = $this->sizeConverter->convert(
145 $objattr['margin_right'] = $this->sizeConverter->convert(
154 $objattr['padding_top'] = $this->sizeConverter->convert(
162 $objattr['padding_bottom'] = $this->sizeConverter->convert(
170 $objattr['padding_left'] = $this->sizeConverter->convert(
[all …]
DBarCode.php88 $objattr['margin_top'] = $this->sizeConverter->convert(
96 $objattr['margin_bottom'] = $this->sizeConverter->convert(
104 $objattr['margin_left'] = $this->sizeConverter->convert(
112 $objattr['margin_right'] = $this->sizeConverter->convert(
121 $objattr['padding_top'] = $this->sizeConverter->convert(
129 $objattr['padding_bottom'] = $this->sizeConverter->convert(
137 $objattr['padding_left'] = $this->sizeConverter->convert(
145 $objattr['padding_right'] = $this->sizeConverter->convert(
170 …$objattr['color'] = $this->colorConverter->convert($properties['COLOR'], $this->mpdf->PDFAXwarning…
175 …$objattr['bgcolor'] = $this->colorConverter->convert($properties['BACKGROUND-COLOR'], $this->mpdf-…
DHr.php36 $objattr['margin_top'] = $this->sizeConverter->convert(
44 $objattr['margin_bottom'] = $this->sizeConverter->convert(
52 …$objattr['width'] = $this->sizeConverter->convert($properties['WIDTH'], $this->mpdf->blk[$this->mp…
54 …$objattr['width'] = $this->sizeConverter->convert($attr['WIDTH'], $this->mpdf->blk[$this->mpdf->bl…
73 …$objattr['color'] = $this->colorConverter->convert($properties['COLOR'], $this->mpdf->PDFAXwarning…
75 $objattr['color'] = $this->colorConverter->convert($attr['COLOR'], $this->mpdf->PDFAXwarnings);
78 $objattr['linewidth'] = $this->sizeConverter->convert(
DPageFooter.php49 $p['L']['font-size'] = $this->sizeConverter->convert($properties['FONT-SIZE']) * Mpdf::SCALE;
50 $p['C']['font-size'] = $this->sizeConverter->convert($properties['FONT-SIZE']) * Mpdf::SCALE;
51 $p['R']['font-size'] = $this->sizeConverter->convert($properties['FONT-SIZE']) * Mpdf::SCALE;
79 $p['L']['font-size'] = $this->sizeConverter->convert($properties['FONT-SIZE']) * Mpdf::SCALE;
101 $p['C']['font-size'] = $this->sizeConverter->convert($properties['FONT-SIZE']) * Mpdf::SCALE;
123 $p['R']['font-size'] = $this->sizeConverter->convert($properties['FONT-SIZE']) * Mpdf::SCALE;
DTextArea.php68 …$mmsize = $this->sizeConverter->convert($properties['FONT-SIZE'], $this->mpdf->default_font_size /…
72 …$objattr['color'] = $this->colorConverter->convert($properties['COLOR'], $this->mpdf->PDFAXwarning…
86 …$objattr['border-col'] = $this->colorConverter->convert($properties['BORDER-TOP-COLOR'], $this->mp…
89 …$objattr['background-col'] = $this->colorConverter->convert($properties['BACKGROUND-COLOR'], $this…
97 $w = $this->sizeConverter->convert(
105 $h = $this->sizeConverter->convert(
DFormFeed.php16 $newformat = [$this->sizeConverter->convert($prop[0]), $this->sizeConverter->convert($prop[1])];
33 …$mgr = $this->sizeConverter->convert($attr['MARGIN-RIGHT'], $this->mpdf->w, $this->mpdf->FontSize,…
36 …$mgl = $this->sizeConverter->convert($attr['MARGIN-LEFT'], $this->mpdf->w, $this->mpdf->FontSize, …
39 …$mgt = $this->sizeConverter->convert($attr['MARGIN-TOP'], $this->mpdf->w, $this->mpdf->FontSize, f…
42 …$mgb = $this->sizeConverter->convert($attr['MARGIN-BOTTOM'], $this->mpdf->w, $this->mpdf->FontSize…
45 …$mgh = $this->sizeConverter->convert($attr['MARGIN-HEADER'], $this->mpdf->w, $this->mpdf->FontSize…
48 …$mgf = $this->sizeConverter->convert($attr['MARGIN-FOOTER'], $this->mpdf->w, $this->mpdf->FontSize…
DMeter.php100 $objattr['margin_top'] = $this->sizeConverter->convert(
108 $objattr['margin_bottom'] = $this->sizeConverter->convert(
116 $objattr['margin_left'] = $this->sizeConverter->convert(
124 $objattr['margin_right'] = $this->sizeConverter->convert(
133 $objattr['padding_top'] = $this->sizeConverter->convert(
141 $objattr['padding_bottom'] = $this->sizeConverter->convert(
149 $objattr['padding_left'] = $this->sizeConverter->convert(
157 $objattr['padding_right'] = $this->sizeConverter->convert(
184 $w = $this->sizeConverter->convert(
191 …$w = $this->sizeConverter->convert($attr['WIDTH'], $this->mpdf->blk[$this->mpdf->blklvl]['inner_wi…
[all …]
DInput.php74 …$mmsize = $this->sizeConverter->convert($properties['FONT-SIZE'], $this->mpdf->default_font_size /…
78 …$objattr['color'] = $this->colorConverter->convert($properties['COLOR'], $this->mpdf->PDFAXwarning…
89 …$objattr['border-col'] = $this->colorConverter->convert($properties['BORDER-TOP-COLOR'], $this->mp…
92 …$objattr['background-col'] = $this->colorConverter->convert($properties['BACKGROUND-COLOR'], $this…
104 …$w = $this->sizeConverter->convert($properties['WIDTH'], $this->mpdf->blk[$this->mpdf->blklvl]['in…
151 $objattr['margin_top'] = $this->sizeConverter->convert(
159 $objattr['margin_bottom'] = $this->sizeConverter->convert(
167 $objattr['margin_left'] = $this->sizeConverter->convert(
175 $objattr['margin_right'] = $this->sizeConverter->convert(
208 …$w = $this->sizeConverter->convert($properties['WIDTH'], $this->mpdf->blk[$this->mpdf->blklvl]['in…
[all …]
/plugin/sequencediagram/bower_components/lodash/lib/fp/template/modules/
Dcategory.jst1 var convert = require('./convert');
2 module.exports = convert(require('../<%= name %>'));
Dmodule.jst1 var convert = require('./convert'),
2 func = convert('<%= name %>', require('../<%= _.get(mapping.remap, name, name) %>'));
Dthru.jst1 var convert = require('./convert'),
2 …func = convert('<%= name %>', require('../<%= _.get(mapping.remap, name, name) %>'), require('./_f…
/plugin/asciidocjs/node_modules/lodash/
D_equalByTag.js82 var convert = mapToArray;
86 convert || (convert = setToArray);
100 … var result = equalArrays(convert(object), convert(other), bitmask, customizer, equalFunc, stack);
/plugin/snap/
Dsnap.sh29 convert -resize x$7 $2 $2;
34 convert -resize $6 $2 $2;
40 convert -crop $6x$7+0+0 $2 $2
/plugin/docsearch/lang/en/
Dconfmanager_description.txt5 DocSearch needs external tools to convert a specific file type to plain text.
6 Place the file extension in the Key column and the convert tool in the right.
9 DocSearch needs to tell the convert tool the path of the file to convert and the target to place th…
/plugin/judge/helper/
Djdatetime.class.php51 private static $convert = true; //Convert numbers to Farsi characters in utf-8 variable in jDateTime
69 public function __construct($convert = null, $jalali = null, $timezone = null) argument
72 if ( $convert !== null ) self::$convert = (bool) $convert;
93 …public static function date($format, $stamp = false, $convert = null, $jalali = null, $timezone = … argument
235 ($convert === false ||
236 ($convert === null && self::$convert === false) ||
284 …public static function strftime($format, $stamp = false, $convert = null, $jalali = null, $timezon… argument
310 return self::date($format, $stamp, $convert, $jalali, $timezone);
/plugin/asciidocjs/node_modules/@asciidoctor/cli/lib/
Dinvoker.js74 Invoker.convert(asciidoctor.convert, data, instanceOptions)
77 Invoker.convert(asciidoctor.convert, data, options)
81 static convert (processorFn, input, options) { method in Invoker
100 Invoker.convert(asciidoctor.convertFile, file, options)

12345678910>>...25