LCOV - code coverage report
Current view: top level - gfx/skia/skia/src/core - SkFontLCDConfig.cpp (source / functions) Hit Total Coverage
Test: output.info Lines: 4 10 40.0 %
Date: 2017-07-14 16:53:18 Functions: 2 4 50.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : /*
       2             :  * Copyright 2009 The Android Open Source Project
       3             :  *
       4             :  * Use of this source code is governed by a BSD-style license that can be
       5             :  * found in the LICENSE file.
       6             :  */
       7             : 
       8             : #include "SkFontLCDConfig.h"
       9             : 
      10             : static SkFontLCDConfig::LCDOrientation gLCDOrientation = SkFontLCDConfig::kHorizontal_LCDOrientation;
      11             : static SkFontLCDConfig::LCDOrder gLCDOrder = SkFontLCDConfig::kRGB_LCDOrder;
      12             : 
      13          66 : SkFontLCDConfig::LCDOrientation SkFontLCDConfig::GetSubpixelOrientation() {
      14          66 :     return gLCDOrientation;
      15             : }
      16             : 
      17           0 : void SkFontLCDConfig::SetSubpixelOrientation(LCDOrientation orientation) {
      18           0 :     gLCDOrientation = orientation;
      19           0 : }
      20             : 
      21          66 : SkFontLCDConfig::LCDOrder SkFontLCDConfig::GetSubpixelOrder() {
      22          66 :     return gLCDOrder;
      23             : }
      24             : 
      25           0 : void SkFontLCDConfig::SetSubpixelOrder(LCDOrder order) {
      26           0 :     gLCDOrder = order;
      27           0 : }

Generated by: LCOV version 1.13