FangYaqiong wrote: > 1. OutputDevice::ImplInitFont(), I have no idea about it from the code, how the font be initialized and what is the different from the ImplNewFont()?
When applications select new font many things have to be done: - ImplNewFont() updates the OutputDevice - ImplInitFont() updates the underlying SalGraphics > 2. What is stored in aB2DPolyPolyVector? A vector of polypolygons. The polypolygons are the shapes of glyphs. > 3. Is the outline of the text is exported by the points? Yes. > How are they calculated? By translating the vector outlines in the font file to ::basegfx::B2DPolyPolygonVector outlines. > Is the points stored in the aB2DPolyPolyVector? Yes. > 4. There is a Rectangle of every letter and how to present it in the code? Could you rephrase the > 5. What is stored in B2DHomMatrix aMatrix? A B2DHomMatrix is currently the only way to do any coordinate transformations for basegfx::B2D* objects. > 6. What's the meaning of PolyPolygon::Translate? It moves a tools::PolyPolygon. > 7. We should build up a cache for exported polygons, but where can I add the codes and how to do it? CL/AW/THB do you have suggestions? Maybe in basegfx? -- Herbert --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
