コード例 #1
0
 public boolean usesSoftwareRenderer() {
   if (has(Keys.UseSoftwareRenderer())) {
     NSNumber val = (NSNumber) get(Keys.UseSoftwareRenderer());
     return val.booleanValue();
   }
   return false;
 }
コード例 #2
0
 public CIContextOptions setUsesSoftwareRenderer(boolean usesSoftwareRenderer) {
   set(Keys.UseSoftwareRenderer(), NSNumber.valueOf(usesSoftwareRenderer));
   return this;
 }