summaryrefslogtreecommitdiff
path: root/xfa/fxbarcode/BC_ResultPoint.h
blob: e819fa5f6e30831d01da95509113e43f48294550 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// Copyright 2014 PDFium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com

#ifndef XFA_FXBARCODE_BC_RESULTPOINT_H_
#define XFA_FXBARCODE_BC_RESULTPOINT_H_

#include "core/fxcrt/include/fx_basic.h"

class CBC_ResultPoint {
 public:
  CBC_ResultPoint();
  CBC_ResultPoint(FX_FLOAT x, FX_FLOAT y);
  virtual ~CBC_ResultPoint() {}
  virtual FX_FLOAT GetX();
  virtual FX_FLOAT GetY();

 protected:
  FX_FLOAT m_x;
  FX_FLOAT m_y;
};

using CBC_ResultPointArray = CFX_ArrayTemplate<CBC_ResultPoint*>;
using CBC_ResultPointArrayArray = CFX_ArrayTemplate<CBC_ResultPointArray*>;

#endif  // XFA_FXBARCODE_BC_RESULTPOINT_H_