mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Add a new FFI function Gecko_GetAppUnitsPerPhysicalInch
to get the physical inch of device context in Gecko.
MozReview-Commit-ID: HiLkw5r05OT
This commit is contained in:
parent
8850a01b81
commit
fc1e4e95ed
1 changed files with 4 additions and 0 deletions
|
@ -1074,6 +1074,10 @@ extern "C" {
|
|||
pub fn Gecko_CSSValue_GetAbsoluteLength(css_value: nsCSSValueBorrowed)
|
||||
-> nscoord;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_GetAppUnitsPerPhysicalInch(pres_context: RawGeckoPresContextBorrowed)
|
||||
-> i32;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_CSSValue_GetKeyword(aCSSValue: nsCSSValueBorrowed)
|
||||
-> nsCSSKeyword;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue