mirror of
https://gitee.com/onvia/ccc-tnt-psd2ui
synced 2025-11-07 23:06:15 +00:00
支持 mac
This commit is contained in:
11
npm-packages/mac-v2.4.x/canvas/src/Point.h
Normal file
11
npm-packages/mac-v2.4.x/canvas/src/Point.h
Normal file
@@ -0,0 +1,11 @@
|
||||
// Copyright (c) 2010 LearnBoost <tj@learnboost.com>
|
||||
#pragma once
|
||||
|
||||
template <typename T>
|
||||
class Point {
|
||||
public:
|
||||
T x, y;
|
||||
Point(T x=0, T y=0): x(x), y(y) {}
|
||||
Point(const Point&) = default;
|
||||
Point& operator=(const Point&) = default;
|
||||
};
|
||||
Reference in New Issue
Block a user