1 #ifndef __render_planar_h
2 #define __render_planar_h
6 struct RrPlanarSurface {
7 enum RrSurfaceColorType colortype;
9 struct RrColor primary;
10 struct RrColor secondary;
13 #define RrPlanarColorType(sur) ((sur)->data.planar.colortype)
14 #define RrPlanarPrimaryColor(sur) ((sur)->data.planar.primary)
15 #define RrPlanarSecondaryColor(sur) ((sur)->data.planar.secondary)
17 void RrPlanarPaint(struct RrSurface *sur, int absx, int absy);
19 void RrPlanarMinSize(struct RrSurface *sur, int *w, int *h);