// All material copyright Esri, All Rights Reserved, unless otherwise specified. // See https://js.arcgis.com/4.30/esri/copyright.txt for details. //>>built define(["exports","../../core/libs/gl-matrix-2/factories/mat4f64","../../geometry/projection/computeTranslationToOriginAndRotation","../../geometry/projection/projectBuffer"],function(b,l,m,k){b.RenderCategory=void 0;(function(a){a.OPAQUE="opaque-color";a.TRANSPARENT="transparent-color";a.COMPOSITE="composite-color";a.FINAL="final-color"})(b.RenderCategory||(b.RenderCategory={}));b.InternalRenderCategory=void 0;(function(a){a.ANTIALIASING="aa-color";a.HIGHLIGHTS="highlight-color";a.MAGNIFIER="magnifier-color"})(b.InternalRenderCategory|| (b.InternalRenderCategory={}));b.fromRenderCoordinates=function(a,e,d,c,g,f,h){f=f||a.spatialReference;return k.projectBuffer(e,a.renderCoordsHelper.spatialReference,d,c,f,g,h)?c:null};b.renderCoordinateTransformAt=function(a,e,d,c){c||=l.create();d=d||a.spatialReference;return m.computeTranslationToOriginAndRotation(d,e,c,a.renderCoordsHelper.spatialReference)?c:null};b.toRenderCoordinates=function(a,e,d,c,g,f,h){c=c||a.spatialReference;return k.projectBuffer(e,c,d,g,a.renderCoordsHelper.spatialReference, f,h)?g:null};b.webgl=null;Object.defineProperty(b,Symbol.toStringTag,{value:"Module"})});