CGContext.ScaleCTM(nfloat, nfloat) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Scales the current transformation matrix.
public void ScaleCTM (nfloat sx, nfloat sy);
member this.ScaleCTM : nfloat * nfloat -> unit
Parameters
- sx
- nfloat
The scale multiplier applied to the X axis of the CTM.
- sy
- nfloat
The scale multiplier applied to the Y axis of the CTM.
Remarks
Manipulation of the CGContext's current transformation matrix (CTM), is order-dependent and stateful. SeeGetCTM() for discussion and examples of ScaleCTM(nfloat, nfloat). The current scaling factors are multiplied by sx
and sy
.
Applies to
See also
- <xref:CoreGraphics.CGContext.ConcatCTM>
- <xref:CoreGraphics.CGContext.RotateCTM>
- GetCTM()
- <xref:CoreGraphics.CGContext.TranslateCTM>