Definition at line 10 of file SamplingOptions.java.
◆ SamplingOptions() [1/4]
org.skia.jetski.SamplingOptions.SamplingOptions |
( |
| ) |
|
|
inline |
◆ SamplingOptions() [2/4]
org.skia.jetski.SamplingOptions.SamplingOptions |
( |
FilterMode |
f | ) |
|
|
inline |
◆ SamplingOptions() [3/4]
◆ SamplingOptions() [4/4]
org.skia.jetski.SamplingOptions.SamplingOptions |
( |
float |
cubicCoeffB, |
|
|
float |
cubicCoeffC |
|
) |
| |
|
inline |
Definition at line 42 of file SamplingOptions.java.
42 {
45 mCubicCoeffB = cubicCoeffB;
46 mCubicCoeffC = cubicCoeffC;
47 mUseCubic = true;
48 }
◆ CATMULLROM()
◆ getCubicCoeffB()
float org.skia.jetski.SamplingOptions.getCubicCoeffB |
( |
| ) |
|
|
inlinepackage |
◆ getCubicCoeffC()
float org.skia.jetski.SamplingOptions.getCubicCoeffC |
( |
| ) |
|
|
inlinepackage |
◆ getNativeDesc()
int org.skia.jetski.SamplingOptions.getNativeDesc |
( |
| ) |
|
|
inlinepackage |
Definition at line 59 of file SamplingOptions.java.
59 {
60
61
62
63
64
65
66 int desc = mUseCubic ? 0x01 : 0x00;
67
68 switch (mFilter) {
69 case NEAREST:
70 break;
71 case LINEAR:
73 break;
74 }
75
76 switch (mMipmap) {
77 case NONE:
78 break;
79 case NEAREST:
81 break;
82 case LINEAR:
84 break;
85 }
86
88 }
◆ MITCHELL()
The documentation for this class was generated from the following file:
- third_party/skia/platform_tools/android/apps/jetski/src/main/java/org/skia/jetski/SamplingOptions.java