BufferMessageFunc


Description:

[ CCode ( cname = "hb_buffer_message_func_t" , instance_pos = 3.9 ) ]
public delegate Bool BufferMessageFunc (Buffer buffer, Font font, string message)

A callback method for Buffer.

The method gets called with the Buffer it was set on, the Font the buffer is shaped with and a message describing what step of the shaping process will be performed. Returning `false` from this method will skip this shaping step and move to the next one.

Parameters:

buffer

An Buffer to work upon

font

The Font the buffer is shaped with

message

`NULL`-terminated message passed to the function

user_data

User data pointer passed by the caller

Returns:

`true` to perform the shaping step, `false` to skip it.


Namespace: HarfBuzz