summaryrefslogtreecommitdiffstats
path: root/src/model/state/zoom_info.h (plain)
blob: 5916b3cd53365e98bb84933e0f5f2b6d571c7ee7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#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.
   */
  double coords[4];
} ZOOM_INFO;

#endif // ZOOM_INFO_H

Valid XHTML 1.0 Strict

Copyright © 2009 Don Pellegrino All Rights Reserved.