Home | History | Annotate | Download | only in ports

Lines Matching full:logfont

32 static bool compute_bounds_outset(const LOGFONT& lf, SkIRect* outset) {
143 * Since LOGFONT wants its textsize as an int, and we support fractional sizes,
150 static void make_canonical(LOGFONT* lf) {
157 static SkTypeface::Style get_style(const LOGFONT& lf) {
168 static void setStyle(LOGFONT* lf, SkTypeface::Style style) {
213 LogFontTypeface(SkTypeface::Style style, SkFontID fontID, const LOGFONT& lf, bool serializeAsStream = false) :
237 // Used a logfont on a memory context, should never get a device font.
243 LOGFONT fLogFont;
247 static LogFontTypeface* Create(const LOGFONT& lf) {
259 FontMemResourceTypeface(SkTypeface::Style style, SkFontID fontID, const LOGFONT& lf, HANDLE fontMemResource) :
268 static FontMemResourceTypeface* Create(const LOGFONT& lf, HANDLE fontMemResource) {
285 static const LOGFONT& get_default_font() {
286 static LOGFONT gDefaultFont;
292 const LOGFONT* lf = reinterpret_cast<const LOGFONT*>(ctx);
296 !memcmp(&lface->fLogFont, lf, sizeof(LOGFONT));
303 SkTypeface* SkCreateTypefaceFromLOGFONT(const LOGFONT& origLF) {
304 LOGFONT lf = origLF;
317 SkTypeface* SkCreateFontMemResourceTypefaceFromLOGFONT(const LOGFONT& origLF, HANDLE fontMemResource) {
318 LOGFONT lf = origLF;
328 void SkLOGFONTFromTypeface(const SkTypeface* face, LOGFONT* lf) {
350 static void GetLogFontByID(SkFontID fontID, LOGFONT* lf) {
355 sk_bzero(lf, sizeof(LOGFONT));
631 LOGFONT lf;
663 // Used a logfont on a memory context, should never get a device font.
1300 static void logfont_for_name(const char* familyName, LOGFONT& lf) {
1301 memset(&lf, 0, sizeof(LOGFONT));
1335 // Get the actual name of the typeface. The logfont may not know this.
1419 LOGFONT lf;
1640 LOGFONT lf;
1649 LOGFONT lf;
1699 LOGFONT lf;