EvRenderContext *
-ev_render_context_new (EvOrientation orientation,
+ev_render_context_new (int rotation,
gint page,
gdouble scale)
{
rc = (EvRenderContext *) g_object_new (EV_TYPE_RENDER_CONTEXT, NULL);
- rc->orientation = orientation;
+ rc->rotation = rotation;
rc->page = page;
rc->scale = scale;
}
void
-ev_render_context_set_orientation (EvRenderContext *rc,
- EvOrientation orientation)
+ev_render_context_set_rotation (EvRenderContext *rc,
+ int rotation)
{
g_return_if_fail (rc != NULL);
- rc->orientation = orientation;
+ rc->rotation = rotation;
}
void