2016-08-02 17:00:08 +03:00
|
|
|
/*
|
2016-08-18 03:28:42 +03:00
|
|
|
* gfx/diff.h - Schematics difference
|
2016-08-02 17:00:08 +03:00
|
|
|
*
|
|
|
|
* Written 2016 by Werner Almesberger
|
|
|
|
* Copyright 2016 by Werner Almesberger
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
2016-08-18 03:28:42 +03:00
|
|
|
#ifndef GFX_DIFF_H
|
|
|
|
#define GFX_DIFF_H
|
2016-08-02 17:00:08 +03:00
|
|
|
|
2016-08-09 16:14:36 +03:00
|
|
|
#include <cairo/cairo.h>
|
|
|
|
|
2016-08-18 03:28:42 +03:00
|
|
|
#include "gfx/gfx.h"
|
|
|
|
#include "gfx/cro.h"
|
2016-08-02 17:00:08 +03:00
|
|
|
|
|
|
|
|
|
|
|
extern const struct gfx_ops diff_ops;
|
|
|
|
|
2016-08-09 16:14:36 +03:00
|
|
|
|
|
|
|
void diff_to_canvas(cairo_t *cr, int cx, int cy, float scale,
|
|
|
|
struct cro_ctx *old, struct cro_ctx *new);
|
|
|
|
|
2016-08-18 03:28:42 +03:00
|
|
|
#endif /* !GFX_DIFF_H */
|