/* ghosd -- OSD with fake transparency, cairo, and pango. * Copyright (C) 2006 Evan Martin */ #ifndef __GHOSD_TEXT_H__ #define __GHOSD_TEXT_H__ #include /** * ghosd_text_set_position: * @ghosd: a #Ghosd object; * @x: x coordinate in screen pixels. * @y: y coordinate in screen pixels. * @layout: the #PangoLayout to draw. * * Set ghosd dimensions based on a #PangoLayout. * See ghosd_set_position() for interpretation of the x and y coordinates. */ void ghosd_text_set_position(Ghosd *ghosd, int x, int y, PangoLayout *layout); #endif /* __GHOSD_TEXT_H__ */