Navigation: Code Documentation > RSVML > RSGdiPlusGraphics > Classes > TRSGPPath > Methods
TRSGPPath.FitToRect(TRectF) Method
Translates and scales the current path to fit a specified rectangle area. The ARect parameter specifies the rectangle area to fit the path in.
Namespace: RSGdiPlusGraphics
Delphi
public procedure FitToRect( const aRect: TRectF );
Parameters
aRect
Type: TRectF
•RSGdiPlusGraphics.TRSGPPath.ApplyMatrix(TRSGPMatrix)
•RSGdiPlusGraphics.TRSGPPath.Scale(Single,Single)
•RSGdiPlusGraphics.TRSGPPath.Translate(Single,Single)
•RSGdiPlusGraphics.TRSGPPath.Flatten(Single)
•TRSGPPath
•RSGdiPlusGraphics