public static SDKStringIM getHeaderString( int langIndex, int stringID, SDKStringIM _string) { return(_string == null ? new SDKStringIM(SDKTextUtils.getHeaderString(langIndex, stringID, (SDKString)null)) : SDKUtils.getHeaderString(langIndex, stringID, ref _string)); }
public static void drawSubString( SDKStringIM _string, int offset, int len, int x, int y, int anchor) { SDKTextUtils.drawSubString(_string.getEAString(), offset, len, x, y, anchor, new SDKTextUtils.DrawRegionRoutineDelegate(GlobalMembersSDKUtils.renderFunc)); }
public static void drawWrappedString( SDKStringIM _string, short[] offsets, int startLine, int lineCount, int x, int y, int anchor) { SDKTextUtils.drawWrappedString(_string.getEAString(), offsets, startLine, lineCount, x, y, anchor, new SDKTextUtils.DrawRegionRoutineDelegate(GlobalMembersSDKUtils.renderFunc)); }
public static short[] wrapString( ref SDKStringIM _string, ref short[] offsets, int wrapLimit, short newline) { if (offsets == null) { return(SDKUtils.convertWrapData(SDKTextUtils.wrapString(_string.getEAString(), (short[])null, wrapLimit, newline))); } SDKTextUtils.wrapString(_string.getEAString(), offsets, wrapLimit, newline); return(offsets); }
public static SDKStringIM getHeaderString( int langIndex, int stringID, ref SDKStringIM _string) { bool flag = _string.getEAString() == null; SDKString headerString = SDKTextUtils.getHeaderString(langIndex, stringID, _string.getEAString()); if (flag) { _string.setEAString(headerString); } return(_string); }
public static SDKStringIM getString(int stringID, ref SDKStringIM _string) { if (_string == null) { _string = new SDKStringIM(); } bool flag = _string.getEAString() == null; SDKString eaString = SDKTextUtils.getString(stringID, _string.getEAString()); if (flag) { _string.setEAString(eaString); } return(_string); }
public static int getSubStringSize(ref SDKStringIM _string, int offset, int len) { return(SDKTextUtils.getSubStringSize(_string.getEAString(), offset, len)); }
public static int getStringSize(ref SDKStringIM _string) { return(SDKTextUtils.getStringSize(_string.getEAString())); }