Show/Hide Toolbars

RiverSoftAVG Products Help

Navigation: Code Documentation > RSFMXCommon > FMX.RS.Graphics > Routines

CanvasDiv(Double,Double) Method

Scroll Prev Top Next More

Divides X by Y. In VCL, CanvasDiv returns round(X / Y). In FMX, CanvasDiv returns X/Y.

noteNote

This function eases cross-library graphics code by using TCanvasXXX types and CanvasXXX functions. With these functions, types, and constants, you can write code that can be used in either a VCL or FMX application. It is recommended that you write the VCL code first as it is more limited that the FMX library.

Namespace: FMX.RS.Graphics

Parameters

X

Type: Double

Y

Type: Double

Return Value

Type: TExtCanvasPixel

RiverSoftAVG Products Help © 1996-2016 Thomas G. Grubb