Skip to content

ashod-apakian/aajs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

v2.89

virtualLogNew (numlines)
virtualLogDelete (obj)
virtualLogGet (obj,line)
virtualLogSet (obj,line,lines,txt)
handleObjInit ()
handleDefine (type,slots)
handleCheck (handef,handle)
handleReset (handef,handle)
handleGet (handef,index)
handleUse (handef,index)
handleRemove (handef,handle)
handleNext (handef,brute)
handleText (handle)
handleGlobalDump ()
handleGlobalKill ()
handleCommentSet (handle,comment)
handleCommentGet (handle)
debugObjInit ()
debugSpeedTest ()
debugLineNumber ()
debugFunctionName ()
debugLogFunctionLine ()
debugStackUsage ()
debugStackGet (index)
debugAlert (txt)
debugPrompt (text,def)
debugConfirm (text)
debugLevelSet (level)
debugClear (lines)
debugGroup (...params)
debugGroupCollapsed (...params)
debugGroupEnd (...params)
debugLog (...params)
debugLoggerLevelSet (lev)
debugLogger (lev,...params)
debugExpandedLog (item,maxdepth=100,depth=0)
debugFx (fx,txt)
debugMemoryUsage ()
debugGarbageGenerate (amount)
debugGarbageClean ()
promiseObjInit ()
promiseObjectNew ()
promiseCreate (nativepromise,etc)
promiseDestroy (handle)
promiseGet (handle)
promiseStatus (handle)
timerObjInit ()
timerTikNow (useperf)
timerTikElapsed (useperf,tik)
timerMsRunning ()
timerMsElapsed (ms)
timerMicroRunning ()
timerMicroElapsed (ms)
timerTimeoutSet (to)
timerTimeoutReset (tmo,newto)
timerTimeoutTest (tmo,doreset)
timerRaterInit ()
timerRaterUpdate (obj,hits)
timerUnixGet (how)
timerMsToDuration (ms)
numObjInit ()
numRandFloat (min,max,decimals)
numRandValue (min,max)
numRand (max)
numFixed (numb,places)
numPercentOf (numb,tot)
numPercentIs (numb,tot)
numPercentIsOf (numb,tota,totb)
numPad(numb,width,z)
numIntToHex(intg)
numIntToBinary (intg)
numPrecision(numb,precision)
numRound(numb)
numRoundPlaces (numb,places)
numFloatFormat (numb,wholewid,pad,isps,fracwid)
numIsWhole (numb)
numBitGet(numb,bit)
numBitSet(numb,bit)
numBitClear(numb,bit)
numBitToggle(numb,bit)
numDegreesToRadian (deg)
numRadianToDegrees (rad)
numDistanceGet (x1,y1,x2,y2)
numAngleGet (x1,y1,x2,y2)
numVelocityGet (x,y,delta)
numRotate (x,y,cx,cy,deg)
numClamp (numb,min,max)
dataObjInit ()
dataArrayCreate (count,val)
dataArray2DCreate (rows)
dataObjectApxSize (object)
dataGlobalExists (varname)
dataGlobalPropertiesGet (prefix)
dataObjectIsEmpty (obj)
dataObjectIsUndefined (obj)
dataObjectLength (obj)
dataValueExists (val)
dataValueIsEmpty (val)
dataValueIsNotEmpty (val)
dataArrayVargs ()
dataArrayUniqueCount (arr)
dataArrayRotate (arr,left)
dataArrayInsert (arr,index,val)
dataArrayRemove (arr,index)
dataFloat32ArrayToUint8Array (array)
dataUint8ArrayToFloat32Array (array)
dataFloat32ArrayToInt16Array (array)
dataInt16ArrayToFloat32Array (array)
dataInt16ArrayToUint8Array (array)
dataUint8ArrayToInt16Array (array)
dataToJson (data)
dataToString (data)
dataJsonParse (data)
stringObjInit ()
stringHancock (id,first,last,suf)
stringIndexOf (cs,str,mat,from,rev)
stringLastCharGet (str)
stringLastCharTrim (str)
stringFirstCharGet (str)
stringFirstCharTrim (str)
stringInsert (str,offset,val)
stringCharSet (str,offset,ch)
stringDelete (str,offset,len)
stringFill (len,ch)
stringReverse (str)
stringContainsDigits (str)
stringSha256 (str)
stringUuid (usedash)
stringBase64FromUint8 (buffer)
stringBase64ToUint8 (str)
stringSplitter (str,by)
stringToLines (str)
stringTime (unixtimestamp)
stringParms (name)
stringBytesToSize (bytes,frac)
stringCompare (str1,str2,cs)
stringRandom (len,lcs,ucs,num)
stringHtmlDecode (str)
envObjInit ()
envScriptInfoGet ()
envInfoGet ()
envBrowserArg (key)
envBrowserArgByKey (key)
envBrowserArgByIndex (index)
envEventProc (event)
envDisplayGet ()
envDisplayCompareText (disp,lastdisp)
envDisplayCompare (disp,lastdisp)
envZoomFix()
envTitleSet (title)
envTitleGet ()
envReload (forced,ms)
envGoto (ms,url)
envFavIconGet ()
envFavIconSet (url)
envManifestInit (id)
envManifestSet (obj,key,val)
envManifestApply (obj)
envCpuMonitorBegin (tries)
envCpuMonitorGet ()
zenvManifestApply (obj)
envClipboardWrite (txt)
envClipboardRead ()
queueObjInit ()
queueCreate ()
queueDestroy (handle)
queueGet (handle)
queueWrite (handle,data)
queueRead (handle)
queuePeek (handle,ofs)
queueDiscard (handle)
queuePush (handle,data)
queuePop (handle)
queueStatus (handle)
pointerIsDeviceTouch ()
pointerObjInit ()
pointerStart ()
touchOnEvent (name,ev)
pointerOnEvent (name,ev)
pointerPeek (ofs)
pointerRead ()
pointerStatus ()
keyboardObjInit ()
keyboardStart ()
keyboardOnEvent (name,ev)
keyboardPeek (ofs)
keyboardRead ()
keyboardStatus ()
keyboardMessageSet (name,key,ascii,ak,ck,sk)
storageObjInit ()
storageCreate (issesh)
storageDestroy (handle)
storageRevise (revkey,revval)
storageGet (handle)
storagePurge (handle)
storageRead (handle,key)
storageWrite (handle,key,val)
storageRemove (handle,key)
storageTuple (handle,index)
storageStatus (handle)
storageQuickRead (issesh,key)
storageQuickWrite (issesh,key,val)
storageQuickRemove (issesh,key)
storageQuickCount (issesh)
guiObjInit ()
guiCreate (type,id,zindex)
guiDestroy (handle)
guiGet (handle,what)
guiGroupGet (handle)
guiGroupGetById (id)
guiIdFind (id)
guiExpect       (handle,disp,retina,opacity,dow,doh,dorect)
guiExpectCheck  (handle)
guiParentAdd    (handle,nhandle)
guiParentRemove (handle,nhandle)
guiSizeSet (handle,wid,hit)
guiVideoSizeSet (handle,wid,hit)
guiCursorSet (handle,value)
guiCssAreaSet (handle,x,y,w,h)
guiCssAreaGet (handle)
guiCssRectGet (handle)
guiCssCordSet (handle,x,y)
guiCssSizeSet (handle,w,h)
guiRetinaSet (handle,x,y,w,h,dw,dh,retina)
guiElementFromPoint (x,y,minzi,maxzi)
guiLineHeightGet (handle,lines)
guiPixelHeightGet (handle,pixels)
guiCanvasClear (handle,rect)
guiCanvasReset (handle)
guiCanvasSave (handle)
guiCanvasRestore (handle)
guiCanvasCompositeOperationFromIndex (index)
guiCanvasCompositeOperationToIndex (oper)
guiCanvasCompositeOperationSet (handle,index)
guiCanvasCompositeOperationGet (handle)
guiCanvasPathBegin (handle)
guiCanvasPathEnd (handle)
guiCanvasClip (handle)
guiCanvasRotate (handle,horz,vert,angle)
guiCanvasSmoothingSet (handle,state,offx,offy,blur,color)
guiCanvasAlphaSet (handle,alpha)
guiUni (code)
guiCanvasFontMeasure (handle,fnt,txt)
guiCanvasFontMeasureAll (handle,fnt,txt)
guiCanvasTextMeasure (handle,txt)
guiCanvasTextMeasureAll (handle,txt)
guiCanvasFontMeasureEach (handle,fnt,txt)
guiCanvasImageGet (handle,x,y,w,h)
guiCanvasImagePut (handle,x,y,sx,sy,sw,sh,img)
guiCanvasImageDraw (handle,x,y,w,h,dx,dy,dw,dh,img)
guiCanvasScroll (handle,x,y,w,h,sx,sy)
guiCanvasBorder (handle,x,y,w,h,blw,bcl)
guiCanvasFill (handle,x,y,w,h,fcl)
guiCanvasFillBorder (handle,x,y,w,h,blw,bfl,fcl)
guiCanvasFillFull (handle,fcl)
guiCheckeredFill (handle,x,y,w,h,sz,fcl1,fcl2)
guiCanvasEllipseBorder (handle,x,y,rx,ry,rot,sa,ea,iscc,blw,bcl)
guiCanvasEllipseFill (handle,x,y,rx,ry,rot,sa,ea,iscc,fcl)
guiCanvasArcBorder (handle,x,y,r,sa,ea,blw,bcl)
guiCanvasArcFill (handle,x,y,r,sa,ea,fcl)
guiCanvasLine (handle,x1,y1,x2,y2,lw,cl)
guiAngleBetweenTwoCords (x1,y1,x2,y2)
guiEllipseCordGet (x,y,rx,ry,angle)
guiCanvasArrow (handle,x1,y1,arsz,angle,p0,p1,p2,p3,lw,lc)
guiCanvasArrowLine (handle,x1,y1,x2,y2,arsz,p0,p1,p2,p3,lw,lc)
guiCanvasFontMatch (handle,weight,family,doheight,widhit,req)
guiCanvasFontSet (handle,font)
guiCanvasText (handle,x,y,slw,sc,fc,font,text)
guiCanvasRounded (handle,x,y,w,h,radius,lw,bc,fc)
guiCanvasRounded2 (handle,x,y,w,h,radius,lw,bc,fc)
guiCanvasTriangle (handle,x1,y1,x2,y2,x3,y3,lw,bc,fc)
guiRadioButton (handle,x,y,w,h,state,blw,bcl,fcl,scl)
guiCheckBox    (handle,x,y,w,h,state,blw,bcl,fcl,scl)
guiVScrollBar (handle,x,y,w,h,val,max,ipp,blw,bcl,fcl,scl)
guiHScrollBar (handle,x,y,w,h,val,max,ipp,blw,bcl,fcl,scl)
guiCanvasGrid (handle,x,y,w,h,xd,yd,lw,lc)
guiGridToCord (gx,gy,wid,hit,xd,yd)
guiGridFromCord (x,y,wid,hit,xd,yd)
guiGridToRect (gx,gy,gw,gh,wid,hit,xd,yd)//x,y,w,h,xd,yd)
guiCssOpacitySet (handle,opacity)
guiCssDisplaySet (handle,pos,zindex,opacity,display)
guiCssOutlineSet (handle,pixels,offset,style,rgba)
guiRectsGet (handle)
guiEasingInit (mode)
guiEasingStep (obj,val,mag)
guiEasingHelperInit (id,tot,durms,mode,rev)
guiEasingHelperStep (obj)
guiRgbaString (r,g,b,a)
guiRgbaStringCommon (index,opacity)
guiRgbaStringRand (rmin,rmax,gmin,gmax,bmin,bmax,amin,amax,aplaces)
guiGridSet (gx,gy,gw,gh)
guiRectSet (x,y,w,h)
guiRectAdjust (rec,xa,ya,wa,ha)
guiRectCopy (rec)
guiAreaSet (l,t,w,h)
guiAreaAdjust (area,la,ta,wa,ha)
guiRgbaSet (r,g,b,a)
guiRgbaAdjust (rgba,ra,ga,ba,aa)
guiRgbaToHsva (rgba)
guiRgbaFromString (string)
guiHsvaSet (h,s,v,a)
guiHsvaAdjust (hsva,ha,sa,va,aa)
guiHsvaToRgba (hsva)
guiPaletteByIndex (index)
guiPaletteByName (name)
guiPaletteGather (proc)
guiSpotPurge (handle)
guiSpotById (handle,sid)
guiSpotAdd (handle,sid,x,y,w,h,uv1,uv2,uv3)
guiSpotRemove (handle,sid)
guiSpotMatch (handle,x,y)
guiFontAvailable (font)
getWidth(fontFamily)
guiFontLoad (name,type,url)
guiFontDelete (fontobj)
guiFontStatus (fontobj)
guiFontString (weight,size,family)
guiFontFix (font)
guiLenseNew (lenseid,id0,id1,paintproc)
guiLenseAreaCalc (obj)
guiLenseClear (obj,index,rect)
guiLenseRectSet (obj,index,x,y,w,h)
guiLenseProject (obj)
guiLenseNeedsPaintSet (obj,state)
guiLensePaint (obj)
imageLoaderNew (url)
imageLoaderDelete (obj)
spriteObjInit ()
spriteLoad (url)
spriteRelease (obj)
spriteStatus (obj)
spriteBounder (grp,xx,yy,ww,hh,data)
spritePixGet (x,y,pix,cmp)
spriteRectGet (obj,index)
spritePaint (obj,canid,sx,sy,sw,sh,dx,dy,dw,dh,rot,fx,cross)
spritePaintByIndex (obj,canid,index,dx,dy,dw,dh,rot,fx,cross)
ifaceObjInit ()
ifaceStart (proc)
ifaceStop ()
ifaceDisplayChanged ()
ifaceDisplaySizesGet ()
ifaceCacheAdd (msg)
ifaceCacheRemove (ptrid)
ifaceCacheGetById (ptrid)
ifaceCacheGetByIndex (index)
ifaceBlit ()
mediaObjInit ()
mediaErrorEtc (name,msg)
mediaErrObjCreate (resstr,ename,emessage,ecode)
mediaDeviceEnumerator ()
mediaDeviceLabelClean (txt)
labelZap (str,mat,into,todo)
mediaCreate (vconstraints,aconstraints)
mediaDestroy (handle)
mediaGet (handle)
mediaAttach (handle,dhandle)
mediaTorchSet (handle,state)
mediaStatus (handle)
mediaAudioMuteSet (handle,state)
mediaAudioMuteGet (handle)
mediaSdpFix (sdp)
mediaSdpBitRateSet (sdp,media,bitrate)
mediaSdpManipulate (sdp,fix,arate,vrate)
recorderObjInit ()
recorderCreate ()
recorderDestroy (handle)
recorderGet (handle)
recorderStart (handle,stream,chunkbytes)
recorderDataToBlobEngine     (event,handle)
recorderStop (handle)
recorderPause (handle,state)
recorderSwap (handle)
recorderStatus (handle)
recorderRead (handle)
recorderBlobToQueueEngine (handle)
videoObjInit ()
videoLoadEvent (event)
videoLoad (handle,isurl,url)
videoFree (handle)
videoControlsSet (handle,state)
videoStatus (handle)
videoChange (handle,blob)
videoPause (handle)
videoPlay (handle)
videoMuteSet (handle,state)
videoSeekSet (handle,secs)
videoRateSet (handle,rate)
socketObjInit ()
socketCreate (url)
socketDestroy (handle)
socketGet (handle)
socketWrite (handle,msg)
socketPeek (handle,ofs)
socketRead (handle)
socketDiscard (handle)
socketProcess (handle)
socketStatus (handle)
socketYield ()
dspObjInit ()
dspAudioResample (isampf32,irate,samples,orate)
dspSineWaveAt (rate,sampleNumber,tone)
dspZigZag (size)
dspBlockGet (rgbaframe,framewid,framehit,channel,blksize,blkx,blky,block)
dspBlockSet (rgbaframe,framewid,framehit,channel,blksize,blkx,blky,block)
dspDbCalculate (buf,step)
bitioObjInit ()
bitioCreate ()
bitioDestroy (handle)
bitioGet (handle)
bitioStatus (handle)
bitioRead (handle)
bitioWrite (handle,bits,val,prepend)
rtcObjInit ()
rtcCreate (config)
rtcDestroy (handle)
rtcGet (handle)
rtcStatus (handle)
rtcPromiseCreate (handle,stage,object,info)
rtcPromiseClear (handle)
rtcOnProc (pc,name,event)
rtcOfferCreate (handle)
rtcAnswerCreate (handle)
rtcDescRemoteSet (handle,desc)
rtcDescLocalSet (handle,desc)
rtcIceCandidateAdd (handle,candidate)
rtcIceCandidateGet (handle)
rtcDataChannelFind (handle,name)
rtcDataChannelGet (handle,index)
rtcOnData (handle,event)
rtcDataChannelCreate (handle,name,reliable,maxretransmits,maxpktlifetime)
rtcDataChannelAdd (handle,name,cdc)
rtcDataChannelSend (handle,idx,msg)
rtcDataChannelPeek (handle,idx)
rtcDataChannelDiscard (handle,idx)
rtcDataChannelRead (handle,idx)
rtcBitrateChange (handle,arate,vrate)
rtcStatsGet (handle,rate)
rtcStatsPeek (handle,wkindex,index)
rtcStatsDiscard (handle,wkindex)
rtcStatsGetStatus (handle)
staterNew ()
staterProc (obj,proc)
staterExit (obj,code)
staterStageSet (obj,stage)
staterStageAdjust (obj,by)
staterCycleGet (obj)
staterCyclePulse (obj,stride)
miscTextFileRead (file)
mainObjInit ()
mainClickProc (event)
mainStart (ver,spd,mainproc)
mainWorkerAdd (name,proc,step)
mainWorkerRemove (name)
mainWorkerStep ()
mainProc ()
mainRun ()
mainExit (code)
mainProcSet (proc)
mainSpeedSet (speed)
mainStageAdjust (by)
mainStageSet (stage)
mainStageGet ()
mainCycleGet ()
mainCyclePulse (stride)
mainPluginLoad (url,id)
mainPluginFree (obj)
mainWasmLoad (url,pages)
mainWasmStatus (obj)
mainWasmGraReset (obj)
mainWasmGraDump (obj)
mainWasmGraAdd (obj,type,len)
mainWasmGraGet (obj,index)
mainWasmGraTextSet (obj,index,string)
mainWasmGraTextGet (obj,ptr,length)
aaProfilerGroupsSet (what,state)
aaProfilerStart (space)
aaProfilerStop ()
aaProfilerHashCode (str)
aaProfilerHit (name,count)
aaProfilerFreeze (name)
aaProfilerDump (minperc,maxperc,minhz,maxhz,dopathed,dostyle,dosummary)

About

Ashods Javascript Library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published