[Overview][Constants][Types][Procedures and functions][Variables][Index] Reference for unit 'agraphics' (#aros)


Tag for ObtainBestPenA() If True and Precision is PRECISION_EXACT and no exact color can be found or allocated the function will fail.


Source position: agraphics.pas line 1210

const OBP_FailIfBad = $84000001;


Specifies that you want ObtainBestPenA() to return a failure value if there is not a color within the given tolerance, instead of returning the closest color. With OBP_FailIfBad = False, ObtainBestPenA() will only fail if the ViewPort contains no sharable colors. Defaults to False.

Documentation generated on: 2017-01-10