mirror of
https://github.com/smallmain/cocos-enhance-kit.git
synced 2024-12-26 11:48:29 +00:00
1 line
4.6 KiB
JavaScript
1 line
4.6 KiB
JavaScript
|
"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[7482],{3905:function(e,t,r){r.d(t,{Zo:function(){return s},kt:function(){return f}});var n=r(67294);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){o(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function c(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var u=n.createContext({}),p=function(e){var t=n.useContext(u),r=t;return e&&(r="function"==typeof e?e(t):a(a({},t),e)),r},s=function(e){var t=p(e.components);return n.createElement(u.Provider,{value:t},e.children)},d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},l=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,i=e.originalType,u=e.parentName,s=c(e,["components","mdxType","originalType","parentName"]),l=p(r),f=o,m=l["".concat(u,".").concat(f)]||l[f]||d[f]||i;return r?n.createElement(m,a(a({ref:t},s),{},{components:r})):n.createElement(m,a({ref:t},s))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var i=r.length,a=new Array(i);a[0]=l;var c={};for(var u in t)hasOwnProperty.call(t,u)&&(c[u]=t[u]);c.originalType=e,c.mdxType="string"==typeof e?e:o,a[1]=c;for(var p=2;p<i;p++)a[p]=r[p];return n.createElement.apply(null,a)}return n.createElement.apply(null,r)}l.displayName="MDXCreateElement"},50641:function(e,t,r){r.r(t),r.d(t,{assets:function(){return s},contentTitle:function(){return u},default:function(){return f},frontMatter:function(){return c},metadata:function(){return p},toc:function(){return d}});var n=r(87462),o=r(63366),i=(r(67294),r(3905)),a=["components"],c={sidebar_position:4,description:"\u8be6\u7ec6\u4e86\u89e3\u9ad8 DPI \u6587\u672c\u6e32\u67d3\u7684\u5b9e\u73b0\u65b9\u5f0f\u3002"},u="\u9ad8 DPI \u6587\u672c\u6e32\u67d3",p={unversionedId:"theory-guide/high-dpi-theory",id:"version-1.0.0/theory-guide/high-dpi-theory",title:"\u9ad8 DPI \u6587\u672c\u6e32\u67d3",description:"\u8be6\u7ec6\u4e86\u89e3\u9ad8 DPI \u6587\u672c\u6e32\u67d3\u7684\u5b9e\u73b0\u65b9\u5f0f\u3002",source:"@site/versioned_docs/version-1.0.0/theory-guide/high-dpi-theory.md",sourceDirName:"theory-guide",slug:"/theory-guide/high-dpi-theory",permalink:"/cocos-enhance-kit/docs/1.0.0/theory-guide/high-dpi-theory",draft:!1,tags:[],version:"1.0.0",sidebarPosition:4,frontMatter:{sidebar_position:4,description:"\u8be6\u7ec6\u4e86\u89e3\u9ad8 DPI \u6587\u672c\u6e32\u67d3\u7684\u5b9e\u73b0\u65b9\u5f0f\u3002"},sidebar:"tutorialSidebar",previous:{title:"\u65b0 Char \u7f13\u5b58\u6a21\u5f0f",permalink:"/cocos-enhance-kit/docs/1.0.0/theory-guide/char-theory"},next:{title:"\u4f7f RichText \u652f\u6301\u81ea\u5b9a\u4e49\u6750\u8d28",permalink:"/cocos-enhance-kit/docs/1.0.0/theory-guide/richtext-custom-material-theory"}},s={},d=[],l={toc:d};function f(e){var t=e.components,r=(0,o.Z)(e,a);return(0,i.kt)("wrapper",(0,n.Z)({},l,r,{components:t,mdxType:"MDXLayout"}),(0,i.kt)("h1",{id:"\u9ad8-dpi-\u6587\u672c\u6e32\u67d3"},"\u9ad8 DPI \u6587\u672c\u6e32\u67d3"),(0,i.kt)("div",{className:"admonition admonition-caution alert alert--warning"},(0,i.kt)("div",{parentName:"div",className:"admonition-heading"},(0,i.kt)("h5",{parentName:"div"},(0,i.kt)("span",{parentName:
|