Lines Matching defs:intent
277 this->readAttr( "rendering-intent" );
424 repr->setAttribute( "rendering-intent", this->intentStr );
469 int intent = INTENT_PERCEPTUAL;
472 intent = INTENT_RELATIVE_COLORIMETRIC;
475 intent = INTENT_SATURATION;
478 intent = INTENT_ABSOLUTE_COLORIMETRIC;
484 intent = INTENT_PERCEPTUAL;
486 return intent;
508 cmsHPROFILE Inkscape::CMSSystem::getHandle( SPDocument* document, guint* intent, gchar const* name )
517 if ( intent ) {
518 *intent = thing ? COLORPROFILE(thing)->rendering_intent : (guint)RENDERING_INTENT_UNKNOWN;
521 DEBUG_MESSAGE( lcmsThree, "<color-profile> queried for profile of '%s'. Returning %p with intent of %d", name, prof, (intent? *intent:0) );
537 int intent = getLcmsIntent(rendering_intent);
538 impl->_transf = cmsCreateTransform( impl->_profHandle, ColorProfileImpl::_getInputFormat(impl->_profileSpace), ColorProfileImpl::getSRGBProfile(), TYPE_RGBA_8, intent, 0 );
546 int intent = getLcmsIntent(rendering_intent);
547 impl->_revTransf = cmsCreateTransform( ColorProfileImpl::getSRGBProfile(), TYPE_RGBA_8, impl->_profHandle, ColorProfileImpl::_getInputFormat(impl->_profileSpace), intent, 0 );
1117 int intent = prefs->getIntLimited( "/options/displayprofile/intent", 0, 0, 3 );
1118 int proofIntent = prefs->getIntLimited( "/options/softproof/intent", 0, 0, 3 );
1132 || (lastIntent != intent)
1142 lastIntent = intent;
1190 transf = cmsCreateProofingTransform( ColorProfileImpl::getSRGBProfile(), TYPE_BGRA_8, hprof, TYPE_BGRA_8, proofProf, intent, proofIntent, dwFlags );
1192 transf = cmsCreateTransform( ColorProfileImpl::getSRGBProfile(), TYPE_BGRA_8, hprof, TYPE_BGRA_8, intent, 0 );
1303 int intent = prefs->getIntLimited( "/options/displayprofile/intent", 0, 0, 3 );
1304 int proofIntent = prefs->getIntLimited( "/options/softproof/intent", 0, 0, 3 );
1318 || (lastIntent != intent)
1328 lastIntent = intent;
1375 item.transf = cmsCreateProofingTransform( ColorProfileImpl::getSRGBProfile(), TYPE_BGRA_8, item.hprof, TYPE_BGRA_8, proofProf, intent, proofIntent, dwFlags );
1377 item.transf = cmsCreateTransform( ColorProfileImpl::getSRGBProfile(), TYPE_BGRA_8, item.hprof, TYPE_BGRA_8, intent, 0 );