forked from flutter/engine
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request flutter#568 from collinjackson/playfair
Add support for charts to fitness app
- Loading branch information
Showing
12 changed files
with
123 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
// Copyright 2015 The Chromium Authors. All rights reserved. | ||
// Use of this source code is governed by a BSD-style license that can be | ||
// found in the LICENSE file. | ||
|
||
#include "sky/engine/core/painting/Typeface.h" | ||
|
||
namespace blink { | ||
|
||
Typeface::Typeface(PassRefPtr<SkTypeface> typeface) | ||
: typeface_(typeface) { | ||
} | ||
|
||
Typeface::~Typeface() | ||
{ | ||
} | ||
|
||
} // namespace blink |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
// Copyright 2015 The Chromium Authors. All rights reserved. | ||
// Use of this source code is governed by a BSD-style license that can be | ||
// found in the LICENSE file. | ||
|
||
#ifndef SKY_ENGINE_CORE_PAINTING_TYPEFACE_H_ | ||
#define SKY_ENGINE_CORE_PAINTING_TYPEFACE_H_ | ||
|
||
#include "sky/engine/tonic/dart_wrappable.h" | ||
#include "sky/engine/wtf/PassRefPtr.h" | ||
#include "sky/engine/wtf/RefCounted.h" | ||
#include "third_party/skia/include/core/SkTypeface.h" | ||
|
||
namespace blink { | ||
|
||
class Typeface : public RefCounted<Typeface>, public DartWrappable { | ||
DEFINE_WRAPPERTYPEINFO(); | ||
public: | ||
~Typeface() override; | ||
|
||
SkTypeface* typeface() { return typeface_.get(); } | ||
void set_typeface(PassRefPtr<SkTypeface> typeface) { typeface_ = typeface; } | ||
|
||
protected: | ||
Typeface(PassRefPtr<SkTypeface> typeface); | ||
|
||
private: | ||
RefPtr<SkTypeface> typeface_; | ||
}; | ||
|
||
} // namespace blink | ||
|
||
#endif // SKY_ENGINE_CORE_PAINTING_TYPEFACE_H_ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
// Copyright 2015 The Chromium Authors. All rights reserved. | ||
// Use of this source code is governed by a BSD-style license that can be | ||
// found in the LICENSE file. | ||
|
||
interface Typeface { | ||
}; |