Crystal lines consisting of nonlinear optical fresnoite-type Ba2TiX2O8 (X = Si, Ge) crystals are patterned on the surface of CuO (1 mol%)-doped 33.3BaO–16.7TiO2–50SiO2 or –50GeO2 glasses by continuous-wave (cw) neodymium:yttrium aluminum garnet (Nd:YAG) laser (wavelength 1064 nm) irradiation. It is confirmed from polarized micro-Raman scattering spectra that the c axis of Ba2TiX2O8 crystals in the lines are oriented along the laser-scanning direction (i.e., parallel to the lines). The azimuthal dependences of second-harmonic (SH) intensities for the crystal lines indicate unique fringe patterns, and the c-axis orientation of the crystals is supported from the analyses of fringe patterns. The value of the d31/d33 ratio is found to be ∼23 for Ba2TiSi2O8 (BTS) crystal lines, and ∼13 for Ba2TiGe2O8 (BTG) crystal lines, where d31 and d33 are the principal d tensors for the second-order optical nonlinearity of fresnoite-type crystals.