| OLD | NEW |
| 1 /* include/graphics/SkPaint.h | 1 /* include/graphics/SkPaint.h |
| 2 ** | 2 ** |
| 3 ** Copyright 2006, Google Inc. | 3 ** Copyright 2006, Google Inc. |
| 4 ** | 4 ** |
| 5 ** Licensed under the Apache License, Version 2.0 (the "License"); | 5 ** Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 ** you may not use this file except in compliance with the License. | 6 ** you may not use this file except in compliance with the License. |
| 7 ** You may obtain a copy of the License at | 7 ** You may obtain a copy of the License at |
| 8 ** | 8 ** |
| 9 ** http://www.apache.org/licenses/LICENSE-2.0 | 9 ** http://www.apache.org/licenses/LICENSE-2.0 |
| 10 ** | 10 ** |
| (...skipping 569 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 580 | 580 |
| 581 void setTextEncoding(TextEncoding encoding); | 581 void setTextEncoding(TextEncoding encoding); |
| 582 | 582 |
| 583 struct FontMetrics { | 583 struct FontMetrics { |
| 584 SkScalar fTop; //!< The greatest distance above the baseline fo
r any glyph (will be <= 0) | 584 SkScalar fTop; //!< The greatest distance above the baseline fo
r any glyph (will be <= 0) |
| 585 SkScalar fAscent; //!< The recommended distance above the baseline
(will be <= 0) | 585 SkScalar fAscent; //!< The recommended distance above the baseline
(will be <= 0) |
| 586 SkScalar fDescent; //!< The recommended distance below the baseline
(will be >= 0) | 586 SkScalar fDescent; //!< The recommended distance below the baseline
(will be >= 0) |
| 587 SkScalar fBottom; //!< The greatest distance below the baseline fo
r any glyph (will be >= 0) | 587 SkScalar fBottom; //!< The greatest distance below the baseline fo
r any glyph (will be >= 0) |
| 588 SkScalar fLeading; //!< The recommended distance to add between lin
es of text (will be >= 0) | 588 SkScalar fLeading; //!< The recommended distance to add between lin
es of text (will be >= 0) |
| 589 SkScalar fHeight; //!< the vertical distance between two consecuti
ve baselines (>= 0) | 589 SkScalar fHeight; //!< the vertical distance between two consecuti
ve baselines (>= 0) |
| 590 SkScalar fAvgCharWidth; //!< the average charactor width (>= 0) |
| 590 | 591 |
| 591 // VDMX values are exact ascent and descent values for scalable fonts at | 592 // VDMX values are exact ascent and descent values for scalable fonts at |
| 592 // a certain pixel size. | 593 // a certain pixel size. |
| 593 bool fVDMXMetricsValid; //!< If true, the following members are
valid | 594 bool fVDMXMetricsValid; //!< If true, the following members are
valid |
| 594 unsigned fVDMXAscent; | 595 unsigned fVDMXAscent; |
| 595 unsigned fVDMXDescent; | 596 unsigned fVDMXDescent; |
| 596 }; | 597 }; |
| 597 | 598 |
| 598 /** Return the recommend spacing between lines (which will be | 599 /** Return the recommend spacing between lines (which will be |
| 599 fDescent - fAscent + fLeading). | 600 fDescent - fAscent + fLeading). |
| (...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 784 | 785 |
| 785 typedef SkPathEffect INHERITED; | 786 typedef SkPathEffect INHERITED; |
| 786 | 787 |
| 787 // illegal | 788 // illegal |
| 788 SkStrokePathEffect(const SkStrokePathEffect&); | 789 SkStrokePathEffect(const SkStrokePathEffect&); |
| 789 SkStrokePathEffect& operator=(const SkStrokePathEffect&); | 790 SkStrokePathEffect& operator=(const SkStrokePathEffect&); |
| 790 }; | 791 }; |
| 791 | 792 |
| 792 #endif | 793 #endif |
| 793 | 794 |
| OLD | NEW |