3 writes to scaling
System.Workflow.ComponentModel (3)
AuthoringOM\Design\WorkflowPrinting.cs (3)
333
this.
scaling
= ((float)this.pageSetupData.ScaleFactor) / 100.0f;
340
this.
scaling
= Math.Min(xScaling, YScaling);
342
this.
scaling
= (float)(Math.Floor((double)this.scaling * 1000.0d) / 1000.0d);
14 references to scaling
System.Workflow.ComponentModel (14)
AuthoringOM\Design\WorkflowPrinting.cs (14)
150
graphics.ScaleTransform(this.
scaling
, this.
scaling
);
154
viewPortSize.Width = Convert.ToInt32(Math.Ceiling((float)printableArea.Width / this.
scaling
));
155
viewPortSize.Height = Convert.ToInt32(Math.Ceiling((float)printableArea.Height / this.
scaling
));
158
scaledAlignment.X = Convert.ToInt32(Math.Ceiling((float)this.workflowAlignment.X / this.
scaling
));
159
scaledAlignment.Y = Convert.ToInt32(Math.Ceiling((float)this.workflowAlignment.Y / this.
scaling
));
180
headerFooterData.Scaling = this.
scaling
;
342
this.scaling = (float)(Math.Floor((double)this.
scaling
* 1000.0d) / 1000.0d);
346
this.totalPrintablePages.X = Convert.ToInt32(Math.Ceiling((this.
scaling
* (float)rootDesignerSize.Width) / (float)printableArea.Width));
348
this.totalPrintablePages.Y = Convert.ToInt32(Math.Ceiling((this.
scaling
* (float)rootDesignerSize.Height) / (float)printableArea.Height));
355
this.workflowAlignment.X = (int)(((float)this.totalPrintablePages.X * (float)printableArea.Width / this.
scaling
- (float)rootDesignerSize.Width) / 2.0f * this.
scaling
);
358
this.workflowAlignment.Y = (int)(((float)this.totalPrintablePages.Y * (float)printableArea.Height / this.
scaling
- (float)rootDesignerSize.Height) / 2.0f * this.
scaling
);