Category:Subroutines - Converters
From Vectorlab
Standard subroutines for conversion.
These scripts do not work as stand-alone.
Each of the routines listed in the category VectorScript Subroutines is available under the MIT licencing, if not differently specified.
Using the routines you accept its terms.
To place a new article in this category, create a page with the inputbox below. Type the name of the page in the edit field:
Pages in this category
- Conv-Base to Decimal
- FUNCTION Base2DecConverter(temp_s: DYNARRAY OF CHAR; b: INTEGER): REAL;...(more)
- Conv-Color 256 to 65535
- FUNCTION C_65535(color: INTEGER): LONGINT;...(more)
- Conv-Color 65535 to 256
- FUNCTION U_c255(color: LONGINT): INTEGER;...(more)
- Conv-Color Hex-8 to RGB-16
- PROCEDURE C_Hex8ToRGB16(hexR, hexG, hexB: STRING; VAR r, g, b: LONGINT);...(more)
- Conv-Color RGB-16 to CMYK
- FUNCTION C_RGBtoCMYK(r, g, b: LONGINT; VAR c, m, y, k: REAL): STRING;...(more)
- Conv-Color RGB-16 to HSV
- PROCEDURE C_RGBtoHSV(r, g, b: LONGINT; VAR h, s, v: REAL);...(more)
- Conv-Color RGB-16 to Hex-8
- FUNCTION C_RGBtoHex(r, g, b: LONGINT; VAR hexR, hexG, hexB: STRING): STRING;...(more)
- Conv-Color RGB-16 to range 0-1
- PROCEDURE C_RGB_01(r, g, b: LONGINT; VAR r1, g1, b1: REAL);...(more)
- Conv-Color RGB-8 to Color Index
- FUNCTION C_RGBtoColorIndexF(r, g, b: LONGINT): INTEGER;...(more)
- Conv-Color to Gray
- PROCEDURE C_Gray(VAR r, g, b: LONGINT);...(more)
- Conv-Color to Sepia
- PROCEDURE C_Sepia(VAR r, g, b: LONGINT);...(more)
- Conv-Current Units to Page Millimeters
- FUNCTION U_CurrUnits2PageMM(val: REAL): REAL;...(more)
- Conv-Current Untis to Printed Page
- FUNCTION U_CurrUnits2PrintedPage(val: REAL; layH : HANDLE): REAL;...(more)
- Conv-Decimal to Base
- FUNCTION Dec2BaseConverter(n: LONGINT; b, countOfBits: INTEGER ): STRING;...(more)
- Conv-Decimal to Hex
- Converts a decimal value in range 0-255 (8-bit) into it's hexadecimal equivalent. Returns a string. There are two variants, one padding with zero, the other adding the pound sign (good for hex colors)....(more)
- Example •
- Conv-Hex to Decimal
- FUNCTION U_HexToDec(hex: STRING): INTEGER;...(more)
- Example •
- Conv-ISO Date
- FUNCTION ISOdate (theDate : STRING) : STRING;...(more)
- Conv-Old Fashioned Degrees
- FUNCTION OldFashionedDegrees (decimalAngle : REAL) : STRING;...(more)
- Conv-Page Inches to Current Units
- FUNCTION U_PageIn2CurrUnits(dim: REAL): REAL;...(more)
- Conv-Page Inches to Page Millimeters
- FUNCTION U_PageIn2PageMM(pageInches: REAL): REAL;...(more)
- Conv-Page Millimeters to Current Units
- FUNCTION U_MM2CurrUnits(pageMM: REAL): REAL;...(more)
- Conv-Page Millimeters to Page Inches
- FUNCTION U_PageMM2PageIn(pageMM: REAL): REAL;...(more)
- Conv-Page Millimeters to Points
- FUNCTION U_PageMM2point(pageMM: REAL): REAL;...(more)
- Conv-Roman Numerals
- FUNCTION RomanValue(inputValue : INTEGER): STRING;...(more)
- Conv-Time string converter
- FUNCTION U_TimeStringConverter(seconds : LONGINT): STRING;...(more)
- Unit Converter
- The Universal Unit Soldier converts areas and volumes to units specified by the user as General Display units....(more)
Articles in category "Subroutines - Converters"
There are 26 articles in this category.
