Go to the source code of this file.
◆ register_jetski_LinearGradient()
int register_jetski_LinearGradient |
( |
JNIEnv * |
env | ) |
|
Definition at line 128 of file Gradients.cpp.
128 {
129 static const JNINativeMethod methods[] = {
130 {
"nMakeLinear",
"(FFFF[F[FIJ)J",
reinterpret_cast<void*
>(
MakeLinear)},
131 };
132
133 const auto clazz =
env->FindClass(
"org/skia/jetski/LinearGradient");
134 return clazz
135 ?
env->RegisterNatives(clazz, methods,
std::size(methods))
136 : JNI_ERR;
137}
static sk_sp< SkShader > MakeLinear(const SkPoint pts[2], const GradData &data, SkTileMode tm, float scale)
Ignores scale.
it will be possible to load the file into Perfetto s trace viewer disable asset Prevents usage of any non test fonts unless they were explicitly Loaded via prefetched default font Indicates whether the embedding started a prefetch of the default font manager before creating the engine run In non interactive keep the shell running after the Dart script has completed enable serial On low power devices with low core running concurrent GC tasks on threads can cause them to contend with the UI thread which could potentially lead to jank This option turns off all concurrent GC activities domain network JSON encoded network policy per domain This overrides the DisallowInsecureConnections switch Embedder can specify whether to allow or disallow insecure connections at a domain level old gen heap size
◆ register_jetski_RadialGradient()
int register_jetski_RadialGradient |
( |
JNIEnv * |
env | ) |
|
Definition at line 139 of file Gradients.cpp.
139 {
140 static const JNINativeMethod methods[] = {
141 {
"nMakeRadial",
"(FFF[F[FIJ)J",
reinterpret_cast<void*
>(
MakeRadial)},
142 };
143
144 const auto clazz =
env->FindClass(
"org/skia/jetski/RadialGradient");
145 return clazz
146 ?
env->RegisterNatives(clazz, methods,
std::size(methods))
147 : JNI_ERR;
148}
static sk_sp< SkShader > MakeRadial(const SkPoint pts[2], const GradData &data, SkTileMode tm, float scale)
◆ register_jetski_SweepGradient()
int register_jetski_SweepGradient |
( |
JNIEnv * |
env | ) |
|
Definition at line 161 of file Gradients.cpp.
161 {
162 static const JNINativeMethod methods[] = {
163 {
"nMakeSweep",
"(FFFF[F[FIJ)J",
reinterpret_cast<void*
>(
MakeSweep)},
164 };
165
166 const auto clazz =
env->FindClass(
"org/skia/jetski/SweepGradient");
167 return clazz
168 ?
env->RegisterNatives(clazz, methods,
std::size(methods))
169 : JNI_ERR;
170}
static sk_sp< SkShader > MakeSweep(const SkPoint pts[2], const GradData &data, SkTileMode tm, float scale)
Ignores scale.
◆ register_jetski_TwoPointConicalGradient()
int register_jetski_TwoPointConicalGradient |
( |
JNIEnv * |
env | ) |
|
Definition at line 150 of file Gradients.cpp.
150 {
151 static const JNINativeMethod methods[] = {
152 {"nMakeTwoPointConical", "(FFFFFF[F[FIJ)J", reinterpret_cast<void*>(MakeTwoPointConical)},
153 };
154
155 const auto clazz =
env->FindClass(
"org/skia/jetski/TwoPointConicalGradient");
156 return clazz
157 ?
env->RegisterNatives(clazz, methods,
std::size(methods))
158 : JNI_ERR;
159}