Skip to content

Commit

Permalink
[GlyphView] I'm rendering glyphs in NSViews now
Browse files Browse the repository at this point in the history
  • Loading branch information
mrwerdo committed Mar 14, 2017
1 parent 65274f7 commit b9c6ab8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Sources/Coordinates.swift
Expand Up @@ -297,6 +297,11 @@ extension CGPoint : CoordinateIn2Dimensions {
init(y: CGFloat) {
self.init(x: 0, y: y)
}

init(_ size: CGSize) {
self.x = size.width
self.y = size.height
}
}

extension CGVector : CoordinateIn2Dimensions {
Expand Down

0 comments on commit b9c6ab8

Please sign in to comment.