Do the given hook for the supplied rastport
Source position: cybergraphics.pas line 303
procedure DoCDrawMethodTagList( |
Hook: PHook; |
a1arg: PRastPort; |
TagList: PTagItem |
); |
Hook |
|
Pointer to callback hook which will be called |
a1arg |
|
A pointer to a cybergraphics RastPort |
TagList |
|
optional taglist, currently not used. Set it to nil! |
This function will call the given hook for the given rastport. Is is mainly used to do direct bitmap modifications in a locked graphics environment. You have to support all known color models, so only use this call if you really need it!!
Hook call parameter
pointer to TCDrawMsg:
where colormodel is on of following: PIXFMT_LUT8, PIXFMT_RGB15, PIXFMT_BGR15, PIXFMT_RGB15PC, PIXFMT_BGR15PC, PIXFMT_RGB16, PIXFMT_BGR16, PIXFMT_RGB16PC, PIXFMT_BGR16PC, PIXFMT_RGB24, PIXFMT_BGR24, PIXFMT_ARGB32, PIXFMT_BGRA32, PIXFMT_RGBA32
In previous autodocs, the bytesperrow message field was described as an LongWord which in fact was an Word.