summaryrefslogtreecommitdiffstats
path: root/src/model/state/zoom_info.h (plain)
blob: 83fab2ca4b27c6c2a92014dfcd31a87d71a9cc12
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef ZOOM_INFO_H
#define ZOOM_INFO_H

#include <stdbool.h>

/*
 * Maintain information for zooming.
 */
typedef struct
{
  /*
   * A zoomed region has been selection.
   */
  bool active;

  /*
   * Left, right, bottom and top of zoom region in world coordinates.
   * Rubber-band zoom.
   */
  double coords[4];
} ZOOM_INFO;

#endif // ZOOM_INFO_H

Valid XHTML 1.0 Strict

Copyright © 2009 Don Pellegrino All Rights Reserved.