<function>
<fname>v_get_string_pic</fname>
<prototype>

#include	"v.h"

void
v_get_string_pic(
	V_STRING_PIC * p,
	VDISPLAY *win,
	L_CHAR * str,
	int	size,
	int 	dir)


</prototype>
<history>
<renew "01/11/10">
{IɁA܂ł͕R[h̎ʂvOER[hɃ_CNgɏĎʂĂ܂BAd->font_work̃e[uQƂ邱Ƃɂčs悤ɉ܂B

ȉɃ\[XύXӏ܂B
<pre>
void
v_get_string_pic(
	V_STRING_PIC * p,
	VWINDOW * win,
	L_CHAR * str,
	int	size,
	int 	dir)
{
int len;
int i,j;
V_STRING_PIC pp;
L_CHAR unknown;
int f;
WRITABLE_CODE_TABLE * t;
	len = l_strlen(str);
	unknown = '?';
	f = 0;
	for ( i = 0 ; i < len ; ) {

/* ̃R[hς܂B */

		t = get_wct(win->d->font_work,str[i]);
		if ( t ) {
			for ( j = i ; j < len &&
				(str[j]&t->mask) == t->lcz ; j ++ );
			v_get_string_pic_call(
				&pp,
				win,
				&str[i],
				j-i,
				t->work,
				size,
				dir,
				t->mask);
			i = j;
		}
		else {
			v_get_string_pic_call(
				&pp,
				win,
				&unknown,
				1,
				&win->d->iso8859_1,
				size,
				dir,
				LCZM_1B_TYPE);
			i ++;
		}
		if ( f == 0 ) {
			*p = pp;
			f = 1;
		}
		else {
			compose_pic(p,&pp);
		}
	}
}
</pre>
<renew "02/11/19">
VWINDOW * ̈VDISPLAY *ɕύX܂B́Ãrbg}bv
oƂview agent ł̓EBhE\Ȃ̂ŁAVWINDOW *͂܂
łB
</history>
</function>

 
