示例#1
0
        private void RenderRectangleMeasurements(RPLItemMeasurement measurement, IRPLStyle style)
        {
            float width  = measurement.Width;
            float height = measurement.Height;

            html5Renderer.RenderMeasurementWidth(width, renderMinWidth: true);
            if (html5Renderer.m_deviceInfo.IsBrowserIE && html5Renderer.m_deviceInfo.BrowserMode == BrowserMode.Standards && !html5Renderer.m_deviceInfo.IsBrowserIE6)
            {
                html5Renderer.RenderMeasurementMinHeight(height);
            }
            else
            {
                html5Renderer.RenderMeasurementHeight(height);
            }
        }