Conflicting class & domain declarations: font
Posted: 3 Apr 2018 22:23
This is a minor syntax question that I think I asked before, but can't find the response or question in this this forum.
I have a class implementation with the following open declarations:
How can I keep predicate declarations from implying the wrong font type. The compiler assigns vpiDomains:font as the variable domain when the variable I want to pass is a font object from the font class, as in the sample declaration below:
One way around this issue is to omit the open vpiDomains statement and individually qualify references to the vpiDomain elements such as rct/4 etc.
However, I also think that Thomas posted a way to qualify font within the predicate declaration a while ago.
I have a class implementation with the following open declarations:
Code: Select all
open core, vpi, list
open vpiDomains
open gdiplus, gdiplus_native, font
Code: Select all
class predicates
drawDown : (pieCalc::pieSectorInfoDOM*, graphics, font, gdiplus::rectF).
However, I also think that Thomas posted a way to qualify font within the predicate declaration a while ago.