mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +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)
|
pub fn Gecko_CSSValue_GetAbsoluteLength(css_value: nsCSSValueBorrowed)
|
||||||
-> nscoord;
|
-> nscoord;
|
||||||
}
|
}
|
||||||
|
extern "C" {
|
||||||
|
pub fn Gecko_GetAppUnitsPerPhysicalInch(pres_context: RawGeckoPresContextBorrowed)
|
||||||
|
-> i32;
|
||||||
|
}
|
||||||
extern "C" {
|
extern "C" {
|
||||||
pub fn Gecko_CSSValue_GetKeyword(aCSSValue: nsCSSValueBorrowed)
|
pub fn Gecko_CSSValue_GetKeyword(aCSSValue: nsCSSValueBorrowed)
|
||||||
-> nsCSSKeyword;
|
-> nsCSSKeyword;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue