Lines Matching refs:SkScalar

413     SkScalar getStrokeWidth() const { return fWidth; }  in getStrokeWidth()
421 void setStrokeWidth(SkScalar width);
428 SkScalar getStrokeMiter() const { return fMiterLimit; } in getStrokeMiter()
436 void setStrokeMiter(SkScalar miter);
503 SkScalar resScale = 1) const;
713 SkScalar getTextSize() const { return fTextSize; } in getTextSize()
718 void setTextSize(SkScalar textSize);
724 SkScalar getTextScaleX() const { return fTextScaleX; } in getTextScaleX()
732 void setTextScaleX(SkScalar scaleX);
738 SkScalar getTextSkewX() const { return fTextSkewX; } in getTextSkewX()
744 void setTextSkewX(SkScalar skewX);
772SkScalar fTop; //!< The greatest distance above the baseline for any glyph (will be <= 0)
773 SkScalar fAscent; //!< The recommended distance above the baseline (will be <= 0)
774 SkScalar fDescent; //!< The recommended distance below the baseline (will be >= 0)
775SkScalar fBottom; //!< The greatest distance below the baseline for any glyph (will be >= 0)
776SkScalar fLeading; //!< The recommended distance to add between lines of text (will be >= 0)
777 SkScalar fAvgCharWidth; //!< the average character width (>= 0)
778 SkScalar fMaxCharWidth; //!< the max character width (>= 0)
779 SkScalar fXMin; //!< The minimum bounding box x value for all glyphs
780 SkScalar fXMax; //!< The maximum bounding box x value for all glyphs
781 SkScalar fXHeight; //!< The height of an 'x' in px, or 0 if no 'x' in face
782 SkScalar fCapHeight; //!< The cap height (> 0), or 0 if cannot be determined.
783 SkScalar fUnderlineThickness; //!< underline thickness, or 0 if cannot be determined
791 SkScalar fUnderlinePosition; //!< underline position, or 0 if cannot be determined
797 bool hasUnderlineThickness(SkScalar* thickness) const { in hasUnderlineThickness()
809 bool hasUnderlinePosition(SkScalar* position) const { in hasUnderlinePosition()
830 SkScalar getFontMetrics(FontMetrics* metrics, SkScalar scale = 0) const;
835 SkScalar getFontSpacing() const { return this->getFontMetrics(NULL, 0); } in getFontSpacing()
879 SkScalar measureText(const void* text, size_t length, SkRect* bounds) const;
889 SkScalar measureText(const void* text, size_t length) const { in measureText()
906 size_t breakText(const void* text, size_t length, SkScalar maxWidth,
907 SkScalar* measuredWidth = NULL) const;
921 int getTextWidths(const void* text, size_t byteLength, SkScalar widths[],
928 void getTextPath(const void* text, size_t length, SkScalar x, SkScalar y,
1010 static SkMatrix* SetTextMatrix(SkMatrix* matrix, SkScalar size, in SetTextMatrix()
1011 SkScalar scaleX, SkScalar skewX) { in SetTextMatrix()
1037 SkScalar fTextSize;
1038 SkScalar fTextScaleX;
1039 SkScalar fTextSkewX;
1041 SkScalar fWidth;
1042 SkScalar fMiterLimit;
1062 SkScalar measure_text(SkGlyphCache*, const char* text, size_t length,
1118 SkScalar setupForAsPaths();
1120 static SkScalar MaxCacheSize2() { in MaxCacheSize2()
1121 static const SkScalar kMaxSize = SkIntToScalar(kMaxSizeForGlyphCache); in MaxCacheSize2()
1122 static const SkScalar kMag2Max = kMaxSize * kMaxSize; in MaxCacheSize2()