JCL Help:Graphics Naming Conventions

From Project JEDI Wiki
Jump to navigationJump to search


Summary

The summary for this help topic does not exist, edit this page


Description

JclGraphics introduces several routines (as well as some class properties and methods) which have similar action but may have different arguments or other realization details.
They follow a simple naming convention:

Postfix Details Example
none Property or method does not perform any range checking of its arguments. All the coordinates should be valid. DrawLine
S 'Safe' version. Validates coordinates. If necessary, clipping is performed. DrawLineS
T 'Transparent' version of the method. Uses the alpha channel of the provided color to blend the drawn primitive with the background pixels. DrawLineT
A Methods with 'A' postfix provide antialiasing of the drawn primitive. DrawLineA
F Methods with 'F' postfix take coordinates as floating point arguments and perform antialiasing of the drawn primitive. DrawLineF
TS, AS, FS Valid combinations of postfixes described above. DrawLineFS
P 'Pattern' version. Usually combined with TS or FS postfixes, it allows for implementation of various effects, like gradient or dashed lines (See Line Patterns). DrawLineFSP


See Also

Line Patterns


About

Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page