Braincase.GanttChart.PrintViewport.PrintViewport C# (CSharp) Method

PrintViewport() public method

public PrintViewport ( Graphics graphics, float worldWidth, float worldHeight, int deviceWidth, int deviceHeight, int marginLeft, int marginTop ) : System
graphics System.Drawing.Graphics
worldWidth float
worldHeight float
deviceWidth int
deviceHeight int
marginLeft int
marginTop int
return System
        public PrintViewport(Graphics graphics,
            float worldWidth, float worldHeight,
            int deviceWidth, int deviceHeight,
            int marginLeft, int marginTop)
        {
            WorldWidth = worldWidth;
            WorldHeight = worldHeight;

            _mDeviceWidth = deviceWidth;
            _mDeviceHeight = deviceHeight;

            _mMarginTop = marginTop;
            _mMarginLeft = marginLeft;
        }