Jeff Muizelaar
0b377a959b
Bump the versions of a bunch crates.
2018-09-28 13:19:37 -04:00
Patrick Walton
e0951ae07b
Add initial bindings to Core Animation.
...
Bound types include `CALayer`, `CATransaction`, and `CATransform3D`.
2018-09-27 11:50:14 -07:00
Patrick Walton
77f53a210e
core-graphics 0.17.1
2018-09-19 11:18:45 -07:00
Patrick Walton
7fae6fae0c
Add a binding to CGContextSetBlendMode
2018-09-18 15:14:47 -07:00
bors-servo
27d8f9e190
Auto merge of #253 - bn3t:cgdisplaymode-extensions, r=jdm
...
Cgdisplaymode extensions
I am writing a tool to change resolution on MacOS. For this I needed, more support for CGDisplayMode methods. I also need support for CGConfigureDisplayWithDisplayMode().
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/core-foundation-rs/253 )
<!-- Reviewable:end -->
2018-09-18 08:48:14 -04:00
Bernard Niset
f58e2b6dd9
Changes according to PR remarks.
2018-09-11 23:49:55 +02:00
Bernard Niset
2df2f7297f
Extended CDDisplayMode Doc
2018-09-08 15:07:28 +02:00
Bernard Niset
7cb87e5ba2
Added support for configuring the display mode for a display.
2018-08-26 19:58:35 +02:00
Ryan Leckey
8052ba29e1
Add save, restore, translate, scale, set_fill_color, add_path, close_path, and fill_path to CGContext
2018-08-20 16:36:02 -07:00
Ryan Leckey
071d2c6025
Move methods on CGContext taking &self from to CGContextRef
2018-08-20 16:35:54 -07:00
Bernard Niset
2685bbd05b
Added options to all_display_modes
2018-08-20 21:03:56 +02:00
Bernard Niset
6fc7286b87
Extended CDDisplayMode
...
* Added all_display_modes
* Added io_flags
* Added bit_depth
2018-08-20 00:16:12 +02:00
Daniel Abramov
e6cd2a0aae
Add support for image cropping
2018-08-15 13:20:16 +02:00
Ryan Leckey
9cb1e08f3f
Add CGColor
2018-08-01 09:33:56 -07:00
Patrick Walton
12236ceee7
Add the ability to supply custom data to CGDataProvider.
...
This is useful for opening memory-mapped files.
2018-07-31 15:50:30 -07:00
Patrick Walton
243472042a
Add several new functions to Core Graphics and Core Text for font-kit's use.
...
This bumps the major version of `core-text` since the previous version of
`get_glyphs_for_characters` was unsoundly marked safe before and is now marked
unsafe.
2018-07-25 08:50:35 -07:00
Josh Matthews
a5935351b5
Hide a 10.13+ API behind a cargo feature.
2018-07-20 11:15:53 -04:00
Daniel Abramov
ff9ff84066
Add the posibility to create a provider from slice
2018-05-28 13:46:08 +02:00
Daniel Abramov
1eec1419a9
Add rendering intent constants
2018-05-28 13:46:08 +02:00
Daniel Abramov
c9740e7ddc
Add a constructor for CGImage
2018-05-28 13:46:08 +02:00
Jeff Muizelaar
645779912b
Consistently use std::os::raw::c_void instead of libc::c_void
...
The major versions of cocoa and core-graphics are bumped as I believe
they are the only crates that meaningfully expose c_void.
Fixes #212
2018-05-06 19:00:37 -04:00
Jeff Muizelaar
bb9ce9e8e1
Update all of the major versions for the new releases
...
Basically everything needed to be bumped because of changes to
core-foundation-sys
2018-05-02 17:46:00 -04:00
bors-servo
b5923bb1e0
Auto merge of #202 - servo:typed-variations, r=jrmuizel
...
Only allow CFNumber font variations.
Until #201 this seems like a worthwhile improvement.
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/core-foundation-rs/202 )
<!-- Reviewable:end -->
2018-05-02 17:05:44 -04:00
Josh Matthews
e614c2df26
Only allow CFNumber font variations.
2018-05-02 16:56:27 -04:00
Michael Sanders
ca74318a75
Add CGEventCreateScrollWheelEvent binding
2018-05-02 13:46:08 -07:00
Edwin Cheng
5974b4c5dc
Added CGGetDisplaysWithRect
2018-04-19 09:50:01 +08:00
Jeff Muizelaar
5616935b56
Give CFDictionary type parameters for keys and values
...
There's more to be done to clean up the interface now that we have
type parameters but this is a good place to start.
2018-02-02 16:56:37 -05:00
Josh Matthews
f54a90e64b
Use local paths for local dependencies.
2018-02-01 16:18:35 -05:00
Josh Matthews
af0010c21a
Import core-graphics.
2018-02-01 15:46:34 -05:00