summaryrefslogtreecommitdiffstats
path: root/src/model/zoom_info.h (plain)
blob: 0b935c8dde12dc54469361fcc1a88181dea79548
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#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.