Düzenle

Aracılığıyla paylaş


CGContext.ScaleCTM(nfloat, nfloat) Method

Definition

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>