2018-03-11 15:15:28 -05:00
|
|
|
// 11 march 2018
|
2018-03-11 16:36:22 -05:00
|
|
|
#import "../common/attrstr.h"
|
2018-03-11 15:15:28 -05:00
|
|
|
|
|
|
|
// opentype.c
|
|
|
|
extern GString *uiprivOpenTypeFeaturesToPangoCSSFeaturesString(const uiOpenTypeFeatures *otf);
|
2018-03-11 16:36:22 -05:00
|
|
|
|
|
|
|
// attrstr.c
|
|
|
|
extern PangoAttrList *uiprivAttributedStringToPangoAttrList(uiDrawTextLayoutParams *p, GPtrArray **backgroundParams);
|
|
|
|
|
|
|
|
// drawtext.c
|
|
|
|
// TODO figure out where this type should *really* go in all the headers...
|
|
|
|
typedef struct uiprivDrawTextBackgroundParams uiprivDrawTextBackgroundParams;
|
|
|
|
struct uiprivDrawTextBackgroundParams {
|
|
|
|
size_t start;
|
|
|
|
size_t end;
|
|
|
|
double r;
|
|
|
|
double g;
|
|
|
|
double b;
|
|
|
|
double a;
|
|
|
|
};
|