OWLNext    7.0
Borland's Object Windows Library for the modern age
Loading...
Searching...
No Matches
ocf::TOcScaleFactor Class Reference

#include <ocf/ocview.h>

Public Member Functions

 TOcScaleFactor ()
 
 TOcScaleFactor (const owl::TRect &siteRect, const owl::TSize &partSize)
 
 TOcScaleFactor (const TOcScaleInfo &scaleInfo)
 
TOcScaleFactoroperator= (const TOcScaleInfo &scaleInfo)
 Assign a BOle structure to this scale factor.
 
TOcScaleFactoroperator= (const TOcScaleFactor &scaleFactor)
 Assign one TOcScaleFactor to another.
 
void GetScaleFactor (TOcScaleInfo &scaleInfo) const
 Copy a BOle scale factor structure.
 
bool IsZoomed ()
 Whether there is zoom factor.
 
void SetScale (owl::uint16 percent)
 Change the scaling factor.
 
owl::uint16 GetScale ()
 Get the scale percentage.
 
void Reset ()
 

Public Attributes

owl::TSize SiteSize
 
owl::TSize PartSize
 

Detailed Description

Definition at line 454 of file ocview.h.

Constructor & Destructor Documentation

◆ TOcScaleFactor() [1/3]

ocf::TOcScaleFactor::TOcScaleFactor ( )

Definition at line 1130 of file ocview.cpp.

◆ TOcScaleFactor() [2/3]

ocf::TOcScaleFactor::TOcScaleFactor ( const owl::TRect & siteRect,
const owl::TSize & partSize )

Definition at line 1140 of file ocview.cpp.

References PartSize, and SiteSize.

◆ TOcScaleFactor() [3/3]

ocf::TOcScaleFactor::TOcScaleFactor ( const TOcScaleInfo & scaleInfo)

Definition at line 1151 of file ocview.cpp.

Member Function Documentation

◆ GetScale()

uint16 ocf::TOcScaleFactor::GetScale ( )

Get the scale percentage.

Definition at line 1217 of file ocview.cpp.

References PartSize, and SiteSize.

◆ GetScaleFactor()

void ocf::TOcScaleFactor::GetScaleFactor ( TOcScaleInfo & scaleInfo) const

Copy a BOle scale factor structure.

Definition at line 1186 of file ocview.cpp.

References PartSize, and SiteSize.

◆ IsZoomed()

bool ocf::TOcScaleFactor::IsZoomed ( )

Whether there is zoom factor.

Definition at line 1198 of file ocview.cpp.

References PartSize, and SiteSize.

◆ operator=() [1/2]

TOcScaleFactor & ocf::TOcScaleFactor::operator= ( const TOcScaleFactor & scaleFactor)

Assign one TOcScaleFactor to another.

Definition at line 1174 of file ocview.cpp.

References PartSize, and SiteSize.

◆ operator=() [2/2]

TOcScaleFactor & ocf::TOcScaleFactor::operator= ( const TOcScaleInfo & scaleInfo)

Assign a BOle structure to this scale factor.

Definition at line 1160 of file ocview.cpp.

References PartSize, and SiteSize.

◆ Reset()

void ocf::TOcScaleFactor::Reset ( )

Definition at line 1226 of file ocview.cpp.

References PartSize, and SiteSize.

◆ SetScale()

void ocf::TOcScaleFactor::SetScale ( owl::uint16 percent)

Change the scaling factor.

Definition at line 1207 of file ocview.cpp.

References PartSize, and SiteSize.

Member Data Documentation

◆ PartSize

owl::TSize ocf::TOcScaleFactor::PartSize

Definition at line 471 of file ocview.h.

◆ SiteSize

owl::TSize ocf::TOcScaleFactor::SiteSize

Definition at line 470 of file ocview.h.


The documentation for this class was generated from the following files: