OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:SkFixed
(Results
1 - 2
of
2
) sorted by null
/external/skia/include/core/
SkFixed.h
15
/** \file
SkFixed
.h
22
typedef int32_t
SkFixed
;
35
#define SkFloatToFixed(x) ((
SkFixed
)((x) * SK_Fixed1))
38
static inline
SkFixed
SkFloatToFixed(float x) {
40
return (
SkFixed
)n;
45
static inline
SkFixed
SkFloatToFixed_Check(float x) {
47
SkFixed
n32 = (
SkFixed
)n64;
56
#define SkDoubleToFixed(x) ((
SkFixed
)((x) * SK_Fixed1))
68
/** Converts an integer to a
SkFixed
, asserting that the result does not overflo
[
all
...]
/external/skia/legacy/include/core/
SkFixed.h
15
/** \file
SkFixed
.h
22
typedef int32_t
SkFixed
;
36
#define SkFloatToFixed(x) ((
SkFixed
)((x) * SK_Fixed1))
39
static inline
SkFixed
SkFloatToFixed(float x) {
41
return (
SkFixed
)n;
46
#define SkDoubleToFixed(x) ((
SkFixed
)((x) * SK_Fixed1))
61
/** Converts an integer to a
SkFixed
, asserting that the result does not overflow
65
inline
SkFixed
SkIntToFixed(int n)
71
// force the cast to
SkFixed
to ensure that the answer is signed (like the debug version)
72
#define SkIntToFixed(n) (
SkFixed
)((n) << 16
[
all
...]
Completed in 101 milliseconds